CA-RAG: Constraint-Aligned Retrieval for Structurally Faithful Long-Form Generation
Abstract
Retrieval-augmented generation (RAG) typically optimises evidence selection for semantic relevance, whereas compliance-sensitive long-form generation also requires evidence supporting explicit structural obligations. Semantically relevant retrieval may therefore omit information needed for mandatory downstream clauses. We propose Constraint-Aligned RAG (CA-RAG), a retrieval-conditioning framework that augments section-specific queries with ontology-derived structural constraints and policy-grounded knowledge-graph relations before evidence selection. Retrieval-only evaluation with manually annotated evidence shows consistent improvements across retrieval budgets. At , CA-RAG increases Precision@ from to , pooled Recall@ from to , and F1@ from to over standard RAG. Generation experiments further show improvements in compliance and reliability in several model--domain settings, while generation-only constraints achieve higher clause coverage but lower overall compliance and reliability. These results indicate that structurally aligned retrieval can improve evidence sufficiency in compliance-sensitive long-form generation.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL, cs.IR
- Comments
- 18 pages (including appendix), 5 figures
Related papers
Refining and Aligning Clinical Reasoning with Health Guidelines via Formal Constraints
Shared title terminologycs.AIXiaoyang Fan, Yufan Cai, Zhe Hou et al.
GaokaoMathGen: Chinese Gaokao Mathematics Finale Problem Generation Controlled by Latent Reasoning Structures
Shared title terminologycs.AIQian Chen, Kun Zhu, Zhongyi Wang et al.
BRAG: Bayesian Retrieval Augmented Generation
Shared title terminologycs.AIJavier Movellan, Manjot Bilkhu, Young-mok Jung et al.
Knowledge-Base Gradient Descent: Self-Structuring Learning through Question Answering
Shared title terminologycs.AIMasahiro Kato
Procedure Inference as Memory: Learning Recruiter Decision Procedures from OKF-Structured Episodes in Multi-Session Hiring Assistants
Shared title terminologycs.AIPraveen Kumar Bodigutla, Yizhi Zhang, Sai Vivek Kanaparthy et al.
Evaluating Aviation Safety Knowledge Extraction with SmolLM2: From Zero-Shot to Retrieval-Grounded Prompting
Shared title terminologycs.AIAziida Nanyonga, Mustafa Tahsin Yilmaz, Amir Hussain et al.