Local Mixtures of Experts: Essentially Free Test-Time Training via Model Merging

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Bertolissi, Ryo, Hübotter, Jonas, Hakimi, Ido, Krause, Andreas
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911083202084864
author Bertolissi, Ryo
Hübotter, Jonas
Hakimi, Ido
Krause, Andreas
author_facet Bertolissi, Ryo
Hübotter, Jonas
Hakimi, Ido
Krause, Andreas
contents Mixture of expert (MoE) models are a promising approach to increasing model capacity without increasing inference cost, and are core components of many state-of-the-art language models. However, current MoE models typically use only few experts due to prohibitive training and inference cost. We propose Test-Time Model Merging (TTMM) which scales the MoE paradigm to an order of magnitude more experts and uses model merging to avoid almost any test-time overhead. We show that TTMM is an approximation of test-time training (TTT), which fine-tunes an expert model for each prediction task, i.e., prompt. TTT has recently been shown to significantly improve language models, but is computationally expensive. We find that performance of TTMM improves with more experts and approaches the performance of TTT. Moreover, we find that with a 1B parameter base model, TTMM is more than 100x faster than TTT at test-time by amortizing the cost of TTT at train-time. Thus, TTMM offers a promising cost-effective approach to scale test-time training.
format Preprint
id arxiv_https___arxiv_org_abs_2505_14136
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Local Mixtures of Experts: Essentially Free Test-Time Training via Model Merging
Bertolissi, Ryo
Hübotter, Jonas
Hakimi, Ido
Krause, Andreas
Machine Learning
Artificial Intelligence
Mixture of expert (MoE) models are a promising approach to increasing model capacity without increasing inference cost, and are core components of many state-of-the-art language models. However, current MoE models typically use only few experts due to prohibitive training and inference cost. We propose Test-Time Model Merging (TTMM) which scales the MoE paradigm to an order of magnitude more experts and uses model merging to avoid almost any test-time overhead. We show that TTMM is an approximation of test-time training (TTT), which fine-tunes an expert model for each prediction task, i.e., prompt. TTT has recently been shown to significantly improve language models, but is computationally expensive. We find that performance of TTMM improves with more experts and approaches the performance of TTT. Moreover, we find that with a 1B parameter base model, TTMM is more than 100x faster than TTT at test-time by amortizing the cost of TTT at train-time. Thus, TTMM offers a promising cost-effective approach to scale test-time training.
title Local Mixtures of Experts: Essentially Free Test-Time Training via Model Merging
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2505.14136