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

Vimal Kumar Kumar, Meghana Kshirsagar, Conor Ryan
11/24/2026
cs.AIcs.CLcs.IR
rag

No confident code implementation found for this paper.

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.

Show full abstract

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=6$, CA-RAG increases Precision@$k$ from $0.5268$ to $0.5692$, pooled Recall@$k$ from $0.5402$ to $0.5950$, and F1@$k$ from $0.5389$ to $0.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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kumar2026carag,
  title  = {CA-RAG: Constraint-Aligned Retrieval for Structurally Faithful Long-Form Generation},
  author = {Vimal Kumar Kumar and Meghana Kshirsagar and Conor Ryan},
  year   = {2026},
  eprint = {2611.33497},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.33497v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.33497.svg)](https://codeofpaper.com/paper/2611.33497)

Discussion