paper-with-me

Papers

Large Language Model Meets Constraint Propagation

2025-05-29 · Alexandre Bonlarron, Florian Régin, Elisabetta De Maria, Jean-Charles Régin

Large Language Models (LLMs) excel at generating fluent text but struggle to enforce external constraints because they generate tokens sequentially without explicit control mechanisms. GenCP addresses this limitation by combining LLM predictions with Constraint Programming (CP) reasoning, formulating text generation as a Constraint Satisfaction Problem (CSP). In this paper, we improve GenCP by integrating Masked Language Models (MLMs) for domain generation, which allows bidirectional constraint propagation that leverages both past and future tokens. This integration bridges the gap between token-level prediction and structured constraint enforcement, leading to more reliable and constraint-aware text generation. Our evaluation on COLLIE benchmarks demonstrates that incorporating domain preview via MLM calls significantly improves GenCP's performance. Although this approach incurs additional MLM calls and, in some cases, increased backtracking, the overall effect is a more efficient use of LLM inferences and an enhanced ability to generate feasible and meaningful solutions, particularly in tasks with strict content constraints.

📄 PDF Abstract BibTeX arXiv:2505.24012

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language ModelmodelText Generation

Similar Papers 제목 키워드 기반

Bound Propagation meets Constraint Simplification: Improving Logic-based XAI for Neural Networks

2026-03-02 · Ronaldo Gomes, Jairo Ribeiro, Luiz Queiroz, Thiago Alves Rocha arxiv

Logic-based methods for explaining neural network decisions offer formal guarantees of correctness and non-redundancy, but they often suffer from high computational costs, especially for large networks. In this work, we …

ASHACL: Alternative Shapes Constraint Language

2017-02-06 · Peter F. Patel-Schneider

ASHACL, a variant of the W3C Shapes Constraint Language, is designed to determine whether an RDF graph meets some conditions. These conditions are grouped into shapes, which validate whether particular RDF terms each mee…

Adaptive Constraint Propagation: Scaling Structured Inference for Large Language Models via Meta-Reinforcement Learning

2025-12-31 · Ibne Farabi Shihab, Sanjeda Akter, Anuj Sharma arxiv

Large language models increasingly require structured inference, from JSON schema enforcement to multi-lingual parsing, where outputs must satisfy complex constraints. We introduce MetaJuLS, a meta-reinforcement learning…

Reinforcement LearningDomain Adaptation

Reconfigurable Intelligent Surface Enhanced Cognitive Radio Networks

2020-05-22 · Jinglian He, Kaiqiang Yu, Yong Zhou, Yuanming Shi

The cognitive radio (CR) network is a promising network architecture that meets the requirement of enhancing scarce radio spectrum utilization. Meanwhile, reconfigurable intelligent surfaces (RIS) is a promising solution…

Fast Constraint Propagation for Image Segmentation

2015-02-05 · Peng Han

This paper presents a novel selective constraint propagation method for constrained image segmentation. In the literature, many pairwise constraint propagation methods have been developed to exploit pairwise constraints …

Image SegmentationSegmentationSemantic Segmentation