The quadratic computational complexity of standard attention mechanisms presents a severe scalability bottleneck for LLMs in long-context scenarios. While hybrid attention mechanisms combining Full Attention (FA) and Sparse Attention (SA) offer a potential solution, existing methods typically rely on static allocation ratios that fail to accommodate the variable retrieval demands of different tasks. Furthermore, head-level dynamic sparsity often introduces severe computational load imbalance and synchronization long-tails, which hinder hardware acceleration during autoregressive decoding. To bridge this gap, we introduce Flux Attention, a context-aware framework that dynamically optimizes attention computation at the layer level. By integrating a lightweight Layer Router into frozen pretrained LLMs, the proposed method adaptively routes each layer to FA or SA based on the input context. This layer-wise routing preserves high-fidelity information retrieval while ensuring contiguous memory access, translating theoretical computational reductions into practical wall-clock speedups. As a parameter-efficient approach, our framework requires only 12 hours of training on 8$\times$A800 GPUs. Extensive experiments across multiple long-context and mathematical reasoning benchmarks demonstrate that Flux Attention achieves a superior trade-off between performance and inference speed compared with baseline models, with speed improvements of up to $2.8\times$ and $2.0\times$ in the prefill and decode stages.
Extract Information from Hybrid Long Documents Leveraging LLMs: A Framework and Dataset
Microsoft(微软公司);School of Software & Microelectronics, Peking University(北京大学软件与微电子学院);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);Ant Group(蚂蚁集团)
Enabling and Analyzing How to Efficiently Extract Information from Hybrid Long Documents with LLMs
School of Software & Microelectronics, Peking University(北京大学软件与微电子学院);Institute of Software Chinese Academy of Sciences(中国科学院软件研究所);Microsoft(微软公司);University of Technology Sydney(悉尼科技大学)
Department of Computer Science(计算机科学系);Engineering, Shanghai Jiao Tong University(上海交通大学工程学院);Shanghai Innovation Institute(上海创新研究院);Large Language Department, Tencent(腾讯大语言部门)
STILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMs
SMULL Group, Harbin Institute of Technology, Shenzhen(SMULL小组,哈尔滨工业大学,深圳);Pengcheng Laboratory(Pengcheng实验室);UQMM Lab, University of Queensland(UQMM实验室,昆士兰大学);Huawei Technologies Co., Ltd.(华为技术有限公司)
RL-PLUS: Countering Capability Boundary Collapse of LLMs in Reinforcement Learning with Hybrid-policy Optimization
School of Computer Science, Peking University(北京大学计算机科学系);Tongyi Lab, Alibaba Group(阿里集团通义实验室);Department of Computing Science, University of Alberta(阿尔伯塔大学计算机科学系);Canada CIFAR AI Chair(加拿大CIFAR人工智能主席)
Hybrid Alignment Training for Large Language Models
School of Computer Science and Engineering, Northeastern University(东北大学计算机科学与工程学院);NiuTrans Research(NiuTrans研究所);Institute of Psychology, CAS(中国科学院心理研究所)
HIPPO: Enhancing the Table Understanding Capability of LLMs through Hybrid-Modal Preference Optimization
School of Computer Science and Engineering, Northeastern University, Shenyang, China(东北大学计算机科学与工程学院);Department of Computer Science and Technology, Tsinghua University, Beijing, China(清华大学计算机科学与技术系);Huawei Technologies Co., Ltd(华为技术有限公司)
Activation-Space Personality Steering: Hybrid Layer Selection for Stable Trait Control in LLMs
Network Analysis and Social Influence Modelling (NASIM) Lab(网络分析与社会影响建模实验室);School of Physics Maths and Computing, The University of Western Australia(西澳大学物理数学与计算学院);School of Psychological Science, The University of Western Australia(西澳大学心理学科学学院);School of Computing, Macquarie University(麦考瑞大学计算机学院)
Wisdom from Diversity: Bias Mitigation Through Hybrid Human-LLM Crowds
Machine Learning Group, Université Libre de Bruxelles(布鲁塞尔自由大学机器学习组);AI Lab, Vrije Universiteit Brussel(布鲁塞尔自由大学人工智能实验室);FARI, AI for the Common-Good Institute, ULB-VUB(ULB-VUB共同利益人工智能研究所);Center for Human-Compatible AI, UC Berkeley(伯克利人类兼容人工智能中心)
Omni-Thinker: Scaling Multi-Task RL in LLMs with Hybrid Reward and Task Scheduling
Huawei Noah’s Ark Lab, Montréal, Canada(华为诺亚实验室,加拿大蒙特利尔);McGill University and Mila - Québec AI Institute(麦吉尔大学和魁北克人工智能研究所);Huawei Noah’s Ark Lab, Beijing, China(华为诺亚实验室,中国北京)
Prediction of Critical Heat Flux in Rod Bundles Using Tube-Based Hybrid Machine Learning Models in CTF
Department of Nuclear Engineering, North Carolina State University(核工程系,北卡罗来纳州立大学);Burlington Engineering Laboratories(伯灵顿工程实验室);Nuclear Energy and Fuel Cycle Division, Oak Ridge National Laboratory(核能与燃料循环部门,橡树岭国家实验室);Department of Nuclear Engineering, University of Tennessee(核工程系,田纳西大学)
Physics-Based Hybrid Machine Learning for Critical Heat Flux Prediction with Uncertainty Quantification
Department of Nuclear Engineering, North Carolina State University, Burlington Engineering Laboratories, 2500 Stinson Dr., Raleigh, NC 27695(核工程系,北卡罗来纳州立大学,伯灵顿工程实验室);Department of Nuclear Engineering, University of Tennessee, Knoxville, Zeanah Engineering Complex, 863 Neyland Dr., Knoxville, TN 37916(核工程系,田纳西大学,科文奥尔,泽纳赫工程复杂系统);Fuel Cycle Division, Oak Ridge National Laboratory, 1 Bethel Valley Rd., Oak Ridge, TN 37830(燃料循环部,橡树岭国家实验室)
HyPAC: Cost-Efficient LLMs-Human Hybrid Annotation with PAC Error Guarantees
Department of Statistics and Data Science, Southern University of Science and Technology, China(统计与数据科学系,南方科技大学);Department of Statistics, University of California at Riverside, USA(统计系,加州大学河滨分校);College of Computing and Data Science, Nanyang Technological University, Singapore(计算与数据科学学院,南洋理工大学);School of Artificial Intelligence, The Chinese University of Hong Kong, Shenzhen, China(人工智能学院,香港中文大学(深圳))
Deployment of Traditional and Hybrid Machine Learning for Critical Heat Flux Prediction in the CTF Thermal Hydraulics Code
Department of Nuclear Engineering, North Carolina State University(北卡罗来纳州立大学核工程系);Burlington Engineering Laboratories, 2500 Stinson Dr., Raleigh, NC 27695(伯灵顿工程实验室);Department of Nuclear Engineering, University of Tennessee, Knoxville, Zeanah Engineering Complex, 863 Neyland Dr., Knoxville, TN 37916(田纳西大学核工程系);Nuclear Energy and Fuel Cycle Division, Oak Ridge National Laboratory, 1 Bethel Valley Rd., Oak Ridge, TN, USA 37830(橡树岭国家实验室核能与燃料循环 division)