NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

H3Fusion: Helpful, Harmless, Honest Fusion of Aligned LLMs

Selim Furkan Tekin, Fatih Ilhan, Tiansheng Huang, Sihao Hu, Zachary Yahn, Ling Liu · DOI

Abstract

Aligning Large Language Models (LLMs) to be simultaneously helpful, harmless, and honest (HHH) often results in an "alignment tax," where optimizing for one property degrades others. We present H3Fusion, a Mixture-of-Experts (MoE) framework that integrates specialized LLMs into a single system. By employing drift-aware regularization and gating losses, H3Fusion dynamically balances these competing objectives. Our results show that H3Fusion outperforms standard model-merging and ensemble techniques, achieving superior robustness across all HHH dimensions.

Introduction

The challenge of LLM alignment is frequently a balancing act. Fine-tuning for harmlessness can lead to "over-refusal," reducing helpfulness, while prioritizing helpfulness may increase the risk of hallucinations or unsafe content. This tension arises because finding a single parameter set that satisfies all HHH properties is mathematically complex. H3Fusion addresses this by moving beyond simple weight averaging to a dynamic MoE architecture that preserves and coordinates specialized expertise.

Overview of the H3Fusion pipeline across four stages: Pre-Alignment, MoE-Merging, H3Fusion training, and Inference.

Methodology

The H3Fusion framework operates in four distinct stages to achieve multi-objective alignment, as illustrated in Figure 1.

Stage-1: Pre-Alignment

Three versions of a base LLM (e.g., LLaMA-2 7B) are independently fine-tuned on datasets specific to helpfulness, harmlessness, and honesty.

Stage-2: MoE Integration

The standard Feed-Forward Network (FFN) layers in the transformer blocks are replaced with MoE layers. The "experts" are initialized with the pre-aligned FFN weights from the three specialized models rather than being randomly initialized.

Stage-3: Expert-Tuned Alignment

The model is fine-tuned on a mixed dataset ($D_{mix}$) using two novel loss functions:

  • Drift-aware Regularization Loss ($L_R$): This treats alignment as a controllable "drift" in the embedding subspace. It allows researchers to adjust the influence of specific experts, preventing one property (like safety) from overwhelming others.
  • Gating Loss ($L_G$): This "canalizes" the activations, training the router to select the most appropriate expert (e.g., the "Harmless" expert) when faced with a specific type of input.

Stage-4: Inference

During inference, the router dynamically allocates weights to experts based on the prompt's nature, ensuring the response adheres to HHH principles.

Experimental Setup

We evaluated H3Fusion using three primary benchmarks:

  • Helpfulness: Alpaca-Eval (GPT-4o win rates).
  • Harmlessness: BeaverTails (flagged output ratio).
  • Honesty: TruthfulQA (Truthfulness × Informativeness).

Results and Discussion

H3Fusion demonstrates significant performance gains over existing methods. It outperformed individually aligned models by an average of 11.37% and surpassed model-merging techniques like DARE by 6.18%.

Analysis of the effects of Gating Loss and Regularization on performance and expert activation patterns.

Key Insights

  • The "Drift" Perspective: Framing alignment as a controllable drift allows for surgical adjustments to the model's behavior via the regularization constant ($\gamma$).
  • Router Canalization: The gating loss is critical for functional specialization. As shown in Figure 2, it ensures the router effectively delegates tasks to the correct experts rather than selecting them randomly.
  • Parameter Efficiency: H3Fusion (7B) outperformed a standard LLaMA-2 13B model, suggesting that structural specialization is more effective than raw scale for multi-task alignment.

Conclusion and Future Work

H3Fusion provides a robust framework for balancing the "Big Three" of LLM alignment. Future research will explore handling multi-label prompts where a single query may involve multiple HHH dimensions simultaneously, and integrating Retrieval-Augmented Generation (RAG) to further enhance honesty.

Summary updated

BibTeX
@misc{tekin2024h,
  author = {Selim Furkan Tekin and Fatih Ilhan and Tiansheng Huang and Sihao Hu and Zachary Yahn and Ling Liu},
  title = {{H3Fusion: Helpful, Harmless, Honest Fusion of Aligned LLMs}},
  year = {2024},
  eprint = {2411.17792},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.17792},
}
Figure