paper-with-me

홈 › Papers

Mixture of Tunable Experts - Behavior Modification of DeepSeek-R1 at Inference Time

2025-02-16 · Robert Dahlke, Henrik Klagges, Dan Zecha, Benjamin Merkel, Sven Rohr, Fabian Klemm

We present the Mixture-of-Tunable-Experts (MoTE), a method that extends the Mixture-of-Experts architecture of Large Language Models (LLMs). Without additional training, MoTE enables meaningful and focused behavior changes in LLMs on-the-fly during inference time. By analyzing the digital LLM brain of DeepSeek-R1 using a technique we dub 'functional Token Resonance Imaging' (fTRI) - inspired by fMRI and using prompts designed to elicit specific behavior (e.g., 'What happened {time}{place}?') - we empirically identify distinctive experts associated with behaviors like refusal responses. Using MoTE we are able to intervene and control such specific behavior. We switched off the top 10 most refusal-relevant experts (0.07% of R1's 14,848 routed experts), achieving a 52% refusal reduction on sensitive reference prompts without performance degradation on MT-Bench. Random expert deactivation resulted in smaller behavioral shifts with increased noise, whereas forced expert activation led to significantly higher refusal rates. Our approach shares similarities with sparse autoencoders (SAEs) in terms of explainability and steerability. Unlike SAEs, MoTE does not require large training efforts, as within MoEs with a vast number of experts, specialization already emerged naturally during pretraining. Our findings suggest that significant functional mechanisms in Mixture-of-Experts architectures can at least partially be localized in a small number of specific experts, rather than being distributed throughout the model's weights. Expert subgroups can be tuned to trigger significant behavior variations, providing insights into the inner workings of LLMs.

📄 PDF Abstract BibTeX arXiv:2502.11096

Code (0)

등록된 구현이 없습니다.

Tasks

Mixture-of-Experts

Similar Papers 제목 키워드 기반

Tying the Loop -- Tied Expert Layers in Mixture-of-Experts Language Models

2026-06-15 · Martin Jaggi arxiv

Mixture-of-Experts (MoE) architectures efficiently scale Large Language Models (LLMs) by activating only a small fraction of their experts per token, yet the full parameter count - dominated by the expert parameters - mu…

Meta-Learning Where to Allocate Experts: Task-Conditioned Layer-Wise Compression for MoEs

2026-08-27 · Rongfeng Wang, Shichao Weng, Zhiqiang Wang, Xinyu Liu 외 arxiv

Mixture-of-Experts (MoE) models route each token to a subset of expert networks, increasing capacity while keeping per-token computation sparse. In many deployed MoEs, the number of active experts is fixed across layers …

DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models

2024-01-11 · Damai Dai, Chengqi Deng, Chenggang Zhao, R. X. Xu 외

In the era of large language models, Mixture-of-Experts (MoE) is a promising architecture for managing computational costs when scaling up model parameters. However, conventional MoE architectures like GShard, which acti…

Language ModellingLarge Language ModelMixture-of-Experts

DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model

2024-05-07 · DeepSeek-AI, Aixin Liu, Bei Feng, Bin Wang 외

We present DeepSeek-V2, a strong Mixture-of-Experts (MoE) language model characterized by economical training and efficient inference. It comprises 236B total parameters, of which 21B are activated for each token, and su…

Language ModelingLanguage ModellingMixture-of-ExpertsReinforcement Learning (RL)

On DeepSeekMoE: Statistical Benefits of Shared Experts and Normalized Sigmoid Gating

2025-05-16 · Huy Nguyen, Thong T. Doan, Quang Pham, Nghi D. Q. Bui 외

Mixture of experts (MoE) methods are a key component in most large language model architectures, including the recent series of DeepSeek models. Compared to other MoE implementations, DeepSeekMoE stands out because of tw…

Language ModelingLanguage ModellingLarge Language ModelMixture-of-Experts