Training large language models (LLMs) for different inference constraints is computationally expensive, limiting control over efficiency-accuracy trade-offs. Moreover, once trained, these models typically process tokens uniformly, regardless of their complexity, leading to static and inflexible behavior. In this paper, we introduce a post-training optimization framework, DynaMoE, that adapts a pre-trained dense LLM to a token-difficulty-driven Mixture-of-Experts model with minimal fine-tuning cost. This adaptation makes the model dynamic, with sensitivity control to customize the balance between efficiency and accuracy. DynaMoE features a token-difficulty-aware router that predicts the difficulty of tokens and directs them to the appropriate sub-networks or experts, enabling larger experts to handle more complex tokens and smaller experts to process simpler ones. Our experiments demonstrate that DynaMoE can generate a range of adaptive model variants of the existing trained LLM with a single fine-tuning step, utilizing only $10B$ tokens, a minimal cost compared to the base model's training. Each variant offers distinct trade-offs between accuracy and performance. Compared to the baseline post-training optimization framework, Flextron, our method achieves similar aggregated accuracy across downstream tasks, despite using only $\frac{1}{9}\text{th}$ of their fine-tuning cost.
Probing the Difficulty Perception Mechanism of Large Language Models
Institute of Digital Twin, EIT(数字孪生研究所,EIT);Wuhan University of Science and Technology(武汉科技大学);Zhejiang University(浙江大学);Hong Kong Polytechnic University(香港理工大学);Shenzhen Institutes of Advanced Technology, CAS(深圳先进技术研究院,中国科学院)
MiLe Loss: a New Entropy-Weighed Loss for Mitigating the Bias of Learning Difficulties in Large Language Models
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Kuaishou Technology(快手科技);Tsinghua University(清华大学)
Informed Masking: Structure-Aware Perturbation for Reinforcement Learning in Diffusion Large Language Models
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);MiLM Plus, Xiaomi Inc.(小米公司MiLM Plus);University of Modena and Reggio Emilia(摩德纳和雷焦艾米利亚大学);Peking University(北京大学)
Incentivizing Dual Process Thinking for Efficient Large Language Model Reasoning
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院);Department of Computer Science, National University of Singapore(新加坡国立大学计算机科学系);Ant Group(蚂蚁集团)
Beyond Accuracy: Decomposing the Reasoning Efficiency of LLMs
Integreat - Norwegian Centre for knowledge-driven machine learning(Integreat - 挪威知识驱动机器学习中心);UiT - The Arctic University of Norway(UiT - 北极大学);University of Oslo(奥斯陆大学)
Aware First, Think Less: Dynamic Boundary Self-Awareness Drives Extreme Reasoning Efficiency in Large Language Models
LARG, Research Center for Social Computing and Interactive Robotics, Harbin Institute of Technology(大型语言模型研究组,社会计算与交互机器人研究中心,哈尔滨工业大学);School of Computer Science and Engineering, Central South University(计算机科学与工程学院,中南大学)
Token-Efficient Leverage Learning in Large Language Models
School of Computer Science(计算机学院);Beijing University of Posts and Telecommunications(北京邮电大学);College of information science and electronic engineering(信息科学与电子工程学院);Zhejiang University(浙江大学);School of Artificial Intelligence(人工智能学院)
ARES: Multimodal Adaptive Reasoning via Difficulty-Aware Token-Level Entropy Shaping
University of California, Los Angeles(加州大学洛杉矶分校);The Hong Kong University of Science and Technology(香港科技大学);Columbia University(哥伦比亚大学);The Chinese University of Hong Kong(香港中文大学)
AdaThinking-E: One-Token Entropy Regulation for Adaptive Thinking
Meituan(美团);MoE Key Lab of Artificial Intelligence(MoE人工智能重点实验室);AI Institute(人工智能研究院);School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机科学学院);MAIS&NLPR, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
How Do AI Agents Spend Your Money? Analyzing and Predicting Token Consumption in Agentic Coding Tasks
University of Michigan(密歇根大学);Stanford University(斯坦福大学);All Hands AI;Google Deepmind(谷歌DeepMind);Microsoft AI(微软AI);Massachusetts Institute of Technology(麻省理工学院)
HTPO: Towards Exploration-Exploitation Balanced Policy Optimization via Hierarchical Token-level Objective Control
School of Information Science and Electronic Engineering, Shanghai Jiao Tong University(上海交通大学信息科学与电子工程学院);Xiaohongshu Inc.(小红书公司);MoE Key Lab of Artificial Intelligence, AI Institute, Shanghai Jiao Tong University(上海交通大学人工智能研究院)
Dynamic Compressing Prompts for Efficient Inference of Large Language Models
School of Software Engineering, South China University of Technology(华南理工大学软件学院);Pazhou Lab(琶洲实验室);School of Future Technology, South China University of Technology(华南理工大学未来技术学院);Peng Cheng Laboratory(鹏城实验室);Hong Kong Polytechnic University(香港理工大学);Department of Computer Science and Technology, Chongqing University of Posts and Telecommunications(重庆邮电大学计算机科学与技术学院)
SpecBound: Adaptive Bounded Self-Speculation with Layer-wise Confidence Calibration
Key Laboratory of Intelligent Information Processing, Institute of Computing Technology, Chinese Academy of Sciences(智能信息处理重点实验室,计算技术研究所,中国科学院);State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences(人工智能安全国家重点实验室,计算技术研究所,中国科学院);University of Chinese Academy of Sciences, Beijing, China(中国科学院大学,北京,中国)
Robust Reasoning via Dynamic Token Selection for Distribution-Aligned Self-Distillation
Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing, Beihang University(北京未来区块链与隐私计算先进创新中心,北京航空航天大学);School of Artificial Intelligence, Beihang University(北京航空航天大学人工智能学院)
3DS: Medical Domain Adaptation of LLMs via Decomposed Difficulty-based Data Selection
School of Computer Science, Peking University, Beijing, China(北京大学计算机学院);Key Laboratory of High Confidence Software Technologies, Ministry of Education(教育部高可信软件技术重点实验室);National Engineering Research Center for Software Engineering, Peking University, China(软件工程国家级工程研究中心);Big Data Technology Research Center, Nanhu Laboratory, Jiaxing, China(南湖实验室大数据技术研究中心);Peking University Information Technology Institute, Tianjin Binhai, China(北京大学信息科学技术研究院)