학술

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

arXiv CS.AI
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

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.

관련 뉴스