Length generalization, the ability to solve problems longer than those seen during training, remains a critical challenge for large language models (LLMs). Previous work modifies positional encodings (PEs) and data formats to improve length generalization on specific symbolic tasks such as addition and sorting. However, these approaches are fundamentally limited to special tasks, often degrading general language performance. Furthermore, they are typically evaluated on small transformers trained from scratch on single tasks and can cause performance drop when applied during post-training stage of practical LLMs with general capabilities. Hu et al., (2024) proposed Rule-Following Fine-Tuning (RFFT) to improve length generalization in the post-training stage of LLMs. Despite its compatibility with practical models and strong performance, RFFT is proposed for single tasks too, requiring re-training for each individual task with extensive examples. In this paper, we study length generalization in multi-task settings and propose Meta Rule-Following Fine-Tuning (Meta-RFFT), the first framework enabling robust cross-task length generalization. As our first contribution, we construct a large length generalization dataset containing 86 tasks spanning code execution, number processing, symbolic and logical reasoning tasks, beyond the common addition or multiplication tasks. Secondly, we show that cross-task length generalization is possible with Meta-RFFT. After training on a large number of tasks and instances, the models achieve remarkable length generalization ability on unseen tasks with minimal fine-tuning or one-shot prompting. For example, after fine-tuning on 1 to 5 digit addition, our 32B model achieves 95% accuracy on 30 digit addition, significantly outperforming the state-of-the-art reasoning models (DeepSeek-R1-671B: 72%), despite never seeing this task during RF-pretraining.
From Templates to Natural Language: Generalization Challenges in Instruction-Tuned LLMs for Spatial Reasoning
Computational Linguistics, Department of Linguistics University of Potsdam(乌特雷赫特大学语言学系计算语言学部);German Research Center for Artificial Intelligence (DFKI), Berlin(德国人工智能研究中心(DFKI)柏林)
Do LLMs Have the Generalization Ability in Conducting Causal Inference?
College of Intelligence and Computing, Tianjin University(天津大学智能与计算学部);Institute of Applied Psychology, Tianjin University(天津大学应用心理研究所);China Mobile Communication Group Tianjin Co.,Ltd(中国移动通信集团天津有限公司)
From Specialization to Generalization: Instruction-tuned LLMs for Robust Harmful Content Mitigation
School of Computation, Information and Technology, TU Munich(慕尼黑工业大学计算、信息与技术学院);Munich Center for Machine Learning(慕尼黑机器学习中心);Munich Data Science Institute(慕尼黑数据科学研究所)
Exploring Language Model Generalization in Low-Resource Extractive QA
Pennsylvania State University(宾夕法尼亚州立大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Indian Institute of Technology (IIT) Bhubaneswar(印度理工学院布巴内斯瓦尔分校)
Transforming Scholarly Landscapes: Influence of Large Language Models on Academic Fields beyond Computer Science
Ubiquitous Knowledge Processing Lab (UKP Lab)(普适知识处理实验室(UKP实验室));Hessian Center for AI (hessian.AI)(黑森人工智能中心);IBM Research Europe(IBM欧洲研究院);National Research Council Canada(加拿大国家研究委员会)
On Generalization across Measurement Systems: LLMs Entail More Test-Time Compute for Underrepresented Cultures
Johannes Gutenberg University Mainz(明斯特-雅各布大学);University of Mannheim(曼海姆大学);Center For Artificial Intelligence and Data Science, University of Würzburg(乌尔姆大学人工智能与数据科学中心);University of Colorado Boulder(科罗拉多大学博尔德分校)
LLMs Beyond English: Scaling the Multilingual Capability of LLMs with Cross-Lingual Feedback
School of Computation, Information and Technology, TUM(慕尼黑工业大学计算、信息与技术学院);Center for Information and Language Processing, LMU Munich(慕尼黑大学信息与语言处理中心);Munich Center for Machine Learning(慕尼黑机器学习中心);Bosch Center for Artificial Intelligence(博世人工智能中心)
Beyond Ideal Instruction: A Comprehensive Framework for Evaluating LLMs in Realistic Interactions
Department of Data Science, City University of Hong Kong(香港城市大学数据科学系);Hong Kong Institute of AI for Science, City University of Hong Kong(香港城市大学人工智能科学研究院);Li Auto Inc.(Li汽车公司);Beijing University of Posts and Telecommunications(北京邮电大学);Independent Researcher(独立研究员)
Quantifying Generalization Complexity for Large Language Models
Harvard University(哈佛大学);Massachusetts Institute of Technology(麻省理工学院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Meta;University of Chicago(芝加哥大学)
Towards Compositional Generalization of LLMs via Skill Taxonomy Guided Data Synthesis
State Key Laboratory of Complex & Critical Software Environment, Beihang University(复杂与关键软件环境国家重点实验室,北京航空航天大学);Beijing Academy of Artificial Intelligence(北京人工智能研究院);Beijing Institute of Technology(北京理工大学);Institute of Computing Technology, CAS(中国科学院计算技术研究所)