Flip chip vibration signal defect detection method and system
By using a self-searching sparse lightweight model, the problem of extracting weak defect features in flip chip inspection is solved, achieving efficient and stable defect detection, which is suitable for real-time detection at the industrial edge.
Patent Information
- Application Number
- CN202611326555.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies struggle to effectively extract subtle defect features in flip chip inspection. Traditional methods rely on human experience and have high computational complexity, lightweight models have low transfer efficiency, and neural architecture search algorithms are resource-intensive and unstable.
We adopt a method based on a self-searching sparse lightweight model, construct a differentiable architecture search network through gradient descent, combine a primary and backup search space and a skip connection correction mechanism, dynamically and sparsely select feature extractors, and transfer high-dimensional semantic knowledge through logical space decoupling distillation technology.
It achieves high-precision defect detection with low computing resources, improves model stability and detection accuracy, and is suitable for real-time detection at the industrial edge.
Smart Images

Figure CN123178950A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of flip chip package reliability testing, and in particular to a method and system for detecting vibration signals defects in flip chips based on a self-searching sparse lightweight model. Background Technology
[0002] The widespread application of integrated circuits has placed higher demands on chip packaging. Flip-chip interconnect technology, with its high integration and high performance, is widely used in the manufacture of electronic devices. However, as packaging density continues to increase, the size and spacing of microbumps are constantly decreasing. During the packaging process, minor defects such as missing solder joints, cold solder joints, and cracks can easily occur due to factors such as mismatched coefficients of thermal expansion, seriously affecting the reliability and safety of flip-chips. Currently, non-destructive testing technology combining ultrasonic excitation and laser vibration analysis is widely used in this type of testing due to its advantages of non-contact operation and fast response speed. This method determines the integrity of the internal structure by analyzing the vibration velocity response of the chip surface. However, in actual testing, due to the small size of microbump defects and complex boundary effects, the acquired vibration signals are often mixed with strong interference noise, exhibit multi-modal confusion, and have weak defect characteristics. This leads to a complex nonlinear mapping relationship between the vibration signal and the defect, making it difficult to accurately describe and identify defect information using conventional methods.
[0003] Existing intelligent processing methods for the aforementioned vibration signals mainly face the following technical bottlenecks: First, traditional machine learning methods rely excessively on the extraction of manually statistical features such as kurtosis and skewness, heavily depending on expert experience. Insufficient feature mining leads to low recognition accuracy and difficulty in distinguishing similar defects. Second, while convolutional neural networks possess strong feature capture capabilities, their large number of model parameters and high computational complexity make them unsuitable for the low computing power and real-time requirements of edge devices in industrial settings. Third, although neural architecture search can automatically design network structures, existing algorithms suffer from significant GPU memory consumption, susceptibility to "algorithm crashes" due to skip connections, and rigid node connection methods, limiting their engineering applicability. Finally, existing lightweight knowledge distillation techniques typically utilize only simple logical units or soft labels for transfer, failing to adequately decouple and utilize the high-dimensional semantic logic information in the teacher model, resulting in low transfer efficiency for weak defect features and limited detection accuracy in the student model. Therefore, a lightweight defect detection method that can automatically search for the optimal feature extraction structure, consumes low computational resources, and achieves high-precision detection through efficient knowledge distillation is urgently needed. Summary of the Invention
[0004] To overcome the problems of feature extraction relying on human experience, high computational requirements of deep learning models, and high memory consumption and easy crashes of existing neural architecture search algorithms in the detection of microbump defects in flip chips, this invention provides a method and system for detecting vibration signals of flip chips based on a self-searching sparse lightweight model.
[0005] A method for detecting vibration signal defects in flip chips includes the following steps:
[0006] S1: Obtain the vibration signal of the fault defect of the microbump of the flip chip and construct a defect detection sample set;
[0007] S2: Based on the vibration signal of the fault defect, construct a differentiable architecture search network model based on gradient descent, and initialize the main / backup search space environment containing the main search space and the backup search space;
[0008] S3: Based on the differentiable architecture search network, a dynamic replacement strategy for the primary / backup search space and a skip connection weight correction mechanism are established. Through the dynamic sparse selection of predecessor operations, adaptive screening of candidate operation types and connection relationships between nodes is achieved, and a dual-convergent sparse feature extractor with structural stability and feature discriminativeness is constructed.
[0009] S4: Based on the dual convergent sparse feature extractor, construct a teacher network and a student network with different number of layers, and iteratively train the teacher network to obtain a teacher model containing high-dimensional semantic and logical information and an initial student model to be optimized.
[0010] S5: Using the trained teacher model as a knowledge source, the logical units output by the teacher model are mapped to the target prediction space, the target intra-class association space, and the global extra-class distinction space through the logical space decoupling distillation mechanism, and a corresponding multi-dimensional loss function is constructed to guide the student model to perform knowledge transfer; the optimized lightweight student model is used to extract and identify defect features of the flip chip vibration signal and output the detection results.
[0011] Based on the same inventive concept, this invention also provides a flip chip vibration signal defect detection system based on a self-searching sparse lightweight model, the system comprising the following modules:
[0012] The signal acquisition module is used to acquire the vibration signals of fault defects of the microbumps of the flip chip and construct a defect detection sample set;
[0013] The architecture search module is used to construct a differentiable architecture search network model based on gradient descent, and to search for the optimal feature extraction structure by using a skip connection coefficient correction mechanism and a predecessor operation dynamic sparse selection mechanism.
[0014] The teacher-student network construction module is used to construct identical teacher network models and student network models with different numbers of layers based on the optimal feature extraction structure, and to pre-train the teacher network model.
[0015] The knowledge distillation training module is used to construct a loss function containing target space, intra-class space and extra-class space components by using the pre-trained teacher network model and adopting the logical space decoupling distillation method. This function is then used to perform knowledge transfer training on the student network model to obtain a lightweight student detection model.
[0016] The defect detection module is used to extract and classify features of unknown flip chip vibration signals using the lightweight student detection model, and output defect detection results.
[0017] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the aforementioned flip chip vibration signal denoising method.
[0018] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the aforementioned flip-chip vibration signal defect detection method based on a self-searching sparse lightweight model.
[0019] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the aforementioned flip-chip vibration signal defect detection method based on a self-searching sparse lightweight model.
[0020] The technical solution of this invention has the following advantages compared with the prior art:
[0021] 1. To address the issues of high memory consumption and susceptibility to crashing in existing neural architecture search algorithms, this invention proposes a primary / backup search space strategy and a skip connection coefficient correction mechanism. By dynamically replacing the search space, the GPU memory usage during the architecture search process is significantly reduced; simultaneously, by using dual activation functions to dynamically correct the skip connection weights, the "algorithm crash" phenomenon is effectively suppressed, achieving dual convergence of detection accuracy and architecture search stability.
[0022] 2. To address the limited feature extraction capabilities of existing lightweight models, this invention employs a dynamic sparse selection strategy for precursor operations. This strategy breaks the limitation of a fixed number of precursor operations in traditional algorithms, adaptively selecting the most effective combination of precursor nodes based on the characteristics of the vibration signal. This increases the diversity of the search architecture, thereby significantly improving the model's accuracy in extracting weak defect features from flip chips.
[0023] 3. To address the issue of insufficient logical information transfer in existing knowledge distillation methods, this invention proposes a logical space decoupling distillation method. By mapping the logical units output by the teacher to three probability spaces—target, intra-class, and extra-class—precise decoupling and transfer of high-dimensional semantic logical information in the teacher model is achieved. This allows the lightweight student model to achieve detection performance approaching or even surpassing that of large teacher models while significantly reducing the number of parameters, greatly improving the feasibility of deploying the algorithm on industrial edge devices. Attached Figure Description
[0024] To make the content of this invention easier to understand, the invention will be further described in detail below with reference to specific embodiments and accompanying drawings, wherein...
[0025] Figure 1 This is a flowchart of the flip chip vibration signal defect detection method based on a self-searching sparse lightweight model as described in this invention;
[0026] Figure 2 This is a structural diagram of the flip chip vibration signal defect detection system based on a self-searching sparse lightweight model as described in this invention;
[0027] The modules are: 101. Signal Acquisition Module; 102. Architecture Search Module; 103. Teacher-Student Network Construction Module; 104. Knowledge Distillation Training Module; 105. Defect Detection Module. Detailed Implementation
[0028] The present invention will be further described below with reference to the accompanying drawings and specific embodiments, so that those skilled in the art can better understand and implement the present invention. However, the embodiments described are not intended to limit the present invention.
[0029] Example 1: Refer to Figure 1 As shown, this invention provides a method for detecting vibration signals of flip chips based on a self-searching sparse lightweight model, which can effectively solve the problems of difficulty in extracting weak defect features of flip chips, large number of network model parameters, and instability of architecture search algorithms in existing technologies. The defect detection method includes the following steps:
[0030] S1: Obtain the vibration signal of the fault defect of the microbump of the flip chip and construct a defect detection sample set.
[0031] The specific process is as follows: With the assistance of an image measuring instrument (such as the MC001-YR2010), the sample flip chip is preprocessed. Solder joint defects are simulated by manually removing some solder joints and pads, and the defect locations are marked and recorded. A high-low temperature shock test chamber is used to conduct thermal cycling experiments on the sample chip to induce "solder joint cracks" and "cold solder joints," and an acoustic scanning microscope is used to confirm the internal condition of the solder joints. The prepared sample chip with solder joint defects is placed on an air-floating vibration isolation platform. An air-coupled capacitive ultrasonic transducer is used to non-contactly excite the surface of the sample chip, causing forced vibration. Simultaneously, a scanning Doppler laser vibrometer is used to measure the vibration velocity response of the sample chip surface. After sampling by a data acquisition card, the original vibration signal of the flip chip surface is obtained, and a defect detection sample set is constructed by combining it with defect labels.
[0032] S2: Based on the aforementioned fault vibration signal, construct a differentiable architecture search network model based on gradient descent, and initialize a main / backup search space environment containing a main search space and a backup search space. The specific process is as follows:
[0033] S21: A neural network built based on the vibration signal of a flip chip, specifically a differentiable architecture search network for automatically searching feature extraction structures; the architecture unit Cell is the basic feature extraction module in the neural network.
[0034] The defect detection sample set obtained in step S1 serves as the input data for the neural network, including vibration signals and their corresponding defect category labels. The neural network uses these samples to learn the mapping relationship between different vibration signals and defect categories, and evaluates the candidate network structure based on the loss and accuracy on the training and validation sets. The fault vibration signal is used as input, passing through an initial convolutional layer or preprocessing layer before being input to the architecture unit. The architecture unit performs feature transformations on the input signal, such as convolution, pooling, and skip connections, progressively extracting vibration features that can distinguish defects such as missing weld points, cracks, and incomplete welds.
[0035] The architectural unit in a neural network is defined as a directed acyclic graph with N nodes, where each node represents a feature map, and the directed edges between nodes represent a transformation operation; the output feature map corresponds to the j-th node. Its feature map is calculated by summing all predecessor nodes x(i) after transformation operations, and its calculation expression is:
[0036] ;
[0037] in, This is the output feature map corresponding to the i-th predecessor node. This represents the transformation operation from the i-th node to the j-th node;
[0038] S22: To make the discrete search space suitable for the gradient descent algorithm, the operation set S in the search space is continuously relaxed. The search space is the set of candidate network structures that can be selected during the network architecture search process, such as max_pool_3×3, skip_connect, sep_conv_3×3, sep_conv_7×7, dil_conv_3×3, and dil_conv_7×7. Fault vibration signals are used to train and evaluate the searched network structures. Specifically, the network calculates the training loss and validation accuracy using vibration signal samples, and the architecture search algorithm adjusts the weights of candidate operations accordingly, ultimately selecting a network structure that is more suitable for extracting fault vibration features.
[0039] For any two nodes i and j, an architecture weight parameter is introduced. The Softmax function is used to weight and mix all candidate operations in the operation set. The resulting operation... Defined as:
[0040] ;
[0041] Where o represents a specific operation in the set of operations S; The architecture weight parameter represents the selection operation o between node i and node j; Let S be the candidate operations (summation subvariables) in the operation set S. The operation set space S is the total search space, containing all possible candidate network structures. The main search space is the space of candidate network structures used by the current algorithm, and the backup search space is the remaining structure space in the operation set space S after removing the network structures in the "main search space".
[0042] In step S21, the "architectural unit" defines the graph structure of the network, i.e., "which nodes can be connected"; the operation set S defines "what operation can be used for each connection". The architectural unit is the carrier of the network structure, and the operation set is the set of candidate operations on the directed edges of the architectural unit. Architecture search obtains the final feature extraction structure by simultaneously determining the connection relationships between nodes and the specific operations on the connection edges.
[0043] S23: Preprocess the acquired vibration signals, including removing obvious abnormal sampling points, time synchronization, amplitude normalization, and dividing the continuous vibration signals into multiple signal samples according to a fixed time window or a fixed number of sampling points. Each signal sample inherits the defect category label of the corresponding flip chip. Specifically, 40% of all sample information can be selected as the training set, 40% as the validation set, and 20% as the test set.
[0044] Training set: used to optimize network weight parameters w;
[0045] Validation set: used to optimize the architecture weight parameter α, select candidate operations, and monitor the architecture search process;
[0046] Test set: Used to evaluate the final detection performance after the model and architecture are finalized.
[0047] Build a system that includes architecture weight parameters. A two-layer optimization objective function for the network weight parameter ω is used to search for the optimal network architecture by alternately optimizing on the training and validation sets; the two-layer objective function is expressed as:
[0048] ;
[0049] in, and These represent the training set loss function and the validation set loss function, respectively. Indicates the weight parameters in the current architecture. The optimal network weights that minimize the training set loss are as follows;
[0050] S24: Initialize the primary / backup search space environment; divide the total search space into a primary search space S1 and a backup search space S2. The primary search space includes seven high-frequency operations, such as max pooling, skip connections, and separable convolutions and dilated convolutions of different sizes; the backup search space includes the remaining five low-frequency operations; the primary / backup search space is used for dynamic replacement in subsequent step S3 based on the contribution of the operations.
[0051] S3: Based on the differentiable search network, a dynamic sparse selection mechanism for predecessor operations is constructed by alternating between primary and backup search spaces and correcting skip connection coefficients. This mechanism adaptively adjusts the operation types and connection weights between nodes within the search space, resulting in a dual-convergence sparse feature extractor. The specific process is as follows:
[0052] S31: The recommended definition of accuracy is: N correct The number of correctly predicted samples in the validation set, where Ntotal represents the total number of samples in the validation set.
[0053] An accuracy anomaly monitoring mechanism based on sliding window units is established. The model convergence status is determined using the box plot quartile detection rule. The calculation expression for the accuracy outlier criterion is as follows:
[0054] ;
[0055] Where Q1 is the lower quartile of the accuracy data, Q3 is the upper quartile of the accuracy data, and IQR represents the interquartile range of the data; when the accuracy is detected to be lower than the outlier criterion, the operation replacement mechanism of the search space is triggered, and the operation with the lowest contribution in the main search space is selected from the operations in the backup search space.
[0056] The replacement mechanism is as follows: ① Calculate the contribution of each operation in the main search space; ② Select the main search operation with the lowest contribution as the replacement object; ③ Validate the candidate operations in the backup search space; ④ Select the backup operation that can maximize the improvement of the validation set accuracy or has the highest overall contribution for replacement; ⑤ Replace one operation at a time and repeat several rounds of architecture search.
[0057] Accuracy reflects the overall classification performance of the network on the validation set; operation contribution reflects the relative effect of a candidate operation on the network performance.
[0058] S32: During the network architecture search process, a skip connection coefficient correction mechanism is introduced to constrain and correct the architecture weights of the candidate operation "skip connection" in the search space. The weights of the skip connection operation are corrected using node-level constraints based on the Sigmoid function and epoch-level constraints based on the Tanh function; wherein the calculation expression for the node-level constraints is:
[0059] ;
[0060] The calculation expression for the Epoch-level constraint term is as follows:
[0061] ;
[0062] Corrected skip connection weights The calculation expression is:
[0063] ;
[0064] Wherein, epoch represents the current iteration round number, and EPOCH represents the preset total number of iteration rounds.
[0065] S33: Calculate the corrected weight difference based on the current iteration round number and algorithm crash state, and use the difference to compensate and update the original architecture parameters. The final dual-convergence sparse feature extractor architecture parameter update rule is expressed as follows:
[0066] ;
[0067] in, This represents the jump connection weights ultimately used for architecture search; This indicates the weights after correction by the SCM mechanism; The difference in weights before and after the correction is expressed as follows:
[0068] ;
[0069] in, Indicates the uncorrected original architecture weights; epoch collapse This indicates the starting round number at which the algorithm crash was detected. Through this update rule, the weight growth of the jump connection operation is forcibly constrained, and dynamic sparse selection of the predecessor operation is performed. If the weight value of an operation is less than a preset threshold or is negative, the operation is determined to be redundant and is removed from the final generated feature extractor structure. Only positive operations with positive weight values are retained, thus obtaining a structurally stable dual-convergent sparse feature extractor.
[0070] S4: Based on the aforementioned dual-convergent sparse feature extractor, construct homogeneous teacher and student networks with differentiated layer counts, and iteratively train the teacher network to obtain a teacher model containing high-dimensional semantic and logical information and an initial student model to be optimized. The specific process is as follows:
[0071] S41: Construct a high-dimensional homogeneous teacher network model; using the double-convergent optimal feature extraction structure obtained in step S3 as the basic building block, stack M identical optimal feature extraction structures in series, retain the initial convolutional layer and the terminal fully connected classification layer, and construct a homogeneous teacher network with high-dimensional feature representation capability.
[0072] S42: Construct a lightweight, homogeneous student network model; based on the homogeneity principle of knowledge distillation, construct a student network using the same optimal feature extraction structure as the teacher network, set the number of stacked layers N of the student network, and satisfy N < M, thereby reducing the number of network layers to reduce the number of model parameters and computational complexity;
[0073] S43: Perform independent supervised training on the teacher network model until the model converges; during the training process, the logical unit values output by the teacher network are converted into class probability distributions as guiding information for subsequent knowledge distillation. The expression for calculating the class probability is as follows:
[0074] ;
[0075] Among them, z i p represents the value of the g-th logical unit in the teacher network output layer; g denoted by , g represents the predicted probability of the g-th category after transformation; c represents the total number of defect categories; after training, the teacher network parameters are frozen and used as the guiding network for the subsequent knowledge distillation stage.
[0076] S5: Using the aforementioned teacher model, a loss function comprising target space, intra-class space, and extra-class space components is constructed using a logical space decoupling distillation method. This function is then used to train the initial student model through knowledge transfer. The trained lightweight student model is then used to reconstruct and identify features of the flip chip vibration signal, yielding the final defect detection result. The specific process is as follows:
[0077] S51: Map the logic unit values output by the model to a probability distribution, and introduce three levels of class probability space, namely the target space t, the target class space o, and the total number of defect categories c.
[0078] S52: Based on the three levels of class probability spaces, define a probability set that includes the probability of the target space t, the probability of excluding the target space t in the class space o, and the probability of excluding the class space o in the overall space c. Its calculation expression is:
[0079] ;
[0080] in, Represents the probability of the target space t; This represents the probability of excluding the target space t from the in-class space o; This represents the probability of excluding the intra-class space o from the global space c;
[0081] S53: Calculate the independent probability of the same class after excluding the target in the intra-class space, and the other independent probabilities after excluding the intra-class space in the overall space. The calculation expressions are as follows:
[0082] ;
[0083] in, This represents the normalized independent probability in the class space o; z represents the normalized independent probability in the overall space c; z represents the logical unit value.
[0084] S54: Based on the decoupled probability space, a logic space decoupling distillation loss function is constructed. This loss function is composed of a weighted average of the target space component TKD, the intra-class space component OKD, and the out-of-class space component CKD. Its expression is as follows:
[0085] ;
[0086] in, , , L represents the balance coefficients for the target spatial components, intra-class spatial components, and extra-class spatial components. LDD This represents the final logical space decoupling distillation loss.
[0087] The initial student model is trained using knowledge transfer. The trained lightweight student model is then used to reconstruct and identify features of the flip chip vibration signal to obtain the final defect detection result. The specific process is as follows:
[0088] First, the vibration signal of the unknown flip chip to be detected is preprocessed in the manner described in step S1, including signal segmentation, amplitude normalization, and necessary noise suppression.
[0089] Secondly, the preprocessed vibration signal is input into the trained lightweight student model. The student model uses the double-convergent sparse feature extraction structure obtained in step S3 to extract the vibration signal features and outputs the logical unit values corresponding to each defect category through the classification layer.
[0090] Then, the Softmax function is used to convert the values of each logic unit into a defect category probability distribution, and the defect category with the highest predicted probability is selected as the predicted category of the current vibration signal sample. The calculation method is as follows:
[0091] ;
[0092] in, For the predicted defect category, p k This represents the predicted probability for the k-th defect category.
[0093] When the maximum predicted probability is lower than the preset confidence threshold, the current sample is marked as a low-confidence sample or a sample to be reviewed; when the maximum predicted probability reaches the preset confidence threshold, the corresponding defect category is output as the detection result. For multiple vibration signal windows corresponding to the same flip chip, the predicted probabilities of each window can be averaged, weighted averaged, or majority voted to obtain the chip-level defect detection result. The final output includes at least the sample number to be tested, the predicted defect category, and the corresponding predicted probability.
[0094] In this embodiment, the balance coefficient in the logic space decoupling distillation loss function , , The method for obtaining the parameters is as follows: a hyperparameter optimization method based on the tree-structured Parzen estimator is used, combined with a subjective and objective weight fusion evaluation system to optimize the parameter combinations. Specifically, a comprehensive evaluation system including subjective and objective weights is first constructed: the subjective weights are calculated using the analytic hierarchy process (AHP); the objective weights are obtained by fusing the calculation results of three objective evaluation methods: the CRITIC weight method, the coefficient of variation method, and the entropy evaluation method. Further, the subjective and objective weights are weighted and fused according to a preset ratio to obtain the final comprehensive evaluation index. Based on this comprehensive evaluation index, the TPE algorithm is used to iteratively optimize within a preset parameter search space, selecting the parameter combination that gives the model the highest comprehensive performance score on the validation set as the final balance coefficient. , , .
[0095] In summary, this invention proposes a defect detection method for flip-chip vibration signals based on a self-searching sparse lightweight model. Utilizing a gradient descent-based differentiable architecture search network, and employing a primary / backup search space alternation and skip connection coefficient correction mechanism, it achieves automated construction and stable convergence of the feature extraction structure. Simultaneously, by combining predecessor operation dynamic sparse selection and logic space decoupling distillation techniques, the high-dimensional semantic knowledge of the teacher model is efficiently transferred to the lightweight student model. Simulation and actual flip-chip vibration signal test results demonstrate that the proposed defect detection method can effectively extract weak defect features of flip chips while significantly reducing the number of model parameters and computational complexity. It is more competitive and superior to existing manual feature extraction methods and conventional neural network architecture search algorithms, and is particularly suitable for real-time detection scenarios at the industrial edge.
[0096] Example 2: Figure 2 As shown, based on the same inventive concept as the flip chip vibration signal defect detection method based on a self-searching sparse lightweight model described in Embodiment 1, this invention also provides a flip chip vibration signal defect detection system, which includes the following modules:
[0097] Signal acquisition module 101 is used to acquire the vibration signal of the fault defect of the microbump of the flip chip and construct a defect detection sample set;
[0098] Architecture search module 102 is used to construct a differentiable architecture search network model based on gradient descent, and to search for the optimal feature extraction structure by using a skip connection coefficient correction mechanism and a predecessor operation dynamic sparse selection mechanism. Specifically, it is used to execute steps S2 and S3 in embodiment one, and to obtain a doubly convergent sparse feature extractor through the alternation of primary / backup search space and dual constraint mechanism.
[0099] The teacher-student network construction module 103 is used to construct a teacher network model and a student network model with different number of layers based on the optimal feature extraction structure, and to perform independent supervised pre-training on the teacher network model; specifically, it is used to execute step S4 in Embodiment 1 to extract the high-dimensional semantic logic information of the teacher network.
[0100] The knowledge distillation training module 104 is used to construct a loss function containing target space, intra-class space, and extra-class space components by using the pre-trained teacher network model and adopting the logical space decoupling distillation method. This function is then used to perform knowledge transfer training on the student network model to obtain a lightweight student detection model. Specifically, it is used to execute step S5 in Embodiment 1, updating the student network parameters by minimizing the logical space decoupling distillation loss function.
[0101] The defect detection module 105 is used to extract and classify features of unknown flip chip vibration signals using the lightweight student detection model and output defect detection results.
[0102] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the flip-chip vibration signal defect detection method based on a self-searching sparse lightweight model described in Embodiment 1.
[0103] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the flip-chip vibration signal defect detection method based on a self-searching sparse lightweight model described in Embodiment 1.
[0104] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0105] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0106] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0107] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0108] Obviously, the above embodiments are merely illustrative examples for clear explanation and are not intended to limit the implementation. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations here. However, obvious variations or modifications derived therefrom are still within the scope of protection of this invention.
Claims
1. A method for detecting vibration signal defects in flip-chip chips, characterized in that, Includes the following steps: S1: Obtain the vibration signal of the fault defect of the microbump of the flip chip and construct a defect detection sample set; S2: Based on the vibration signal of the fault defect, construct a differentiable architecture search network model based on gradient descent, and initialize the main / backup search space environment containing the main search space and the backup search space; S3: Based on the differentiable architecture search network, a self-search feature extraction mechanism is constructed by alternating the main / backup search space and correcting the jump connection coefficient, resulting in a dual-converging sparse feature extractor. S4: Based on the dual convergent sparse feature extractor, construct a teacher network and a student network with different number of layers, and iteratively train the teacher network to obtain a teacher model containing high-dimensional semantic and logical information and an initial student model to be optimized. S5: Using the teacher model, a loss function containing target space, intra-class space, and extra-class space components is constructed by adopting the logical space decoupling distillation method. The initial student model is then trained by knowledge transfer. The trained lightweight student model is used to reconstruct and identify the features of the flip chip vibration signal to obtain the final defect detection result. In step S3, the step of constructing the self-searching feature extraction mechanism includes: S31: Establish an accuracy monitoring mechanism to identify and eliminate redundant operations that cause a decline in search performance by calculating the statistical distribution characteristics of the validation set accuracy during the current architecture search process. ; ; in, The lower quartile, It is the upper quartile. This represents the interquartile range of the data. When an outlier in accuracy is detected, the operation replacement mechanism of the search space is triggered. S32: In the network architecture search process, a correction coefficient k is introduced. skip_connect Weights for skip connection operations Make corrections to obtain the corrected weights. for: ; ; in, This represents the difference in weights at the crash point. This indicates the starting round number from which the algorithm crash was detected. This represents the correction coefficient after the activation function constraint. Indicates the current iteration round number. This represents the jump connection weights ultimately used for architecture search; S33: Based on the corrected weights The network architecture parameters are updated. If the weight is less than the preset threshold or is negative, the operation is determined to be redundant and is removed from the final feature extractor structure. Only positive operations with positive weights are retained, thus obtaining a dual-convergent sparse feature extractor.
2. The method for detecting vibration signals of flip chips according to claim 1, characterized in that: In step S2 above, constructing a differentiable architecture search network model based on gradient descent specifically includes: S21: Define the architectural unit Cell in the network as a directed acyclic graph with N nodes, where each node represents a feature graph and the directed edges between nodes represent an operation transformation; for the j-th node... Its calculation expression is: ; in, This is the output feature map of the predecessor node; This represents the transformation operation from the i-th node to the j-th node; S22: To make the discrete search space continuously differentiable, the operation set S in the search space is continuously relaxed. For any two nodes i and j, the operation is adjusted by introducing architecture weight parameters. The Softmax function is used to weight and mix all candidate operations in the operation set. Defined as: ; in, This represents a specific operation in the candidate operation set S; This represents the selection operation between node i and node j. Architecture weight parameters; Candidate operations in operation set S; S23: Build a system containing architecture parameters A two-layer optimization objective function for the network weight parameter ω is used to search for the optimal network architecture by alternating optimization on the training and validation sets; the two-layer optimization objective function is expressed as: ; S.t. ; in, and These represent the training set loss function and the validation set loss function, respectively. Indicates the current architecture parameters The optimal network weights that minimize the training set loss are as follows; S24: Initialize the main search space and the backup search space; wherein, the main search space contains 7 high-frequency operations, including max pooling, skip connections, and separable convolutions and dilated convolutions of different sizes; the backup search space contains the remaining 5 low-frequency operations; the main / backup search space is used to dynamically replace the operations based on their contribution during subsequent search processes.
3. The flip chip defect detection method based on self-searching sparse architecture and logic space decoupling distillation as described in claim 2, characterized in that: When solving the two-layer optimization objective function and obtaining the gradient of the architecture parameters, a finite difference approximation method is used. The specific steps include introducing a small perturbation scalar ε, and constructing a positive perturbation weight ω based on the current network weight parameters ω. + and negative perturbation weight ω - Its calculation expression is: ; ; Using the positive perturbation weight ω + and negative perturbation weight ω - The architecture parameters are calculated using a finite difference approximation formula. Regarding the gradient of the validation set loss, to reduce the computational complexity of the second derivative, its approximate expression is as follows: ; Where α represents the architecture parameter; ξ represents the learning rate; Represents the training set loss function; ω represents the validation set loss function; ω is the network weight parameter.
4. The flip-chip vibration signal defect detection method based on a self-searching sparse lightweight model according to claim 1, characterized in that: In step S3, to prevent algorithm crashes during the architecture search process and ensure the stability of the feature extraction structure, a coefficient correction mechanism is introduced. Specifically, this involves using correction coefficients to adjust the architecture weights of the skip connection operations, obtaining the corrected weights, the calculation expression of which is: ; ; ; The correction coefficient consists of node-level constraints based on the Sigmoid function and epoch-level constraints based on the Tanh function.
5. The flip-chip vibration signal defect detection method based on a self-searching sparse lightweight model according to claim 1, characterized in that: In step S4, the steps of constructing homogeneous teacher and student networks with differentiated layer counts include: S41: Using the optimal feature extraction structure obtained in step S3, construct a high-dimensional teacher network model by stacking M layers of the optimal feature extraction structure; S42: Using the same optimal feature extraction structure, a lightweight student network model is constructed by stacking N layers of the optimal feature extraction structure; wherein the number of layers N in the student network is less than the number of layers M in the teacher network; S43: The teacher network model is independently trained using the defect detection sample set until the model converges. The logical unit values output by the teacher network are extracted as knowledge to be transferred. The trained teacher network parameters are frozen as a guide network for subsequent knowledge distillation.
6. The flip-chip vibration signal defect detection method based on a self-searching sparse lightweight model according to claim 1, characterized in that: In step S5, the step of using the teacher model to perform knowledge transfer training on the initial student model includes: S51: Map the logical unit values output by the model to a probability distribution, and introduce three levels of class probability spaces, namely the target space t, the target intraclass space o, and the global space c. S52: Based on the three levels of class probability spaces, define a probability set that includes the probability of target t, the probability of excluding target t in the intraclass space o, and the probability of excluding intraclass space o in the global space c. Its calculation expression is: ; in, This represents the probability of target t; This represents the probability of excluding target t in the class space o; This represents the probability of excluding the intra-class space o from the global space c; S53: Calculate the independent probability of the same class after excluding the target in the intra-class space, and the other independent probabilities after excluding the intra-class space in the overall space. The calculation expressions are as follows: ; in, This represents the normalized independent probability in the class space o; z represents the normalized independent probability in the overall space c; z represents the logical unit value. S54: Based on the decoupled probability space, a logic space decoupling distillation loss function is constructed. This loss function is composed of a weighted average of the target space component TKD, the intra-class space component OKD, and the out-of-class space component CKD. Its expression is as follows: ; in, , , The balance coefficients are the target space components, intra-class space components, and extra-class space components.
7. The flip-chip vibration signal defect detection method based on a self-searching sparse lightweight model according to claim 6, characterized in that: The balance coefficient , and The method for obtaining the values is to combine parameter optimization based on a tree-structured Parzen estimator with a fusion analysis of subjective and objective weights; wherein, the objective weight evaluation method includes the CRITIC weight method, the coefficient of variation method, and the entropy evaluation method; and the subjective weight evaluation method includes the analytic hierarchy process (AHP).
8. A flip-chip vibration signal defect detection system based on a self-searching sparse lightweight model, characterized in that, include: The signal acquisition module is used to acquire the vibration signals of fault defects of the microbumps of the flip chip and construct a defect detection sample set; The denoising model building module is used to build a differentiable architecture search network model based on gradient descent, and to search for the optimal feature extraction structure by using a skip connection coefficient correction mechanism and a predecessor operation dynamic sparse selection mechanism. The architecture search module is used to execute the primary / backup search space alternation logic and the jump connection correction logic; By calculating the architectural weight contribution of each candidate operation, redundant connections are eliminated and effective operations in the spare space are dynamically introduced, thereby automatically searching for the optimal neural network topology for weak defect features under preset constraints. The teacher-student network construction module is used to construct identical teacher network models and student network models with different numbers of layers based on the optimal feature extraction structure, and to pre-train the teacher network model. The knowledge distillation training module is used to construct a loss function containing target space, intra-class space and extra-class space components by using the pre-trained teacher network model and adopting the logical space decoupling distillation method. This function is then used to perform knowledge transfer training on the student network model to obtain a lightweight student detection model. The defect detection module is used to extract and classify features of unknown flip chip vibration signals using the lightweight student detection model, and output defect detection results.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the flip-chip vibration signal defect detection method based on a self-searching sparse lightweight model as described in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the flip chip vibration signal defect detection method based on the self-searching sparse lightweight model as described in any one of claims 1 to 7.
