Lune

ICLR2026Top-tier venue

TSLM: Tree-Structured Language Modeling for Divergent Thinking

Doyoung Kim, JaeHyeok Doo, Minjoon Seo

2026Year

Abstract

Language models generate reasoning sequentially, preventing them from decoupling irrelevant exploration paths during search. We introduce Tree-Structured Language Modeling (TSLM), which uses special tokens to encode branching structure, enabling models to generate and selectively expand multiple search paths within a single generation process. By training on complete search trees including both successful and failed attempts, TSLM learns to internalize systematic exploration without redundant recomputation of shared prefixes. TSLM achieves 100% accuracy on Game of 24 (vs. 17% sequential baseline), robust extrapolation to 20×20 grids (91.5% vs. 42.7% for Tree-of-Thought), and superior inference efficiency by avoiding the multiple independent forward passes required by external search methods. These results suggest a new paradigm of inference-time scaling for robust reasoning, demonstrating that supervised learning on complete tree-structured traces provides an efficient alternative for developing systematic exploration capabilities in language models.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 6d0ebc16-9c17-443c-b098-2d5387306d98

Builds on12

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines