paper-with-me

홈 › Papers

IterGen: Iterative Semantic-aware Structured LLM Generation with Backtracking

2024-10-09 · Shubham Ugare, Rohan Gumaste, Tarun Suresh, Gagandeep Singh, Sasa Misailovic

Large Language Models (LLMs) are widely used for tasks such as natural language and code generation, but their outputs often suffer from issues like hallucination, toxicity, and incorrect results. Current libraries for structured LLM generation rely on left-to-right decoding without support for backtracking, limiting the ability to correct or refine outputs mid-generation. To address this, we introduce IterGen, a user-friendly library for iterative, grammar-guided LLM generation that enables users to move both forward and backward within the generated output based on grammar symbols. By leveraging a symbol-to-position mapping and maintaining the key-value (KV) cache state, IterGen ensures efficient and structured generation while allowing for corrections during the process. We demonstrate IterGen's effectiveness in two important applications: reducing privacy leakage in LLM outputs and improving the accuracy of LLM-generated SQL and Vega-Lite queries. Our code and additional resources are available at https://structuredllm.com.

📄 PDF Abstract BibTeX arXiv:2410.07295

Code (1)

uiuc-arc/itergen 공식 구현

Tasks

ARCCode GenerationHallucination

Methods 이 논문이 사용한 방법론

Library 설명 없음

Similar Papers 제목 키워드 기반

Ontology-to-tools compilation for executable semantic constraint enforcement in LLM agents

2026-02-03 · Xiaochi Zhou, Patrick Bulter, Changxuan Yang, Simon D. Rihm 외 arxiv

We introduce ontology-to-tools compilation as a proof-of-principle mechanism for coupling large language models (LLMs) with formal domain knowledge. Within The World Avatar (TWA), ontological specifications are compiled …

Prompt Engineering

GraphMind: Theorem Selection and Conclusion Generation Framework with Dynamic GNN for LLM Reasoning

2025-11-24 · Yutong Li, Yitian Zhou, Xudong Wang, GuoChen 외 arxiv

Large language models (LLMs) have demonstrated impressive capabilities in natural language understanding and generation, including multi-step reasoning such as mathematical proving. However, existing approaches often lac…

Natural Language UnderstandingGraph Neural Network

KGEdit: Ambiguity-Aware Knowledge Graphs for Training-Free Precise Video Generation and Editing

2026-05-28 · Mingshu Cai, Miao Zhang, Chenghe Yang, Yixuan Li 외 arxiv

In recent years, training-free video generation has progressed remarkably. However, when handling complex textual instructions, existing methods still suffer from semantic ambiguity, incorrect concept binding, and cross-…

Knowledge GraphsVideo Generation

Iterative Augmentation with Summarization Refinement (IASR) Evaluation for Unstructured Survey data Modeling and Analysis

2025-07-16 · Payal Bhattad, Sai Manoj Pudukotai Dinakarrao, Anju Gupta arxiv

Text data augmentation is a widely used strategy for mitigating data sparsity in natural language processing (NLP), particularly in low-resource settings where limited samples hinder effective semantic modeling. While au…

Data Augmentation

StructLDM: Structured Latent Diffusion for 3D Human Generation

2024-04-01 · Tao Hu, Fangzhou Hong, Ziwei Liu

Recent 3D human generative models have achieved remarkable progress by learning 3D-aware GANs from 2D images. However, existing 3D human generative methods model humans in a compact 1D latent space, ignoring the articula…

Virtual Try-on