问题感知知识增强的工业缺陷视觉问答
Industrial Defect Visual Question Answering with Question-Aware Knowledge Enhancement
摘要: 工业缺陷视觉问答中,知识输入可能存在冗余,知识需求因问题意图和视觉语言模型而异。本文提出一种问题感知知识增强方法。冻结模型权重后,依据目标模型在开发集上的准确率和知识词元成本,为各类问题意图选择知识动作。候选动作包括无知识输入、语义检索、完整知识输入和知识压缩。需要知识时,以正常图像库检索得到的产品类别限定候选知识。主测试集包含来自四个数据源的512张独立测试图像和2450道问题。Qwen、InternVL和SmolVLM2的宏平均准确率分别为73.95%、74.68%和69.10%。三者均优于各自的完整知识输入基线,平均知识词元数分别减少55.7%、70.6%和64.9%。在同一主测试集上,与直接迁移Qwen动作表相比,按模型分别校准使InternVL和SmolVLM2的宏平均准确率分别提高0.62和0.91个百分点。
Abstract: Industrial defect visual question answering can involve redundant knowledge input, and knowledge needs vary across question intents and vision-language models. We propose a question-aware knowledge enhancement method. With model weights frozen, the method selects a knowledge action for each question intent based on the target model’s development-set accuracy and knowledge token cost. The candidate actions are no knowledge input, semantic retrieval, full knowledge input, and knowledge compression. When knowledge is used, the method restricts candidate knowledge to the product category identified by retrieval from a gallery of normal images. The primary test set comprises 512 held-out images and 2450 questions from four data sources. Qwen, InternVL, and SmolVLM2 achieve macro-averaged accuracies of 73.95%, 74.68%, and 69.10%, respectively. All three outperform their respective full-knowledge baselines, with mean knowledge token counts reduced by 55.7%, 70.6%, and 64.9%, respectively. On the same test set, calibrating InternVL and SmolVLM2 separately improves their macro-averaged accuracy by 0.62 and 0.91 percentage points, respectively, over directly transferring Qwen’s action table.
文章引用:刘宇杰, 徐长波. 问题感知知识增强的工业缺陷视觉问答[J]. 人工智能与机器人研究, 2026, 15(6): 1538-1550. https://doi.org/10.12677/airr.2026.156139

参考文献

