Research Papers 论文研究 16h ago Updated 2h ago 更新于 2小时前 47

Knowledge Injection Exists in MoE? Exploring Expert-Aware Contrast Decoding in MoE for Mitigating LLMs'Hallucinations MoE中存在知识注入吗?探索专家感知的对比解码在MoE中缓解LLM幻觉

The study investigates whether layer-wise differences, previously observed in standard Transformers, exist in Mixture-of-Experts (MoE) architectures for hallucination mitigation. Empirical results indicate that while shared-expert MoEs lack these differences, distinct expert activation patterns emerge in higher layers between factual and non-factual outputs across different MoE models. The authors propose Expert-Aware Adaptive Contrast Decoding (EAACD), a method that splits high-layer experts in 现有幻觉缓解方法在改变内部知识或跨域泛化方面存在局限,且此前对比解码研究多局限于Transformer架构。 实证研究表明MoE模型中不存在类似Transformer的层间差异,但高层专家在事实与非事实输出间表现出独特的激活模式差异。 提出EAACD(专家感知自适应对比解码),利用MoE高层专家的可靠性分组进行预测校准以抑制幻觉。 EAACD通过注意力机制和掩码放大低可靠性专家的幻觉信号作为强负参考,并在四个数据集上超越所有基线。

65
Hot 热度
70
Quality 质量
68
Impact 影响力

Analysis 深度分析

TL;DR

  • The study investigates whether layer-wise differences, previously observed in standard Transformers, exist in Mixture-of-Experts (MoE) architectures for hallucination mitigation.
  • Empirical results indicate that while shared-expert MoEs lack these differences, distinct expert activation patterns emerge in higher layers between factual and non-factual outputs across different MoE models.
  • The authors propose Expert-Aware Adaptive Contrast Decoding (EAACD), a method that splits high-layer experts into reliability groups to calibrate predictions through contrastive decoding.
  • EAACD amplifies hallucinations from lower-reliability experts via attention masking to create stronger negative references, significantly outperforming baselines on four QA datasets.

Why It Matters

This research bridges a critical gap by extending contrastive decoding techniques, previously limited to dense Transformer models, to the increasingly popular MoE architecture. It provides empirical evidence that expert activation patterns can serve as a reliable signal for detecting and mitigating hallucinations without requiring model retraining. For practitioners, this offers a plug-in inference-time solution to improve the factual accuracy of MoE-based LLMs.

Technical Details

  • Empirical Analysis: The authors analyze layer-wise differences in MoE models, finding that shared experts do not exhibit the same patterns as dense layers, but higher layers show distinct activation distributions for factual vs. non-factual outputs.
  • EAACD Mechanism: The proposed method divides high-layer experts into a "higher-reliability" group and multiple "lower-reliability" groups based on confidence and consistency metrics.
  • Contrastive Calibration: Predictions from the higher-reliability group are contrasted with those from lower-reliability groups to adjust the final output probabilities.
  • Hallucination Amplification: To enhance the contrast effect, the method uses attention mechanisms and masking to amplify the errors or hallucinations generated by lower-reliability experts, providing clearer negative signals.
  • Evaluation: The approach is validated on four question-answering datasets, demonstrating superior performance compared to existing baseline methods.

Industry Insight

  • Inference-Time Optimization: Organizations using MoE models can adopt EAACD to reduce hallucinations without the cost of fine-tuning or retraining, making it a scalable solution for production environments.
  • Architectural Specificity: Developers must recognize that techniques effective for dense Transformers may not directly transfer to MoEs; understanding expert activation dynamics is crucial for optimizing next-generation sparse models.
  • Reliability Grouping Strategy: The concept of dynamically grouping experts by reliability during inference could inspire new adaptive decoding strategies for other model types beyond MoEs.

TL;DR

  • 现有幻觉缓解方法在改变内部知识或跨域泛化方面存在局限,且此前对比解码研究多局限于Transformer架构。
  • 实证研究表明MoE模型中不存在类似Transformer的层间差异,但高层专家在事实与非事实输出间表现出独特的激活模式差异。
  • 提出EAACD(专家感知自适应对比解码),利用MoE高层专家的可靠性分组进行预测校准以抑制幻觉。
  • EAACD通过注意力机制和掩码放大低可靠性专家的幻觉信号作为强负参考,并在四个数据集上超越所有基线。

为什么值得看

本文填补了MoE架构下大语言模型幻觉缓解研究的空白,揭示了MoE特有的专家激活规律。提出的EAACD方法为优化MoE模型的生成可靠性提供了新的技术路径,对提升复杂问答任务的表现具有重要参考价值。

技术解析

  • 核心发现:针对MoE架构进行实证分析,确认共享专家MoE中无传统层间差异,但高层不同MoE间的事实/非事实输出存在显著的专家激活模式区别。
  • EAACD机制:基于置信度和一致性将高层专家划分为高可靠性组和多个低可靠性组,通过对比高可靠性组的预测与低可靠性组的预测来校准原始输出。
  • 增强策略:利用注意力机制和掩码技术放大低可靠性专家产生的幻觉信号,使其成为更强的负向参考信号,从而更有效地抑制错误生成。
  • 实验验证:在四个基准数据集上进行测试,EAACD在QA任务的幻觉缓解效果上均优于现有基线方法。

行业启示

  • MoE架构的特性决定了其幻觉缓解策略不能直接套用Transformer的方法,需针对专家激活模式设计专用算法。
  • 利用模型内部的“不确定性”或“低可靠性”信号作为负反馈来源,是一种有效的生成校准思路,可应用于其他生成式任务。
  • 随着MoE模型在工业界的广泛应用,针对其特定架构的鲁棒性优化将成为提升模型可信度的关键研究方向。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 Research 科学研究 Inference 推理