Cost-Driven Synthesis of Sound Abstract Interpreters

📅 2025-11-17
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Global reliability guarantees for abstract interpreters have long constituted a core challenge in abstract interpretation. This paper pioneers the use of large language models (LLMs) to automatically synthesize high-precision, formally correct abstract interpreters for neural network verification. We propose a unified framework that quantifies semantic inconsistency via a mathematically rigorous cost function, integrating LLM-based generation, syntactic constraint checking, formal semantic verification, and cost-guided iterative refinement. The method supports automatic synthesis of sound abstraction transformations across diverse abstract domains and nonlinear operators—including composite ReLU and Sigmoid activations—jointly optimizing precision while enforcing both syntactic and semantic correctness. Experimental evaluation demonstrates that the synthesized interpreters not only reproduce but surpass handcrafted designs in quality, and further uncover novel, high-precision, provably reliable abstractions previously unreported in the literature.

Technology Category

Application Category

📝 Abstract
Constructing abstract interpreters that provide global soundness guarantees remains a major obstacle in abstract interpretation. We investigate whether modern LLMs can reduce this burden by leveraging them to synthesize sound, non-trivial abstract interpreters across multiple abstract domains in the setting of neural network verification. We formulate synthesis as a constrained optimization problem and introduce a novel mathematically grounded cost function for measuring unsoundness under strict syntactic and semantic constraints. Based on this formulation, we develop a unified framework that unifies LLM-based generation with syntactic and semantic validation and a quantitative cost-guided feedback mechanism. Empirical results demonstrate that our framework not only matches the quality of handcrafted transformers, but more importantly, discovers sound, high-precision transformers for complex nonlinear operators that are absent from existing literature.
Problem

Research questions and friction points this paper is trying to address.

Automating sound abstract interpreter synthesis
Reducing manual effort through LLM-based generation
Ensuring semantic correctness with cost-guided optimization
Innovation

Methods, ideas, or system contributions that make the work stand out.

LLMs synthesize sound abstract interpreters automatically
Novel cost function measures unsoundness under constraints
Unified framework combines generation with validation and feedback
🔎 Similar Papers
No similar papers found.
Q
Qiuhan Gu
University of Illinois, Urbana-Champaign, USA
Avaljot Singh
Avaljot Singh
University of Illinois Urbana Champaign
Computer Science
G
Gagandeep Singh
University of Illinois, Urbana-Champaign, USA