arXiv

ResMerge: Residual-based Spectral Merging of Large Language Models

Title: ResMerge: Leveraging Residuals for Spectral Merging in Large Language Models

Abstract

While model merging provides a training-free mechanism for integrating multiple post-trained expert models, combining experts derived from reinforcement learning (RL) presents significant difficulties. Conventional spectral merging techniques typically operate on the premise that the primary task signal resides within the leading singular directions, allowing lower-energy residual components to be compressed, filtered, or attenuated to minimize interference. However, our analysis reveals that this assumption is invalid for RL task vectors. Upon decomposing each task vector into a dominant spectral head and a residual component, we observe that both segments are capable of independently restoring substantial behavioral knowledge, yet they display distinct merging characteristics. Specifically, the head component is highly concentrated and informative but susceptible to sharp conflicts between experts. In contrast, the residual component is more dispersed, offering a more stable foundation for aggregation.

Drawing on these insights, we introduce ResMerge, a residual-based spectral merging framework designed specifically for RL experts. The framework initially establishes a robust residual backbone via Spherical Residual Consensus Adaptation, a process that calculates a reliability-weighted consensus direction on the Frobenius sphere. Subsequently, it incorporates leading-head information through a Lightweight Head Correction module, which is activated by positive cross-expert agreement. Evaluations across various RL expert groups and capability domains demonstrate that ResMerge outperforms representative task-vector and spectral merging baselines in preserving expert capabilities. The code for ResMerge is publicly accessible at https://github.com/sunyd0303-cpu/ResMerge-release.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...