cs.AINov 24, 2026

CA-RAG: Constraint-Aligned Retrieval for Structurally Faithful Long-Form Generation

Authors: Vimal Kumar Kumar, Meghana Kshirsagar, Conor Ryan

Organizations: Lero – The Research Ireland Centre for Software Department of Computer Science & Information Systems University of Limerick, Limerick, Ireland

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 k=6k=6, CA-RAG increases Precision@kk from 0.52680.5268 to 0.56920.5692, pooled Recall@kk from 0.54020.5402 to 0.59500.5950, and F1@kk from 0.53890.5389 to 0.56720.5672 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.

Figures & tables

Appendix figures & tables13 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. ArbGraph: Conflict-Aware Evidence Arbitration for Reliable Long-Form Retrieval-Augmented Generation

    Apr 20, 2026Qingying Niu, Yuhao Wang, Ruiyang Ren +2Retrieval-Augmented GenerationEvidence-Grounded Generation

  2. Candidate-Constrained Retrieval-Augmented Generation for LongEval-RAG: System Design and Empirical Analysis

    Jul 4, 2026Yingdong Yang, Haijian WuRetrieval-Augmented GenerationRAG Evaluation

  3. Uncertainty-Aware Hybrid Retrieval for Long-Document RAG

    Jun 11, 2026Hoin Jung, Xiaoqian WangRetrieval-Augmented GenerationInformation Retrieval