원시데이터 수집 시스템
선정목록으로

Online learning for DBC segmentation of new IGBT samples based on computed laminography imaging

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Yan Li — School of Artificial Intelligence and Big Data, Henan University of Technology, Zhengzhou, China
  2. Man Luo — College of Advanced Interdisciplinary Science and Technology, Henan University of Technology, Zhengzhou, China
  3. Xuan Fei — School of Artificial Intelligence and Big Data, Henan University of Technology, Zhengzhou, China
  4. Shuangquan Liu — Beijing Engineering Research Center of Radiographic Techniques and Equipment, Institute of High Energy Physics, Chinese Academy of Sciences, Beijing, China
  5. Cunfeng Wei — Beijing Engineering Research Center of Radiographic Techniques and Equipment, Institute of High Energy Physics, Chinese Academy of Sciences, Beijing, China
DOI
10.1007/s42452-024-05807-3
저널
Deleted Journal
발행년도
2024
발행기관
–
피인용수
3
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s42452-024-05807-3
토픽
Advancements in Photolithography Techniques
OpenAlex ID
W4392913057

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract Insulated gate bipolar transistor (IGBT) is a power semiconductor module .Voids may arise in its solder process when a contaminant or gas is absorbed into the solder joint. They heavily influence the heat exchange efficiency of IGBT, so void inspection is very important. The segmentation of solder region is a crucial step for automated defect detection of IGBT based on x-ray computed laminography (CL) system. In recent years, deep learning has made remarkable process in semantic segmentation and has been used for the segmentation of solder joint between the direct bonded copper (DBC) substrate and baseplate, which has been proved to be accurate and efficient. However, deep learning architectures exhibit a critical drop of performance due to catastrophic forgetting when new IGBT samples encountered. Hence, this paper proposes to use online learning techniques to continuously improve the learned model by feeding new IGBT samples without losing previously learned knowledge.

본문 27,275자

