Noise Augmented Fine Tuning for Mitigating Hallucinations in Large Language Models

Afshin Khadangi, Amir Sartipi, Igor Tchappi, Ramin Bahmani
4/4/2025
cs.CLcs.AI

No official code found. Best implementation: akhadangi/NoiseFiT (0 stars, MIT, last commit 2025-08-07).

Abstract

Large language models (LLMs) often produce inaccurate or misleading content-hallucinations. To address this challenge, we introduce Noise-Augmented Fine-Tuning (NoiseFiT), a novel framework that leverages adaptive noise injection based on the signal-to-noise ratio (SNR) to enhance model robustness. In particular, NoiseFiT selectively perturbs layers identified as either high-SNR (more robust) or low-SNR (potentially under-regularized) using a dynamically scaled Gaussian noise. We further propose a hybrid loss that combines standard cross-entropy, soft cross-entropy, and consistency regularization to ensure stable and accurate outputs under noisy training conditions. Our theoretical analysis shows that adaptive noise injection is both unbiased and variance-preserving, providing strong guarantees for convergence in expectation. Empirical results on multiple test and benchmark datasets demonstrate that NoiseFiT significantly reduces hallucination rates, often improving or matching baseline performance in key tasks. These findings highlight the promise of noise-driven strategies for achieving robust, trustworthy language modeling without incurring prohibitive computational overhead. Given the comprehensive and detailed nature of our experiments, we have publicly released the fine-tuning logs, benchmark evaluation artifacts, and source code online at W&B, Hugging Face, and GitHub, respectively, to foster further research, accessibility and reproducibility.

View on arXivView PDF

Code Implementations(1)

akhadangi/NoiseFiTCommunity100%
MIT

NoiseFiT

00PythonApr 1, 20251 years agoMIT

Similar Papers

Cite this paper

@article{khadangi2025noise,
  title  = {Noise Augmented Fine Tuning for Mitigating Hallucinations in Large Language Models},
  author = {Afshin Khadangi and Amir Sartipi and Igor Tchappi and Ramin Bahmani},
  year   = {2025},
  eprint = {2504.03302},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.03302v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.03302.svg)](https://codeofpaper.com/paper/2504.03302)

Discussion