From Abstraction to Action: DSLs for Natural Language Abstraction Interpretation and Execution
Not on the map. Why?
Abstract (arXiv)
Natural-language instructions often rely on high-level abstractions, such as asking an agent to ``stack blocks in a pyramid.'' Interpreting abstract instructions requires models to both identify the abstraction intended by the speaker, and unroll it into the many concrete actions that instantiate it. Language models struggle here: prior work has shown that performance degrades as the level of abstraction in the instruction rises. To bridge the gap between natural language abstraction and concrete actions, we propose to borrow from coding environments the notion of a em domain-specific language (DSL), an explicit representation layer whose documented primitives name recurring abstractions that expand into concrete actions. We demonstrate the efficacy of DSLs for NL interpretation on textscHexagons, a visually-grounded instruction-following task graded for abstraction. We further ask whether language models can induce such DSLs themselves from domain data. Our results show that while code generation consistently improves over direct inference, code generation over a human-curated DSL yields dramatic gains, up to 10 absolute F1 points, reaching the human skyline, with gains concentrated at em higher abstraction levels. We confirm this pattern on the textscText2CAD benchmark. At the same time, model-induced DSLs recover only part of this gain, remaining inconsistent across runs and short of their human-curated counterpart. Overall, the right representation closes much of the gap caused by high abstraction --- but inducing that layer of representation automatically is where models still fall short, and where we see a strong opportunity for the community to make progress.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 18 of its 43 references that are in the map. Submitted 20 Oct 2026.
Builds on
18 of 43 references.
References · 18
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,323
- 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,199
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,131
- 2017Vision-and-Language Navigation: Interpreting visually-grounded navigation instructions in real environmentscited by 1,082
- 2019ALFRED: A Benchmark for Interpreting Grounded Instructions for Everyday Taskscited by 824
- 2023ViperGPT: Visual Inference via Python Execution for Reasoningcited by 678
- 2022Visual Programming: Compositional visual reasoning without trainingcited by 579
- 2023Large Language Models as Tool Makerscited by 332
- 2023CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsetscited by 140
- 2023From Word Models to World Models: Translating from Natural Language to the Probabilistic Language of Thoughtcited by 124
- 2020A Benchmark for Systematic Generalization in Grounded Language Understandingcited by 111
6 more
- 2023LILO: Learning Interpretable Libraries by Compressing and Documenting Codecited by 57
- 2024From Exploration to Mastery: Enabling LLMs to Master Tools via Self-Driven Interactionscited by 53
- 2021Leveraging Language to Learn Program Abstractions and Search Heuristicscited by 46
- 2024Text2CAD: Generating Sequential CAD Models from Beginner-to-Expert Level Text Promptscited by 29
- 2021ReaSCAN: Compositional Reasoning in Language Groundingcited by 21
- 2021Draw Me a Flower: Processing and Grounding Abstraction in Natural Languagecited by 15
Built on by
Not cited yet.