본문 펼치기
Insulated gate bipolar transistor (IGBT) is a power semiconductor module .Voids may arise in its solder process when a contaminant or gas is absorbed into the solder joint.They heavily influence the heat exchange efficiency of IGBT, so void inspection is very important.The segmentation of solder region is a crucial step for automated defect detection of IGBT based on x-ray computed laminography (CL) system.In recent years, deep learning has made remarkable process in semantic segmentation and has been used for the segmentation of solder joint between the direct bonded copper (DBC) substrate and baseplate, which has been proved to be accurate and efficient.However, deep learning architectures exhibit a critical drop of performance due to catastrophic forgetting when new IGBT samples encountered.Hence, this paper proposes to use online learning techniques to continuously improve the learned model by feeding new IGBT samples without losing previously learned knowledge.Article Highlights• Acknowledges the inherent limitation of deep learning models, such as catastrophic forgetting, which can hinder performance when encountering new IGBT samples.• Introduces the use of online learning techniques as a solution to continuously improve the model by incorporating new IGBT samples without forgetting previously learned knowledge.• Aims to enhance model robustness and adaptability over time, ensuring consistent and accurate defect detection in IGBT soldering processes. Introduction The Insulated Gate Bipolar Transistor (IGBT) is a power semiconductor device utilized as an electronic switch, offering advantages such as reduced control circuitry size and complexity, resulting in cost savings [1].IGBTs find diverse applications in electric cars, trains, variable speed refrigerators, and air-conditioners.During the die-attached DBC process, which involves joining chips and Direct Bonded Copper (DBC) substrates, the presence of contaminants or gases can lead to voids within the solder joint.Additionally, voids may occur when soldering the DBC substrate to the baseplate.These voids pose a significant problem as they impede heat dissipation and can cause electrical failures.Hence, it is crucial to segment the DBC for effective void inspection and resolution [2]. Figure 1 presents a cross-sectional view of an IGBT module. Introduction Ultrasonic testing (UT) can be used to examine the voids in solder joint.However, it cannot examine the IGBT modules with pin-fin baseplate.Furthermore, IGBT module is easily contaminated by the liquor medium used in UT. Introduction X-ray testing, utilizing digital radiography (DR) and computed tomography (CT), is also employed for identifying internal defects.DR generates two-dimensional images that capture the object's structure along the X-ray direction [3].It has been effectively used for void inspection in solder balls [4,5] and solder joints [6,7].Conversely, CT generates threedimensional images by reconstructing object slices from projection data collected at different angles, providing depth information [8].IGBT modules are carefully placed on the planar stage, situated between the X-ray source and the planar detector.The planar stage allows for precise adjustment of the modules' position, while the computer image processing system utilizes advanced algorithms to generate reconstructed slices of the modules.These reconstructed slices provide valuable insights into the internal structure of the IGBT modules, facilitating comprehensive analysis and evaluation. Introduction Indeed, deep convolutional neural networks (CNNs) have achieved remarkable advancements in the field of semantic segmentation.These networks have demonstrated the ability to accurately assign semantic labels to individual pixels in images, enabling precise delineation of object boundaries and semantic understanding of the visual scene.By leveraging the hierarchical nature of deep CNN architectures, these models [9][10][11] are capable of learning complex patterns and representations from image data.The layers of the network capture increasingly abstract features, allowing for the extraction of fine-grained details and contextual information necessary for accurate semantic segmentation. Introduction However, these networks encounter a major obstacle called catastrophic forgetting, which impedes their ability to learn new tasks while retaining performance on previously learned ones [12][13][14].Traditional learning models, like Joint Training [15], require access to all samples related to old and new tasks during the entire training process.In contrast, real-world systems should be capable of updating their knowledge with minimal training steps, seamlessly incorporating new tasks while preserving previously acquired knowledge without any modification. Introduction The online learning problem encompasses the capability of deep learning architectures to continuously improve the learned model by integrating new data while retaining previously acquired knowledge.Various methods [16][17][18][19] employ network architectures that expand during the training process.Another approach involves freezing or slowing down the learning process in specific parts of the network [20,21].Additionally, knowledge distillation has been proposed as a method to maintain high performance on old tasks.The concept was initially introduced in [22] and has since been adapted in several studies [23] to ensure the network's responses remain stable for old tasks while incorporating new training samples. Introduction While the problem of incremental learning has traditionally been addressed in image classification and object detection [24,25], semantic segmentation has received relatively less attention.In our study, the semantic segmentation network DeepLabv3+-Lite (DL3) was employed to accurately and efficiently segment the DBC area [26].However, two main challenges arise.Firstly, the original model performs poorly on unseen new IGBT samples of the same type.Secondly, it also exhibits subpar performance on unseen new types of IGBT samples.To address these challenges, online learning techniques is utilized as a solution. Introduction This paper proposes online learning for semantic segmentation to effectively segment the solder region in new IGBT samples.We also compare our approach with other methods, including Feature Extraction, Fine-tuning, Independent Training, and Joint Training.The structure of this paper is organized as follows: Sect. 2 presents a novel framework for conducting online learning in semantic segmentation.In Sect.3, we evaluate the performance of online learning for DBC segmentation, providing a comprehensive and intuitive comparison with related methods.Section 4 includes a Methodology This study introduces two methods based on DL3 for the continual addition and integration of new tasks in DBC segmentation, without utilizing data from previous tasks.The first method involves knowledge distillation applied to the output layer of the DL3 network.The second method focuses on knowledge distillation in the intermediate feature space of the DL3 network.These approaches enable the incorporation of new tasks while preserving the performance and knowledge acquired by the network. Methodology DL3 is a semantic segmentation model that adopts an encoder-decoder architecture [27,28].This architecture enables precise object boundary delineation in the segmentation task.The encoder component of DL3 consists of two key neural network modules: the Xception module [29] and the atrous spatial pyramid pooling (ASPP) module [30]. Methodology The Xception module is employed as the backbone of the encoder.It utilizes depthwise separable convolutions, which decompose the standard convolution operation into depthwise convolution and pointwise convolution.This approach helps to reduce the computational complexity of the model while maintaining expressive power and capturing relevant features. Methodology The ASPP module, on the other hand, is responsible for capturing contextual information.It performs atrous (dilated) convolutions at multiple dilation rates, effectively enlarging the receptive field of each neuron in the network.By pooling features at different resolutions, the ASPP module enables the model to gather contextually rich information and capture fine-grained details, which contributes to more accurate segmentation results. Methodology By combining the Xception module and the ASPP module within the encoder-decoder architecture, DL3 achieves both efficiency and accuracy in semantic segmentation.The model efficiently captures and processes relevant spatial and contextual information, enabling accurate delineation of object boundaries in the segmentation task. Methodology Conversely, the decoder module merges the encoder features with corresponding low-level features [31] of the same spatial resolution.It then applies simple bilinear up-sampling, followed by an additional round of simple bilinear upsampling.Nonetheless, the adoption of large-scale models like DL3 requires significant computational and memory resources.To address this challenge, several techniques have been explored to reduce computational costs, including tensor factorization [32], channel/network pruning [33], and sparse connections [34].These strategies aim to simplify the deep network structure and alleviate computational and memory requirements. Methodology The DBC segmentation approach categorizes each pixel in an image as either DBC or non-DBC, making it a binary classification problem.Proper network pruning can be applied to optimize the system.Chen et al. [32] made modifications to the Xception model and achieved promising outcomes in semantic image segmentation.Notably, we introduced specific alterations to enhance computational speed and memory efficiency: (1) Reduced the number of channels for separable convolutions.(2) In the middle flow, each block does not require sixteen repetitions.The flow diagram and complete architecture of DL3 is shown in Fig. 2. Methodology To initiate the training process, we utilize the DL3 network architecture to recognize the existing classes.Initially, the network is trained in a supervised manner using a standard cross-entropy loss.Once training is completed, we save the resulting model as M 0 . Methodology Subsequently, we proceed with an incremental step to enable the model to learn a new set of classes each time.During this incremental step, we load and update the previous model M 0 , employing a linear combination of two losses: the cross-entropy loss L ce , which facilitates learning the new classes, and the distillation loss L d , which assists in retaining the knowledge of previously encountered classes.Further details about the distillation loss will be provided below. Methodology Following the incremental step, we save the updated model as M , and this procedure is repeated whenever a new set of classes needs to be learned.The total loss L utilized to train the model is determined by a combination of the crossentropy loss and the distillation loss, as follows: Methodology The parameter λ plays a crucial role in balancing the two terms of the loss function.When λ is set to 0, it indicates that no knowledge distillation is applied, resulting in the simplest scenario of fine-tuning. Methodology (1) L = L ce + L d https://doi.org/10.1007/s42452-024-05807-3 Methodology The choice of λ allows for flexibility in balancing the importance of preserving previous knowledge (through distillation) and adapting to new data.Higher values of λ give more weight to the distillation loss, emphasizing the retention of previous knowledge, while lower values or setting λ to 0 prioritize the new data and fine-tuning process over retaining the previously learned knowledge. Methodology The objective function used to train the network is the sparse softmax cross-entropy loss.This loss function is specifically chosen for its ability to improve classification accuracy, especially in multiclass problems. Methodology The sparse softmax cross-entropy loss [35] involves applying the softmax function to the outputs of the network's final layer, which generates a probability distribution across the different classes.Mathematically, the softmax function for an input vector x, with j indexing the output units and M representing the number of classification categories, is defined as: Methodology The cross-entropy loss, denoted as L ce , is then calculated by comparing the predicted probabilities p k from the softmax layer with the actual labels y k of the input image.The cross-entropy loss equation is given as: Methodology In this equation, N represents the number of classes, y k represents the actual label of the input image, and p k represents the predicted probability for the image belonging to class k.The loss is averaged over each loss element in the batch. Methodology By utilizing the sparse softmax cross-entropy loss, the network aims to optimize its parameters through backpropagation and gradient descent, thereby improving its ability to accurately classify inputs across multiple classes.The loss function guides the learning process by quantifying the discrepancy between the predicted probabilities and the true labels, allowing the network to update its weights and biases accordingly. Methodology (2) In our approach, we aim to ensure that the output probabilities of the current model closely resemble the recorded outputs from the original network for each original task.To achieve this, we employ the Knowledge Distillation loss, which was initially proposed by Hinton et al. [26] and has been shown to be effective in encouraging the outputs of the current model to approximate those of the old model.The modified cross-entropy loss, denoted as L ′ d , is utilized for this purpose.It measures the discrepancy between the predicted labels, y ′ k , generated by the output of the old model M 0 , and the output probabilities, p ′ k , produced by the softmax layer in the current model M .Importantly, the cross-entropy loss is masked to consider only the already seen classes, as our objective is to guide the learning process to retain the knowledge of these classes. Methodology By incorporating the Knowledge Distillation loss into the training process, we enable the current model to learn from the outputs of the old model, effectively transferring the previously learned knowledge to the updated model.This facilitates the preservation of information related to the already seen classes, contributing to the continuous improvement and retention of the learned knowledge during the incremental learning process, i.e.: Distillation on intermediate feature space ( L ′′ d ) In our approach, we have introduced a different strategy to preserve previously learned knowledge by maintaining the similarity between the encoder of the current model and the previously learned model.This is achieved by applying a knowledge distillation function to the intermediate level of the feature space, specifically before the decoding stage.In this case, the distillation function used for the features space is no longer the cross-entropy loss but instead the L2 loss.The reason behind this choice is that the considered layer is not a classification layer anymore, but rather an internal stage where the output needs to be kept close to the previous one, for example, using the L2-norm.Through empirical evaluation, we have found that using cross-entropy or L1 loss in this context yields inferior results. Distillation on intermediate feature space ( L ′′ d ) By employing the L2 loss as the distillation function for the intermediate feature space, we are able to effectively transfer knowledge from the previously learned model to the current one.This enables the preservation of learned representations and facilitates the continuous improvement of the model's performance over time.Considering that model M can be decomposed into an encoder and a decoder, the distillation term would become: Distillation on intermediate feature space ( L ′′ d ) where E 0 and E denotes the features computed by the encoder of the old model M 0 and the current model M when new data is fed as input. Experimental results In order to validate the effectiveness of our proposed method, an experiment was conducted using a dataset of reconstructed slices.These slices were generated by the x-ray CL system mentioned earlier.The dataset consists of four types of IGBTs (P6, B, P3, C6) obtained from a semiconductor company, shown as Fig. 3.Each IGBT type is associated with a set of corresponding reconstructed slices.In total, 1536 reconstructed slices were obtained for each sample.However, for the purpose of our study, we focused only on slices that exhibit clear DBC edges, as these are crucial for accurate segmentation.From the entire set of slices, we selected ten slices above and below the welding layers, resulting in a total of 20 slices for each IGBT type.All the selected slices have a size of 2048 × 2048 pixels.These slices serve as the input for the segmentation task and are instrumental in evaluating the performance of our proposed method. Experimental results In the segmentation task, we focused solely on labeling the welding layer within each image slice using two classes: background and DBC region.To accomplish this, we utilized professional labeling software called Labelme.The labeled images served as the ground truth for both the segmentation training phase and the final evaluation of segmentation Experimental results performance.This ensured that the network was trained and evaluated based on accurate and reliable annotations provided by Labelme.Due to computational power constraints, we resized the input images to a resolution of 256 × 256.This down sampling step was performed to reduce the computational load and facilitate the training process. Experimental results To initialize the weights of the network, we employed the technique described in the paper by He et al. [36].This initialization method, known as He initialization which is commonly used in deep learning architectures.It helps in setting the initial weights of the network in a way that promotes efficient training and prevents the saturation or vanishing gradient problems often encountered in deep neural networks.By utilizing He initialization, we ensured a solid starting point for the network's weight parameters and facilitated more effective training. Experimental results To train all the variants of the network, we employed the stochastic gradient descent (SGD) optimization algorithm with a momentum of 0.9.SGD with momentum is a popular optimization method in deep learning, which helps accelerate convergence and overcome local minima.By utilizing a momentum value of 0.9, we incorporated a factor that retained a memory of the previous weight updates, allowing the optimizer to maintain a more consistent direction and speed during the training process.This contributed to more efficient training and improved the overall convergence of the network variants.The specific reference for the choice of momentum value can be found in the paper [37]. Experimental results In our training setup, we adopted the "poly" learning rate policy to adjust the learning rate during training.The initial learning rate was set to 0.05 and then multiplied by 1 − iter max_iter power , where iter represents the current iteration and max_iter represents the maximum number of iterations.The power value was set to 0.9 [38].This policy allows the learning rate to gradually decrease over time, aiding in fine-tuning the model. Experimental results To prevent overfitting and encourage regularization, we included weight decay regularization with a coefficient of 4•10 −5 .Weight decay helps to prevent the model from assigning excessively large weights to certain parameters, thus promoting more robust generalization.During training, we employed a batch size of 16 images.The maximum number of epochs was set to 300, allowing the model to iterate through the entire training dataset multiple times.For the incremental training steps, a lower learning rate of 0.01 was used to better preserve the previously learned weights.The maximum number of epochs for the incremental training phase was set to 200. Experimental results To evaluate the performance of the trained models, we utilized the Mean Intersection over Union (mIoU) metric, which is widely used for semantic segmentation.The mIoU is calculated by considering true negatives (TN), false negatives (FN), false positives (FP), and true positives (TP) for all classes, and it is defined as: Experimental results (5) mIoU = TN TN + FN + FP + TP TP + FP + FN Fig. 3 IGBT modules and corresponding reconstructed slices Addition of the same type We consider one type of IGBT as the original sample and analyze the addition of new IGBT samples belonging to the same type to DL3.We indicate M 0 as the first standard training of DL3 using the original sample as training dataset.The network is then updated exploiting the dataset of new IGBT samples.The resulting model is referred to as M. Addition of the same type The original images of the first row in Fig. 4 show reconstructed of three groups of IGBT modules.In every group, they belong to the same type of IGBT with different characteristic.The images of the second and the third row show the output predicted by the old model M 0 and the current model M .The DBC regions were marked with white color.The quantitative comparison of DL3 predicted for DBC segmentation is shown in Table 1.From the odd rows of Table 1 we can appreciate that feature extraction performs poor for new IGBT samples with final mIoU of 92.6%, 97.7%, 90.1% which are lower than 99.4%.From the third columns, we can appreciate that online learning performs well on all datasets. Addition of the same type Table 2 provides a summary of the comparisons between the proposed methodologies for DBC segmentation and other commonly used methods.In the second row of Table 2, it is evident that fine-tuning the network results in a performance degradation, with a mIoU of 98.2%.This observation confirms the presence of the catastrophic forgetting phenomenon in semantic segmentation, even when incorporating new samples of the same type of IGBT. Addition of the same type However, the overall comparison reveals that online learning techniques are capable of enhancing the segmentation performance.By continuously incorporating new IGBT samples without losing previously learned knowledge, the online learning approach improves the segmentation results compared to other methods. Addition of the same type This demonstrates the effectiveness of the proposed methodology in addressing the challenge of catastrophic forgetting and continuously improving the segmentation model's performance.The online learning approach allows for the accumulation of knowledge while adapting to new data, leading to improved segmentation accuracy and avoiding the loss of previously acquired information. Addition of different types In this section we tackle a more challenging scenario where the initial learning stage is followed by one step of online learning with a different type of IGBT.We consider P6 as the original sample and analyze the addition of new type B to DL3. Addition of different types The leftmost column in Fig. 5 displays the original images, which represent reconstructed slices of two types of IGBT modules.In this case, we denote the initial training of DL3 using the P6 sample dataset as M 0 .Subsequently, the network is updated by incorporating the B dataset, resulting in an updated model referred to as M .The right columns of the figure illustrate the qualitative comparisons of DL3's predictions for DBC segmentation using the proposed methods. Addition of different types Table 3 provides a summary of the comparisons between the proposed methods for DBC segmentation and other commonly used methods.From the first row of Table 3, it is evident that fine-tuning the network leads to a significant degradation in performance, with a final mIoU of 94.7%.This reaffirms the presence of the catastrophic forgetting phenomenon in semantic segmentation when adding a new type of IGBT samples.Overall, the approaches based onL ′ d (modified cross-entropy loss) outperform the approaches based on L ′′ d (L2 loss).This is particularly evident due to the differences between the P6 and B types of IGBT modules.Since their encoders do not have a similar intermediate feature space, the L ′ d approach, which aims to retain knowledge by aligning the outputs with the old model, proves to be more effective.These results demonstrate the challenge of adapting deep learning models to new data while preserving knowledge learned from previous samples.The proposed approaches based on L ′ d mitigate the detrimental effects of catastrophic forgetting and achieve improved segmentation performance, even when dealing with different types of IGBT modules. Discussion In this work, we wish to add new IGBT samples to DL3 neural network without require access to the training data for original tasks.Table 4 shows relative advantages of our method compared to commonly used methods.It is not appropriate to train all kinds of models for the same type of IGBT like independent training.When new IGBT samples encountered, we can use online learning techniques to continuously improve the learned model by feeding new IGBT samples without losing previously learned knowledge.In this way, we can ensure the best original and new task performance while being high efficiency without require previous task data. Discussion Moreover, online learning and joint learning can be combined.Joint learning aims to trained one model for every type of IGBT like.In this way, the training model could be smaller, and the training speed was faster.For the same type of IGBT, when new IGBT samples encountered, we should use online learning techniques to improve the learned model by feeding new IGBT samples without using old dataset.We have developed an online detection system, which is shown in Fig. 6.Using this system, various types of IGBT welding defects can be detected online quickly. Conclusion This paper introduces an online learning method for segmenting IGBT solder joints using the DL3 neural network.The presence of voids in IGBT solder joints significantly impacts the heat exchange efficiency of the IGBT.In this study, two distillation loss functions are proposed, which are combined with a cross-entropy loss for the segmentation task.Notably, Fig. 1 Fig. 1 Cross-section of an IGBT module Fig. 2 Fig. 2 Flow diagram of the training procedure of DL3 Fig. 4 Fig. 4 Qualitative results on new IGBT samples for the addition of the same type Fig. 5 Fig. 5 Qualitative results on new IGBT samples for the addition of different type using different loss function including modified crossentropy loss and L2 loss Fig. 6 Fig. 6 Online detection system Table 1 Per-sample IoU on three group of IGBT when a new sample, i.e. the B-2, P6-2, P3-2, is added Table 4 Advantages of our method compared to commonly used methods

