Recurrence-Complete Frame-based Action Models
Michael Keiblinger
TL;DR
This work contends that true sequential computation is essential for long-horizon perception and agentic control, introducing the notions of true depth and recurrence-completeness to formalize this claim. It proves that architectures with fully parallelizable forward/backward passes or input aggregation cannot be recurrence-complete, and it identifies input-length proportionality and input aggregation criticality as operational limits. To test these ideas, it develops Forward-Referencing Jumps Task and Withheld Maze Position Tracking benchmarks that induce serial constraints, showing depth-related degradation for time-parallel models while a lightweight LSTM remains robust. The authors propose Recurrence-Complete Frame-based Action Models, combining a frame-head with an LSTM backbone, and demonstrate a robust power-law relationship between training sequence length and loss under fixed parameters, with wall-time amortization enabling longer sequences to outperform shorter ones over time. Overall, the theory and experiments motivate investing in recurrence-enabled architectures for long-horizon, side-effect-rich tasks and point toward practical, frame-based designs suited to streaming, serial computation in real-world settings.
Abstract
In recent years, attention-like mechanisms have been used to great success in the space of large language models, unlocking scaling potential to a previously unthinkable extent. "Attention Is All You Need" famously claims RNN cells are not needed in conjunction with attention. We challenge this view. In this paper, we point to existing proofs that architectures with fully parallelizable forward or backward passes cannot represent classes of problems specifically interesting for long-running agentic tasks. We further conjecture a critical time t beyond which non-recurrence-complete models fail to aggregate inputs correctly, with concrete implications for agentic systems (e.g., software engineering agents). To address this, we introduce a recurrence-complete architecture and train it on GitHub-derived action sequences. Loss follows a power law in the trained sequence length while the parameter count remains fixed. Moreover, longer-sequence training always amortizes its linearly increasing wall-time cost, yielding lower loss as a function of wall time.
