A Unified Formal Framework To Predict Length Generalization in Linear RNNs, Transformers and Hybrid Models
Its authors withdrew this paper, so there is no full text to read or summarize.
Abstract
CRASP-based formal frameworks are currently the best known predictors of length generalization in Transformers. However, similar theoretical generalization guarantees do not yet exist for Linear RNNs (LRNNs) and Hybrid models (which combine LRNNs and Transformers), even though much work has characterized their capabilities empirically. To help explain these phenomena, we introduce a unified RASP variant, different slices of which characterize these models' length generalization behavior. We extend previous length generalization frameworks for Transformers to establish guarantees for both LRNNs and Hybrid models. Using this unified framework, we show that all these sequence models length generalize on different classes of tasks, but globally are constrained to sublinear communication complexity and therefore are unlikely to length generalize on copying, addition, and multiplication. We test our framework on standard task suites and find it to be predictive of empirical performance for all models.
BibTeX
@misc{sarrof2027unified,
author = {Yash Sarrof and Florian Kandra and Andy Yang and Aleksandra Bakalova and Michael Rizvi-Martel and Michael Hahn},
title = {{A Unified Formal Framework To Predict Length Generalization in Linear RNNs, Transformers and Hybrid Models}},
year = {2027},
url = {https://openreview.net/forum?id=JbYHcZbYX9},
howpublished = {OpenReview},
note = {Submitted to ICLR 2027},
}Ask Althea to put this paper to the test.
Loading related content...