atlas

Research map / Architectures and efficiency / Mixture of experts

Your Mixture-of-Experts LLM Is Secretly an Embedding Model for Free

ICLR 2025 · Architectures and efficiency › Mixture of experts · approach: Efficient MoE language model systems · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that MoE routing weights (RW) from pretrained MoE LLMs act as a training-free embedding that is complementary to hidden states, and proposes MoEE, a weighted sum of RW and HS similarities that improves MTEB performance without finetuning.

Problem

Decoder-only LLMs give weak training-free embeddings from hidden states, which are biased toward next-token prediction and sensitive to prompt choice; it is unclear whether pretrained LLMs can serve as generalist embedding models without representation finetuning.

Approach

Use the expert routing weights of MoE LLMs (concatenated across all layers, last token) as an embedding that is complementary to and more prompt-robust than hidden states, and combine them via a weighted sum of their cosine similarities (MoEE sum).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
combine RW and HS using weighted-sum similarityDeepSeekMoE-16B embeddings · MTEB average, no promptaverage score: 35.36 -> 43.30Helped
combine RW and HS using weighted-sum similarityQwen1.5-MoE-A2.7B embeddings · MTEB average, no promptaverage score: 35.18 -> 42.25Helped
combine RW and HS using weighted-sum similarityDeepSeekMoE-16B embeddings · MTEB average, PromptEOLaverage score: 42.30 -> 53.28Helped
use last-token routing weights instead of averaging routing weights across tokens (ablation)DeepSeekMoE-16B RW embedding · STS12-16 averageSpearman correlation: 46.03 -> 61.18Helped
use last-token hidden state from the last layer instead of mean-pooling all tokens from the last layer (ablation)DeepSeekMoE-16B HS embedding · STS12-16 averageSpearman correlation: 32.78 -> 60.40Helped
use hidden states from all layers rather than only the last layer, for last-token extraction (ablation)DeepSeekMoE-16B HS embedding · STS12-16 averageSpearman correlation: 60.40 -> 55.03Hurt
combine RW and HSMoEE embeddings · MTEB tasksperformanceHelped
use PromptEOL promptsMoEE · MTEB averageaverage score: 25.96% improvement for DeepSeekMoEHelped

Surprising findings

Limitations

Experimental setup

Datasets: STS12 STS13 STS14 STS15 STS16 STS12 (sentence pairs for Spearman correlation analysis)

Benchmarks: MTEB

Metrics: Accuracy V-Measure Average Precision Mean Average Precision nDCG Spearman correlation

Baselines: Hidden State (HS) Routing Weight (RW) Glove Komninos BERT SimCSE-BERT-unsup SimCSE-BERT-sup coCondenser-msmarco SPECTER

Builds on: PromptEOL Mixture-of-Experts BERTopic

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy