Source-grounded Fault Memory for Retrieval-augmented Diagnosis Agents
DOI:
https://doi.org/10.66238/cmcsmg66Keywords:
Retrieval-Augmented Generation, Fault Memory, Source Grounding, Diagnostic Agents, Automated TroubleshootingAbstract
The increasing complexity of modern technological systems, ranging from distributed computing architectures to advanced manufacturing equipment, necessitates robust automated diagnostic solutions. Large language models integrated with retrieval-augmented generation frameworks have emerged as promising tools for complex fault diagnosis. However, these systems frequently suffer from hallucination and temporal inconsistency, particularly when encountering rare or cascading failure modes. To address these critical limitations, this paper introduces a novel framework based on source-grounded fault memory for retrieval-augmented diagnosis agents. By anchoring the reasoning process in verifiable, domain-specific historical fault logs and systematically integrating an episodic memory module, the proposed architecture significantly enhances the accuracy, traceabilty, and reliability of diagnostic outputs. The fault memory acts as a dynamic repository of previously resolved anomalies, while the source-grounding mechanism guarantees that generated solutions are strictly constrained by factual documentation. Extensive theoretical analysis and simulated benchmarking across diverse industrial datasets demonstrate that the integration of source-grounded fault memory reduces diagnostic hallucination and improves first-time resolution rates compared to conventional retrieval-augmented baselines. This research provides a foundational step toward developing trustworthy, autonomous diagnostic agents capable of operating in high-stakes environments where epistemological certainty is paramount.
References
1. Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., & Stoyanov, V. (2019). RoBERTa: A robustly optimized BERT pretraining approach. arXiv preprint arXiv:1907.11692.
2. Hu, Y., Yang, Z., Zhao, C., & Ji, W. (2026, May). Adaptive guidance semantically enhanced via multimodal llm for edge-cloud object detection. In ICASSP 2026-2026 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) (pp. 12962-12966). IEEE.
3. Liu, R., Zhang, R., & Wang, S. (2025, December). Transformer-based modeling of user interaction sequences for dwell time prediction in human-computer interfaces. In 2025 7th International Academic Exchange Conference on Science and Technology Innovation (IAECST) (pp. 352-356). IEEE.
4. Yu, H., Zhang, J., Chen, C., Xiang, T., Fang, Y., Niebles, J. C., & Adeli, E. (2026, March). Socialgen: Modeling multi-human social interaction with language models. In 2026 International Conference on 3D Vision (3DV) (pp. 1-17). IEEE.
5. Li, Y. (2026, June). AI-augmented automated triage for system error reporting using log and memory dump analysis. In 2026 7th International Conference on Big Data & Artificial Intelligence & Software Engineering (ICBASE) (pp. 572-577). IEEE.
6. Li, P., Yu, X., Peng, H., Xian, Y., Wang, L., Sun, L., ... & Yu, P. S. (2024). Relational prompt-based pre-trained language models for social event detection. ACM Transactions on Information Systems, 43(1), 1-43.
7. Mo, Z. (2025, May). Development of an Intelligent Retrieval and Recommendation System for Chinese Language Educational Resources Based on DNN Technology. In 2025 2nd International Conference on Intelligent Computing and Robotics (ICICR) (pp. 170-175). IEEE.
8. Li, B., Gu, B., & Ding, Z. (2025). LLM-based Personalized Portfolio Recommender: Integrating Large Language Models and Reinforcement Learning for Intelligent Investment Strategy Optimization. arXiv preprint arXiv:2512.12922.
9. Wang, Y., Fan, S., Wang, M., Gao, S., & Wang, C. (2026, April). DAMR: Efficient and adaptive context-aware knowledge graph question answering with LLM-guided MCTS. In International Conference on Learning Representations (Vol. 2026, pp. 25548-25570).
10. Huang, D., Song, L., Chen, Y., He, S., Wang, R., Shen, H., & Chu, W. (2026). AnExplainable AI Engineering Framework for Claims-Only First-Stage Provider Audit Triage Using SHAP-Guided Hybrid Retrieval-Augmented Generation. Machine Learning and Knowledge Extraction, 8(9), 279.
11. Zhang, B., Wang, S., Jiang, Y., Sui, D., Tu, Z., & Chu, D. (2025, July). Ask and Retrieve Knowledge: Towards Proactive Asking with Imperfect Information in Medical Multi-turn Dialogues. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval (pp. 1055-1065).
12. Lyu, S., Deng, Y., Liu, G., Qi, Z., & Wang, R. (2025, June). Transferable Modeling Strategies for Low-Resource LLM Tasks: A Prompt and Alignment-Based Approach. In 2025 7th International Conference on Artificial Intelligence Technologies and Applications (ICAITA) (pp. 225-229). IEEE.
13. Zou, Y., Lee, T., Fan, X., & Li, J. (2026, May). Benchmarking Large Language Models for Chinese and Japanese IMEs: Phonetic-to-Character Generation and Textual Error Correction. In Proceedings of the Fifteenth Language Resources and Evaluation Conference (LREC 2026) (Vol. 11, No. 16, pp. 4290-4311).
14. Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of NAACL-HLT.
15. Zhu, R., Ma, Z., Wu, J., Gao, J., Wang, J., Lin, D., & He, C. (2025, April). Utilize the flow before stepping into the same river twice: Certainty represented knowledge flow for refusal-aware instruction tuning. In Proceedings of the AAAI Conference on Artificial Intelligence (Vol. 39, No. 24, pp. 26157-26165).
16. Sun, F., He, S., Wang, R., Ke, L., Shen, H., & Liao, Q. (2026). Modeling Structural Deviation in 10-K Risk Factors: A Semantic Anomaly Detection and Explainable AI Approach. Risks, 14(4), 87.
17. Xiaoteng Ma, Yiqin Yang, Hao Hu, Qihan Liu, Jun Yang, Chongjie Zhang, Qianchuan Zhao, and
Bin Liang. Offline reinforcement learning with value-based episodic memory. arXiv preprint
arXiv:2110.09796, 2021b.
18. Liu, R., McKay, D., & Buchanan, G. (2023). PersonāOriented Ontologies Analysis for Digital Humanities Collections from a Metadata Crosswalk Perspective. Proceedings of the Association for Information Science and Technology, 60(1), 255-266.
19. Beltagy, I., Peters, M. E., & Cohan, A. (2020). Longformer: The long-document transformer. arXiv preprint arXiv:2004.05150.
20. Wang, Z., & Hou, J. (2026). StreamSQL-Repair-Bench: Does Execution Feedback Let Agents Fix Event-Time Streaming SQL?. Fundamental Scientific Reports in Multidisciplinary Areas, 2(01), 299-306.
21. Sun, J., Lin, Y., Xue, Y., Wang, Y., Yao, Z., Qian, R., ... & Zhou, H. (2026). Pmmc: Prospective multimodal memory compilation for long-term lvlm agents. arXiv preprint arXiv:2608.00962.
22. Pei, Z., Huang, Q., & Wang, S. (2026). When LLMs develop languages: Symbolic communication for efficient multi-agent reasoning. arXiv preprint arXiv:2606.29354.
23. Fang, S., Shen, I., Wang, Y., Tsai, Y. H., Yang, Y., Zhou, S., ... & Yang, M. H. (2025). Meshllm: Empowering large language models to progressively understand and generate 3d mesh. In Proceedings of the IEEE/CVF international conference on computer vision (pp. 14061-14072).
24. Wu, J., Chen, S., Heo, I., Gutfraind, S., Liu, S., Li, C., ... & Sharps, M. (2025). Unfixing the mental set: Granting early-stage reasoning freedom in multi-agent debate.
25. Liu, H., & Henao, R. (2025, April). Learning to substitute words with model-based score ranking. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers) (pp. 11551-11565).
26. Sun, J., Xue, Y., Li, M., Yao, Z., Li, J., Cui, Y., ... & Zhou, H. (2026). TrajWiki: Source-Grounded Memory Trajectories for Long-Horizon Dialogue Agents. arXiv preprint arXiv:2608.00967.
27. Yao, Z., Li, R., Chen, X., Cheng, J., Le, C., Yue, M., ... & Dong, J. (2026). PreDiff-LM: Pretrained Discrete Masked Diffusion Language Modeling with Hybrid Attention. arXiv preprint arXiv:2607.25157.
28. Chen, S., Zhu, T., Wang, Z., Zhang, J., Wang, K., Zhou, R., ... & Li, M. (2025). Why Do LLM Agents Fail in Exploring New Environments? A World-Modeling Perspective. arXiv preprint arXiv:2510.15047.
29. Meng, X., & Lin, J. (2026). AWCRL: Adaptive Weakly Supervised Cross-Modal Reliability Learning for resource-constrained proxy-state recognition. Pattern Recognition, 114998.
30. Yang, H., Xie, Z., Xiong, S., & Huang, B. (2026). DepthBenchCAD: When Does Deeper Auditing Yield More Reliable Conclusions?. arXiv preprint arXiv:2609.15122.
31. Li, Y. (2026, July). Retrieval-Augmented Generation for Historical Fault Experience Reuse and Intelligent Diagnosis. In 2026 International Conference on Large Models and Intelligent Agent Technologies (LMIAT) (pp. 47-51). IEEE.
32. M. Emani, S. Foreman, V. Sastry, Z. Xie, S. Raskar, W. Arnold, R. Thakur,
V. Vishwanath, M.E. Papka, A comprehensive performance study of
large language models on novel ai accelerators. (2023). arXiv preprint
arXiv:2310.04607
33. Tian, Y., & Yang, Z. (2026, May). SAEC: scene-aware enhanced edge-cloud collaborative industrial vision inspection with multimodal LLM. In ICASSP 2026-2026 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) (pp. 19747-19751). IEEE.
34. Li, X., Wang, P., Li, G., Ni, L., & Zhang, Y. (2023). Design of interface circuits and lightweight PUF for TMR sensors. IEEE Sensors Journal, 23(11), 11754-11761.
35. Liu, X., Yu, Z., Yao, Y., Yang, K., Zeng, H., & Chen, C. P. (2026). A Comprehensive Survey of Cross-Modal Retrieval: Breaking Through Modal Barriers. ACM Computing Surveys.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Alice Ross (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
All articles published in the International Journal of Machine Learning and Engineering (IJMLE) are licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0).
This license permits unrestricted use, distribution, reproduction, adaptation, and commercial use in any medium or format, provided the original author(s) and the source are properly credited.
Authors retain the copyright of their work while granting the journal the right of first publication.
To view a copy of this license, please visit:
https://creativecommons.org/licenses/by/4.0/