๐ค AI Summary
This study addresses the challenge of generating scientifically accurate and regulatory-compliant content in the pharmaceutical domain, where manual quality assurance is inefficient and error-prone. To this end, the authors propose the LRBTC architecture, which introduces a novel studentโteacher dual large language model (LLM) collaboration mechanism integrated with a human-in-the-loop (HITL) workflow and a cascaded rule-based filtering pipeline. This framework enables automated, multi-dimensional quality control and optimization across linguistic, regulatory, branding, technical, and structural aspects. Evaluated on the AIReg-Bench benchmark, the approach achieves an F1 score of 83.0% and a recall of 97.5%, reducing missed violations by a factor of five. On the CSpelling task, it improves average accuracy by 26.7%, offering a verifiable and scalable solution for compliant content generation in high-stakes industries.
๐ Abstract
Large language models (LLMs) are increasingly used to create content in regulated domains such as pharmaceuticals, where outputs must be scientifically accurate and legally compliant. Manual quality control (QC) is slow, error prone, and can become a publication bottleneck. We introduce LRBTC, a modular LLM and vision language model (VLM) driven QC architecture covering Language, Regulatory, Brand, Technical, and Content Structure checks. LRBTC combines a Student-Teacher dual model architecture, human in the loop (HITL) workflow with waterfall rule filtering to enable scalable, verifiable content validation and optimization. On AIReg-Bench, our approach achieves 83.0% F1 and 97.5% recall, reducing missed violations by 5x compared with Gemini 2.5 Pro. On CSpelling, it improves mean accuracy by 26.7%. Error analysis further reveals that while current models are strong at detecting misspellings (92.5 recall), they fail to identify complex medical grammatical (25.0 recall) and punctuation (41.7 recall) errors, highlighting a key area for future work. This work provides a practical, plug and play solution for reliable, transparent quality control of content in high stakes, compliance critical industries. We also provide access to our Demo under MIT Licenses.