TY - GEN
T1 - Enhancing Reliability Assurance for DNN against Numerical Defect with Large Language Models
AU - Liu, Jinyu
AU - Ai, Jun
AU - Su, Haoran
AU - Shi, Tao
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025
Y1 - 2025
N2 - Deep Neural Networks (DNNs) are increasingly deployed in safety-critical systems, yet their numerical reliability remains a pressing concern due to defects like NaN/INF occurrences during training/inference. Existing static analyzers detect operator-level risks but lack the ability to establish contextual mappings between operator-level anomalies and their originating code implementations, thereby limiting their practical applicability in real-world debugging scenarios. To address this limitation, this paper introduces a novel hybrid method that synergizes risk sensitive paths derived from static analysis with Large Language Model(LLM)-guided semantic reasoning. By anchoring LLMs to identified risk-sensitive computation paths, the proposed method precisely correlates operator-level numerical defects with code-level vulnerabilities, while mitigating LLM hallucinations. Evaluated on a widely-used real-world benchmark, the proposed method achieves 100% defect detection accuracy, matching state-of-the-art static analyzers, but significantly outperforms them in code-level root-cause localization. This work pioneers a new paradigm for DNN reliability assurance by combining the static numerical analysis with the semantic reasoning power of LLMs, establishing a practical numerical defect analysis pipeline.
AB - Deep Neural Networks (DNNs) are increasingly deployed in safety-critical systems, yet their numerical reliability remains a pressing concern due to defects like NaN/INF occurrences during training/inference. Existing static analyzers detect operator-level risks but lack the ability to establish contextual mappings between operator-level anomalies and their originating code implementations, thereby limiting their practical applicability in real-world debugging scenarios. To address this limitation, this paper introduces a novel hybrid method that synergizes risk sensitive paths derived from static analysis with Large Language Model(LLM)-guided semantic reasoning. By anchoring LLMs to identified risk-sensitive computation paths, the proposed method precisely correlates operator-level numerical defects with code-level vulnerabilities, while mitigating LLM hallucinations. Evaluated on a widely-used real-world benchmark, the proposed method achieves 100% defect detection accuracy, matching state-of-the-art static analyzers, but significantly outperforms them in code-level root-cause localization. This work pioneers a new paradigm for DNN reliability assurance by combining the static numerical analysis with the semantic reasoning power of LLMs, establishing a practical numerical defect analysis pipeline.
KW - Deep Neural Networks
KW - Defect Detection
KW - DNN Numerical Defects
KW - Large Language Models
UR - https://www.scopus.com/pages/publications/105026754818
U2 - 10.1109/ISSRE66568.2025.00039
DO - 10.1109/ISSRE66568.2025.00039
M3 - 会议稿件
AN - SCOPUS:105026754818
T3 - Proceedings - International Symposium on Software Reliability Engineering, ISSRE
SP - 300
EP - 310
BT - Proceedings - 2025 IEEE 36th International Symposium on Software Reliability Engineering, ISSRE 2025
PB - IEEE Computer Society
T2 - 36th IEEE International Symposium on Software Reliability Engineering, ISSRE 2025
Y2 - 21 October 2025 through 24 October 2025
ER -