SafeLLM: Extraction as a Hallucination-Resistant Alternative to Rewriting in Safety-Critical Settings
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly used to access organisational documentation, including standard operating procedures (SOPs), HR policies and institutional guidelines. However, retrieval-augmented generation (RAG) systems that rely on free-form rewriting can introduce hallucinations and unstable trade-offs between completeness and conciseness, particularly in safety- and compliance-critical settings. Objectives: To evaluate extraction as a hallucination-resistant alternative to rewriting-based RAG and compare strategies that balance precision, recall and safety across document types and model scales. Methods: We compare multiple prompting strategies, including line-number-based source selection, extraction of relevant guideline sentences with explicit safety annotations, and a multi-stage pipeline that refines draft answers using supporting evidence from source guidelines. Experiments are conducted on documents of varying length and structure, including local NHS acute care and oncology guidelines and UK-wide NICE guidelines, using both frontier-scale and locally deployable models. Performance is assessed using automatic metrics and human expert evaluation of relevance and completeness. Results: Line-number selection achieves the strongest results, outperforming direct copying and safety-focused strategies across both large and small models while maintaining high term recall (up to 95%) and close alignment with source text. Safety-oriented approaches improve precision but introduce systematic omissions, while multi-stage filtering further amplifies this trade-off. Performance varies with document structure: line-based extraction excels in protocol-like content, whereas alternative strategies perform better on more verbose documents (up to 97% term recall).
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 8 of its 22 references that are in the map. First posted on arXiv 11 Jun 2026.
Builds on
8 of 22 references.
References · 8
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
- 2023Med-HALT: Medical Domain Hallucination Test for Large Language Modelscited by 157
- 2023Benchmarking large language models for biomedical natural language processing applications and recommendationscited by 78
- 2020Multi-domain Clinical Natural Language Processing with MedCAT: the Medical Concept Annotation Toolkitcited by 66
- 2025Grounding Large Language Models in Clinical Evidence: A Retrieval-Augmented Generation System for Querying UK NICE Clinical Guidelinescited by 7
- 2024Language Models "Grok" to Copycited by 5
- 2025Building a Silver-Standard Dataset from NICE Guidelines for Clinical LLMscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026RAG-Safety-Bench: Reliable Evaluation of Retrieval-Augmented LLM Safety
- 2025RAG LLMs are Not Safer: A Safety Analysis of Retrieval-Augmented Generation for Large Language Models
- 2025RAG Makes Guardrails Unsafe? Investigating Robustness of Guardrails under RAG-style Contexts
- 2025Document Retrieval Augmented Fine-Tuning (DRAFT) for safety-critical software assessments
- 2026Benchmarking Large Language Models for Safety Data Extraction
- 2025RAGuard: A Novel Approach for in-context Safe Retrieval Augmented Generation for LLMs
- 2025CASE-Bench: Context-Aware SafEty Benchmark for Large Language Models
- 2025ASTRAL: Automated Safety Testing of Large Language Models