LLM-CAS: Dynamic Neuron Perturbation for Real-Time Hallucination Correction

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Jensen, Liu, Ningyuan, Fan, Yijia, Huang, Zihao, Zeng, Qinglin, Cai, Kaitong, Wang, Jian, Wang, Keze
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917160464416768
author Zhang, Jensen
Liu, Ningyuan
Fan, Yijia
Huang, Zihao
Zeng, Qinglin
Cai, Kaitong
Wang, Jian
Wang, Keze
author_facet Zhang, Jensen
Liu, Ningyuan
Fan, Yijia
Huang, Zihao
Zeng, Qinglin
Cai, Kaitong
Wang, Jian
Wang, Keze
contents Large language models (LLMs) often generate hallucinated content that lacks factual or contextual grounding, limiting their reliability in critical applications. Existing approaches such as supervised fine-tuning and reinforcement learning from human feedback are data intensive and computationally expensive, while static parameter editing methods struggle with context dependent errors and catastrophic forgetting. We propose LLM-CAS, a framework that formulates real-time hallucination correction as a hierarchical reinforcement learning problem. LLM-CAS trains an agent to learn a policy that dynamically selects temporary neuron perturbations during inference based on the current context. Unlike prior dynamic approaches that rely on heuristic or predefined adjustments, this policy driven mechanism enables adaptive and fine grained correction without permanent parameter modification. Experiments across multiple language models demonstrate that LLM-CAS consistently improves factual accuracy, achieving gains of 10.98 percentage points on StoryCloze, 2.71 points on TriviaQA, and 2.06 points on the MC1 score of TruthfulQA. These results outperform both static editing methods such as ITI and CAA and the dynamic SADI framework. Overall, LLM-CAS provides an efficient and context aware solution for improving the reliability of LLMs, with promising potential for future multimodal extensions.
format Preprint
id arxiv_https___arxiv_org_abs_2512_18623
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LLM-CAS: Dynamic Neuron Perturbation for Real-Time Hallucination Correction
Zhang, Jensen
Liu, Ningyuan
Fan, Yijia
Huang, Zihao
Zeng, Qinglin
Cai, Kaitong
Wang, Jian
Wang, Keze
Computation and Language
Artificial Intelligence
Large language models (LLMs) often generate hallucinated content that lacks factual or contextual grounding, limiting their reliability in critical applications. Existing approaches such as supervised fine-tuning and reinforcement learning from human feedback are data intensive and computationally expensive, while static parameter editing methods struggle with context dependent errors and catastrophic forgetting. We propose LLM-CAS, a framework that formulates real-time hallucination correction as a hierarchical reinforcement learning problem. LLM-CAS trains an agent to learn a policy that dynamically selects temporary neuron perturbations during inference based on the current context. Unlike prior dynamic approaches that rely on heuristic or predefined adjustments, this policy driven mechanism enables adaptive and fine grained correction without permanent parameter modification. Experiments across multiple language models demonstrate that LLM-CAS consistently improves factual accuracy, achieving gains of 10.98 percentage points on StoryCloze, 2.71 points on TriviaQA, and 2.06 points on the MC1 score of TruthfulQA. These results outperform both static editing methods such as ITI and CAA and the dynamic SADI framework. Overall, LLM-CAS provides an efficient and context aware solution for improving the reliability of LLMs, with promising potential for future multimodal extensions.
title LLM-CAS: Dynamic Neuron Perturbation for Real-Time Hallucination Correction
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2512.18623