簡易檢索 / 詳目顯示

研究生: 莊曜隆
Zhuang, Yao-Long
論文名稱: 基於掃描式電子顯微鏡之可訓練偽標註建構與輕量化視覺語言模型研究
Trainable Pseudo-Label Construction and Lightweight Vision-Language Models for Scanning Electron Microscopy
指導教授: 賴槿峰
Lai, Chin-Feng
學位類別: 碩士
Master
系所名稱: 工學院 - 工程科學系
Department of Engineering Science
論文出版年: 2026
畢業學年度: 114
語文別: 中文
論文頁數: 71
中文關鍵詞: SEM失效分析偽標籤視覺語言模型知識蒸餾邊緣部署
外文關鍵詞: SEM Failure Analysis, Pseudo-labeling, Vision-Language Model, Knowledge Distillation, Edge Deployment
相關次數: 點閱:29下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 在半導體與材料先進製程中,掃描電子顯微鏡(Scanning Electron Microscope, SEM)影像之失效分析高度仰賴工程師之領域知識與經驗,且目前不存在具備缺陷與嚴重程度標註之公開 SEM 資料集;同時,先進製程資料之高度機密性使雲端方案難以落地,模型必須於廠內本地部署。此研究針對上述問題,提出一套領域知識驅動之自動化偽標籤(pseudo-label)方法:以 Gemma 4 31B 為生成式標註引擎,將失效分析工程師之領域知識編碼為提示規則,為公開之 NFFA-EUROPE SEM 資料集(去重後 15,810 張、六類樣品型態)自動生成結構化之形貌描述與嚴重程度(None/Minor/Fatal)偽標籤,並以「標註層/轉換層」雙層解耦之迭代錯誤分析持續改進品質:標註層以分層人工盲審稽核驅動特化提示介入,將 MEMS 類別之 curtaining 幻覺誤判率自 8.4% 壓制至 1.9%,最終 180 筆全面盲審之整體核可率達 80.0%;轉換層以三個受控版本(v7–v9)之資料工程迭代,解決否定句特徵崩潰、聯合分佈失衡與思維鏈不對稱等系統性失效模式,產出 14,424 筆最終訓練資料集。
    實驗結果顯示,僅以此偽標籤資料集直接進行監督式微調(Supervised Fine-Tuning, SFT),兩個輕量化模型之嚴重度判讀效能均顯著超越參數量更大之 LLaVA-1.5 7B:MobileVLM V2 3B 取得 0.674 Macro F1 與 0.719 Severity Accuracy,遠勝 LLaVA-1.5 7B 之 0.520 與 0.612,證實訓練標籤之一致性與穩定度,較模型規模與單筆樣本之原始準確率更具決定性。知識蒸餾(Knowledge Distillation, KD)實驗顯示 KD 與直接 SFT 效能相當,且不受教師強弱影響,與 capacity gap 理論一致;zero-shot 基線則顯示三個模型底座未經偽標籤訓練時 Macro F1 均為 0,證實偽標籤訓練為模型具備本任務判讀能力之前提條件。部署端,TinyLLaVA 1.5B 於單張 RTX 3080(12GB VRAM)消費級顯卡上以 2.78 GB 峰值顯存達成每張樣本 2.15 秒之即時推論(較 LLaVA-1.5 7B 快約 3.24 倍),滿足半導體廠房對高機密性與低延遲本地部署之硬性需求。

    Scanning electron microscope (SEM) image interpretation for failure analysis in semiconductor manufacturing depends on scarce domain expertise, and no public SEM dataset provides defect or severity annotations. This study establishes a domain-knowledge-driven pseudo-labeling methodology that converts the practical knowledge of failure analysis engineers into prompting rules for a generative annotation engine (Gemma 4 31B), automatically producing structured analyses and three-level severity labels (None/Minor/Fatal) for 15,810 public NFFA-EUROPE SEM images across six sample categories. Label quality is managed by a two-layer decoupled design: an annotation layer refined through stratified blind expert audits and specialized prompt interventions, and a conversion layer refined through three controlled data-engineering iterations. The resulting 14,424-sample dataset is used to fine-tune three models independently: LLaVA-1.5 7B and two lightweight models (MobileVLM V2 3B, TinyLLaVA 1.5B). Both lightweight models surpass the larger LLaVA-1.5 7B in severity assessment—MobileVLM V2 3B reaches 0.674 Macro F1 versus 0.520—showing that label consistency outweighs model scale. Knowledge distillation yields no additional gain over direct fine-tuning regardless of teacher strength and is therefore excluded from the final deployment plan; zero-shot baselines of all three base models score 0 Macro F1, confirming pseudo-label training as a prerequisite for task competence. The final deployment adopts MobileVLM V2 3B for precision-priority scenarios and TinyLLaVA 1.5B for latency-priority scenarios, both fine-tuned directly on the v9 pseudo-label dataset; the 1.5B model runs on a single consumer GPU (RTX 3080, 12GB) with 2.78 GB peak memory at 2.15 seconds per image, meeting the confidentiality and latency requirements of on-premises industrial deployment.

    摘要 i Abstract ii 誌謝 vi 目錄 vii 表目錄 ix 圖目錄 x 符號表 xi 第1章 緒論 1 1.1. 研究背景 1 1.2. 研究動機 1 1.3. 研究目標 2 1.4. 論文貢獻 2 1.5. 論文架構 3 第2章 文獻探討 4 2.1. 任務定位與問題設定 4 2.2. 偽標註與標籤品質 4 2.3. 知識蒸餾 5 2.4. 顯微與半導體影像之VLM應用 6 2.5. 輕量化本地部署 6 2.6. 相關方法比較與本研究定位 7 第3章 研究方法 9 3.1. 資料集準備與清洗管線 9 3.1.1. 資料集來源 9 3.1.2. 類別選擇與排除理由 10 3.1.3. 資料清洗與去重方法選擇 12 3.2. 整體研究架構 14 3.2.1. 問題形式化 16 3.2.2. 系統架構之形式化定義 16 3.2.3. 兩層的品質定義與驗證信號 17 3.2.4. 設計安全護欄 17 3.3. 標註引擎設計 18 3.3.1. 標註設計原則 18 3.3.2. 通用輸出格式與特化規則組成 19 3.3.3. 標註引擎之輸入與輸出 20 3.3.4. 標註層之失效診斷與迭代介入 21 3.4. 訓練格式設計 25 3.4.1. 轉換設計原則與品質篩選閘 25 3.4.2. 資料轉換層之失效診斷與消融設計 26 3.4.3. 影像側前處理與最終資料集切分 26 3.5. 下游模型評估協議設計 29 3.6. 模型微調 29 3.6.1. LoRA微調配置與訓練超參數 29 3.6.2. 視覺編碼器預訓練消融實驗 29 3.7. 輕量化部署與知識蒸餾 30 3.7.1. 多模態知識蒸餾機制與損失函數 30 3.7.2. 監督式微調與知識蒸餾之兩階段實驗設計 31 第4章 實驗結果與分析 32 4.1. 實驗設置與資料集分佈 32 4.1.1. 軟硬體環境與訓練配置 32 4.1.2. 驗證集與測試集分佈 33 4.2. 評估指標與標註品質驗證 33 4.3. 轉換格式消融實驗 37 4.3.1. v7至v9格式清洗迭代效能分析 37 4.3.2. 否定句與先驗分佈偏誤對嚴重度判讀之影響 38 4.4. 監督式微調與知識蒸餾之效能對比 38 4.4.1. 各模型於直接微調(SFT)之效能對比 39 4.4.2. 統計顯著性與逐類別分類報告 40 4.4.3. Zero-shot基線:pseudo-label訓練之必要性驗證 41 4.4.4. 多模態知識蒸餾與直接微調效能比對 42 4.5. 邊緣部署推論效能 44 4.5.1. 不同參數量模型之推論延遲對比 44 4.5.2. 推論顯存佔用與即時部署評估 45 第5章 結論與未來展望 46 5.1. 結論 46 5.2. 研究限制 47 5.3. 未來展望 47 參考文獻 49 附錄A 標註引擎Prompt設計實例 52 A.1. 通用型 52 A.2. 特化型範例:MEMS 53 A.3. 特化型範例:Patterned_surface 55 A.4. 特化型範例:Tips 57

    [1] Rossella Aversa, Mohammad H. Modarres, Stefano Cozzini, and Regina Ciancio. NFFA-EUROPE - 100% SEM dataset. https://b2share.eudat.eu/records/80df8606fcdb4b2bae1656f0dc6db8ba, 2018. NFFA-EUROPE Horizon 2020 Project, Grant No. 654360, v2.0. Distributed under Creative Commons Attribution (CC-BY) license. doi:10.23728/b2share.80df8606fcdb4b2bae1656f0dc6db8ba.
    [2] Yongzhu Cai and Hong Wang. A visual language model enabling intelligent nanomaterial scanning electron micrograph annotation. Nanoscale, 17(43):25136–25151, 2025.
    [3] Jang Hyun Cho and Bharath Hariharan. On the efficacy of knowledge distillation. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 4794–4802, 2019.
    [4] Kamal Choudhary. MicroscopyGPT: Generating atomic-structure captions from microscopy images of 2D materials with vision-language transformers. The Journal of Physical Chemistry Letters, 16(27):7028–7035, 2025.
    [5] Xiangxiang Chu, Limeng Qiao, Xinyu Zhang, Shuang Xu, Fei Wei, Yang Yang, Xiaofei Sun, Yiming Hu, Xinyang Lin, Bo Zhang, and Chunhua Shen. MobileVLM V2: Faster and stronger baseline for vision language model. arXiv preprint arXiv:2402.03766, 2024.
    [6] Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, and Luke Zettlemoyer. QLoRA: Efficient finetuning of quantized LLMs. In Advances in Neural Information Processing Systems (NeurIPS), volume 36, 2023.
    [7] Gemma Team, Google DeepMind. Gemma 4 technical report. arXiv preprint arXiv:2607.02770, 2026.
    [8] Remco Geurts. LLM-driven automation in FIB-SEM: Enhancing microscope control with AutoScript and vision-based AI. Microscopy and Microanalysis, 31(Supplement 1):ozaf048.1088, 2025.
    [9] Remco Geurts, Pavel Potocek, Remco Schoenmakers, and Giovanni Mariotta. Revolutionizing electron microscopy through intuitive language-driven interfaces: The emergence of the EM CoPilot. In BIO Web of Conferences (EMC 2024), volume 129, page 10018. EDP Sciences, 2024.
    [10] Joseph I. Goldstein, Dale E. Newbury, Joseph R. Michael, Nicholas W. M. Ritchie, John Henry J. Scott, and David C. Joy. Scanning Electron Microscopy and X-ray Microanalysis. Springer, 4th edition, 2018.
    [11] Arnav Gudibande, Eric Wallace, Charlie Snell, Xinyang Geng, Hao Liu, Pieter Abbeel, Sergey Levine, and Dawn Song. The false promise of imitating proprietary language models. In International Conference on Learning Representations (ICLR), 2024.
    [12] Suriya Gunasekar, Yi Zhang, Jyoti Aneja, Caio C'esar Teodoro Mendes, Allie Del Giorno, Sivakanth Gopi, Mojan Javaheripi, Piero Kauffmann, Gustavo de Rosa, Olli Saarikivi, Adil Salim, Shital Shah, Harkirat Singh Behl, Xin Wang, S'ebastien Bubeck, Ronen Eldan, Adam Tauman Kalai, Yin Tat Lee, and Yuanzhi Li. Textbooks are all you need. arXiv preprint arXiv:2306.11644, 2023.
    [13] Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Doll'ar, and Ross Girshick. Masked autoencoders are scalable vision learners. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 15979–15988, 2022.
    [14] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
    [15] Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations (ICLR), 2022.
    [16] Ting-Hung Lin, Hung-Jen Chen, Yuan-Chung Wei, Sung-Po Yang, Yung-Lun Lin, Parthasarathy Sriram, Guan-Hong Liou, Yu-Chieh Huang, Yi-Hsuan Chiu, Po-Chun Lai, Yiyi Wang, and Mark Peng. GenAI applications of vision-language models for semiconductor defect classification. In Metrology, Inspection, and Process Control XXXIX, volume 13426, page 134260S. SPIE, 2025.
    [17] Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Improved baselines with visual instruction tuning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024.
    [18] Nagarajan Natarajan, Inderjit S. Dhillon, Pradeep Ravikumar, and Ambuj Tewari. Learning with noisy labels. In Advances in Neural Information Processing Systems (NeurIPS), volume 26, 2013.
    [19] Curtis G. Northcutt, Lu Jiang, and Isaac L. Chuang. Confident learning: Estimating uncertainty in dataset labels. Journal of Artificial Intelligence Research, 70:1373–1411, 2021.
    [20] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning (ICML), pages 8748–8763. PMLR, 2021.
    [21] David Rolnick, Andreas Veit, Serge Belongie, and Nir Shavit. Deep learning is robust to massive label noise. arXiv preprint arXiv:1705.10694, 2017.
    [22] Prasann Singhal, Tanya Goyal, Jiacheng Xu, and Greg Durrett. A long way to go: Investigating length correlations in RLHF. In Conference on Language Modeling (COLM), 2024.
    [23] Prateek Verma, Minh-Hao Van, and Xintao Wu. Beyond human vision: The role of large vision language models in microscope image analysis. arXiv preprint arXiv:2405.00876, 2024.
    [24] Qizhe Xie, Minh-Thang Luong, Eduard Hovy, and Quoc V. Le. Self-training with Noisy Student improves ImageNet classification. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 10687–10698, 2020.
    [25] Christoph Zauner. Implementation and benchmarking of perceptual image hash functions. Master's thesis, Upper Austria University of Applied Sciences, Hagenberg, 2010.
    [26] Lanfeng Zhong, Zongyao Huang, Yang Liu, Wenjun Liao, Shichuan Zhang, Guotai Wang, and Shaoting Zhang. VLM-CPL: Consensus pseudo labels from vision-language models for annotation-free pathological image classification. IEEE Transactions on Medical Imaging, 2025.
    [27] Baichuan Zhou, Ying Hu, Xi Weng, Junlong Jia, Jie Luo, Xien Liu, Ji Wu, and Lei Huang. TinyLLaVA: A framework of small-scale large multimodal models. arXiv preprint arXiv:2402.14289, 2024.
    [28] Chunting Zhou, Pengfei Liu, Puxin Xu, Srinivasan Iyer, Jiao Sun, Yuning Mao, Xuezhe Ma, Avia Efrat, Ping Yu, Lili Yu, Susan Zhang, Gargi Ghosh, Mike Lewis, Luke Zettlemoyer, and Omer Levy. LIMA: Less is more for alignment. In Advances in Neural Information Processing Systems (NeurIPS), volume 36, 2023.

    下載圖示
    校外:立即公開
    QR CODE