A semiconductor memory package defect intelligent identification and yield optimization method
By combining multi-physics field collaborative sensing and cross-modal feature fusion networks with reconstructive anomaly detection and Bayesian deep learning, the problem of insufficient feature discrimination capability and uncertainty in semiconductor memory packaging defect detection is solved, and efficient identification and yield optimization of defects in novel packaging structures are achieved.
Patent Information
- Application Number
- CN202611087457.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-21
- Publication Date
- 2026-11-27
AI Technical Summary
Existing semiconductor memory packaging defect detection methods are insufficient in feature differentiation when faced with defects that have highly similar visual appearances, such as microcracks, microvoids, and slight displacement of bumps. Furthermore, they cannot quantify the cognitive and random uncertainties in the decision-making process, making it difficult to output reliable identification results.
Multi-physics collaborative sensing is used to acquire multimodal detection data. Feature extraction and fusion are performed through a cross-modal feature fusion network. Combined with a reconstructive anomaly detection mechanism and a few-shot learning module, a Bayesian deep learning framework is introduced for defect identification and yield optimization. The multi-physics collaborative sensing mechanism is used to acquire fully encapsulated defect features, and the importance weight of features is dynamically learned to quantify the uncertainty of the identification results.
It effectively expands the scope of application of the detection system when facing defects in new packaging structures, improves the feature discrimination capability, can identify unknown defects, solves the problem of detection blind spots in the early stage of mass production of new packaging structures, and can quickly adapt to new defects through a few-sample learning module, quantifying the uncertainty of the identification results.
Smart Images

