CAMEx: Curvature-aware Merging of Experts

Nguyen Viet Dung, Minh H. Nguyen, Luc Q. Nguyen, Rachel S. Y. Teo, Tan M. Nguyen +1 more
2/12/2026

No official code found. Best implementation: kpup1710/CAMEx (24 stars, last commit 2025-03-01).

Abstract

Existing methods for merging experts during model training and fine-tuning predominantly rely on Euclidean geometry, which assumes a flat parameter space. This assumption can limit the model's generalization ability, especially during the pre-training phase, where the parameter manifold might exhibit more complex curvature. Curvature-aware merging methods typically require additional information and computational resources to approximate the Fisher Information Matrix, adding memory overhead. In this paper, we introduce CAMEx (Curvature-Aware Merging of Experts), a novel expert merging protocol that incorporates natural gradients to account for the non-Euclidean curvature of the parameter manifold. By leveraging natural gradients, CAMEx adapts more effectively to the structure of the parameter space, improving alignment between model updates and the manifold's geometry. This approach enhances both pre-training and fine-tuning, resulting in better optimization trajectories and improved generalization without the substantial memory overhead typically associated with curvature-aware methods. Our contributions are threefold: (1) CAMEx significantly outperforms traditional Euclidean-based expert merging techniques across various natural language processing tasks, leading to enhanced performance during pre-training and fine-tuning; (2) we introduce a dynamic merging architecture that optimizes resource utilization, achieving high performance while reducing computational costs, facilitating efficient scaling of large language models; and (3) we provide both theoretical and empirical evidence to demonstrate the efficiency of our proposed method. The code is publicly available at: https://github.com/kpup1710/CAMEx.

View on arXivView PDF

Code Implementations(1)

kpup1710/CAMExCommunity100%

[ICLR 2025] CAMEx: Curvature-Aware Merging of Experts

240C, C++Mar 1, 20251 years ago
machine-learningmixture-of-expertsmodel-merging

Similar Papers

Cite this paper

@article{dung2026camex,
  title  = {CAMEx: Curvature-aware Merging of Experts},
  author = {Nguyen Viet Dung and Minh H. Nguyen and Luc Q. Nguyen and Rachel S. Y. Teo and Tan M. Nguyen and L. Tran},
  year   = {2026},
  eprint = {2502.18821},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.18821},
  journal = {ICLR 2025 2025}
}

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

Discussion