paper-with-me

홈 › Papers

GenerationPrograms: Fine-grained Attribution with Executable Programs

2025-06-17 · David Wan, Eran Hirsch, Elias Stengel-Eskin, Ido Dagan, Mohit Bansal

Recent large language models (LLMs) achieve impressive performance in source-conditioned text generation but often fail to correctly provide fine-grained attributions for their outputs, undermining verifiability and trust. Moreover, existing attribution methods do not explain how and why models leverage the provided source documents to generate their final responses, limiting interpretability. To overcome these challenges, we introduce a modular generation framework, GenerationPrograms, inspired by recent advancements in executable "code agent" architectures. Unlike conventional generation methods that simultaneously generate outputs and attributions or rely on post-hoc attribution, GenerationPrograms decomposes the process into two distinct stages: first, creating an executable program plan composed of modular text operations (such as paraphrasing, compression, and fusion) explicitly tailored to the query, and second, executing these operations following the program's specified instructions to produce the final response. Empirical evaluations demonstrate that GenerationPrograms significantly improves attribution quality at both the document level and sentence level across two long-form question-answering tasks and a multi-document summarization task. We further demonstrate that GenerationPrograms can effectively function as a post-hoc attribution method, outperforming traditional techniques in recovering accurate attributions. In addition, the interpretable programs generated by GenerationPrograms enable localized refinement through modular-level improvements that further enhance overall attribution quality.

📄 PDF Abstract BibTeX arXiv:2506.14580

Code (1)

meetdavidwan/generationprograms 공식 구현

Tasks

Document SummarizationLong Form Question AnsweringMulti-Document SummarizationQuestion AnsweringText Generation

Similar Papers 제목 키워드 기반

Weights to Code: Extracting Interpretable Algorithms from the Discrete Transformer

2026-01-09 · Yifan Zhang, Wei Bi, Kechi Zhang, Dongming Jin 외 arxiv

Algorithm extraction aims to synthesize executable programs directly from models trained on algorithmic tasks, enabling de novo recovery of executable mechanisms from weights without relying on human-written target progr…

Pi-SQL: Enhancing Text-to-SQL with Fine-Grained Guidance from Pivot Programming Languages

2025-06-01 · Yongdong chi, Hanqing Wang, Zonghan Yang, Jian Yang 외

Text-to-SQL transforms the user queries from natural language to executable SQL programs, enabling non-experts to interact with complex databases. Existing prompt-based methods craft meticulous text guidelines and exampl…

Text to SQLText-To-SQLvalid

MemTrace: Tracing and Attributing Errors in Large Language Model Memory Systems

2026-05-27 · Xinle Deng, Ruobin Zhong, Hujin Peng, Xiaoben Lu 외 arxiv

Memory is essential for enabling large language models to support long-horizon reasoning, yet existing memory systems remain unreliable and difficult to debug. Tracing memory's dynamic evolution is crucial to understand …

BenchCAD: A Comprehensive, Industry-Standard Benchmark for Programmatic CAD

2026-05-11 · Haozhe Zhang, Kaichen Liu, Miaomiao Chen, Lei Li 외 arxiv

Industrial Computer-Aided Design (CAD) code generation requires models to produce executable parametric programs from visual or textual inputs. Beyond recognizing the outer shape of a part, this task involves understandi…

Visual Question AnsweringReinforcement LearningProgram SynthesisCode Generation

ChartLens: Fine-grained Visual Attribution in Charts

2025-05-25 · Manan Suri, Puneet Mathur, Nedim Lipka, Franck Dernoncourt 외

The growing capabilities of multimodal large language models (MLLMs) have advanced tasks like chart understanding. However, these models often suffer from hallucinations, where generated text sequences conflict with the …

Chart Understanding