Silent bug fuzzing of deep learning libraries with LLMs via flexible and controllable bug migrationLLM-Powered Silent Bug Fuzzing in Deep Learning Libraries via Versatile and Controlled Bug Transfer
Researchers propose a silent bug fuzzing method called TransFuzz, which uses LLMs to migrate patterns from historical bug reports to functionally similar APIs. It found 79 previously unknown bugs in three mainstream deep learning libraries, PyTorch, TensorFlow, and MindSpore, of which 12 have been confirmed as CVEs. Specifically, it extracts context-dependent bug patterns from historical issues, uses functionality-based embedding vectors to match semantically related APIs, synthesizes test cases with customized oracles, and migrates the high-risk context and oracle design of known-defective APIs to target APIs to proactively detect silent bugs. The method also introduces an LLM-driven self-validation module that systematically evaluates the validity of each migrated bug instance. The bugs found span 10 types in total.