Figure CN123179188A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of semiconductor packaging and testing technology, specifically a method for intelligent identification of semiconductor memory packaging defects and yield optimization. Background Technology
[0002] Intelligent detection of defects in semiconductor memory packaging is a quality control step that ensures chip yield and long-term operational reliability. As advanced packaging processes for memory chips continue to shrink, the various defects introduced by the packaging process are becoming smaller and more diverse in shape. Accurate identification and classification of defects is a key prerequisite for supporting process backtracking optimization and ensuring the quality of high-value products shipped. Existing intelligent detection methods for packaging defects are mostly based on deep learning technology, using models such as convolutional neural networks, attention mechanisms, or Transformer architectures to extract deep features and classify defect images. In scenarios with different defect morphologies and sufficient sample data, they can achieve automated defect type identification and statistics, which can meet the basic quality inspection needs of conventional packaging products.
[0003] In related technologies, encapsulated defect samples naturally exhibit subtle visual differences between classes and varied intra-class morphology. This leads to insufficient feature discrimination ability when models face defects with highly similar visual representations, such as microcracks, microcavities, and slight offsets of protrusions, making it easy to produce cross-class misclassifications. Furthermore, most existing models can only output the probability distribution results of defect types, failing to quantify the cognitive and random uncertainties in the decision-making process, making it difficult to output credible identification and judgment results.
[0004] Therefore, the present invention provides a method for intelligent identification of semiconductor memory packaging defects and yield optimization. Summary of the Invention
[0005] In order to overcome the shortcomings of the prior art, at least one technical problem raised in the background art is solved.
[0006] The technical solution adopted by this invention to solve its technical problem is: a method for intelligent identification and yield optimization of semiconductor memory packaging defects, comprising the following steps: Step 1: Acquire multimodal detection data of the package using a multi-physics collaborative sensing method. The multimodal detection data is synchronously calibrated in the time dimension and registered and fused in the spatial dimension to form a multimodal dataset that can characterize the internal defect features of the package. Step 2: Input the multi-physics detection data into the cross-modal feature fusion network for feature extraction and fusion. The cross-modal feature fusion network adopts an attention mechanism to dynamically learn the importance weights of the multi-physics features, so that the fused features can adaptively focus on the feature combination for defect identification. Step 3: Based on the fusion features output by the cross-modal feature fusion network, a reconstruction-based anomaly detection mechanism is used for defect identification. The reconstruction-based anomaly detection module includes an encoder network and a decoder network. The encoder network maps the input multi-physics fusion features to a low-dimensional latent space, and the decoder network reconstructs the input feature vector from the low-dimensional latent variables. By setting a reconstruction error threshold, defect samples are separated from normal samples. Step 4: Introduce a few-shot learning module to enable rapid adaptation of recognition capabilities. The few-shot learning module includes a data augmentation unit based on physical constraints and a meta-learning unit. Step 5: Introduce a Bayesian deep learning framework to quantify the uncertainty of defect identification results. Perform multiple forward propagation samplings during the model inference stage, and calculate the variance of the prediction distribution based on multiple sets of prediction results as a quantitative indicator of cognitive uncertainty. Step 6: Based on the defect identification results, conduct a correlation analysis between packaging yield and defect characteristics, and establish a quantitative relationship model between packaging yield and defect type, defect quantity, defect size and defect location.
[0007] Preferably, the multi-physics field collaborative sensing module includes an X-ray detection unit, an infrared thermal imaging unit, an optical microscopy imaging unit, and an ultrasonic scanning unit, and each unit completes the synchronous acquisition of packaged multi-modal detection data under the scheduling of a unified time synchronization control signal. Time synchronization calibration controls the data acquisition timing of each sensor; Spatial registration fusion employs a rigid body transformation registration algorithm based on feature points, which resamples multi-physics image data into a unified voxel grid coordinate system through interpolation operations to form a spatially registered and aligned multimodal dataset.
[0008] Preferably, the cross-modal feature fusion network includes a physical field-specific feature extraction layer, a feature registration layer, and a multimodal fusion layer; The raw detection data of multiphysics fields are processed by a convolutional neural network structure designed specifically for the characteristics of physical field data for feature extraction; The feature registration layer is used to spatially align the feature maps of the multiphysics field, eliminating spatial misalignment caused by differences in acquisition position and angle. The registered multi-physics features are integrated through a multi-modal fusion layer. The integration process uses an attention mechanism to dynamically learn the importance weights of the multi-physics features.
[0009] Preferably, the reconfigurable anomaly detection module includes an encoder network and a decoder network; The encoder network is trained using normal samples and maps the input features to a low-dimensional latent space through multiple nonlinear transformations. The decoder network reconstructs input features from latent variables through an inverse nonlinear transformation. During training, the decoder learns the data distribution of normal samples by minimizing the reconstruction error of normal samples. During the inference phase, the reconstruction error of the test sample is calculated as the anomaly score. The anomaly score of normal samples follows a distribution centered at a lower mean, while the anomaly score of defective samples is higher than the center value of the distribution of normal samples. The judgment threshold of the anomaly score is adaptively determined by nonparametric statistical methods.
[0010] Preferably, the physical constraint-based data augmentation unit in the few-shot learning module applies perturbations that conform to the physical laws of encapsulation defects to the multiphysics detection data to generate virtual augmented samples; The continuous change of defect size is simulated on X-ray inspection data. The shape of the disturbance region is set to ellipse, and the size of the disturbance region is continuously scaled according to a preset ratio range based on the original defect size. The continuous change in temperature contrast in the defect area was simulated on infrared thermal imaging data.
[0011] Preferably, the data augmentation unit based on physical constraints further includes a physical consistency verification layer; The physical consistency verification layer uses a pre-trained physical law discrimination network to verify the physical rationality of the enhanced multiphysics detection data and outputs a confidence score for physical rationality. When the confidence score is lower than the preset physical plausibility threshold, the augmented sample is judged to be inconsistent with physical laws and is removed.
[0012] Preferably, the meta-learning unit in the few-shot learning module adopts a model-independent meta-learning algorithm to divide the known defect categories into a support set and a query set; By updating the model parameters using gradient descent on the support set and evaluating the model's generalization performance for new categories on the query set, and by alternating between support set optimization and query set optimization, the model obtains a parameter initialization state that can quickly adapt to new defect types with a small number of samples.
[0013] Preferably, the uncertainty quantification method in the Bayesian deep learning framework adopts Monte Carlo random deactivation technique, which retains the random deactivation layer in the network during the model inference stage, performs multiple forward propagations on the same input, and randomly activates or inhibits neurons in each forward propagation with a preset dropout probability to obtain multiple prediction results. The prediction mean and prediction variance are calculated based on the multiple prediction results.
[0014] Preferably, the packaging yield and defect feature correlation analysis model establishes a nonlinear mapping relationship between defect feature parameters and yield indicators through regression analysis or gradient boosting decision tree algorithm; The defect features include defect type, defect size distribution, defect location clustering, and defect density distribution; Identify defect features through feature importance assessment; The sensitivity coefficients of each defect feature are calculated using partial differential analysis to quantify the degree and direction of influence of each defect feature on the yield.
[0015] Preferably, the generation of optimization suggestions for the packaging process parameters further includes a root cause analysis unit; The root cause analysis unit uses a knowledge graph-based reasoning method to analyze the process steps and main causes of key defect types. The knowledge graph includes packaging process nodes, defect types, process parameters, and material properties; Given a defect type, a graph query algorithm is used to retrieve process nodes and process parameter combinations that are associated with that defect type. The retrieval results are sorted according to the association confidence and output as a list of possible root causes for that defect type.
[0016] The beneficial effects of this invention include: 1. The present invention provides a method for intelligent identification and yield optimization of semiconductor memory packaging defects. By using a multi-physics field collaborative sensing mechanism, it overcomes the information limitations of single-physics field detection. X-ray detection obtains internal density distribution information, infrared thermal imaging obtains temperature response distribution information, optical microscopy obtains surface morphology information, and ultrasonic scanning obtains acoustic impedance difference information. These four types of physical field information comprehensively characterize the packaging defect features from different physical dimensions, enabling the detection system to capture defect signals that cannot be perceived by a single physical field. This can effectively expand the applicability of the detection system when facing defects in novel packaging structures.
[0017] 2. The present invention provides a method for intelligent identification and yield optimization of semiconductor memory packaging defects. By dynamically learning the importance weights of multi-physics features through the attention mechanism in the cross-modal feature fusion network, the fused features can adaptively focus on the most discriminative feature combinations. Compared with simple feature splicing or fixed weight fusion methods, the attention mechanism can flexibly adjust the contribution of multi-physics information according to the needs of the current identification task, improve the feature discrimination ability of the model when facing fine-grained defects with subtle inter-class differences, and effectively reduce the probability of misclassification between defects with highly similar visual representations, such as microcracks, voids, and convex point offsets.
[0018] 3. The present invention provides a method for intelligent identification and yield optimization of semiconductor memory packaging defects. It establishes a distribution model of normal samples in a multi-physics field fusion feature space through a reconstructive anomaly detection mechanism. Anomalies are detected by identifying the degree of deviation between the samples and the normal pattern. Compared with traditional technology, it does not require explicit modeling of unknown defects. It can identify new defects that have never appeared in the training set. It breaks through the bottleneck of traditional supervised learning methods where the detection capability is limited to human-labeled defect types. It can solve the problem of detection blind spots when new packaging structures face unknown defect patterns in the early stage of mass production.
[0019] 4. The present invention provides a method for intelligent identification and yield optimization of semiconductor memory packaging defects. It can effectively solve the problem of supervised model training difficulties caused by the extreme scarcity of samples in the early stage of new defects through a few-sample learning module. Data augmentation based on physical constraints generates virtual augmented samples under the constraints of the physical laws of packaging defects. The meta-learning paradigm uses the knowledge of known defect categories to adapt to new defect types through rapid parameter adjustment. The synergistic combination of the two strategies enables the model to complete effective training with only a small number of samples when facing new packaging structure defects, preventing the technical problem of not being able to build a reliable detection model due to insufficient samples. Attached Figure Description
[0020] The invention will now be further described with reference to the accompanying drawings.
[0021] Figure 1 This is a flowchart of the intelligent identification and yield optimization method for semiconductor memory packaging defects in this invention; Figure 2 This is the overall flowchart of the intelligent defect identification and yield optimization iteration in this invention. Detailed Implementation
[0022] To make the technical means, creative features, objectives and effects of this invention easier to understand, the invention will be further described below in conjunction with specific embodiments.
[0023] Example 1: like Figure 1 and Figure 2 As shown, the intelligent identification and yield optimization method for semiconductor memory packaging defects according to the present invention includes the following steps: Step 1: Implementation of the multi-physics field collaborative sensing module. The multi-physics field collaborative sensing module serves as the data acquisition unit of this invention. Its hardware architecture includes multiple independent physical field sensor subsystems such as an X-ray detection unit, an infrared thermal imaging unit, an optical microscopic imaging unit, and an ultrasonic scanning unit. Under the unified time synchronization control signal scheduling, each sensor subsystem completes the synchronous acquisition of multi-modal detection data of the semiconductor memory package.
[0024] The X-ray detection unit uses transmission X-ray imaging technology as the data acquisition principle. This unit includes functional components such as an X-ray tube, a high-voltage power supply, a sample stage, a flat panel detector, and a high-precision motion control mechanism. The X-ray tube uses a microfocus X-ray source, with its focal size controlled within the range of 5 micrometers to 50 micrometers to obtain sufficient geometric magnification; the high-voltage power supply provides a stable high-voltage output for the X-ray tube, with its voltage output range set to 80 kV to 150 kV and its current output range set to 0.5 mA to 5 mA. Within this parameter setting range, the X-ray photon energy can effectively penetrate common lead frame materials and molding compounds, while maintaining sufficient X-ray attenuation contrast for defects inside the package. When X-rays penetrate the package body, the attenuation coefficients of X-rays vary depending on the material density. Normal package areas exhibit a uniform X-ray attenuation distribution, while areas with volumetric defects such as voids, delamination, and cracks show abnormal X-ray attenuation distribution due to changes in material density. The flat panel detector converts these differences in X-ray intensity distribution into digital image signals, forming X-ray detection image data that characterizes the density distribution inside the package.
[0025] The infrared thermal imaging unit uses active infrared thermal imaging technology as its data acquisition principle. This unit includes a broadband infrared excitation light source, a programmable temperature-controlled heating device, a cooled infrared detector, and a high-speed data acquisition card. The output power of the excitation light source is set to 50 watts to 500 watts, and its spectral distribution covers the near-infrared to mid-infrared band. The programmable temperature-controlled heating device applies periodic thermal stimulation to the packaged sample according to a preset heating cycle. The heating cycle duration is set to 1 second to 10 seconds, and the duty cycle is adjustable from 20% to 80%. The infrared detector uses a cooled mercury cadmium telluride detector, and its spectral response range is set to the mid-wave infrared band of 8 micrometers to 14 micrometers. This band corresponds to the peak thermal radiation band of objects at room temperature. The detector uses two-stage TEC cooling to reduce the operating temperature to 77 Kelvin to obtain low-noise and high-sensitivity thermal imaging performance. When external thermal stimuli are applied to the packaging surface, heat is conducted to the interior through the packaging material. Due to the difference in thermal conductivity between the defective area and the normal material, the surface temperature evolution pattern of the defective area under periodic thermal stimulation is identifiable to be different from that of the normal area. Infrared detectors capture these temperature distribution differences to form infrared thermal imaging data.
[0026] The optical microscopy imaging unit uses confocal laser scanning microscopy as its data acquisition principle. This unit includes a broadband light source, a scanning galvanometer, a high numerical aperture objective lens, a pinhole aperture, and a photomultiplier tube. The broadband light source uses a green laser light source with a center wavelength of 532 nm to obtain good optical contrast. The scanning galvanometer adopts a high-speed two-dimensional digital micromirror device, and its scanning speed can be set to adjustable from 1 frame per second to 100 frames per second. The magnification of the high numerical aperture objective lens is set to 50x to 200x, and the numerical aperture is set to 0.8 to 1.4 to obtain sub-micron level optical resolution. The aperture of the pinhole aperture is set to 25 microns to 100 microns to effectively suppress defocus light. The optical microscopy imaging unit acquires high-resolution surface topography and reflectivity images by scanning the package surface point by point. When there are defects such as scratches, pits, bumps, and surface contamination on the package surface, these defects differ from normal surfaces in optical reflection characteristics. The confocal optical system can effectively distinguish these differences and form high-contrast optical microscopy image data.
[0027] The ultrasonic scanning unit uses pulse-echo ultrasonic imaging technology as its data acquisition principle. This unit includes a high-frequency ultrasonic transducer, a pulse transmission and receiving circuit, a high-precision scanning motion stage, and a multi-channel data acquisition card. The center frequency of the high-frequency ultrasonic transducer is set to 50 MHz to 200 MHz, and the bandwidth is set to 60% to 80%. The piezoelectric material is lithium niobate crystal to obtain high sensitivity and wide bandwidth response characteristics. The pulse transmission and reception circuit generates a high voltage narrow pulse to excite the transducer to emit ultrasonic pulses, and at the same time receives the echo signal reflected from the internal interface of the package. The positioning accuracy of the high-precision scanning motion stage is controlled within 1 micrometer to ensure the image quality of ultrasonic scanning. When an ultrasonic pulse is incident on the interface between different materials inside the package, due to the difference in acoustic impedance between the materials on both sides of the interface, some of the ultrasonic energy is reflected at the interface. The reflected echo is received by the transducer and converted into an electrical signal to form ultrasonic scanning data. Due to the difference in acoustic impedance between the defective area and the surrounding material, it appears as an abnormal reflected signal in the ultrasonic scanning image.
[0028] The data synchronization and fusion processing unit of the multi-physics field collaborative sensing module is responsible for performing time synchronization calibration and spatial registration fusion on the raw data collected by multiple physical field sensor subsystems. The time synchronization calibration adopts a hardware-triggered synchronization method. The data acquisition timing of multiple sensor subsystems is controlled by a unified high-precision clock source. The jitter of the clock source is controlled within 10 nanoseconds to ensure that the time synchronization accuracy of multimodal data is better than 100 nanoseconds. Spatial registration fusion adopts a rigid body transformation registration algorithm based on feature points. Several feature-rich marker points are selected on the encapsulation surface as registration reference points. The coordinate transformation relationship is established by extracting the geometric positions of these marker points in the multiphysics image. The multiphysics image data is resampled into a unified voxel grid coordinate system through interpolation to form a spatially registered and aligned multimodal dataset. The spatial resolution of this multimodal dataset in the voxel grid is adjustable from 1 micrometer to 10 micrometers, and the size range of the voxel grid is set from 512×512×512 to 2048×2048×2048 voxels. The data format adopts 32-bit floating point to ensure the data accuracy of multiphysics fusion calculation.
[0029] The multimodal dataset is stored in a hierarchical structured storage format, which includes a raw data layer, a preprocessed data layer, and a fusion feature layer. The raw data layer stores the raw data acquired by multiple physical field sensors. The data from multiple physical fields are stored independently to facilitate subsequent independent processing and visualization analysis. The preprocessed data layer stores standardized data that has undergone preprocessing operations such as radiometric correction, geometric correction, and noise suppression. The fusion feature layer stores the fusion dataset after spatial registration and time synchronization. This data layer adopts a distributed storage architecture to support the storage and high-speed reading requirements of large-scale detection data.
[0030] Step 2: Implementation of the cross-modal feature fusion network. The cross-modal feature fusion network is a deep learning model architecture for feature extraction and fusion of heterogeneous data from multiple physics fields. Its network structure includes functional modules such as a physical field-specific feature extraction layer, a feature registration layer, and a multimodal fusion layer. These modules are cascaded in sequence to form an end-to-end feature processing pipeline.
[0031] The dedicated feature extraction layer for physical fields is designed with specific convolutional neural network structures to extract features based on the characteristics of four types of heterogeneous physical field data: X-ray detection data, infrared thermal imaging data, optical microscopy imaging data, and ultrasonic scanning data. The physical field-specific feature extraction layer for X-ray detection data uses ResNet-50 as the main network architecture. This network contains 50 convolutional layers and residual connection units. The input layer of the network is set to a single-channel grayscale image input. The number of filters in the convolutional layers increases from 64 to 2048. The convolutional kernel size is set to 3×3, and the stride is set to 1 or 2 to control the spatial resolution downsampling ratio of the feature map. The residual connection uses an identity mapping method to alleviate the gradient vanishing problem in deep networks. The feature map size of the network output layer is 1 / 32 of the input image size, and the feature vector containing 2048 channels is used to characterize the density distribution anomalies in the X-ray image. The physical field-specific feature extraction layer for infrared thermal imaging data uses the lightweight convolutional network EfficientNet-B0 as the main network architecture. This network adopts a composite scaling strategy to balance the scaling ratios of the network's depth, width, and resolution dimensions. The input layer is set to a single-channel grayscale image input, and the network's depth scaling factor is set to 1.0, width scaling factor is set to 1.0, and resolution scaling factor is set to 1.0. The feature map size of the network's output layer is 1 / 32 of the input image size, containing 1280 channels of feature vectors to characterize the abnormal temperature distribution features in the infrared image. The physical field-specific feature extraction layer for optical microscopy imaging data adopts a convolutional network with a spatial pyramid pooling module as its main architecture. Based on the main network of ResNet-50, this network inserts spatial pyramid pooling modules at multiple layers of feature extraction. The pooling grid of the spatial pyramid pooling module is set to multiple scales of 1×1, 2×2, 4×4, and 8×8. Through multi-scale spatial pooling, spatial structural features and texture features in optical images are effectively extracted. The feature map size of the network output layer is 1 / 16 of the input image size, and the feature vector containing 2048 channels is used to characterize the surface morphology anomalies in the optical image. The physical field-specific feature extraction layer for ultrasonic scanning data employs a specially designed temporal convolutional network architecture. This network consists of three functional components: a one-dimensional convolutional layer, a bidirectional long short-term memory network layer, and an attention pooling layer. The kernel size of the one-dimensional convolutional layer is set to 3 to 15 sampling points, and the number of filters is set to 64 to 256. The bidirectional long short-term memory network layer contains 128 hidden units to model the temporal dependencies of ultrasonic echo signals. The attention pooling layer obtains a global feature vector by learning weights and performing weighted summation of temporal features. The feature vector dimension of the network output layer is set to 512 to characterize the acoustic impedance anomaly features in the ultrasonic scanning data.
[0032] The feature registration layer performs spatial alignment processing on the feature maps output by multiple physical field-specific feature extraction layers to eliminate spatial misalignment caused by differences in the acquisition positions and angles of each sensor. The feature registration layer uses a learnable spatial transformation network as a module. This network includes a localization network, a mesh generator, and a sampler sub-module. The localization network uses a convolutional neural network architecture to predict two-dimensional affine transformation parameters from the feature map of the multiphysics field. The input of the localization network is the multiphysics field feature map, and the output is a two-dimensional affine transformation matrix composed of 6 affine transformation parameters. The localization network has 4 convolutional layers, and the number of filters increases from 64 to 128. The activation function of the network is the ReLU function. The mesh generator generates sampling mesh coordinates based on the affine transformation parameters output by the localization network. The size of the sampling mesh is the same as the size of the input feature map, and the origin of the coordinate system is located at the center of the feature map. The sampler uses a bilinear interpolation algorithm to sample spatially aligned feature maps from the input feature map based on the sampling grid coordinates. The output of the sampler is a target feature map that is spatially aligned with the reference feature map. The training of the feature registration layer adopts an end-to-end supervised learning approach, with the cosine similarity loss between the reference physical field feature map and the target physical field feature map as the optimization objective. The parameters of the localization network are iteratively updated through the gradient descent algorithm until the spatial alignment error of the multi-physics feature map converges to below the preset threshold.
[0033] The multimodal fusion layer integrates and processes the registered physical field features. The fusion process uses a multi-head self-attention mechanism to dynamically learn the correlation weights between the multiple physical field features. The network architecture of the multimodal fusion layer uses the multi-head self-attention module of the Transformer encoder as a component. This module includes a multi-head attention layer, a feedforward neural network layer, and a layer normalization layer. The number of attention heads in the multi-head attention layer is set to 8, and the dimensions of the query vector, key vector and value vector of each attention head are set to 64. The 8 attention heads are computed in parallel to obtain 8 sets of attention weighted features, which are then concatenated to form a 512-dimensional attention output feature vector. The input of the multi-head attention layer contains registration feature vectors of multiple physical fields. Each physical field feature vector is mapped to the query space, key space, and value space through linear projection transformation. The attention weight matrix between the multi-physical field features is calculated. The elements of the attention weight matrix are obtained by calculating the dot product of the query vector and the key vector. The calculation result is normalized by softmax and used as the attention weight coefficient. The attention weight coefficient is weighted and summed with the corresponding value vector to obtain the fused feature representation. The feedforward neural network layer adopts a two-layer fully connected network structure: the first layer maps the input feature dimension from 512 to 2048 and uses the ReLU activation function; The second layer maps the feature dimension from 2048 back to 512 and uses a linear activation function. The feedforward neural network layer is used to perform non-linear transformations on the output features of the attention layer to enhance the feature expressive power. The layer normalization layer normalizes the outputs of the multi-head attention layer and the feedforward neural network layer to stabilize the network training process. The mean calculation window of the layer normalization layer covers the entire feature vector dimension, and the variance calculation window also covers the entire feature vector dimension. The normalization formula adopts the standardized z-score normalization method. The multimodal fusion layer outputs a fusion feature vector with a dimension of 512. This fusion feature vector adaptively aggregates the most discriminative feature information from multiple physical fields, including X-ray, infrared thermal imaging, optical microscopy, and ultrasonic scanning.
[0034] Step 3: Implementation of the reconstructive anomaly detection mechanism. The reconstructive anomaly detection module adopts an autoencoder architecture as the detection model. It identifies defective samples by establishing a distribution model of normal samples in the multi-physics fusion feature space. This module includes functional components such as encoder network, decoder network, reconstruction error calculation unit, and anomaly judgment unit.
[0035] The encoder network uses a deep fully connected neural network architecture to map the input multi-physics fusion feature vector to a low-dimensional latent space. The input layer dimension of the encoder network is set to 512, which is consistent with the output feature dimension of the multi-modal fusion layer. There are 4 hidden layers, with the number of neurons in each hidden layer being 384, 256, 128, and 64, respectively. The LeakyReLU function is used to avoid the gradient vanishing problem, and the slope of the negative interval of the LeakyReLU function is set to 0.2. The output layer of the encoder network uses a linear activation function to directly output the latent variables. The dimension of the latent space is set to 32, and the latent variables follow a standard normal distribution prior. The role of the encoder network is to gradually reduce the dimension of the high-dimensional input feature vector to a low-dimensional latent space through multi-layer nonlinear compression transformation. During the compression process, the network learns the compact distribution representation of normal samples in the latent space.
[0036] The decoder network uses a fully connected neural network architecture that is symmetrical to the encoder network to reconstruct the input feature vector from low-dimensional latent variables. The input layer dimension of the decoder network is set to 32, which is the same as the output layer dimension of the encoder network. There are 4 hidden layers, with the number of neurons in each hidden layer being 64, 128, 256, and 384 respectively. The activation function is also the LeakyReLU function. The output layer dimension of the decoder network is set to 512, which is consistent with the input feature dimension. The activation function is the Tanh function to match the numerical range of the reconstructed feature vector. The role of the decoder network is to reconstruct high-dimensional input features from low-dimensional latent variables through multi-layer nonlinear decompression transformation. In this reconstruction process, the network learns the geometric structure of the normal sample data manifold.
[0037] The training process of the reconstructive anomaly detection module adopts an unsupervised learning approach using only normal encapsulated samples. The training dataset consists of a large number of manually verified normal encapsulated samples, which do not contain any defective samples to ensure that the model learns the distribution characteristics of normal samples. During training, the number of samples in each batch is set to 64. A batch of normal samples is input into the encoder network to obtain the corresponding latent variables, and the latent variables are input into the decoder network to obtain the reconstructed feature vector. The mean square error between the reconstructed feature vector and the original input feature vector is calculated as the reconstruction loss function. The formula for calculating the mean square error is the arithmetic mean of the squares of the reconstruction errors in each dimension. The reconstruction loss function is optimized using the stochastic gradient descent algorithm. The learning rate is set to 0.001, the weight decay coefficient is set to 0.0001, and the number of training iterations is set to 50,000 or until the reconstruction loss converges to below the preset convergence threshold. After training, the decoder network learns the distribution pattern of normal samples in the reconstruction space. For normal samples, the reconstructed feature vector is highly consistent with the original input feature vector, thus having a low reconstruction error.
[0038] During the inference phase, the reconstruction error is calculated for each test sample as an anomaly score. The fused feature vector of the test sample is input into the encoder network to obtain the corresponding latent variables. The latent variables are input into the decoder network to obtain the reconstructed feature vector. The mean square error between the reconstructed feature vector and the original input feature vector is calculated as the anomaly score of the sample. Normal samples, because their feature distribution is consistent with that of normal samples in the training set, can maintain a high degree of feature fidelity during encoding compression and reconstruction. Therefore, their anomaly scores follow a low-sine distribution centered on a low mean. Because defective samples deviate from the normal pattern in feature distribution, the encoder has difficulty effectively compressing them into the latent space submanifold where normal samples are located. The decoder will produce feature distortion when reconstructing based on the learned normal distribution pattern, so its abnormal score is higher than the center value of the normal sample distribution.
[0039] The anomaly detection unit uses an adaptive threshold method based on statistical distribution to separate defective samples from normal samples. The threshold determination process uses a non-parametric statistical method. A batch of manually confirmed normal samples is collected as a benchmark sample set. The anomaly score of the benchmark sample set is calculated and its distribution parameters, including the mean and standard deviation, are statistically analyzed. The anomaly detection threshold is calculated according to the preset confidence level. The threshold calculation formula is the mean plus Z times the standard deviation, where the Z value is determined by looking up a table based on the confidence level. When the confidence level is set to 99.9%, the Z value is approximately 3.1. When the abnormal score of a sample exceeds the threshold, it is determined to be a defective sample, i.e., it has a defect. When the abnormal score does not exceed the threshold, it is determined to be a normal sample.
[0040] Step 4: Implementation of the few-shot learning module. The few-shot learning module provides rapid adaptation to the problem of scarce samples in the early stage of novel defects in novel encapsulation structures. This module includes data augmentation units based on physical constraints and meta-learning unit functional components.
[0041] The data augmentation unit based on physical constraints applies perturbations that conform to the physical laws of encapsulation defects to multiphysics detection data to generate virtual augmented samples. The data augmentation strategy of this unit is designed with corresponding physical constraints for multiphysics data. When simulating the continuous change of defect size on X-ray detection data, the augmentation operation simulates void defects by adding Gaussian attenuation perturbations to a specified area in the original X-ray image. The shape of the perturbation area is set to ellipse to conform to the geometric characteristics of actual void defects. The size of the perturbation area is continuously scaled from 0.5 times to 2 times the original defect size to simulate defect instances of different sizes. The perturbation amplitude is set to an equivalent X-ray attenuation of 20 to 60 electron volts to conform to the X-ray contrast range of actual void defects. When simulating the continuous change of temperature contrast in the defect area on infrared thermal imaging data, the enhancement operation simulates thermal anomaly defects by adding Gaussian temperature perturbation to a specified area in the original infrared image. The shape of the perturbation area is also set to ellipse to conform to the thermal diffusion boundary characteristics of the actual defect. The temperature contrast of the perturbation area is continuously adjusted from the original temperature contrast by a ratio of 0.3 to 3 times to simulate defect instances of different degrees. When simulating the geometric transformation of defect morphology on optical microscopy data, the enhancement operation increases the diversity of the sample through random geometric transformations including translation, rotation, scaling and flipping. The translation range is set to 10% to 20% of the image size, the rotation angle range is set to 0 to 360 degrees, the scaling ratio range is set to 0.8 to 1.2 times, and the flipping method includes horizontal flipping and vertical flipping.
[0042] The physical consistency verification layer verifies the physical laws of the augmented samples to ensure the quality of the augmented sample library. The physical consistency verification layer uses a pre-trained physical law discrimination network as the verification tool. This network is trained by comparing a large number of real defect samples and physically unreasonable samples to learn the physical law characteristics of encapsulated defects. The input to the physical consistency check layer is the enhanced multiphysics detection data, and the output is the confidence score of physical rationality. When the confidence score is lower than the preset physical rationality threshold, the enhanced sample is judged to be inconsistent with physical laws and is removed. The physical rationality threshold is set to 0.7. The removal operation of the physical consistency check layer ensures that the enhanced samples entering the training dataset all meet the physical consistency constraints of encapsulation defects, and avoids generating physically unreasonable samples that may mislead subsequent model training.
[0043] The meta-learning unit uses a model-independent meta-learning algorithm to achieve rapid transfer of knowledge from known defect categories to new defect categories. The network architecture of the meta-learning unit includes a basic feature extraction network and a task-adaptive classifier. The basic feature extraction network uses a convolutional neural network architecture to extract general feature representations from multi-physics fusion features. The number of convolutional layers is set to 4, and the number of filters in each layer is 32, 64, 128, and 256 respectively. The kernel size is uniformly set to 3×3, and the activation function is the ReLU function. The task-adaptive classifier adopts a linear classifier architecture. Its input is the output features of the basic feature extraction network, and the output is the classification probability of each defect category. The parameters of the classifier are quickly adjusted according to the specific task during the meta-learning process. The training process of the meta-learning unit adopts the episodic training paradigm. In each training round, several defect categories are randomly selected as the support set and query set for the current task. The support set contains 5 samples for each category for the model to adapt quickly, and the query set contains 15 samples for each category for evaluating the model's generalization performance on new categories. The meta-learning optimization algorithm employs a model-independent meta-learning algorithm. Its inner optimization performs gradient descent on the support set to update the model parameters and minimize the classification loss of the support set. The outer optimization evaluates the generalization performance of the updated model on the query set and adjusts the initial model parameters accordingly. Iterative optimization over multiple training rounds enables the model to obtain a parameter initialization state that allows it to quickly adapt to new defect types with a small number of samples.
[0044] Step 5: Implementation of the Bayesian deep learning framework. The Bayesian deep learning framework quantifies the uncertainty of defect identification results to support manual review of high-risk samples. This framework includes functional components such as Monte Carlo sampling unit, uncertainty calculation unit, and risk assessment unit.
[0045] The Monte Carlo sampling unit employs random deactivation during the model inference phase to perform multiple forward propagation samplings to obtain the statistical distribution of the prediction results. The network architecture of the Monte Carlo sampling unit retains the randomly deactivated layers in the encoder network, decoder network, and multimodal fusion layer. The dropout probability of the randomly deactivated layers is set to 0.2, which ensures sufficient randomness in the network structure during each forward propagation to produce diverse prediction results. T forward propagation samplings are performed on the same test sample, with T set to 50 to achieve a balance between computational efficiency and estimation accuracy. In each forward propagation, the randomly deactivated layers randomly activate or inhibit neurons according to the dropout probability, generating different network sub-architectures and parameter settings. Therefore, even with the same input sample, different forward propagations will produce different prediction results. T forward propagations produce T sets of network prediction results, each set containing a defect category label and the corresponding classification probability.
[0046] The uncertainty calculation unit calculates a quantitative index of cognitive uncertainty based on the T-group network prediction results. The unit statistically aggregates the classification probabilities from the T-group prediction results, calculating the prediction mean and prediction variance for each category as quantitative indicators of cognitive uncertainty. The prediction mean is calculated as the arithmetic mean of the probabilities of each category in the T predictions, and the prediction variance is calculated as the variance estimate of the probabilities of each category. For classification tasks, the quantitative index of cognitive uncertainty uses the entropy of the prediction distribution. The entropy is calculated as the negative sum of the products of the probabilities and the logarithms of each category; a larger entropy indicates a flatter prediction distribution, i.e., higher cognitive uncertainty. For anomaly detection tasks, the quantitative index of cognitive uncertainty uses the statistical outlier of the anomaly score distribution. The outlier is calculated as the squared Mahalanobis distance between the centers of the anomaly score distribution and the normal sample anomaly score distribution; a larger outlier indicates that the anomaly score deviates more from the normal distribution, i.e., lower cognitive uncertainty.
[0047] The risk assessment unit classifies the identification results into risk levels based on the quantitative indicators of cognitive uncertainty and triggers corresponding processing procedures. The risk assessment unit presets two judgment thresholds: a high uncertainty threshold and a low uncertainty threshold. The high uncertainty threshold is set as the 95th quantile of the predicted distribution entropy value, and the low uncertainty threshold is set as the 50th quantile of the predicted distribution entropy value. When the cognitive uncertainty exceeds the high uncertainty threshold, the risk assessment unit marks the identification result as a high-risk sample and triggers a manual review process. The system automatically packages the sample's original multiphysics data, fusion features, prediction results, and uncertainty indicators into a review work order and pushes it to the manual review queue to await the final judgment of the quality inspection engineer. When the cognitive uncertainty is between the high and low uncertainty thresholds, the risk assessment unit marks the identification result as a medium-risk sample. The system lowers the automatic release confidence of the sample and archives it to the risk monitoring database for continuous tracking. When the cognitive uncertainty is below the low uncertainty threshold, the risk assessment unit marks the identification result as a low-risk sample, and the system can automatically release it according to the normal process.
[0048] Step Six: Implement the correlation analysis between package yield and defect features. The correlation analysis model establishes a quantitative relationship model between defect feature parameters and yield indicators through machine learning methods, providing data-driven decision support for process optimization. This model includes feature engineering unit, relationship modeling unit, and sensitivity analysis unit functional components.
[0049] The feature engineering unit extracts structured defect feature parameters from the defect identification results. The defect type features are represented by one-hot encoding, which maps the defect type to a fixed-dimensional binary vector. Each dimension corresponds to a defect type, including common defect types such as voids, delamination, cracks, bump offset, open circuit of solder joint, and solder joint bridging. The defect quantity feature is statistically analyzed to count the number of various defects in the packaged sample under test, using integers as feature input. The defect size feature is calculated to determine the spatial size distribution statistics of various defects, including average size, maximum size, minimum size, and standard deviation. Euclidean distance is used to measure the spatial extent of the defect region during calculation. The defect location feature calculates the spatial coordinate statistics of various defects within the package, including the position mean and position standard deviation, to characterize the spatial clustering degree of defects. The defect density feature calculates the number of defects per unit volume to characterize the spatial density of defects. The dimension of the defect feature vector output by the feature engineering unit is dynamically determined according to the number of defect types.
[0050] The relationship modeling unit uses the gradient boosting decision tree algorithm to establish a nonlinear mapping relationship between defect feature parameters and yield indicators. The gradient boosting decision tree algorithm is implemented using XGBoost, and its parameter settings include: The number of decision trees is set to 100, the learning rate is set to 0.05, the maximum depth of the decision trees is set to 6 layers, the minimum number of samples for node splits is set to 20, the minimum weight sum of leaf nodes is set to 1.0, the regularization parameter lambda is set to 1.0, and the regularization parameter alpha is set to 0. The training dataset of the relation modeling unit contains a large number of defect feature parameters of encapsulated samples and corresponding measured values of yield indicators. The yield indicators are expressed as a percentage using the batch yield statistics of the encapsulation production line. During the training process, the gradient boosting decision tree constructs an ensemble model of decision trees through an iterative method. Each new tree fits the prediction residuals of all previous trees to gradually reduce the prediction error. The final ensemble prediction is obtained by weighted summation of the prediction results of 100 decision trees. After the model training is completed, the key defect features with the greatest impact on yield are identified through feature importance evaluation. The feature importance is obtained by calculating the gain contribution of each feature in the decision tree splitting process to obtain a normalized importance score.
[0051] The sensitivity analysis unit quantifies the impact and direction of each key defect feature on yield. Sensitivity analysis uses partial differential equations to calculate the sensitivity coefficient of each key defect feature. The sensitivity coefficient quantifies the change in yield when a certain defect feature changes by a unit. The sensitivity coefficient is calculated through local perturbation experiments in the feature space. For each key defect feature, while keeping other features constant, the value of that feature is increased or decreased by a preset step size. A trained gradient boosting decision tree model is used to predict the corresponding yield change. The sensitivity coefficient is approximated using finite difference. The analysis results output by the sensitivity analysis unit include the importance ranking of each key defect feature, the sensitivity coefficient value, and the influence direction identifier, providing a quantitative improvement direction and priority ranking basis for subsequent process parameter optimization.
[0052] Step 7: Implementation of packaging process parameter optimization and yield improvement strategies. The process parameter optimization module generates targeted process parameter adjustment schemes and quality control enhancement schemes based on the results of the correlation analysis model. This module includes root cause analysis unit, optimization suggestion generation unit and iterative optimization control unit functional components.
[0053] The root cause analysis unit analyzes the process steps and main causes of key defect types. The root cause analysis adopts a reasoning method based on knowledge graphs. This knowledge graph contains four types of entities: packaging process nodes, defect types, process parameters, and material properties, as well as the relationships between them. The process node entities include all the processes in the entire packaging process, such as wafer dicing, chip mounting, wire bonding, molding and curing, and marking and cutting. The defect type entities include the aforementioned packaging defects. The process parameter entities include the control parameters of each process node, such as temperature, pressure, time, speed, and power. The material property entities include material characteristics such as solder composition, molding compound ratio, and lead material. The relationships in the knowledge graph are constructed by labeling historical process data and defect analysis data. The types of relationships include four types: causing, aggravating, mitigating, and irrelevant. When a key defect type is given, the root cause analysis unit uses a graph query algorithm to retrieve process nodes and process parameter combinations that are associated with the defect type in the knowledge graph. The retrieval results are sorted according to the association confidence and output as a list of suspected root causes of the defect type.
[0054] The optimization suggestion generation unit generates targeted process parameter adjustment plans by combining the correlation between defect features and process parameters. Based on the suspected root cause list output by the root cause analysis unit, the unit selects the highest-priority suspected process parameter. It then calculates the suggested adjustment range for this process parameter based on the sensitivity coefficient output by the sensitivity analysis unit. The adjustment range calculation uses a back-calculation method based on the sensitivity coefficient. When the yield needs to be improved to the target level, the required improvement level for each key defect feature is calculated based on the sensitivity coefficient. Finally, based on the correlation between defect features and process parameters, the defect improvement requirements are mapped to process parameter adjustment suggestions. The adjustment plan output by the optimization suggestion generation unit includes the name of the process parameter to be adjusted, the current parameter value, the suggested parameter value, the adjustment direction, and the adjustment priority. This plan is output in the form of a structured report for process engineers to refer to and implement.
[0055] The iterative optimization control unit continuously improves packaging yield through continuous defect detection, yield analysis and parameter optimization iteration. The iterative optimization control unit adopts a closed-loop feedback control architecture, which includes three control nodes: execution end, detection end and analysis end. The execution end is responsible for executing the process parameter change operation according to the adjustment scheme generated by the unit output according to the optimization suggestions. The change of process parameters is automatically sent to the corresponding process equipment through the industrial control system interface. The detection end is responsible for continuous detection using the aforementioned multi-physics field collaborative sensing module of this invention after the process parameters are changed, and for collecting defect data of the packaged samples produced under the changed process conditions. The analysis end is responsible for inputting the new data collected by the detection end into the correlation analysis model for model update and re-evaluation, and for determining whether the change of process parameters has achieved the expected yield improvement effect. When the analysis end confirms that the process parameter change has achieved the expected effect, the iterative optimization control unit will solidify the change as a new process baseline and enter the next round of optimization cycle. When the analysis end confirms that the process parameter change has not achieved the expected effect, the iterative optimization control unit will trigger a new round of root cause analysis and optimization suggestion generation until an effective improvement solution is found.
[0056] In a practical scenario, the packaged sample is an 8-layer stacked DRAM memory using TSV (Through Silicon Via) vertical interconnect technology. This package structure has a height of 800 micrometers and contains over 1000 TSV vias and over 5000 solder joints. The specific implementation process for intelligent defect identification using the method described in this invention for this package structure includes: Multi-physics detection data are collected from an 8-layer stacked package using a multi-physics collaborative sensing module. The parameters of the X-ray detection unit were set to 120 kV X-ray tube voltage, 2 mA X-ray tube current, and 500 ms exposure time. An X-ray transmission image with a spatial resolution of 5 μm was acquired. The image clearly shows the position distribution of each TSV via in the 8-layer stacked structure and the bonding state of the lead frame. The parameters of the infrared thermal imaging unit were set to excitation power of 200 watts, heating cycle of 5 seconds, and sampling frequency of 100 Hz. Infrared thermal imaging sequence data with a temporal resolution of 20 milliseconds and a spatial resolution of 10 micrometers were acquired. This data recorded the temperature evolution process of the packaging surface under periodic thermal stimulation. The parameters of the optical microscopy imaging unit were set to 100x objective magnification, 1.3 numerical aperture, and 532 nm light source wavelength, and an optical microscopic image with a spatial resolution of 500 nm was acquired. The image clearly shows the microscopic morphology of the package surface and the growth state of intermetallic compounds on the solder joint surface. The parameters of the ultrasonic scanning unit were set to a transducer center frequency of 100 MHz, a scanning step size of 5 μm, and a pulse repetition frequency of 1 kHz. An ultrasonic C-scan image with a spatial resolution of 5 μm was acquired, which showed the acoustic reflection distribution characteristics at the interfaces of each layer inside the package. The above four sets of detection data were fused by time synchronization calibration and spatial registration to form a unified multimodal dataset. The spatial registration accuracy of this dataset was better than 1 μm, and the time synchronization accuracy was better than 100 nanoseconds.
[0057] The multimodal dataset is input into a cross-modal feature fusion network for feature extraction and fusion. A dedicated multiphysics feature extraction layer outputs feature vectors for the corresponding physical fields: X-ray feature vectors (2048 dimension), infrared thermal imaging feature vectors (1280 dimension), optical microscopy feature vectors (2048 dimension), and ultrasound feature vectors (512 dimension). A feature registration layer uses a learnable spatial transformation network to spatially align these four sets of feature vectors, eliminating spatial misalignment caused by differences in acquisition perspective. The multimodal fusion layer employs an 8-head self-attention mechanism to fuse these four registered feature vectors. The attention mechanism learns that there is a strong correlation between X-ray and infrared features (approximately 0.35), a strong correlation between X-ray and ultrasound features (approximately 0.30), a moderate correlation between infrared and optical features (approximately 0.20), and relatively low correlation weights for other feature combinations. The resulting fused feature vector has a dimension of 512.
[0058] The fused feature vector input is used to construct an anomaly detection module for defect identification. The encoder network of the reconstruction anomaly detection module compresses the 512-dimensional fused features into a 32-dimensional latent space, and the decoder network reconstructs the 512-dimensional fused features from the 32-dimensional latent variables. The module is trained unsupervised on a training set containing only normal packaging samples. After training, the mean reconstruction error of the normal packaging samples is 0.023 and the standard deviation is 0.008. The anomaly judgment threshold determined based on a 99.9% confidence level is 0.048. This module is applied to detect a batch of packaging samples to be tested. The statistics show that the proportion of defective samples with reconstruction errors exceeding the threshold in this batch is 4.7%. Through manual review, it is confirmed that these defective samples do indeed have various packaging defects, including TSV voids, open solder joints, and interlayer alignment misalignment.
[0059] For novel packaging defect samples identified during the detection process, the few-shot learning module generates virtual augmented samples to expand the training dataset. The data augmentation unit based on physical constraints simulates 50 virtual augmented samples with defect sizes continuously varying from 5 micrometers to 50 micrometers on X-ray images, 30 virtual augmented samples with temperature contrast continuously varying from 0.5℃ to 5℃ on infrared thermal imaging data, and generates 100 virtual augmented samples through geometric transformation on optical microscopy data. The physical consistency verification layer verifies the physical rationality of these 180 virtual augmented samples, removes 12 samples that do not conform to physical laws, and retains 168 high-quality augmented samples. The meta-learning unit performs meta-learning training based on these 168 augmented samples and known defect category samples. After training, the model can achieve a classification accuracy of 82% with only 5 new defect samples for rapid adaptation, which is 45 percentage points higher than the training method from scratch.
[0060] The Bayesian deep learning framework quantifies the uncertainty of the recognition results of all test samples. The framework performs 50 Monte Carlo random deactivation samplings on each test sample and calculates the entropy value of the predicted distribution as a quantitative indicator of cognitive uncertainty. Statistics show that the proportion of high-risk samples with cognitive uncertainty exceeding the high uncertainty threshold in this batch of samples is 1.2%. These high-risk samples are automatically pushed to the manual review queue for expert review. Statistics show that 89.3% of the samples in this batch were low-risk samples with cognitive uncertainty below the low uncertainty threshold. These samples were automatically released according to the normal process. The application of this framework reduces the false negative rate of high-risk defects while improving the processing efficiency of normal samples.
[0061] The correlation analysis model correlates defect identification results with yield indicators. A gradient boosting decision tree algorithm is used to establish a quantitative relationship model between defect features and yield indicators. The R-squared coefficient of the model on the validation set reaches 0.87, indicating that the model has high prediction accuracy. Sensitivity analysis identifies the three key defect features that have the greatest impact on yield as the number of TSV voids, the number of open solder joints, and the interlayer alignment offset. Root cause analysis determines that there is a strong correlation between TSV voids and the over-etching parameters of the silicon etching process, a strong correlation between open solder joints and the peak temperature of the reflow soldering process, and a strong correlation between interlayer alignment offset and the alignment accuracy of the chip mounting process.
[0062] Based on the above analysis results, the process parameter optimization module generated targeted optimization suggestions. It suggested reducing the over-etching time of the silicon etching process from 180 seconds to 150 seconds to reduce TSV void generation, increasing the peak temperature of the reflow soldering process from 245℃ to 250℃ to improve solder joint wettability, and increasing the alignment accuracy of the chip mounting process from 10 micrometers to 5 micrometers to reduce interlayer alignment offset. After implementing the above optimization suggestions, the yield of this batch of packaged products was tracked and statistically analyzed. The actual yield increased from 95.2% before optimization to 97.8% after optimization, verifying the effectiveness of the optimization suggestions.
[0063] Example 2: This embodiment describes an alternative implementation scheme for defect detection in 2.5D packaging structures based on the method of the present invention.
[0064] The 2.5D packaging structure uses a silicon interposer to achieve high-density interconnection between chips. Its structural features differ from those of 3D stacked packaging, so it needs to be adapted to its characteristics. This packaging structure includes three structural units: a multilayer wiring interposer, a microbump array, and a C4 solder ball array.
[0065] The multi-physics collaborative sensing module is parameter-adapted to the characteristics of the 2.5D packaging structure. The X-ray detection unit is configured with a tube voltage of 100 kV and a tube current of 1.5 mA to accommodate the thin material thickness of the interlayer. The infrared thermal imaging unit is configured with an excitation power of 150 W and a heating cycle of 3 seconds to match the thermal conductivity characteristics of the interlayer. The optical microscopy imaging unit is configured with an objective lens magnification of 50x and a numerical aperture of 0.8 to cover a larger detection field while maintaining sufficient resolution. The ultrasonic scanning unit is configured with a transducer center frequency of 75 MHz and a scanning step size of 8 μm to accommodate the acoustic propagation characteristics of the interlayer.
[0066] The cross-modal feature fusion network adds a branch for extracting wiring integrity features in the intermediary layer for 2.5D packaging structures. This branch uses a specially designed line segment detection convolutional neural network to extract wiring integrity features from X-ray images, including wiring continuity, line width uniformity, and inter-layer connection integrity. The extracted feature vector has a dimension of 256. The output of this branch is concatenated with the outputs of the other three physical field branches and then input into the multimodal fusion layer for joint feature fusion.
[0067] The reconstructive anomaly detection module adapts its anomaly detection model to novel defect types in 2.5D packaging structures. The training dataset includes comparative learning of defect samples unique to 2.5D packaging, such as open circuits in the interposer layer, short circuits, and micro-bump offsets, enabling the anomaly detection model to identify these novel defects. The model training employs contrastive regularization to enhance the separation between normal and defective samples in the latent space. This invention overcomes the information limitations of single-physics detection through multi-physics collaborative perception, improving defect detection coverage. Reconstructive anomaly detection effectively discovers unknown defects, and few-sample learning addresses the problem of rapid adaptation to novel defects. A Bayesian deep learning framework reduces the false negative rate of high-risk samples.
[0068] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for intelligent identification and yield optimization of semiconductor memory packaging defects, characterized in that, Includes the following steps: Step 1: Acquire multimodal detection data of the package using a multi-physics collaborative sensing method. The multimodal detection data is synchronously calibrated in the time dimension and registered and fused in the spatial dimension to form a multimodal dataset that can characterize the internal defect features of the package. Step 2: Input the multi-physics detection data into a cross-modal feature fusion network for feature extraction and fusion. The cross-modal feature fusion network adopts an attention mechanism to dynamically learn the importance weights of the multi-physics features. Step 3: Based on the fusion features output by the cross-modal feature fusion network, a reconstruction-based anomaly detection mechanism is used for defect identification. The reconstruction-based anomaly detection module includes an encoder network and a decoder network. The encoder network maps the input multi-physics fusion features to a low-dimensional latent space, and the decoder network reconstructs the input feature vector from the low-dimensional latent variables. By setting a reconstruction error threshold, defect samples are separated from normal samples. Step 4: Introduce a few-shot learning module to enable rapid adaptation of recognition capabilities. The few-shot learning module includes a data augmentation unit based on physical constraints and a meta-learning unit. Step 5: Introduce a Bayesian deep learning framework to quantify the uncertainty of defect identification results. Perform multiple forward propagation samplings during the model inference stage, and calculate the variance of the prediction distribution based on multiple sets of prediction results as a quantitative indicator of cognitive uncertainty.
2. The method for intelligent identification and yield optimization of semiconductor memory packaging defects according to claim 1, characterized in that, The multi-physics field collaborative sensing module includes an X-ray detection unit, an infrared thermal imaging unit, an optical microscopy imaging unit, and an ultrasonic scanning unit. Each unit completes the synchronous acquisition of the packaged multi-modal detection data under the unified time synchronization control signal scheduling. Time synchronization calibration controls the data acquisition timing of each sensor; Spatial registration fusion employs a rigid body transformation registration algorithm based on feature points, which resamples multi-physics image data into a unified voxel grid coordinate system through interpolation operations to form a spatially registered and aligned multimodal dataset.
3. The method for intelligent identification and yield optimization of semiconductor memory packaging defects according to claim 1, characterized in that, The cross-modal feature fusion network includes a physical field-specific feature extraction layer, a feature registration layer, and a multimodal fusion layer; The raw detection data of multiphysics fields are processed by a convolutional neural network structure designed specifically for the characteristics of physical field data for feature extraction; The feature registration layer is used to spatially align the feature maps of the multiphysics field, eliminating spatial misalignment caused by differences in acquisition position and angle. The registered multi-physics features are integrated through a multi-modal fusion layer. The integration process uses an attention mechanism to dynamically learn the importance weights of the multi-physics features.
4. The method for intelligent identification and yield optimization of semiconductor memory packaging defects according to claim 1, characterized in that, The reconfigurable anomaly detection module includes an encoder network and a decoder network; The encoder network is trained using normal samples and maps the input features to a low-dimensional latent space through multiple nonlinear transformations. The decoder network reconstructs input features from latent variables through an inverse nonlinear transformation. During training, the decoder learns the data distribution of normal samples by minimizing the reconstruction error of normal samples. During the inference phase, the reconstruction error of the test sample is calculated as the anomaly score. The anomaly score of normal samples follows a distribution centered at a lower mean, while the anomaly score of defective samples is higher than the center value of the distribution of normal samples. The judgment threshold of the anomaly score is adaptively determined by nonparametric statistical methods.
5. The method for intelligent identification and yield optimization of semiconductor memory packaging defects according to claim 1, characterized in that, The physical constraint-based data augmentation unit in the few-shot learning module applies perturbations that conform to the physical laws of encapsulation defects to the multiphysics detection data to generate virtual augmented samples. The continuous change of defect size is simulated on X-ray inspection data. The shape of the disturbance region is set to ellipse, and the size of the disturbance region is continuously scaled according to a preset ratio range based on the original defect size. The continuous change in temperature contrast in the defect area was simulated on infrared thermal imaging data.
6. The method for intelligent identification and yield optimization of semiconductor memory packaging defects according to claim 5, characterized in that, The data augmentation unit based on physical constraints also includes a physical consistency verification layer; The physical consistency verification layer uses a pre-trained physical law discrimination network to verify the physical rationality of the enhanced multiphysics detection data and outputs a confidence score for physical rationality. When the confidence score is lower than the preset physical plausibility threshold, the augmented sample is judged to be inconsistent with physical laws and is removed.
7. The method for intelligent identification and yield optimization of semiconductor memory packaging defects according to claim 1, characterized in that, The meta-learning unit in the few-shot learning module uses a model-independent meta-learning algorithm to divide the known defect categories into a support set and a query set. By updating the model parameters using gradient descent on the support set and evaluating the model's generalization performance for new categories on the query set, and by alternating between support set optimization and query set optimization, the model obtains a parameter initialization state that can quickly adapt to new defect types with a small number of samples.
8. The method for intelligent identification and yield optimization of semiconductor memory packaging defects according to claim 1, characterized in that, The uncertainty quantification method in the Bayesian deep learning framework adopts Monte Carlo random deactivation technology. During the model inference stage, the random deactivation layer in the network is retained. The same input is propagated multiple times. In each forward propagation, the random deactivation layer randomly activates or inhibits neurons with a preset dropout probability to obtain multiple prediction results. The prediction mean and prediction variance are calculated based on the multiple prediction results.
9. The method for intelligent identification and yield optimization of semiconductor memory packaging defects according to claim 1, characterized in that, The packaging yield and defect feature correlation analysis model establishes a nonlinear mapping relationship between defect feature parameters and yield indicators through regression analysis or gradient boosting decision tree algorithm; The defect features include defect type, defect size distribution, defect location clustering, and defect density distribution; Identify defect features through feature importance assessment; The sensitivity coefficients of each defect feature are calculated using partial differential analysis to quantify the degree and direction of influence of each defect feature on the yield.
10. The method for intelligent identification and yield optimization of semiconductor memory packaging defects according to claim 9, characterized in that, The generation of optimization suggestions for the packaging process parameters also includes a root cause analysis unit; The root cause analysis unit uses a knowledge graph-based reasoning method to analyze the process steps and main causes of key defect types. The knowledge graph includes packaging process nodes, defect types, process parameters, and material properties; Given a defect type, a graph query algorithm is used to retrieve process nodes and process parameter combinations that are associated with that defect type. The retrieval results are sorted according to the association confidence and output as a list of possible root causes for that defect type.
