paper-with-me

Papers

Turn Waste into Worth: Rectifying Top-$k$ Router of MoE

2024-02-17 · Zhiyuan Zeng, Qipeng Guo, Zhaoye Fei, Zhangyue Yin, Yunhua Zhou, Linyang Li, Tianxiang Sun, Hang Yan, Dahua Lin, Xipeng Qiu

Sparse Mixture of Experts (MoE) models are popular for training large language models due to their computational efficiency. However, the commonly used top-$k$ routing mechanism suffers from redundancy computation and memory costs due to the unbalanced routing. Some experts are overflow, where the exceeding tokens are dropped. While some experts are vacant, which are padded with zeros, negatively impacting model performance. To address the dropped tokens and padding, we propose the Rectify-Router, comprising the Intra-GPU Rectification and the Fill-in Rectification. The Intra-GPU Rectification handles dropped tokens, efficiently routing them to experts within the GPU where they are located to avoid inter-GPU communication. The Fill-in Rectification addresses padding by replacing padding tokens with the tokens that have high routing scores. Our experimental results demonstrate that the Intra-GPU Rectification and the Fill-in Rectification effectively handle dropped tokens and padding, respectively. Furthermore, the combination of them achieves superior performance, surpassing the accuracy of the vanilla top-1 router by 4.7%.

📄 PDF Abstract BibTeX arXiv:2402.12399

Code (0)

등록된 구현이 없습니다.

Tasks

Computational EfficiencyGPUMixture-of-Experts

Similar Papers 제목 키워드 기반

SWE-Router: Routing in Multi-turn Agentic Software Engineering Tasks

2026-06-30 · Seongho Son, Sangwoong Yoon, Jiahua Tang, Shuhan Wang 외 arxiv

Large language models (LLMs) embedded in multi-turn agentic harnesses are reshaping software engineering (SWE), but routing every task to a frontier model is wasteful when many issues admit cheap fixes. Existing LLM rout…

Integrating Trustworthy Artificial Intelligence with Energy-Efficient Robotic Arms for Waste Sorting

2025-10-20 · Halima I. Kure, Jishna Retnakumari, Augustine O. Nwajana, Umar M. Ismail 외 arxiv

This paper presents a novel methodology that integrates trustworthy artificial intelligence (AI) with an energy-efficient robotic arm for intelligent waste classification and sorting. By utilizing a convolutional neural …

Transfer Learning

MTRouter: Cost-Aware Multi-Turn LLM Routing with History-Model Joint Embeddings

2026-04-26 · Yiqun Zhang, Hao Li, Zihan Wang, Shi Feng 외 arxiv

Multi-turn, long-horizon tasks are increasingly common for large language models (LLMs), but solving them typically requires many sequential model invocations, accumulating substantial inference costs. Here, we study cos…

Constructive RNNs: An Error-Recurrence Perspective on Time-Variant Zero Finding Problem Solving Under Uncertainty

2024-11-12 · Mingxuan Sun, Xing Li, Han Wang

When facing time-variant problems in analog computing, the desirable RNN design requires finite-time convergence and robustness with respect to various types of uncertainties, due to the time-variant nature and difficult…

MemRouter: Memory-as-Embedding Routing for Long-Term Conversational Agents

2026-05-01 · Tianyu Hu, Weikai Lin, Weizhi Zhang, Jing Ma 외 arxiv

Long-term conversational agents must decide which turns to store in external memory, yet recent systems rely on autoregressive LLM generation at every turn to make that decision. We present MemRouter, a write-side memory…

Answer Generation