NeFut Logo NeFut
Admin Login

[CS.AI] Breaking Hallucinations: Expert-Aware Contrast Decoding in MoE

Published at: 2026-07-25 22:00 Last updated: 2026-07-26 07:44
#AI #Machine Learning #Neural

Abstract

Existing LLM hallucination mitigation methods, including prompt engineering and model optimization, either hardly alter models' internal knowledge or have poor cross-domain generalization. Contrastive decoding mitigates hallucinations by using layer-wise differences in LLMs. However, prior studies only explore transformer-based models (e.g., GPT), ignoring other effective frameworks like mixture-of-experts (MoE) models. Since MoE alters the traditional transformer architecture, we conduct empirical studies to investigate whether similar layer-wise differences exist in MoEs.

Our results show that they do not exist in MoE with shared experts; nevertheless, across different MoEs, higher layers exhibit distinct expert activation patterns between factual and non-factual outputs. Building on these, we propose EAACD, an expert-aware adaptive contrast decoding that uses expert differences in MoE's higher layers to mitigate hallucinations on QA tasks.

EAACD splits high-layer experts into a higher-reliability group and several lower-reliability groups based on their confidence and consistency. It contrasts the higher-reliability group's prediction with each lower-reliability group's prediction to calibrate the model's original predictions. To strengthen this contrast, EAACD amplifies hallucinations from lower-reliability experts via attention and masking to provide stronger negative references. EAACD outperforms all baselines on four datasets.

Blogger's Review: This study presents an innovative expert-aware contrast decoding approach, offering a new perspective for alleviating hallucination issues in large language models. By leveraging the unique characteristics of the MoE structure, EAACD demonstrates its potential to enhance prediction reliability in QA tasks, warranting further exploration in practical applications.

Original Source: https://arxiv.org/abs/2607.20426

[h] Back to Home