섹션 본문 59문단 · 26,223자

(제목 없음)

1Insulated gate bipolar transistor (IGBT) is a power semiconductor module .Voids may arise in its solder process when a contaminant or gas is absorbed into the solder joint.They heavily influence the heat exchange efficiency of IGBT, so void inspection is very important.The segmentation of solder region is a crucial step for automated defect detection of IGBT based on x-ray computed laminography (CL) system.In recent years, deep learning has made remarkable process in semantic segmentation and has been used for the segmentation of solder joint between the direct bonded copper (DBC) substrate and baseplate, which has been proved to be accurate and efficient.However, deep learning architectures exhibit a critical drop of performance due to catastrophic forgetting when new IGBT samples encountered.Hence, this paper proposes to use online learning techniques to continuously improve the learned model by feeding new IGBT samples without losing previously learned knowledge.Article Highlights• Acknowledges the inherent limitation of deep learning models, such as catastrophic forgetting, which can hinder performance when encountering new IGBT samples.• Introduces the use of online learning techniques as a solution to continuously improve the model by incorporating new IGBT samples without forgetting previously learned knowledge.• Aims to enhance model robustness and adaptability over time, ensuring consistent and accurate defect detection in IGBT soldering processes.

Introduction

2The Insulated Gate Bipolar Transistor (IGBT) is a power semiconductor device utilized as an electronic switch, offering advantages such as reduced control circuitry size and complexity, resulting in cost savings [1].IGBTs find diverse applications in electric cars, trains, variable speed refrigerators, and air-conditioners.During the die-attached DBC process, which involves joining chips and Direct Bonded Copper (DBC) substrates, the presence of contaminants or gases can lead to voids within the solder joint.Additionally, voids may occur when soldering the DBC substrate to the baseplate.These voids pose a significant problem as they impede heat dissipation and can cause electrical failures.Hence, it is crucial to segment the DBC for effective void inspection and resolution [2]. Figure 1 presents a cross-sectional view of an IGBT module.

