Sightline: Calibrated Data-Flow Summaries for LLM-Integrated Applications
Not on the map. Why?
Abstract (arXiv)
Programs increasingly call large language models (LLMs), filling prompt placeholders with program values and consuming the output. Such a call crosses the boundary between natural language and programming language (NL/PL). To follow data across it, an analysis needs a data-flow summary of which placeholders the output uses, but no code describes what the model does. Analyses of these LLM-integrated applications therefore taint every output with every input, creating spurious flows, or ask a second model to label each call, which is costly. We prove, and mechanize in Lean 4, that a placeholder flows to the output of a transformer, to first order, only through the attention that reads it (no reading, no flow), and that a faint reading or sensitivity cannot certify that a placeholder does not flow. Unlike reading, the log-probability gradients and Fisher signals of existing methods vanish on confident outputs, and single-span removal fails on duplicated content. Our tool, Sightline, reads a recorded call in one forward pass, learns from labels which reads are uses, and calibrates the pruning to miss at most a chosen fraction α of true flows, on average over call sites, when deployment is exchangeable with calibration. On 2,103 unseen repository families and four models, Sightline is the most accurate summary against the seven closest methods and a hidden-state probe. Calibrated at α = 1%, it misses about 1% of true flows and prunes 43.9-65.6% of spurious flows, 1.6 to 2.6 times as many as the best baseline, and still 43.8-60.1% when calibrated on another collection. Through an open surrogate, it reads models treated as closed about as accurately as they read themselves, without their labels. In the information-flow control of an LLM agent, it removes about half of the labels from inputs that do not flow.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 40 of its 71 references that are in the map. Submitted 19 Nov 2026, announced 20 Nov 2026.
Builds on
40 of 71 references.
References · 40
- 2017Attention Is All You Needcited by 62,125
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,787
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 5,111
- 2020Longformer: The Long-Document Transformercited by 3,606
- 2017Axiomatic Attribution for Deep Networkscited by 3,508
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,479
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,467
- 2019Attention is not Explanationcited by 991
- 2020Quantifying Attention Flow in Transformerscited by 828
- 2019Attention is not not Explanationcited by 672
28 more
- 2019Conformal Prediction Under Covariate Shiftcited by 574
- 2026Gemma 4 Technical Reportcited by 464
- 2019The Lean mathematical librarycited by 164
- 2024Lookback Lens: Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Mapscited by 155
- 2024AtP*: An efficient and scalable method for localizing LLM behaviour to componentscited by 143
- 2024ContextCite: Attributing Model Generation to Contextcited by 117
- 2024ReDeEP: Detecting Hallucination in Retrieval-Augmented Generation via Mechanistic Interpretabilitycited by 108
- 2024Information Flow Routes: Automatically Interpreting Language Models at Scalecited by 103
- 2024Attention Tracker: Detecting Prompt Injection Attacks in LLMscited by 103
- 2024The Hidden Attention of Mamba Modelscited by 102
- 2025RTBAS: Defending LLM Agents Against Prompt Injection and Privacy Leakagecited by 80
- 2023Demystifying RCE Vulnerabilities in LLM-Integrated Appscited by 40
- 2024Permissive Information-Flow Analysis for Large Language Modelscited by 27
- 2023Distribution-free inference with hierarchical datacited by 19
- 2025TracLLM: A Generic Framework for Attributing Long Context LLMscited by 18
- 2026Ghost in the Agent: Redefining Information Flow Tracking for LLM Agentscited by 18
- 2025MindGuard: Intrinsic Decision Inspection for Securing LLM Agents Against Metadata Poisoningcited by 14
- 2024PromptSet: A Programmer's Prompting Datasetcited by 11
- 2025AttnTrace: Contextual Attribution of Prompt Injection and Knowledge Corruptioncited by 9
- 2019Neutaint: Efficient Dynamic Taint Analysis with Neural Networkscited by 8
- 2025Sentinel: Decoding Context Utilization via Attention Probing for Efficient LLM Context Compressioncited by 5
- 2026The LLMbda Calculus: AI Agents, Conversations, and Information Flowcited by 5
- 2026Tool-Call Dependency Structure is Linearly Decodable in LLM Agent Residual Streamscited by 5
- 2026AgentFlow: Building Agent Dependency Graphs for Static Analysis of Agent Programscited by 3
- 2026Beyond Aggregate Risk: Role-Stratified Conformal Risk Control for LLM Tool Callscited by 3
- 2026Reachability Across the NL/PL Boundary: A Taxonomy-Driven Dataflow Model for LLM-Integrated Applicationscited by 2
- 2026GIF: Locally Sound Geometric Information Flow Control for LLMscited by 2
- 2026What Guides the Agent? Adjudicating Unauthorized Behavior via Localizing Behavior-Guiding Instructionscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Code as Explanations: Executable and Verifiable LLM Explanations
- 2024Capturing Sparks of Abstraction for the ARC Challenge
- 2025Do Code Semantics Help? A Comprehensive Study on Execution Trace-Based Information for Code Large Language Models
- 2025PROMPTEVALS: A Dataset of Assertions and Guardrails for Custom Production Large Language Model Pipelines
- 2025CoRe: Benchmarking LLMs Code Reasoning Capabilities through Static Analysis Tasks
- 2025AIRepr: An Analyst-Inspector Framework for Evaluating Reproducibility of LLMs in Data Science
- 2026CangjieBench: Benchmarking LLMs on a Low-Resource General-Purpose Programming Language
- 2025Towards Reliable Benchmarking: A Contamination Free, Controllable Evaluation Framework for Multi-step LLM Function Calling