TEXAS: Task-Expert-Aware Supervision for Downstream Mixture-of-Experts LLM Adaptation

Guanzhi Deng, Haibo Wang, Kuan Wu, Xiangru Jian, Shing Yin Wong, Sichun Luo, Zhuoran Wang, Linqi SongarXiv 2026

TL;DR

TEXAS (Task-Expert-Aware Supervision) is a novel downstream adaptation framework for Mixture-of-Experts (MoE) large language models. By identifying "task experts" based on whether their activation correlates with successful problem-solving rather than raw usage frequency, TEXAS dynamically upweights token-level supervision during fine-tuning. This approach consistently improves downstream performance across multiple architectures and benchmarks without imposing rigid routing constraints.

What Problem Does This Paper Address?

Mixture-of-Experts (MoE) architectures scale the capacity of large language models by routing individual tokens to a sparse subset of specialized sub-networks ("experts"). When fine-tuning these models for specific downstream tasks (like coding or mathematical reasoning), it is crucial to identify and optimize the most task-relevant experts.

Current adaptation methods typically identify these key experts using aggregate routing statistics, such as how frequently an expert is selected across a dataset. However, the authors demonstrate a critical flaw in this assumption: high usage frequency does not equal competence.

Figure 1: Aggregate activation frequency does not reliably identify experts associated with successful downstream task completion. Each panel uses the corresponding training set in Table 1, and each point is an OLMoE layer–expert pair. The axes show aggregate answer-token activation frequency and SuccessGap, defined as the activation-frequency difference between base-model successful and failed instances. Blue and orange points denote experts selected by ESFT-Token with p = 0.2 (Wang et al. 2024), separated by positive and negative SuccessGap, respectively.

As shown in Figure 1, many highly frequent experts exhibit a negative "SuccessGap"—meaning they are actually activated more often when the model fails an instance than when it succeeds. Conversely, some rarely selected experts are strongly tied to successful task completion. Furthermore, existing methods tend to freeze unselected experts or force rigid routing distributions, underutilizing expert activation patterns as a direct signal for training supervision.

Methods

The authors introduce TEXAS, which splits downstream adaptation into two tightly coupled phases:

  1. Correctness-Conditioned Task Expert Discovery: The training data is split into successful ($D^+$) and failed ($D^-$) subsets based on the base model's initial performance. Through teacher-forced forward passes, the instance-level activation rates of each expert are collected. A one-sided Welch's t-test (with Benjamini–Hochberg false discovery rate correction) identifies experts significantly more active in successful instances than failed ones. A candidate filtering step retains the top-$K$ most active experts to form the final task-expert set ($E_{task}$).

  2. Task-Expert-Aware Supervision: Instead of freezing experts or modifying the router's objective directly, TEXAS alters the token-level loss function during fine-tuning. For training instances that the base model originally failed ($D^-$), TEXAS checks if the current token's routing path activates any discovered task expert. If it does, the cross-entropy loss for that specific token is upweighted by a factor of $\alpha$ (default $\alpha = 1.2$).

Figure 2: Overview of TEXAS. We first split training instances according to base-model success and failure, and identify task experts through correctness-conditioned activation differences with candidate filtering. During fine-tuning, TEXAS increases the supervision weight of answer tokens whose current computation paths activate the discovered task experts.

Datasets

The framework was evaluated using three open-source MoE models (DeepSeek-V2-Lite, OLMoE-1B-7B, and Qwen1.5-MoE-A2.7B) across six distinct training and evaluation dataset pairs:

  • Mathematical Reasoning: MetaMathQA adapted to GSM8K and MATH500.
  • Code Generation: CodeAlpaca and OpenCodeInstruct adapted to HumanEval and MBPP.
  • General Knowledge: MMLU-train adapted to MMLU-test.
  • Instruction Following: RECAST-30K adapted to IFEval.

No new benchmarks were introduced; the authors relied on these standard, widely accepted evaluation sets.

Key Insights and Ideas

  • The "SuccessGap" Matters: Evaluating internal routing behavior conditioned on ground-truth correctness reveals that models naturally possess latent, successful pathways that are simply under-reinforced in failed instances.
  • Implicit Pathway Strengthening: Upweighting the loss of tokens that hit task experts in failed examples alters the gradient magnitude and direction. This naturally guides the router and expert weights to favor these successful pathways without explicitly forcing a target routing distribution.
  • Semantic Alignment over High Loss: Standard hard-negative mining focuses on tokens with high cross-entropy loss, which often targets random noise or formatting tokens. The authors show that TEXAS-weighted tokens are highly enriched for actual task-relevant content (e.g., mathematical operators in GSM8K or syntax delimiters in MBPP), providing a cleaner, more targeted learning signal.

Key Results

  • State-of-the-Art Performance: TEXAS achieved the best or tied-best performance in 17 out of 18 model-task settings. It outperformed the strongest baseline (RoMA) by an average of 1.3 to 1.5 percentage points and standard supervised fine-tuning (SFT) by 2.4 to 3.0 points.
  • Hyperparameter Robustness: Sensitivity analyses (Figure 3) show that moderate candidate filtering sizes ($K = 2k$, where $k$ is the native top-$k$ routing count) and moderate loss weights ($\alpha = 1.2$) yield the most stable and significant improvements.
Figure 3: Sensitivity of TEXAS to candidate filtering size K and loss weight α on OLMoE. Each cell reports the average performance improvement over the corresponding SFT baselines across GSM8K, MBPP, and IFEval, with the model fine-tuned separately for each task.
  • High Efficiency: Because the task-expert discovery phase is a one-time offline preprocessing step (~1.5 hours on 4x GPUs), the actual fine-tuning wall-clock time and memory footprint remain completely on par with standard SFT (0.98× relative training time).

Limitations and Future Work

The primary exception to TEXAS's strong performance was MMLU, where it performed comparably to, but did not significantly exceed, strong baselines. The authors attribute this to MMLU's highly heterogeneous nature; general knowledge is distributed across a diffuse and less consistent set of experts, which limits the effectiveness of reinforcing specific task-expert pathways.

For future work, the authors suggest expanding the framework beyond binary correctness signals (e.g., integrating continuous reward values) and exploring dynamic expert discovery, where the task-expert masks are updated iteratively as the model evolves during continual or multi-task learning.

Summary updated

BibTeX
@misc{deng2026texas,
  author = {Guanzhi Deng and Haibo Wang and Kuan Wu and Xiangru Jian and Shing Yin Wong and Sichun Luo and Zhuoran Wang and Linqi Song},
  title = {{TEXAS: Task-Expert-Aware Supervision for Downstream Mixture-of-Experts LLM Adaptation}},
  year = {2026},
  eprint = {2608.06396},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.06396},
}
Figure