3Ultrasonic testing (UT) can be used to examine the voids in solder joint.However, it cannot examine the IGBT modules with pin-fin baseplate.Furthermore, IGBT module is easily contaminated by the liquor medium used in UT.

4X-ray testing, utilizing digital radiography (DR) and computed tomography (CT), is also employed for identifying internal defects.DR generates two-dimensional images that capture the object's structure along the X-ray direction [3].It has been effectively used for void inspection in solder balls [4,5] and solder joints [6,7].Conversely, CT generates threedimensional images by reconstructing object slices from projection data collected at different angles, providing depth information [8].IGBT modules are carefully placed on the planar stage, situated between the X-ray source and the planar detector.The planar stage allows for precise adjustment of the modules' position, while the computer image processing system utilizes advanced algorithms to generate reconstructed slices of the modules.These reconstructed slices provide valuable insights into the internal structure of the IGBT modules, facilitating comprehensive analysis and evaluation.

5Indeed, deep convolutional neural networks (CNNs) have achieved remarkable advancements in the field of semantic segmentation.These networks have demonstrated the ability to accurately assign semantic labels to individual pixels in images, enabling precise delineation of object boundaries and semantic understanding of the visual scene.By leveraging the hierarchical nature of deep CNN architectures, these models [9][10][11] are capable of learning complex patterns and representations from image data.The layers of the network capture increasingly abstract features, allowing for the extraction of fine-grained details and contextual information necessary for accurate semantic segmentation.

