arXiv:2610.03482cs.CLOct 2026

Manuscript Offprint

arXiv:2610.03482

Single-Pass Uncertainty Heads for Claim-Level Hallucination Detection in Persian Medical Language Models

Mehrdad Ghassabi, Pedram Rostami, Hamidreza Baradaran Kashani, Sadra Hakim, Audrina Ebrahimi

1 st^{st} Mehrdad Ghassabi

Faculty of Computer Engineering

University of Isfahan

Isfahan, Iran

m.ghassabi@eng.ui.ac.ir

2 nd^{nd} Pedram Rostami

School of Electrical and Computer Engineering

University of Tehran

Tehran, Iran

pedram.rostami@ut.ac.ir

3 rd^{rd} Hamidreza Baradaran Kashani

Faculty of Computer Engineering

University of Isfahan

Isfahan, Iran

hrb.kashani@eng.ui.ac.ir

4th4^{th} Sadra Hakim

School of Computer Science

University of Windsor

Windsor, Canada

hakim6@uwindsor.ca

5th5^{th} Audrina Ebrahimi

Center for Brain Health

University of Texas at Dallas

TX, US

audrina.ebrahimi@utdallas.edu

Abstract—Hallucination detection is particularly important for medical language models, but repeated-sampling approaches are expensive and existing uncertainty-head resources do not directly transfer to a new backbone and language. We adapt the LLM Uncertainty Head (LUH) framework to Aya-Expanse-8B-based Persian medical models, using Gaokerena-V and Gaokerena-R as two previously developed backbones. We first examine response variability on a 168-question Iranian medical entrance examination and observe substantially lower five-run consistency for Gaokerena-V than for Aya-Expanse-8B, whereas Gaokerena-R is comparable to Aya-Expanse-8B. We then construct two paired claim-level hallucination datasets directly in Persian, containing 1,600 responses for each backbone, and train lightweight claim-level heads on frozen backbone attention maps and token probabilities. On held-out test splits, the heads obtain PR-AUCs of 0.4820 and 0.4652, corresponding to 2.30 and 2.66 times their respective random baselines, and ROC-AUCs of 0.7852 and 0.7810. The heads require neither retrieval nor repeated sampling at inference time. These results provide an initial study of single-pass claim-level uncertainty estimation for Persian medical language models; the test splits are small and the labels are automatically generated.

Index Terms—Small Language Models, Uncertainty Quantification, Hallucination Detection, Low-Resource Language, Persian

I. INTRODUCTION

Large language models are increasingly used in settings where unreliable outputs can be costly, making uncertainty estimation and hallucination detection important. This challenge is especially relevant for low-resource languages, where language-specific evaluation resources and tools remain limited. In medical question answering, even a strong generator can produce individual unsupported claims, so a detector that identifies claims requiring verification can provide a useful safety signal without modifying the generator itself.

A common approach to uncertainty estimation is to generate multiple responses and measure their agreement. Consistency-based methods can be informative, but repeated sampling increases inference cost and generally produces a response-level signal rather than a direct claim-level warning. White-box models offer another possibility: internal signals such as attention patterns and token probabilities can be processed by an auxiliary head to estimate uncertainty while preserving the original generator and avoiding multiple generations.

In this work, we adapt the LLM Uncertainty Head (LUH) framework of Shelmanov et al. [11] to the Aya-Expanse-8B backbone and Persian medical generation. We study two previously developed Persian medical models, Gaokerena-V and Gaokerena-R [9], [10], but the present work focuses on the uncertainty-estimation layer rather than on the construction of those models. Their medical adaptation and reasoning-data construction are described in our earlier work.

Our study addresses three practical questions. First, do the Aya-Expanse-derived models exhibit sufficient response variability to motivate an uncertainty estimator beyond repeated-sampling consistency? Second, can LUH-style claim-level supervision be constructed directly in Persian rather than translated from an English resource? Third, can lightweight heads learn a useful hallucination signal from backbone-internal features for two related but differently trained Persian medical backbones?

Our contributions are:

  1. We characterize response variability of Aya-Expanse-8B, Gaokerena-V, and Gaokerena-R on a fixed 168-question Iranian medical entrance examination, using explicitly defined accuracy, consistency, and entropy measures, which motivates a single-pass alternative to repeated-sampling consistency estimates.

  2. We construct two paired claim-level hallucination datasets directly in Persian, with 1,600 responses per backbone, and develop the corresponding token-level supervision for Aya-Expanse-8B tokenization.

  3. We train and evaluate lightweight claim-level uncertainty heads for Gaokerena-V and Gaokerena-R. The heads obtain ROC-AUCs of 0.7852 and 0.7810 and PR-AUCs that are 2.30 and 2.66 times their respective random baselines.