# Boule or Baguette? A Study on Task Topology, Length Generalization, and the Benefit of Reasoning Trace

*William Tong, Ege Çakar, Cengiz Pehlevan*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/151781) · [OpenReview](https://openreview.net/forum?id=Y4Z2nhxap9) · [alphaXiv](https://www.alphaxiv.org/abs/2602.14404) · [Open on the map](../papers.html#p151781)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Language Model Reasoning and Uncertainty](../pgroup/331.md) · Type: benchmark or dataset · Keywords: reasoning traces, length generalization, task depth, task breadth, formal reasoning, benchmark dataset

Areas: [LLM Reasoning](../areas/reasoning.md) › Reasoning Mechanisms › Chain-of-Thought Reasoning; [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › Reasoning Trace Analysis

## Summary
We introduce PITA, a large-scale dataset of propositional logic statements and proofs, and study length generalization in reasoning-trace models, revealing that breadth helps while depth exposes weaknesses.

## Explained to a 5-year-old
The researchers made a huge book of logical puzzles and their solutions. They wanted to see if computers that think by writing down steps could solve new puzzles that are longer than the ones they practiced on. They found that sometimes the step-by-step computers did well, and sometimes they struggled. The study helps us understand when thinking in steps helps and when it does not. This can guide building smarter computer reasoning tools.

## Explained to a 5-year-old, longer
The researchers created a massive collection of logical puzzles and their proofs, like a big notebook of brain teasers. They were curious about whether computers that break problems into small steps could handle new puzzles that are longer than any they had seen before. To find out, they built measures to see how many steps a puzzle needed and how many different kinds of puzzles there were. They tested two kinds of computer models: ones that write down their thinking process and ones that just give an answer directly. The results showed that the step-by-step models performed well on puzzles that had many different types but few steps, while they struggled on puzzles that required many steps but had few variations. They also studied a simpler puzzle about transitive inference to confirm the pattern. Finally, they provided a theory that explains why breadth helps and depth can expose weaknesses in the step-by-step approach. This research helps us understand the strengths and limits of reasoning with intermediate steps and can guide the design of future AI reasoning systems.

## For a technical reader
The paper introduces a large-scale dataset of propositional logic statements and proofs, enabling systematic evaluation of length generalization. It defines task depth and breadth to quantify proof complexity and variety, respectively. Empirical results show that models generating intermediate reasoning traces excel on broad, shallow tasks but underperform on narrow, deep tasks compared to non-trace baselines. A complementary transitive inference study and theoretical analysis provide insight into the underlying mechanisms. The findings highlight both benefits and limitations of proof-like reasoning traces in controlled settings.

## Problem
When models are trained to evaluate logical statements with proofs up to a certain length, how well do they generalize to statements that require longer proofs?

## Method
The authors create a large collection of logical statements and their proofs, define quantitative measures of proof length and variety, and evaluate models that produce intermediate reasoning steps versus those that do not, across varying difficulty regimes. They complement the empirical study with a simpler transitive inference task and provide a theoretical explanation of the observed patterns.

## Results
Reasoning-trace models outperform non-trace baselines on broad and shallow subsets but fall behind on narrow and deep subsets.

## Contributions
A large-scale dataset of propositional logic statements and proofs (PITA) with an associated benchmark for length generalization, definitions of task depth and breadth, empirical analysis of reasoning-trace versus non-trace models, and a theoretical account of the observed scaling behavior.

## Research questions this paper is counted under

- [How can we reliably assess and improve language models' ability to reason correctly and safely across diverse tasks?](../q/38.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/151781)