6However, these networks encounter a major obstacle called catastrophic forgetting, which impedes their ability to learn new tasks while retaining performance on previously learned ones [12][13][14].Traditional learning models, like Joint Training [15], require access to all samples related to old and new tasks during the entire training process.In contrast, real-world systems should be capable of updating their knowledge with minimal training steps, seamlessly incorporating new tasks while preserving previously acquired knowledge without any modification.

7The online learning problem encompasses the capability of deep learning architectures to continuously improve the learned model by integrating new data while retaining previously acquired knowledge.Various methods [16][17][18][19] employ network architectures that expand during the training process.Another approach involves freezing or slowing down the learning process in specific parts of the network [20,21].Additionally, knowledge distillation has been proposed as a method to maintain high performance on old tasks.The concept was initially introduced in [22] and has since been adapted in several studies [23] to ensure the network's responses remain stable for old tasks while incorporating new training samples.

8While the problem of incremental learning has traditionally been addressed in image classification and object detection [24,25], semantic segmentation has received relatively less attention.In our study, the semantic segmentation network DeepLabv3+-Lite (DL3) was employed to accurately and efficiently segment the DBC area [26].However, two main challenges arise.Firstly, the original model performs poorly on unseen new IGBT samples of the same type.Secondly, it also exhibits subpar performance on unseen new types of IGBT samples.To address these challenges, online learning techniques is utilized as a solution.

9This paper proposes online learning for semantic segmentation to effectively segment the solder region in new IGBT samples.We also compare our approach with other methods, including Feature Extraction, Fine-tuning, Independent Training, and Joint Training.The structure of this paper is organized as follows: Sect. 2 presents a novel framework for conducting online learning in semantic segmentation.In Sect.3, we evaluate the performance of online learning for DBC segmentation, providing a comprehensive and intuitive comparison with related methods.Section 4 includes a

Methodology

10This study introduces two methods based on DL3 for the continual addition and integration of new tasks in DBC segmentation, without utilizing data from previous tasks.The first method involves knowledge distillation applied to the output layer of the DL3 network.The second method focuses on knowledge distillation in the intermediate feature space of the DL3 network.These approaches enable the incorporation of new tasks while preserving the performance and knowledge acquired by the network.

11DL3 is a semantic segmentation model that adopts an encoder-decoder architecture [27,28].This architecture enables precise object boundary delineation in the segmentation task.The encoder component of DL3 consists of two key neural network modules: the Xception module [29] and the atrous spatial pyramid pooling (ASPP) module [30].

12The Xception module is employed as the backbone of the encoder.It utilizes depthwise separable convolutions, which decompose the standard convolution operation into depthwise convolution and pointwise convolution.This approach helps to reduce the computational complexity of the model while maintaining expressive power and capturing relevant features.

13The ASPP module, on the other hand, is responsible for capturing contextual information.It performs atrous (dilated) convolutions at multiple dilation rates, effectively enlarging the receptive field of each neuron in the network.By pooling features at different resolutions, the ASPP module enables the model to gather contextually rich information and capture fine-grained details, which contributes to more accurate segmentation results.

14By combining the Xception module and the ASPP module within the encoder-decoder architecture, DL3 achieves both efficiency and accuracy in semantic segmentation.The model efficiently captures and processes relevant spatial and contextual information, enabling accurate delineation of object boundaries in the segmentation task.

15Conversely, the decoder module merges the encoder features with corresponding low-level features [31] of the same spatial resolution.It then applies simple bilinear up-sampling, followed by an additional round of simple bilinear upsampling.Nonetheless, the adoption of large-scale models like DL3 requires significant computational and memory resources.To address this challenge, several techniques have been explored to reduce computational costs, including tensor factorization [32], channel/network pruning [33], and sparse connections [34].These strategies aim to simplify the deep network structure and alleviate computational and memory requirements.

