ICLR 2025poster0 citations

Generalizing Reasoning Problems to Longer Lengths

Changnan Xiao, Bing Liu

Abstract

Length generalization (LG) is a challenging problem in learning to reason. It refers to the phenomenon that when trained on reasoning problems of smaller lengths/sizes, the model struggles with problems of larger sizes or lengths. Although it has been proven that reasoning can be learned if the intermediate reasoning steps (also known as chain-of-thought (CoT)) are given in the training data, existing studies only apply to within a given length (interpolation), while LG is about extrapolation beyond the given length. This paper begins by presenting a theorem that identifies the root cause of the LG problem. It then defines a class of reasoning problems for which achieving LG with Transformers can be theoretically guaranteed, provided the CoT schemes are constructed to meet a proposed condition called $(n,r)$-consistency.

length generalizationlearning to reasonlength extrapolation
BibTeX
@inproceedings{
xiao2025generalizing,
title={Generalizing Reasoning Problems to Longer Lengths},
author={Changnan Xiao and Bing Liu},
booktitle={The Thirteenth International Conference on Learning Representations},
year={2025},
url={https://openreview.net/forum?id=zpENPcQSj1}
}
Generalizing Reasoning Problems to Longer Lengths · ICLR 2025