mlsanityData to 14 Oct 2026

Attention Distance: A Novel Metric for Directed Fuzzing with Large Language Models

arXiv 2512.19758 ↗First posted 19 Dec 2025cs.SE cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

In the domain of software security testing, Directed Grey-Box Fuzzing (DGF) has garnered widespread attention for its efficient target localization and excellent detection performance. However, existing approaches measure only the physical distance between seed execution paths and target locations, overlooking logical relationships among code segments. This omission can yield redundant or misleading guidance in complex binaries, weakening DGF's real-world effectiveness. To address this, we introduce attention distance, a novel metric that leverages a large language model's contextual analysis to compute attention scores between code elements and reveal their intrinsic connections. Under the same AFLGo configuration -- without altering any fuzzing components other than the distance metric -- replacing physical distances with attention distances across 38 real vulnerability reproduction experiments delivers a 3.43× average increase in testing efficiency over the traditional method. Compared to state-of-the-art directed fuzzers DAFL and WindRanger, our approach achieves 2.89× and 7.13× improvements, respectively. To further validate the generalizability of attention distance, we integrate it into DAFL and WindRanger, where it also consistently enhances their original performance. All related code and datasets are publicly available at https://github.com/TheBinKing/AttentionDistance.git.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 16 of its 42 references that are in the map. First posted on arXiv 19 Dec 2025.

Builds on

16 of 42 references.

References · 16

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
  4. 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 300
  5. 2023Large Language Models for Code: Security Hardening and Adversarial Testingcited by 155
  6. 2022Large Language Models Meet NL2Code: A Surveycited by 138
  7. 2018Improving Automatic Source Code Summarization via Deep Reinforcement Learningcited by 100
  8. 2023Large Language Models for Compiler Optimizationcited by 52
  9. 2017FairFuzz: Targeting Rare Branches to Rapidly Increase Greybox Fuzz Testing Coveragecited by 20
  10. 2022DriveFuzz: Discovering Autonomous Driving Bugs through Driving Quality-Guided Fuzzingcited by 19
  11. 2018Angora: Efficient Fuzzing by Principled Searchcited by 15
  12. 2023Enhancing Large Language Models for Secure Code Generation: A Dataset-driven Study on Vulnerability Mitigationcited by 15
4 more
  1. 2024Enhanced Automated Code Vulnerability Repair using Large Language Modelscited by 10
  2. 2022MC2: Rigorous and Efficient Directed Greybox Fuzzingcited by 5
  3. 2021State Selection Algorithms and Their Impact on The Performance of Stateful Network Protocol Fuzzingcited by 3
  4. 2023SyzTrust: State-aware Fuzzing on Trusted OS Designed for IoT Devicescited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.