16The DBC segmentation approach categorizes each pixel in an image as either DBC or non-DBC, making it a binary classification problem.Proper network pruning can be applied to optimize the system.Chen et al. [32] made modifications to the Xception model and achieved promising outcomes in semantic image segmentation.Notably, we introduced specific alterations to enhance computational speed and memory efficiency: (1) Reduced the number of channels for separable convolutions.(2) In the middle flow, each block does not require sixteen repetitions.The flow diagram and complete architecture of DL3 is shown in Fig. 2.

17To initiate the training process, we utilize the DL3 network architecture to recognize the existing classes.Initially, the network is trained in a supervised manner using a standard cross-entropy loss.Once training is completed, we save the resulting model as M 0 .

18Subsequently, we proceed with an incremental step to enable the model to learn a new set of classes each time.During this incremental step, we load and update the previous model M 0 , employing a linear combination of two losses: the cross-entropy loss L ce , which facilitates learning the new classes, and the distillation loss L d , which assists in retaining the knowledge of previously encountered classes.Further details about the distillation loss will be provided below.

19Following the incremental step, we save the updated model as M , and this procedure is repeated whenever a new set of classes needs to be learned.The total loss L utilized to train the model is determined by a combination of the crossentropy loss and the distillation loss, as follows:

20The parameter λ plays a crucial role in balancing the two terms of the loss function.When λ is set to 0, it indicates that no knowledge distillation is applied, resulting in the simplest scenario of fine-tuning.

21(1) L = L ce + L d https://doi.org/10.1007/s42452-024-05807-3

22The choice of λ allows for flexibility in balancing the importance of preserving previous knowledge (through distillation) and adapting to new data.Higher values of λ give more weight to the distillation loss, emphasizing the retention of previous knowledge, while lower values or setting λ to 0 prioritize the new data and fine-tuning process over retaining the previously learned knowledge.

23The objective function used to train the network is the sparse softmax cross-entropy loss.This loss function is specifically chosen for its ability to improve classification accuracy, especially in multiclass problems.

24The sparse softmax cross-entropy loss [35] involves applying the softmax function to the outputs of the network's final layer, which generates a probability distribution across the different classes.Mathematically, the softmax function for an input vector x, with j indexing the output units and M representing the number of classification categories, is defined as:

25The cross-entropy loss, denoted as L ce , is then calculated by comparing the predicted probabilities p k from the softmax layer with the actual labels y k of the input image.The cross-entropy loss equation is given as:

26In this equation, N represents the number of classes, y k represents the actual label of the input image, and p k represents the predicted probability for the image belonging to class k.The loss is averaged over each loss element in the batch.

27By utilizing the sparse softmax cross-entropy loss, the network aims to optimize its parameters through backpropagation and gradient descent, thereby improving its ability to accurately classify inputs across multiple classes.The loss function guides the learning process by quantifying the discrepancy between the predicted probabilities and the true labels, allowing the network to update its weights and biases accordingly.

28(2) In our approach, we aim to ensure that the output probabilities of the current model closely resemble the recorded outputs from the original network for each original task.To achieve this, we employ the Knowledge Distillation loss, which was initially proposed by Hinton et al. [26] and has been shown to be effective in encouraging the outputs of the current model to approximate those of the old model.The modified cross-entropy loss, denoted as L ′ d , is utilized for this purpose.It measures the discrepancy between the predicted labels, y ′ k , generated by the output of the old model M 0 , and the output probabilities, p ′ k , produced by the softmax layer in the current model M .Importantly, the cross-entropy loss is masked to consider only the already seen classes, as our objective is to guide the learning process to retain the knowledge of these classes.

29By incorporating the Knowledge Distillation loss into the training process, we enable the current model to learn from the outputs of the old model, effectively transferring the previously learned knowledge to the updated model.This facilitates the preservation of information related to the already seen classes, contributing to the continuous improvement and retention of the learned knowledge during the incremental learning process, i.e.:

Distillation on intermediate feature space ( L ′′ d )

30In our approach, we have introduced a different strategy to preserve previously learned knowledge by maintaining the similarity between the encoder of the current model and the previously learned model.This is achieved by applying a knowledge distillation function to the intermediate level of the feature space, specifically before the decoding stage.In this case, the distillation function used for the features space is no longer the cross-entropy loss but instead the L2 loss.The reason behind this choice is that the considered layer is not a classification layer anymore, but rather an internal stage where the output needs to be kept close to the previous one, for example, using the L2-norm.Through empirical evaluation, we have found that using cross-entropy or L1 loss in this context yields inferior results.

31By employing the L2 loss as the distillation function for the intermediate feature space, we are able to effectively transfer knowledge from the previously learned model to the current one.This enables the preservation of learned representations and facilitates the continuous improvement of the model's performance over time.Considering that model M can be decomposed into an encoder and a decoder, the distillation term would become:

32where E 0 and E denotes the features computed by the encoder of the old model M 0 and the current model M when new data is fed as input.

Experimental results

33In order to validate the effectiveness of our proposed method, an experiment was conducted using a dataset of reconstructed slices.These slices were generated by the x-ray CL system mentioned earlier.The dataset consists of four types of IGBTs (P6, B, P3, C6) obtained from a semiconductor company, shown as Fig. 3.Each IGBT type is associated with a set of corresponding reconstructed slices.In total, 1536 reconstructed slices were obtained for each sample.However, for the purpose of our study, we focused only on slices that exhibit clear DBC edges, as these are crucial for accurate segmentation.From the entire set of slices, we selected ten slices above and below the welding layers, resulting in a total of 20 slices for each IGBT type.All the selected slices have a size of 2048 × 2048 pixels.These slices serve as the input for the segmentation task and are instrumental in evaluating the performance of our proposed method.

