A Distributed Local LLM and Centrally Governed RAG Architecture for Privacy-Preserving Cancer Registry Support
Abstract
Hospital-based cancer registration requires registrars to interpret detailed and frequently updated coding rules, disease-specific manuals, staging classifications, and historical question-and-answer records. Retrieval-augmented generation (RAG) can provide natural-language access to these resources, but cloud-based implementations raise concerns about transmitting clinical information outside the hospital. Moreover, retrieval of the correct document does not guarantee correct application of a registration rule. This paper presents a prototype architecture for deploying a local large language model and vector database within each hospital, while centrally governing and distributing approved reference documents, metadata, retrieval policies, and selected deterministic validation rules. The prototype uses FastAPI, Ollama, ChromaDB, multilingual embeddings, and locally executable language models. Questions are routed to prioritized document groups including the standard registration form, ICD-O materials, staging and site-specific resources, and historical Q&A records. For closed, explicitly enumerated, or high-risk rules, generative processing is supplemented by deterministic safeguards. A formative evaluation involving prostate-specific antigen illustrates the limitation of conventional RAG: although PSA is clinically associated with prostate cancer, it is not one of the four combinations permitted as a site-specific tumor marker for diagnostic-basis coding in the Japanese cancer registry. The case illustrates that semantic plausibility and registry correctness are not necessarily equivalent. The proposed functional allocation assigns natural-language interpretation, retrieval, synthesis, and explanation to the LLM; exact membership checking to deterministic components; and final confirmation to the registrar. This hybrid design is intended to improve privacy, traceability, maintainability, and calibrated human reliance.
Keywords: Cancer Registry, Retrieval-Augmented Generation, Local Large Language Model, Privacy-Preserving AI, Human-in-the-Loop, Deterministic Guardrail
DOI: 10.54941/ahfe1008450
Cite this paper
More from this volume
- AI-Enhanced Live-Streamed English Language Learning: Designing and Evaluating an Intelligent Platform for Chinese Learners
- "They Will Move": Confirmation Bias, Expectation Frames, and Premature Monitoring Drop Off in COLREG Encounters
- Automation transparency communication does not improve supervisory control performance, but shapes operator trust
- The influence of neuroticism on startle and surprise response: a flight simulator study
- EEG-Based Classification of Reward, Penalty, and Movement Events Across Four Video Games of Varying Complexity
- The Effects of Task Similarity and Time Pressure on Task Performance Following Interruptions in Complex Human-Computer Interaction Systems
- Trusting the Chain, Not the Black Box: A Provenance-Based Architecture for Human-Machine Teaming in Military Autonomy
- Design of a Simplified Humanoid Robot Face: Cultural Differences and Emotional Synchronization
- From Visual Observation to Auditory Interaction: A Human-Centered Tangible Music System Based on Physical Objects
- The Impact of Scarcity-Based Dark Patterns on User Performance, Perceived Darkness, and Workload in Subscription Services
- A Behavioral Observation Tool for Diagnosing Human–AI Interaction Profiles in Engineering Design Education
- The Mediated Moon: Semantic Mediation Between Gesture and Generative Image


AHFE Open Access