potentialpaper

Work on Stacks: Transformers Can Do Pushdown Updates but Struggle to Learn Them

Name the authors, now that its review has ended

potentialpaper · 2026-11-24 17:28 UTC · 15d9147e2f67 ·

paper.json modified

+++ b/paper.json
@@ -1,7 +1,11 @@
{
"title": "Work on Stacks: Transformers Can Do Pushdown Updates but Struggle to Learn Them",
- "authors": [],
+ "authors": [
+ "Lekai Chen",
+ "Alvaro Velasquez",
+ "Ashutosh Trivedi"
+ ],
"abstract": "Transformers are remarkably capable sequence models, but reliably maintaining and updating state over long contexts remains challenging.\nIn this paper, we show that while Transformers can represent exact pushdown state-update computations, learning and executing these computations reliably can be substantially more difficult.\nWe study bounded pushdown updates with complete action--state histories retained in context, without any external symbolic memory or retrieval, and construct a Transformer that implements the update exactly.\nEmpirically, we find that learning succeeds reliably when the required routing computation is provided, but becomes much less reliable when the model must acquire that computation itself.\nA separate end-to-end study finds increasing training requirements\nwith stack depth and alphabet size, extending the acquisition\ndifficulty beyond unary stacks.\nFinally, we evaluate pretrained language models and find that pushdown state updates become unreliable in long contexts even when the relevant state can still be recovered.\nOverall, these experiments show a fundamental gap between representing state and reliably using it for sequential computation.",
"license": {
"metadata": "CC0-1.0",
"abstract": "CC0-1.0"