34In the segmentation task, we focused solely on labeling the welding layer within each image slice using two classes: background and DBC region.To accomplish this, we utilized professional labeling software called Labelme.The labeled images served as the ground truth for both the segmentation training phase and the final evaluation of segmentation

35performance.This ensured that the network was trained and evaluated based on accurate and reliable annotations provided by Labelme.Due to computational power constraints, we resized the input images to a resolution of 256 × 256.This down sampling step was performed to reduce the computational load and facilitate the training process.

36To initialize the weights of the network, we employed the technique described in the paper by He et al. [36].This initialization method, known as He initialization which is commonly used in deep learning architectures.It helps in setting the initial weights of the network in a way that promotes efficient training and prevents the saturation or vanishing gradient problems often encountered in deep neural networks.By utilizing He initialization, we ensured a solid starting point for the network's weight parameters and facilitated more effective training.

37To train all the variants of the network, we employed the stochastic gradient descent (SGD) optimization algorithm with a momentum of 0.9.SGD with momentum is a popular optimization method in deep learning, which helps accelerate convergence and overcome local minima.By utilizing a momentum value of 0.9, we incorporated a factor that retained a memory of the previous weight updates, allowing the optimizer to maintain a more consistent direction and speed during the training process.This contributed to more efficient training and improved the overall convergence of the network variants.The specific reference for the choice of momentum value can be found in the paper [37].

38In our training setup, we adopted the "poly" learning rate policy to adjust the learning rate during training.The initial learning rate was set to 0.05 and then multiplied by 1 − iter max_iter power , where iter represents the current iteration and max_iter represents the maximum number of iterations.The power value was set to 0.9 [38].This policy allows the learning rate to gradually decrease over time, aiding in fine-tuning the model.

39To prevent overfitting and encourage regularization, we included weight decay regularization with a coefficient of 4•10 −5 .Weight decay helps to prevent the model from assigning excessively large weights to certain parameters, thus promoting more robust generalization.During training, we employed a batch size of 16 images.The maximum number of epochs was set to 300, allowing the model to iterate through the entire training dataset multiple times.For the incremental training steps, a lower learning rate of 0.01 was used to better preserve the previously learned weights.The maximum number of epochs for the incremental training phase was set to 200.

40To evaluate the performance of the trained models, we utilized the Mean Intersection over Union (mIoU) metric, which is widely used for semantic segmentation.The mIoU is calculated by considering true negatives (TN), false negatives (FN), false positives (FP), and true positives (TP) for all classes, and it is defined as:

41(5) mIoU = TN TN + FN + FP + TP TP + FP + FN Fig. 3 IGBT modules and corresponding reconstructed slices

Addition of the same type

42We consider one type of IGBT as the original sample and analyze the addition of new IGBT samples belonging to the same type to DL3.We indicate M 0 as the first standard training of DL3 using the original sample as training dataset.The network is then updated exploiting the dataset of new IGBT samples.The resulting model is referred to as M.

43The original images of the first row in Fig. 4 show reconstructed of three groups of IGBT modules.In every group, they belong to the same type of IGBT with different characteristic.The images of the second and the third row show the output predicted by the old model M 0 and the current model M .The DBC regions were marked with white color.The quantitative comparison of DL3 predicted for DBC segmentation is shown in Table 1.From the odd rows of Table 1 we can appreciate that feature extraction performs poor for new IGBT samples with final mIoU of 92.6%, 97.7%, 90.1% which are lower than 99.4%.From the third columns, we can appreciate that online learning performs well on all datasets.

44Table 2 provides a summary of the comparisons between the proposed methodologies for DBC segmentation and other commonly used methods.In the second row of Table 2, it is evident that fine-tuning the network results in a performance degradation, with a mIoU of 98.2%.This observation confirms the presence of the catastrophic forgetting phenomenon in semantic segmentation, even when incorporating new samples of the same type of IGBT.

45However, the overall comparison reveals that online learning techniques are capable of enhancing the segmentation performance.By continuously incorporating new IGBT samples without losing previously learned knowledge, the online learning approach improves the segmentation results compared to other methods.

46This demonstrates the effectiveness of the proposed methodology in addressing the challenge of catastrophic forgetting and continuously improving the segmentation model's performance.The online learning approach allows for the accumulation of knowledge while adapting to new data, leading to improved segmentation accuracy and avoiding the loss of previously acquired information.

Addition of different types

47In this section we tackle a more challenging scenario where the initial learning stage is followed by one step of online learning with a different type of IGBT.We consider P6 as the original sample and analyze the addition of new type B to DL3.

48The leftmost column in Fig. 5 displays the original images, which represent reconstructed slices of two types of IGBT modules.In this case, we denote the initial training of DL3 using the P6 sample dataset as M 0 .Subsequently, the network is updated by incorporating the B dataset, resulting in an updated model referred to as M .The right columns of the figure illustrate the qualitative comparisons of DL3's predictions for DBC segmentation using the proposed methods.

49Table 3 provides a summary of the comparisons between the proposed methods for DBC segmentation and other commonly used methods.From the first row of Table 3, it is evident that fine-tuning the network leads to a significant degradation in performance, with a final mIoU of 94.7%.This reaffirms the presence of the catastrophic forgetting phenomenon in semantic segmentation when adding a new type of IGBT samples.Overall, the approaches based onL ′ d (modified cross-entropy loss) outperform the approaches based on L ′′ d (L2 loss).This is particularly evident due to the differences between the P6 and B types of IGBT modules.Since their encoders do not have a similar intermediate feature space, the L ′ d approach, which aims to retain knowledge by aligning the outputs with the old model, proves to be more effective.These results demonstrate the challenge of adapting deep learning models to new data while preserving knowledge learned from previous samples.The proposed approaches based on L ′ d mitigate the detrimental effects of catastrophic forgetting and achieve improved segmentation performance, even when dealing with different types of IGBT modules.

Discussion

