paper-with-me

Papers

Transformer-Based Models Are Not Yet Perfect At Learning to Emulate Structural Recursion

2024-01-23 · Dylan Zhang, Curt Tigges, Zory Zhang, Stella Biderman, Maxim Raginsky, Talia Ringer

This paper investigates the ability of transformer-based models to learn structural recursion from examples. Recursion is a universal concept in both natural and formal languages. Structural recursion is central to the programming language and formal mathematics tasks where symbolic tools currently excel beyond neural models, such as inferring semantic relations between datatypes and emulating program behavior. We introduce a general framework that nicely connects the abstract concepts of structural recursion in the programming language domain to concrete sequence modeling problems and learned models' behavior. The framework includes a representation that captures the general \textit{syntax} of structural recursion, coupled with two different frameworks for understanding their \textit{semantics} -- one that is more natural from a programming languages perspective and one that helps bridge that perspective with a mechanistic understanding of the underlying transformer architecture. With our framework as a powerful conceptual tool, we identify different issues under various set-ups. The models trained to emulate recursive computations cannot fully capture the recursion yet instead fit short-cut algorithms and thus cannot solve certain edge cases that are under-represented in the training distribution. In addition, it is difficult for state-of-the-art large language models (LLMs) to mine recursive rules from in-context demonstrations. Meanwhile, these LLMs fail in interesting ways when emulating reduction (step-wise computation) of the recursive function.

📄 PDF Abstract BibTeX arXiv:2401.12947

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Can Transformers Learn to Solve Problems Recursively?

2023-05-24 · Shizhuo Dylan Zhang, Curt Tigges, Stella Biderman, Maxim Raginsky 외

Neural networks have in recent years shown promise for helping software engineers write programs and even formally verify them. While semantic information plays a crucial part in these processes, it remains unclear to wh…

Can Transformers Process Recursive Nested Constructions, Like Humans?

2022-10-01 · COLING 2022 10 · Yair Lakretz, Théo Desbordes, Dieuwke Hupkes, Stanislas Dehaene

Recursive processing is considered a hallmark of human linguistic abilities. A recent study evaluated recursive processing in recurrent neural language models (RNN-LMs) and showed that such models perform below chance le…

Causal Transformers Perform Below Chance on Recursive Nested Constructions, Unlike Humans

2021-10-14 · Yair Lakretz, Théo Desbordes, Dieuwke Hupkes, Stanislas Dehaene

Recursive processing is considered a hallmark of human linguistic abilities. A recent study evaluated recursive processing in recurrent neural language models (RNN-LMs) and showed that such models perform below chance le…

Soft Mixture-of-Recursions: Going Deeper with Recursive Vision Transformers

2026-07-01 · Sang In Lee, Jihun Park arxiv

Recent recursive Transformer studies have primarily reused shared parameters across computation steps to construct compact, parameter-efficient models. In this work, we leverage recursion to build effectively deeper Tran…

Counterfactual identifiability beyond global monotonicity: non-monotone triangular structural causal models

2026-05-06 · Pengcheng Tan, Jiang Chen, Dehui Du arxiv

Structural causal models provide a unified semantics for interventions and counterfactuals, but most identifiability results rely on restrictive assumptions like global monotonicity, which are often violated in embodied …