SpectraDL: A Historical Issue-Driven, Test Specification-Assisted Transfer Testing Approach for Deep Learning Frameworks via LLMs
Shifan Liu, Chang-ai Sun, Fulei Wu, Wing Kwong Chan
摘要
Deep learning (DL) frameworks provide diverse fundamental algorithmic units as operators, which are critical infrastructure for constructing various intelligent software. Since mainstream frameworks widely adopt the open-source development paradigm, bugs may recur across operators and even across frameworks. Recent studies leverage large language models (LLMs) and historical issues to generate cross-framework test cases. However, existing approaches still suffer from two limitations. First, their test cases have low fault detection capability because they mainly reuse inputs or contexts from historical issues without considering the underlying root causes. Second, an effective mechanism for determining the appropriate transfer scope within a target framework is lacking. To overcome these limitations, we propose SpectraDL, a historical issue-driven, test specification-assisted transfer testing approach for DL frameworks. SpectraDL first extracts rigorous test specifications for each operator from official documentation, and then extracts and transforms historical issues and associated pull requests into structured fault representations (i.e., bug patterns). SpectraDL uses a dual retrieval mechanism based on semantic intent and structural input-space features to transfer these bug patterns to related operators across frameworks. Experiments on four mainstream DL frameworks show that SpectraDL detected 125 previously unknown bugs, 107 of which developers confirmed. The results confirm that SpectraDL delivers a promising transfer testing approach for DL frameworks.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- CrossProbe: LLM-Empowered Cross-Project Bug Detection for Deep Learning FrameworksHao Guan, Guangdong Bai, Yepang LiuISSTA 2025 · 被引用 3 次
- LLM-Powered Silent Bug Fuzzing in Deep Learning Libraries via Versatile and Controlled Bug TransferKunpeng Zhang, Dongwei Xiao, Daoyuan Wu, Shuai Wang 等OOPSLA 2026 · 被引用 1 次
- Differential Testing of Cross Deep Learning Framework APIs: Revealing Inconsistencies and VulnerabilitiesZizhuang Deng, Guozhu Meng, Kai Chen, Tong Liu 等USENIX Security 2023
- A Miss Is as Good as A Mile: Metamorphic Testing for Deep Learning OperatorsJinyin Chen, Chengyu Jia, Yunjie Yan, Jie Ge 等FSE 2024 · 被引用 8 次
- Audee: Automated Testing for Deep Learning FrameworksQianyu Guo, Xiaofei Xie, Yi Li, Xiaoyu Zhang 等ASE 2020 · 被引用 83 次
