paper-with-me

Papers

Router-Tuning: A Simple and Effective Approach for Enabling Dynamic-Depth in Transformers

2024-10-17 · Shwai He, Tao Ge, Guoheng Sun, Bowei Tian, Xiaoyang Wang, Ang Li, Dong Yu

Traditional transformer models often allocate a fixed amount of computational resources to every input token, leading to inefficient and unnecessary computation. To address this, the Mixture of Depths (MoD) was introduced to dynamically adjust the computational depth by skipping less important layers. Despite its promise, current MoD approaches remain under-explored and face two main challenges: (1) \textit{high training costs due to the need to train the entire model along with the routers that determine which layers to skip}, and (2) \textit{the risk of performance degradation when important layers are bypassed}. In response to the first issue, we propose Router-Tuning, a method that fine-tunes only the router on a small dataset, drastically reducing the computational overhead associated with full model training. For the second challenge, we propose MindSkip, which deploys \textit{Attention with Dynamic Depths}. This method preserves the model's performance while significantly enhancing computational and memory efficiency. Extensive experiments demonstrate that our approach delivers competitive results while dramatically improving the computation efficiency, e.g., 21\% speedup and only a 0.2\% performance drop. The code is released at \url{https://github.com/CASE-Lab-UMD/Router-Tuning}.

📄 PDF Abstract BibTeX arXiv:2410.13184

Code (1)

case-lab-umd/router-tuning 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Teacher-Guided Routing for Sparse Vision Mixture-of-Experts

2026-04-23 · Masahiro Kada, Ryota Yoshihashi, Satoshi Ikehata, Rei Kawakami 외 arxiv

Recent progress in deep learning has been driven by increasingly large-scale models, but the resulting computational cost has become a critical bottleneck. Sparse Mixture of Experts (MoE) offers an effective solution by …

Router-R1: Teaching LLMs Multi-Round Routing and Aggregation via Reinforcement Learning

2025-06-10 · Haozhen Zhang, Tao Feng, Jiaxuan You

The rapid emergence of diverse large language models (LLMs) has spurred the development of LLM routers that assign user queries to the most suitable model. However, existing LLM routers typically perform a single-round, …

Model SelectionReinforcement Learning (RL)

GMTRouter: Personalized LLM Router over Multi-turn User Interactions

2025-10-29 · Encheng Xie, Yihang Sun, Tao Feng, Jiaxuan You arxiv

Large Language Model (LLM) routing has demonstrated strong capability in balancing response quality with computational cost. As users exhibit diverse preferences, personalization has attracted increasing attention in LLM…

Graph Learning

DynPose: Largely Improving the Efficiency of Human Pose Estimation by a Simple Dynamic Framework

2025-01-01 · CVPR 2025 1 · Yalong Xu, Lin Zhao, Chen Gong, Guangyu Li 외

Top-down approaches for human pose estimation (HPE) have reached a high level of sophistication, exemplified by models such as HRNet and ViTPose. Nonetheless, the low efficiency of top-down methods is a recognized is…

Pose Estimation

GraphLoRA: Empowering LLMs Fine-Tuning via Graph Collaboration of MoE

2024-12-18 · Ting Bai, Yue Yu, Le Huang, Zenan Xu 외

Low-Rank Adaptation (LoRA) is a parameter-efficient fine-tuning method that has been widely adopted in various downstream applications of LLMs. Together with the Mixture-of-Expert (MoE) technique, fine-tuning approaches …

parameter-efficient fine-tuning