This post from zhichai.net reviews the paper LinTree: Improving LLM Reasoning with Explicitly Structured Search Histories by Liwei Kang, Yee Whye Teh, and Wee Sun Lee (University of Oxford, Google DeepMind, National University of Singapore; arXiv 2605.31492).
Key points
- The counterintuitive finding. The authors show that an LLM generating a full chain-of-thought (CoT) reasoning trace — theoretically able to see its entire search history — does not reliably outperform best-first search guided by LLM heuristics that only observe the current state. This was demonstrated across three controlled environments: Blocks World, grid Navigation, and Sokoban.
- The diagnosis. A linear CoT trace is essentially a preorder traversal of an implicit search tree, but the trace never says which earlier node a backtracking step revisits. The model "remembers" its text but not the structural relations between steps (parent/child/sibling), since attention weights are untyped scalars. It is like footprints in a maze without arrows between them.
- The fix: parent pointers. LinTree adds one explicit marker per step indicating which earlier step the current one branches from. A backtrack-and-branch step points to the revisited earlier node rather than the immediately preceding one, turning the linear trace into a genuine tree representation.
- Results.
- Blocks World: success rate 62% → 78%, average steps 24.3 → 18.7
- Navigation: success rate 55% → 71%, average steps 31.5 → 22.1
- Sokoban: success rate 38% → 52%, average steps 45.2 → 34.6
- Sokoban nuance. Gains were smallest in Sokoban because of its irreversibility (PSPACE-complete; pushed boxes can become permanently stuck). Parent pointers help revisitable search but cannot undo irreversible mistakes.
- Relation to Tree of Thoughts (Yao et al., 2023) and Graph of Thoughts (Besta et al., 2024): ToT applies tree structure at the high-level control-policy layer; LinTree operates at the representation layer, acting as infrastructure that such strategies depend on. LinTree's pointers naturally extend to graph edge labels.
- Broader implication: As context windows grow to hundreds of thousands of tokens, the *organization* of memory matters as much as its volume. The author likens LinTree to structured programming's replacement of GOTO, and to a scaffold moving models from System-1-like linear CoT toward more metacognitive, structured reasoning.
- Parent pointers in the paper are annotated using the environment's ground-truth state-transition graph; automatic, self-supervised structure identification remains an open engineering problem.
- All three environments are discrete and deterministic; how to define pointers for fuzzy open-domain tasks (math proofs, code debugging) is unresolved.
- Interactions with self-consistency voting, external tool calls, and non-search-type reasoning are unexplored.
LinTree beat both the implicit-history baseline and LLM-heuristic best-first search. A control experiment where parent pointers were randomized degraded performance, showing the benefit comes from correct structural information, not extra tokens.
Discussion
Limitations noted in the post
References cited in the post
1. Wei et al. (2022). Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. arXiv:2201.11903 2. Yao et al. (2023). Tree of Thoughts. arXiv:2305.10601 3. Besta et al. (2024). Graph of Thoughts. AAAI 2024. arXiv:2308.09687 4. Newell & Simon (1972). *Human Problem Solving*. Prentice-Hall 5. Wang et al. (2023). Self-Consistency Improves Chain of Thought Reasoning. arXiv:2203.11171