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

> Source: <https://www.machinebrief.com/news/ca-rag-constraint-aligned-retrieval-for-structurally-faithfu-6wlh>
> Published: 2026-11-26 05:00:00+00:00

**Recommendation:** Add ontology-derived structural constraints and policy knowledge-graph relations to section-specific retrieval queries rather than enforcing constraints only at generation, which raised F1@k from 0.5389 to 0.5672 at k=6 in the reported evaluation.
More in the playbook "Retrieval and RAG": <https://wpnews.pro/playbooks/rag-retrieval>

arXiv:2611.33497v1 Announce Type: cross 
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=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.
