Agentic Interpretation: Lattice-Structured Evidence for LLM-Based Program Analysis
Jacqueline L. Mitchell, Chao Wang

TL;DR
This paper introduces agentic interpretation, a lattice-based framework for structured, evidence-driven program analysis using large language models, enabling more transparent and focused reasoning beyond static analysis limitations.
Contribution
It formalizes a new approach that decomposes program analysis into localized claims tracked within a lattice, guiding LLM reasoning with a structured, iterative process.
Findings
Formal model of agentic interpretation provided
Illustrated with example analyzing code with third-party dependencies
Framework enables more transparent LLM-based program reasoning
Abstract
Large language models can consult information that fixed static analyzers cannot, such as documentation, current security advisories, version-specific metadata, and informal API contracts. This makes LLMs a compelling option for program analyses that depend on information beyond the source program, or that are otherwise not amenable to conventional static analyzers. However, directly asking an LLM for a one-shot whole-program analysis is brittle because it compresses many evidence-dependent judgments into a single opaque answer, rather than exposing which conclusions are supported or disputed and using intermediate findings to guide later, more focused searches. In this paper, we propose agentic interpretation, a framework that brings the discipline of lattice-based static analysis to LLM-driven program reasoning. At a high level, agentic interpretation decomposes a high-level analysis…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
