Multi-Adapter Representation Interventions via Energy Calibration

Manjiang Yu, Hongji Li, Junwei Chen, Xue Li, Priyanka Singh +2 more
5/27/2026
1 citation
cs.AI

Official code: V1centNevwake/MARI (0 stars, Python, last commit 2026-05-29).

Abstract

Representation intervention has emerged as a promising paradigm for aligning large language models toward desired behaviors without modifying model weights. Existing methods typically apply a fixed intervention uniformly across all inputs.

Show full abstract

However, we find that the appropriate intervention direction and strength vary substantially across samples, and such indiscriminate intervention leads to degradation of general capabilities on benign inputs. To address these challenges, we propose Multi-Adapter Representation Interventions via Energy Calibration (MARI). Specifically, we introduce a competitive multi-adapter mechanism in which specialized experts capture non-linear correction patterns and adaptively determine the appropriate intervention direction and strength for different samples. Furthermore, we design an energy-based gating module that leverages internal propagation dynamics to distinguish inputs that are applicable for intervention. Extensive experiments across diverse model families and parameter scales demonstrate that MARI achieves state-of-the-art alignment performance. Our method significantly improves performance on TruthfulQA, BBQ, and safety benchmarks, while maintaining and even improving general capabilities on tasks such as MMLU and ARC. Our code is available at https://github.com/V1centNevwake/MARI.

View on arXivView PDF

Code Implementations(1)

V1centNevwake/MARIOfficial100%
00Python, ShellMay 27, 20266 months ago

Similar Papers

Cite this paper

@article{yu2026multiadapter,
  title  = {Multi-Adapter Representation Interventions via Energy Calibration},
  author = {Manjiang Yu and Hongji Li and Junwei Chen and Xue Li and Priyanka Singh and Yang Cao and Lijie Hu},
  year   = {2026},
  eprint = {2605.28722},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.28722v1}
}

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/2605.28722.svg)](https://codeofpaper.com/paper/2605.28722)

Discussion