[1] Jiang, X., Li, J., Deng, H., et al. (2025) MMAD: A Comprehensive Benchmark for Multimodal Large Language Models in Industrial Anomaly Detection. International Conference on Learning Representations 2025, Singapore, 24-26 April 2025, 1-23.
[2] Chen, Z. and Imani, F. (2026) A Multi-Expert Framework for Enhancing Multimodal Large Language Models in Industrial Anomaly Detection. Pattern Recognition, 172, Article ID: 112752.
https://doi.org/10.1016/j.patcog.2025.112752
[3] Gu, Z., Zhu, B., Zhu, G., Chen, Y., Tang, M. and Wang, J. (2024) AnomalyGPT: Detecting Industrial Anomalies Using Large Vision-Language Models. Proceedings of the AAAI Conference on Artificial Intelligence, 38, 1932-1940.
https://doi.org/10.1609/aaai.v38i3.27963
[4] Xu, J., Lo, S., Safaei, B., Patel, V.M. and Dwivedi, I. (2025) Towards Zero-Shot Anomaly Detection and Reasoning with Multimodal Large Language Models. 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, 10-17 June 2025, 20370-20382.
https://doi.org/10.1109/cvpr52734.2025.01897
[5] Lin, S.-C., Lu, Y.-H., Ye, D.Y. and Lai, S.-H. (2026) EGVLR: Evidence-Grounded Vision-Language Reinforcement for Anomaly Reasoning. In: Favaro, P., et al., Eds., Computer Vision—ECCV 2026, Springer, 185-201.
https://doi.org/10.1007/978-3-032-37095-2_11
[6] Yao, X., Qian, Z., Shi, C., Song, J. and Zhang, C. (2026) MMR-AD: A Large-Scale Multimodal Dataset for Bench-marking General Anomaly Detection with Multimodal Large Language Models. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Denver, 3-7 June 2026, 43072-43082.
https://openaccess.thecvf.com/content/CVPR2026/html/Yao_MMR-AD_A_Large-Scale_Multimodal_Dataset_for_Benchmarking_General_Anomaly_Detection_CVPR_2026_paper.html
[7] Zhu, J. and Pang, G. (2024) Toward Generalist Anomaly Detection via In-Context Residual Learning with Few-Shot Sample Prompts. 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, 16-22 June 2024, 17826-17836.
https://doi.org/10.1109/cvpr52733.2024.01688
[8] Jin, E., Feng, Q., Mou, Y., Lakemeyer, G., Decker, S., Simons, O., et al. (2025) LogicAD: Explainable Anomaly Detection via VLM-Based Text Feature Extraction. Proceedings of the AAAI Conference on Artificial Intelligence, 39, 4129-4137.
https://doi.org/10.1609/aaai.v39i4.32433
[9] Chen, Z., Chen, H., Imani, M. and Imani, F. (2025) Can Multimodal Large Language Models Be Guided to Improve Industrial Anomaly Detection? Proceedings of the ASME International Design Engineering Technical Conferences and Computers and Information in Engineering Conference, Volume 2B, V02BT02A051.
https://doi.org/10.1115/detc2025-168875
[10] Zang, G., Li, X., Di, D., Nie, L., Zhan, D., Song, Y., et al. (2025). SAGE: A Visual Language Model for Anomaly Detection via Fact Enhancement and Entropy-Aware Alignment. Proceedings of the 33rd ACM International Conference on Multimedia, Dublin, 27-31 October 2025, 5030-5039.
https://doi.org/10.1145/3746027.3755725
[11] Zhang, K., Zhang, Z., Sun, X., Wang, A., Nie, J., Chen, Q., Hao, H., Guo, J. and Zhang, J. (2026) ADSeeker: A Knowledge-Grounded Reasoning Framework for Industry Anomaly Detection and Reasoning. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Denver, 3-7 June 2026, 21379-21388.
https://openaccess.thecvf.com/content/CVPR2026/html/Zhang_ADSeeker_A_Knowledge-Grounded_Reasoning_Framework_for_Industry_Anomaly_Detection_and_CVPR_2026_paper.html
[12] Deng, R., Hu, Y., Zhong, Y., Wang, Z., Liu, X., Wang, H., et al. (2026) Global Logic and Local Search: Dual-Stream Multimodal In-Context Learning for Verifiable Industrial Anomaly Detection. In: Favaro, P., et al., Eds., Computer Vision—ECCV 2026, Springer, 300-318.
https://doi.org/10.1007/978-3-032-37550-6_17
[13] Beijing Academy of Artificial Intelligence (2026) BGE-Small-EN-v1.5 Model Card.
https://huggingface.co/BAAI/bge-small-en-v1.5
[14] Robertson, S. and Zaragoza, H. (2009) The Probabilistic Relevance Framework: BM25 and Beyond. Foundations and Trends® in Information Retrieval, 4, 1-174.
https://doi.org/10.1561/1500000019
[15] Yan, Y. and Xie, W. (2024) EchoSight: Advancing Visual-Language Models with Wiki Knowledge. Findings of the Association for Computational Linguistics: EMNLP 2024, Miami, 12-16 November 2024, 1538-1551.
https://doi.org/10.18653/v1/2024.findings-emnlp.83
[16] Cocchi, F., Moratelli, N., Cornia, M., Baraldi, L. and Cucchiara, R. (2025) Augmenting Multimodal LLMs with Self-Reflective Tokens for Knowledge-Based Visual Question Answering. 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, 10-17 June 2025, 9199-9209.
https://doi.org/10.1109/cvpr52734.2025.00859
[17] Hong, Y., Gu, J., Lou, Y., et al. (2026) CC-VQA: Conflict-and Correlation-Aware Method for Mitigating Knowledge Conflict in Knowledge-Based Visual Question Answering. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Denver, 2-6 June 2026, 5232-5241.
[18] Shi, W., Han, X., Lewis, M., Tsvetkov, Y., Zettlemoyer, L. and Yih, W. (2024) Trusting Your Evidence: Hallucinate Less with Context-Aware Decoding. Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2, 783-791.
https://doi.org/10.18653/v1/2024.naacl-short.69
[19] Wang, H., Prasad, A., Stengel-Eskin, E. and Bansal, M. (2025) AdaCAD: Adaptively Decoding to Balance Conflicts between Contextual and Parametric Knowledge. Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1, 11636-11652.
https://doi.org/10.18653/v1/2025.naacl-long.581
[20] Khandelwal, A., Gupta, M. and Agrawal, P. (2025) CoCoA: Confidence-and Context-Aware Adaptive Decoding for Resolving Knowledge Conflicts in Large Language Models. Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, Suzhou, November 2025, 6835-6855.
https://doi.org/10.18653/v1/2025.emnlp-main.348
[21] Jeong, S., Baek, J., Cho, S., Hwang, S.J. and Park, J. (2024) Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexity. Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1, 7036-7050.
https://doi.org/10.18653/v1/2024.naacl-long.389
[22] Li, Z., Li, C., Zhang, M., Mei, Q. and Bendersky, M. (2024) Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approach. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track, Miami, 12-16 November 2024, 881-893.
https://doi.org/10.18653/v1/2024.emnlp-industry.66
[23] Zhang, J., Liu, X., Hu, Y., Niu, C., Wu, F. and Chen, G. (2025) RAGRouter: Learning to Route Queries to Multiple Retrieval-Augmented Language Models. Advances in Neural Information Processing Systems, Vol. 38, 15709-15737.
https://doi.org/10.52202/085713-0532
[24] Cheng, Q., Li, X., Li, S., Zhu, Q., Yin, Z., Shao, Y., et al. (2024) Unified Active Retrieval for Retrieval Augmented Generation. Findings of the Association for Computational Linguistics: EMNLP 2024, Miami, 12-16 November 2024, 17153-17166.
https://doi.org/10.18653/v1/2024.findings-emnlp.999
[25] Choi, C., Lee, W., Ko, J. and Rhee, W. (2026) Progressive Multimodal Search and Reasoning for Knowledge-Intensive Visual Question Answering. Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics, Volume 1, 19291-19315.
https://doi.org/10.18653/v1/2026.acl-long.881
[26] Wu, Z., Xu, H., Shi, K., Chen, Z., Yu, Y., Zhang, C., et al. (2026) ProMSA: Progressive Multimodal Search Agents for Knowledge-Based Visual Question Answering. In: Favaro, P., et al., Eds., Computer Vision—ECCV 2026, Springer, 127-143.
https://doi.org/10.1007/978-3-032-37235-2_8
[27] Dekoninck, J., Baader, M. and Vechev, M. (2025) A Unified Approach to Routing and Cascading for LLMs. Proceedings of Machine Learning Research, Vol. 267, 12987-13010.
https://proceedings.mlr.press/v267/dekoninck25a.html.
[28] Pan, Z., Wu, Q., Jiang, H., Xia, M., Luo, X., Zhang, J., et al. (2024) LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compression. Findings of the Association for Computational Linguistics ACL 2024, Bangkok, August 2024, 963-981.
https://doi.org/10.18653/v1/2024.findings-acl.57
[29] Hwang, T., Cho, S., Jeong, S., Song, H., Han, S. and Park, J.C. (2025) EXIT: Context-Aware Extractive Compression for Enhancing Retrieval-Augmented Generation. Findings of the Association for Computational Linguistics: ACL 2025, Vienna, July 2025, 4895-4924.
https://doi.org/10.18653/v1/2025.findings-acl.253
[30] Jin, J., Li, X., Dong, G., Zhang, Y., Zhu, Y., Wu, Y., et al. (2025) Hierarchical Document Refinement for Long-Context Retrieval-Augmented Generation. Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics, Volume 1, 3502-3520.
https://doi.org/10.18653/v1/2025.acl-long.176
[31] Chirkova, N., Formal, T., Nikoulina, V. and Clinchant, S. (2025) Provence: Efficient and Robust Context Pruning for Retrieval-Augmented Generation. International Conference on Learning Representations 2025, Singapore, 24-26 April 2025, 1-25.
[32] Radford, A., Kim, J.W., Hallacy, C., et al. (2021) Learning Transferable Visual Models from Natural Language Supervision. Proceedings of Machine Learning Research, Vol. 139, 8748-8763.
https://proceedings.mlr.press/v139/radford21a.html
[33] Qwen Team (2026) Qwen2.5-VL-3B-Instruct Model Card.
https://huggingface.co/Qwen/Qwen2.5-VL-3B-Instruct
[34] OpenGVLab (2026) InternVL3-2B-HF Model Card.
https://huggingface.co/OpenGVLab/InternVL3-2B-hf
[35] Marafioti, A., Zohar, O., Farré, M., et al. (2025) SmolVLM: Redefining Small and Efficient Multimodal Models. 2nd Conference on Language Modeling, Montreal, 7-10 October 2025, 1-19.
https://openreview.net/forum?id=qMUbhGUFUb
[36] Jiang, X., Guo, Y., Li, J., et al. (2026) AD-Copilot Official Implementation and Released Model.
https://github.com/jam-cc/AD-Copilot