50In this work, we wish to add new IGBT samples to DL3 neural network without require access to the training data for original tasks.Table 4 shows relative advantages of our method compared to commonly used methods.It is not appropriate to train all kinds of models for the same type of IGBT like independent training.When new IGBT samples encountered, we can use online learning techniques to continuously improve the learned model by feeding new IGBT samples without losing previously learned knowledge.In this way, we can ensure the best original and new task performance while being high efficiency without require previous task data.

51Moreover, online learning and joint learning can be combined.Joint learning aims to trained one model for every type of IGBT like.In this way, the training model could be smaller, and the training speed was faster.For the same type of IGBT, when new IGBT samples encountered, we should use online learning techniques to improve the learned model by feeding new IGBT samples without using old dataset.We have developed an online detection system, which is shown in Fig. 6.Using this system, various types of IGBT welding defects can be detected online quickly.

Conclusion

52This paper introduces an online learning method for segmenting IGBT solder joints using the DL3 neural network.The presence of voids in IGBT solder joints significantly impacts the heat exchange efficiency of the IGBT.In this study, two distillation loss functions are proposed, which are combined with a cross-entropy loss for the segmentation task.Notably,

Fig. 1

53Fig. 1 Cross-section of an IGBT module

Fig. 2

54Fig. 2 Flow diagram of the training procedure of DL3

Fig. 4

55Fig. 4 Qualitative results on new IGBT samples for the addition of the same type

Fig. 5

56Fig. 5 Qualitative results on new IGBT samples for the addition of different type using different loss function including modified crossentropy loss and L2 loss

Fig. 6

57Fig. 6 Online detection system

Table 1

58Per-sample IoU on three group of IGBT when a new sample, i.e. the B-2, P6-2, P3-2, is added

Table 4

59Advantages of our method compared to commonly used methods

참고문헌 34건

  1. Large-Scale Machine Learning with Stochastic Gradient Descent 2010 10.1007/978-3-7908-2604-3_16
  2. Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification 2015 10.1109/iccv.2015.123
  3. Catastrophic Interference in Connectionist Networks: The Sequential Learning Problem ˜The œPsychology of learning and motivation/˜The œpsychology of learning and motivation · Elsevier BV · 1989 10.1016/s0079-7421(08)60536-8
  4. Distilling the Knowledge in a Neural Network arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1503.02531
  5. Hypercolumns for object segmentation and fine-grained localization 2015 10.1109/cvpr.2015.7298642
  6. Automated Void Detection in Solder Balls in the Presence of Vias and Other Artifacts IEEE Transactions on Components Packaging and Manufacturing Technology · Institute of Electrical and Electronics Engineers · 2012 10.1109/tcpmt.2011.2182613
  7. Computed Tomography From Photon Statistics to Modern Cone-Beam CT Medical Physics · Wiley · 2009 10.1118/1.3176026
  8. Catastrophic forgetting in connectionist networks Trends in Cognitive Sciences · Elsevier BV · 1999 10.1016/s1364-6613(99)01294-2
  9. Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2015 10.1109/tpami.2015.2389824
  10. An Empirical Investigation of Catastrophic Forgetting in Gradient-Based Neural Networks arXiv (Cornell University) · Cornell University · 2013 10.48550/arxiv.1312.6211
  11. Error-Driven Incremental Learning in Deep Convolutional Neural Network for Large-Scale Image Classification 2014 10.1145/2647868.2654926
  12. EIE ACM SIGARCH Computer Architecture News · ACM SIGARCH · 2016 10.1145/3007787.3001163
  13. Learning without Forgetting IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2017 10.1109/tpami.2017.2773081
  14. Insulated Gate Bipolar Transistor IGBT Theory and Design 2003 10.1002/047172291x
  15. Xception: Deep Learning with Depthwise Separable Convolutions 2017 10.1109/cvpr.2017.195
  16. Overcoming catastrophic forgetting in neural networks Proceedings of the National Academy of Sciences · National Academy of Sciences · 2017 10.1073/pnas.1611835114
  17. ImageNet classification with deep convolutional neural networks Communications of the ACM · Association for Computing Machinery · 2017 10.1145/3065386
  18. Rethinking Atrous Convolution for Semantic Image Segmentation arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1706.05587
  19. A micro-CL system and its applications Review of Scientific Instruments · American Institute of Physics · 2017 10.1063/1.4989444
  20. Incremental Learning in Deep Convolutional Neural Networks Using Partial Network Sharing IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2963056
  21. Incremental Training of Deep Convolutional Neural Networks arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1803.10232
  22. End-to-End Incremental Learning Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01258-8_15
  23. Void detection in solder bumps with deep learning Microelectronics Reliability · Elsevier BV · 2018 10.1016/j.microrel.2018.06.081
  24. Multitask Learning Machine Learning · Springer Science+Business Media · 1997 10.1023/a:1007379606734
  25. Very Deep Convolutional Networks for Large-Scale Image Recognition arXiv (Cornell University) · Cornell University · 2014 10.48550/arxiv.1409.1556
  26. Incremental Learning of Object Detectors without Catastrophic Forgetting 2017 10.1109/iccv.2017.368
  27. Compression of Deep Convolutional Neural Networks for Fast and Low Power\n Mobile Applications arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1511.06530
  28. SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2017 10.1109/tpami.2016.2644615
  29. iCaRL: Incremental Classifier and Representation Learning 2017 10.1109/cvpr.2017.587
  30. Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01234-2_49
  31. Tree-CNN: A hierarchical Deep Convolutional Neural Network for incremental learning Neural Networks · Elsevier BV · 2019 10.1016/j.neunet.2019.09.010
  32. Defect inspection of flip chip solder joints based on non-destructive methods: A review Microelectronics Reliability · Elsevier BV · 2020 10.1016/j.microrel.2020.113657
  33. Automated defect detection of insulated gate bipolar transistor based on computed laminography imaging Microelectronics Reliability · Elsevier BV · 2020 10.1016/j.microrel.2020.113966
  34. Going Deeper with Convolutions arXiv (Cornell University) · Cornell University · 2014 10.48550/arxiv.1409.4842