评分 5.0 · 来源:cs.AI updates on arXiv.org · 发布于 2026-04-14
评分依据:中等质量:常规学术论文,有适度参考价值
Learning and Enforcing Context-Sensitive Control for LLMs
arXiv:2604.10667v1 Announce Type: cross Abstract: Controlling the output of Large Language Models (LLMs) through context-sensitive constraints has emerged as a promising approach to overcome the limitations of Context-Free Grammars (CFGs) in guaranteeing generation validity. However, such constraints typically require manual specification — a significant barrier demanding specialized expertise. We introduce a framework that automatically learns context-sensitive constraints from LLM…