Table as Thought: Exploring Structured Thoughts in LLM Reasoning

Zhenjie Sun, Naihao Deng, Haofei Yu, Jiaxuan You

Abstract

Large language models' reasoning abilities benefit from methods that organize their thought processes, such as chain-of-thought prompting, which employs a sequential structure to guide the reasoning process step-by-step. However, existing approaches focus primarily on organizing the sequence of thoughts, leaving structure in individual thought steps underexplored. To address this gap, we propose Table as Thought, a framework inspired by cognitive neuroscience theories on human thought. Table as Thought organizes reasoning within a tabular schema, where rows represent sequential thought steps and columns capture critical constraints and contextual information to enhance reasoning. The reasoning process iteratively populates the table until self-verification ensures completeness and correctness. Our experiments show that Table as Thought excels in planning tasks and demonstrates a strong potential for enhancing LLM performance in mathematical reasoning compared to unstructured thought baselines. This work provides a novel exploration of refining thought representation within LLMs, paving the way for advancements in reasoning and AI cognition.

Introduction

While techniques like Chain-of-Thought (CoT) have revolutionized Large Language Model (LLM) reasoning, they primarily focus on the sequence of thoughts—the "inter-thought" level. The actual content of each reasoning step often remains a "black box" of unstructured text. This lack of internal structure makes it difficult for models to track multiple constraints simultaneously, frequently leading to hallucinations or overlooked details in complex tasks like travel planning or scheduling.

Drawing inspiration from cognitive neuroscience—which suggests the human brain organizes knowledge into structured "frames"—the "Table as Thought" framework moves beyond linear text chains. By forcing LLMs to organize their internal reasoning process into a structured tabular schema, the method significantly improves performance in complex planning and mathematical tasks.

The Table as Thought Framework

The core of this approach is the "Reasoning Table," which replaces unstructured text with a structured scratchpad. The process follows an iterative pipeline designed to ensure every constraint is addressed systematically.

The Table as Thought pipeline: from query to schema design, iterative table construction, and final verification.
  1. Schema Development: The LLM first identifies the constraints of a query and designs a table schema (headers). For a scheduling task, headers might include "Participant Name," "Unavailable Time," and "Proposed Slot."
  2. Table Construction: The model iteratively populates the rows of the table. Each row represents a discrete reasoning step or a specific entity's data.
  3. Reasoning Verification: A dedicated module checks the table for consistency and completeness. If a conflict is found (e.g., a meeting time overlapping with a participant's "Unavailable Time"), the model reflects and updates the table.
  4. Final Answer: Once the table is verified, the final answer is extracted from the structured data.

This approach leverages "Structured Outputs" (like JSON or tool-calling modes) to ensure the model adheres to the predefined schema, acting as a "hard" constraint on the model's attention.

Experimental Evaluation

The framework was evaluated on four diverse benchmarks:

  • NaturalPlan (Calendar Scheduling): Finding a meeting time that satisfies multiple participants' conflicting schedules.
  • TravelPlanner: Creating complex, multi-day itineraries with strict budget and attraction constraints.
  • GSM-8K: Grade-school level word math problems.
  • MATH500: Advanced mathematical problems requiring symbolic manipulation.

Key Insights

  • Tables as Cognitive Anchors: By forcing the LLM to fill specific columns (like "Cost" or "Duration"), the framework ensures that critical variables are never ignored.
  • The Schema Bottleneck: While LLMs are adept at using tables, they struggle to design them for highly complex tasks. In TravelPlanner, models performed best when given a predefined schema rather than being asked to invent one.
  • Granularity and Complexity Ceilings: For advanced models like GPT-4o, breaking a problem into many rows (finer granularity) led to better results. However, for smaller models like GPT-4o-mini, excessive structure caused performance to degrade, suggesting a complexity ceiling for smaller LLMs.

Key Results

The structured approach yielded significant improvements in planning-heavy tasks. On the Calendar Scheduling task, Table as Thought achieved 74.8% accuracy with GPT-4o, a notable jump over Direct Prompting (64.0%) and CoT (64.5%).

Performance comparison on the Calendar Scheduling task, showing significant gains for the Table as Thought approach compared to Direct and CoT baselines.

In the TravelPlanner task, using a "Given Schema" provided the only path to a successful "Final Pass Rate" (1.11%), whereas all unstructured text baselines failed completely (0%). In mathematical reasoning, Table as Thought was able to solve roughly 20-30% of problems that standard text-based methods failed on, suggesting that structured thinking helps the model find reasoning paths that are easily lost in unstructured prose.

Limitations and Future Work

The primary limitation is the "Capability Gap." Currently, the framework only works reliably with top-tier closed-source models like GPT-4o. Open-source models like LLaMA 3.1 struggled significantly with schema adherence, often failing to generate valid table structures. Additionally, the iterative "Reflect and Update" loop increases computational cost and latency. Future work aims to explore how to adapt these structured representations for a broader range of open-source models and how to automate the design of optimal schemas for any given problem.

Summary updated

BibTeX
@inproceedings{sun2025table,
  author = {Zhenjie Sun and Naihao Deng and Haofei Yu and Jiaxuan You},
  title = {{Table as Thought: Exploring Structured Thoughts in LLM Reasoning}},
  booktitle = {TRL @ ACL},
  year = {2025},
  url = {https://openreview.net/forum?id=txowdzhxRG},
}
Figure