Automated Regulatory Compliance Question Answering in Financial Services with Domain-Adapted Retrieval-Augmented Generation
Tobias Deußer, Abhishek Pillai, Aurelio F. Bariviera, Dhananjay Bhardwaj, Lorenz Sparrenberg, David Berghaus, Christian Bauckhage, Rafet Sifa
Abstract
Financial institutions operate under dense, frequently amended rulebooks, and answering a compliance question correctly requires not only fluency but verifiable grounding in the authoritative text. Large language models are attractive for this task, yet the models that firms can realistically deploy on-premise are compact ones, and compact models hallucinate obligations. We study whether a carefully domain-adapted retrieval-augmented generation pipeline closes that gap. Our retriever is built in three stages on top of LegalBERT: entailment tuning that recasts question--passage matching as premise--hypothesis reconstruction, contrastive tuning with in-batch negatives, and score-level fusion with BM25. Our generator is a compact model (2B--12B parameters) served under 4-bit quantization, either prompted or adapted with retrieval-aware fine-tuning (RAFT) through LoRA. On ObliQA, a question-answering benchmark built from the Abu Dhabi Global Market rulebooks, the staged retriever raises Recall@10 from 0.256 to 0.774 and outperforms BM25 (0.678) and E5-large-v2 (0.758), the strongest general-purpose dense encoder we tested. RAFT-LoRA then improves the composite RePASs answer-quality score for every model we could adapt, with the largest gain on the weakest one. However, the adapted models do not transfer to Australian case-law questions, and a closed-book model that receives no passages at all scores within 0.011 RePASs of the full pipeline while producing answers that cite nothing and misstate obligations. The retrieval gain is therefore measured directly, the generation gain is a gain in RePASs rather than demonstrated grounding, and grounding itself requires an evaluation protocol that RePASs does not provide.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
- Comments
- Currently under review
Related papers
Return or Revise? Learning When Revision Helps Retrieval-Augmented QA
Shared title terminologycs.CLNicholas Kashani Motlagh, Tim Anderson, Jeremy Gwinnup et al.
Worth the Wait? How Response Time and Streaming Shape Judgments of Generative AI Answers and Chatbot Engagement
Shared title terminologycs.CLZihan Chen, Di Zhu, Lei Nico Zheng
SPARQL-Planned Single-Hop Traversal over a Live Knowledge Graph for Multi-Hop Question Answering
Shared title terminologycs.CLPriyesh Vakharia, Masud Moshtaghi, Pratyay Banerjee et al.
Regime Boundary Alignment for Evidence-Gated Question Answering
Shared title terminologycs.CLZeyan Li, Qirong Guo, SIyuan Qiu et al.
Resolving the Missing Financial Data Crisis: A Generative AI Pipeline for SEC 10-K Extraction
Shared title terminologycs.CLPrisha Nair, Roee Shraga
Stale-Document Poisoning: When Outdated Retrieval Overrides Correct Model Answers
Shared title terminologycs.CLMd Shamim Ahmed, Lukas Galke Poech, Richard Röttger