Manuscript Offprint

arXiv:2608.24534

Neurosymbolic Alignment for Physiologically-Safe Clinical Language Models

Abdulhady Abas Abdullah, Erik Cambria, Milena Zivkovic

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abdulhady Abas Abdullah, Erik Cambria, and Milena Živković

Abstract—Objective: Clinical LLMs can generate recommendations that are factually plausible yet physiologically unsafe. We investigate whether safety alignment can be improved by grounding preference optimization in structured physiological knowledge rather than in text-only supervision. Methods: We propose Neurosymbolic Alignment, a training-time framework that couples a 7B clinical LLM with an HGNN-based Physiological World Model over an 847K-node biomedical knowledge graph. Candidate responses are scored using homeostatic constraints, multi-hop path plausibility, and drug-interaction penalties, and the resulting rankings drive iterative on-policy ORPO updates. Evaluation is performed on the Clinical Safety Benchmark (CSB), a 2,500-scenario benchmark for physiological constraint violations in generative clinical reasoning. Results: Relative to ORPO, the proposed method improves CSS from 69.5% to 90.8% (+21.3 pp), reduces physician-evaluated HR from 14.1% to 5.1% on the blinded subset, and improves DID from 72.8% to 91.6%. These gains are corroborated by an HGNN-independent Rule-Engine Safety Score (RSS: 86.4%, +21.2 pp over ORPO; r=0.97 concordance with CSS). The method also exceeds GPT-4 (5-shot) on all safety metrics despite a 10× parameter disadvantage, and outperforms an inference-time self-correction pipeline (SFT+SelfCorrect) by 11.4 pp CSS. Under synthetic EHR-style noise, 84.2% CSS is retained. Ablation analysis shows that HGNN scoring (-16.2 pp) and iterative training (-11.5 pp) are the dominant contributors. PhysioScore calibration against 200 clinician labels yielded ECE = 0.038 and κ=0.91\kappa = 0.91. Conclusion: Training-time physiological grounding produces measurable and independently verifiable safety improvements in open-weight clinical LLMs under controlled evaluation. External validation on real clinical data is required to determine whether these gains transfer to deployment settings.

Index Terms—clinical safety, clinical language models, knowledge graphs, neurosymbolic AI, physiological constraints, drug-drug interactions.

I. INTRODUCTION

LARGE language models (LLMs) are increasingly studied for clinical question answering and decision support [1]–[3]. Despite strong fluency and broad medical knowledge, current systems can produce recommendations that are clinically plausible yet physiologically unsafe, including harmful drug combinations and homeostatic violations [4]–[6]. In safety-critical settings, such failures are consequential because they are often expressed with high confidence.

A key challenge is that many unsafe outputs are not strictly factual errors. A response may contain correct biomedical facts while still proposing an action that is incompatible with the implied patient state, for example by worsening hyperkalemia or ignoring context-dependent contraindications. Therefore, factual correctness alone is insufficient for clinical safety. Current mitigation strategies remain incomplete for this setting. Retrieval-augmented generation improves evidence access, and medical fine-tuning improves terminology and style, but neither directly enforces physiological consistency in multi-step recommendations. Preference optimization methods (DPO/ORPO/KTO/SimPO) are scalable alternatives to reward-model pipelines [7]–[10]; however, in medicine their effectiveness is constrained by the availability and quality of preference supervision for subtle relational violations.

To address this gap, we introduce a neurosymbolic training framework that derives preference signals from an explicit physiological world model. We construct a heterogeneous biomedical knowledge graph and train an HGNN-based feasibility scorer that combines homeostatic constraints with multi-hop relational evidence [11]–[14]. Candidate responses are scored for physiological plausibility, converted into preference pairs, and used for iterative on-policy ORPO updates. The design objective is to improve safety during training while keeping deployment simple: the HGNN scorer is used only during alignment, and inference uses the aligned LLM alone. This avoids graph-based runtime verification at deployment, at the cost of higher alignment-time compute due to iterative candidate generation and graph-based scoring.

Figure 1 summarizes the pipeline, from clinical query to candidate generation, graph-based feasibility scoring, and iterative policy updating. Key contributions are as follows:

  1. Physiology-grounded preference generation. We introduce a framework that derives structured preference signals from an HGNN-based Physiological World Model by combining homeostatic boundary constraints, multi-hop path plausibility, and drug-interaction penalties, thereby enabling scalable safety alignment without clinician-authored pair annotations.

  2. Iterative on-policy alignment. We present Iterative ORPO, an on-policy alignment scheme that regenerates preference pairs from the current policy at each iteration, reducing distributional staleness and surfacing progressively subtler constraint violations as coarser failures are resolved.

Manuscript submitted Month DD, YYYY. This submission is a J-BHI Dataset Paper.

A. A. Abdullah is with the Artificial Intelligence and Innovation Centre, University of Kurdistan Hewlër, Erbil, Iraq (e-mail: abdulhady.abas@ukh.edu.krd). Corresponding author.

E. Cambria is with the College of Computing and Data Science, Nanyang Technological University, Singapore 639798, and is also a Visiting Professor with the MIT Media Lab, Massachusetts Institute of Technology, Cambridge, MA 02139, USA (e-mail: cambria@ntu.edu.sg).

M. Živković is with the Department of Physics, Faculty of Science, University of Kragujevac, 34000 Kragujevac, Serbia (e-mail: milena.zivkovic@pmf.kg.ac.rs).

Figure

Fig. 1. Training-time neurosymbolic pipeline. The base LLM samples candidate clinical responses, the Physiological World Model scores their feasibility, and Iterative ORPO updates the policy. At inference, only the aligned LLM is used.

  1. Clinical Safety Benchmark. We release CSB, a controlled 2,500-scenario benchmark for probing physiological constraint violations in generative clinical reasoning, with standardized splits, severity labels, and reproducibility controls.

  2. Empirical evidence under controlled evaluation. Across 14 baselines spanning preference optimization, retrieval augmentation, rule-based guardrails, inference-time self-correction, and proprietary RLHF models, training-time physiological grounding achieves: (i) CSS 90.8% and RSS 86.4%, the highest on both HGNN-based and HGNN-independent safety metrics; (ii) physician-evaluated HR of 5.1% (-9.0 pp vs. ORPO; -4.7 pp vs. DrugBank-Rule); (iii) DID 91.6% (+18.8 pp vs. ORPO); (iv) superiority over GPT-4 (5-shot) on all safety metrics despite 10× fewer parameters; (v) 84.2% CSS under combined synthetic EHR-style noise; and (vi) consistent ablation support, with HGNN scoring (-16.2 pp) and iterative training (-11.5 pp) as dominant contributors. These results are demonstrated on the CSB benchmark and do not extend to real clinical data, which remains untested (see Section VI-B).

We frame this work as physiological alignment for generative clinical reasoning. In this setting, factual correctness and physiological safety are complementary but distinct: a statement may be factually correct yet unsafe for the patient-specific context implied by the prompt. Our method targets this second objective by producing structured, patient-state-aware preference signals from a physiological world model rather than relying on text-level plausibility alone.

References (23)