[Paper Review] RegGuard: AI-Powered Retrieval-Enhanced Assistant for Pharmaceutical Regulatory Compliance
RegGuard is an enterprise AI assistant that uses hierarchical semantic chunking (HiSACC) and a domain-adapted cross-encoder reranker (ReLACE) to retrieve and ground regulatory texts for pharmaceutical compliance, reducing hallucinations and improving answer quality.
The increasing frequency and complexity of regulatory updates present a significant burden for multinational pharmaceutical companies. Compliance teams must interpret evolving rules across jurisdictions, formats, and agencies, often manually, at high cost and risk of error. We introduce RegGuard, an industrial-scale AI assistant designed to automate the interpretation of heterogeneous regulatory texts and align them with internal corporate policies. The system ingests heterogeneous document sources through a secure pipeline and enhances retrieval and generation quality with two novel components: HiSACC (Hierarchical Semantic Aggregation for Contextual Chunking) semantically segments long documents into coherent units while maintaining consistency across non-contiguous sections. ReLACE (Regulatory Listwise Adaptive Cross-Encoder for Reranking), a domain-adapted cross-encoder built on an open-source model, jointly models user queries and retrieved candidates to improve ranking relevance. Evaluations in enterprise settings demonstrate that RegGuard improves answer quality specifically in terms of relevance, groundedness, and contextual focus, while significantly mitigating hallucination risk. The system architecture is built for auditability and traceability, featuring provenance tracking, access control, and incremental indexing, making it highly responsive to evolving document sources and relevant for any domain with stringent compliance demands.
Motivation & Objective
- Address the challenge of rapidly evolving, heterogeneous regulatory updates across jurisdictions in pharma.
- Automate interpretation of regulatory texts and alignment with internal corporate policies.
- Mitigate hallucination risk in LLM-based regulatory analysis using retrieval-augmented generation.
- Provide an auditable, traceable system architecture suitable for strict compliance environments.
Proposed method
- Introduce HiSACC, a hierarchical semantic aggregation method that creates coherent, non-contiguous chunks from long regulatory documents.
- Develop ReLACE, a domain-adapted cross-encoder reranker trained with a listwise objective on regulatory QA data to improve post-retrieval ranking.
- Employ a retrieval-augmented generation pipeline where embeddings from Milvus are re-ranked by ReLACE before passing context to a generator.
- Ingest multi-format enterprise documents (PDF, Word, Excel, Google Docs/Sheets) via a secure pipeline with OCR for scanned content.
- Use Gradio/FastAPI for user interaction and an internal GPT-4 Turbo model for generation within Roche’s Galileo AI Platform.
- Evaluate using an enterprise-regulatory QA dataset and an RC-QA evaluation framework measuring relevance, groundedness, and faithfulness.
Experimental results
Research questions
- RQ1How can hierarchical chunking improve semantic coherence and retrieval quality for lengthy regulatory documents?
- RQ2Does a domain-adapted cross-encoder reranker (ReLACE) enhance post-retrieval relevance and grounding in regulatory QA tasks?
- RQ3What is the impact of HiSACC + ReLACE on accuracy, groundedness, and hallucination risk in a pharmaceutical regulatory compliance setting?
- RQ4Can RegGuard provide auditable provenance, access control, and reliable operation in an enterprise infrastructure?
Key findings
- HiSACC combined with ReLACE consistently outperforms baselines across multiple retrieval settings in terms of relevance, groundedness, and faithfulness.
- HiSACC improves semantic chunking over traditional RCS, reducing fragmentation and improving context alignment.
- ReLACE provides domain-adaptive, listwise reranking that enhances grounding and reduces hallucination by better matching query contexts to regulatory passages.
- The integrated system achieves strong faithfulness and groundedness while maintaining feasible latency for enterprise use.
- System deployment emphasizes auditability, provenance tracking, and secure, internal operation suitable for compliance environments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.