Non-Asymptotic Length Generalization
Thomas Chen, Tengyu Ma, Zhiyuan Li

TL;DR
This paper establishes provable guarantees for non-asymptotic length generalization, linking it to function class complexity and decidability, with specific bounds for automata and transformer-related functions.
Contribution
It formalizes non-asymptotic length generalization, introduces the length complexity concept, and provides bounds for certain function classes including automata and transformers.
Findings
Minimum-Complexity Interpolator achieves optimal length complexity.
Length complexity of DFA is 2n - 2, where n is the number of states.
Upper bounds for length complexity of C-RASP functions are established.
Abstract
Length generalization is the ability of a learning algorithm to learn a hypothesis which generalizes to longer inputs than the inputs in the training set. In this paper, we provide provable guarantees of length generalization for various classes of functions in an idealized setting. First, we formalize the framework of non-asymptotic length generalization, which requires a computable upper bound for the minimum input length that guarantees length generalization, as a function of the complexity of ground-truth function under some given complexity measure. We refer to this minimum input length to length generalize as length complexity. We show the Minimum-Complexity Interpolator learning algorithm achieves optimal length complexity. We further show that whether a function class admits non-asymptotic length generalization is equivalent to the decidability of its language equivalence…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsMachine Learning and Algorithms · semigroups and automata theory · DNA and Biological Computing
