TL;DR
The paper introduces Mixture-of-Thought (MoT), a framework that trains Large Language Models (LLMs) to solve complex logical problems by integrating three distinct reasoning modalities: natural language, code, and a novel symbolic truth-table format. By combining a self-evolving training loop with parallel multi-modality inference, MoT enables smaller open-source models to achieve massive performance gains, even matching closed-source giants like GPT-4 on challenging logic benchmarks.
What Problem Does This Paper Address?
While Chain-of-Thought (CoT) prompting has drastically improved LLM performance, most existing approaches rely on a single reasoning modality—typically natural language (NL)—during training. Even when ensemble methods are used at inference time, the underlying training process remains modality-blind, missing out on potential cross-modality synergies.
Furthermore, natural language has inherent bottlenecks when dealing with formal logic. Human evaluation reveals that nearly two-thirds of NL reasoning errors stem from "missing branches" (failing to exhaustively enumerate possibilities) and "invalid converse" errors (illicitly reversing conditional logic).
To bridge the gap between natural language flexibility and formal rigor, the authors investigate whether LLMs can achieve more robust logical reasoning by explicitly learning to operate across multiple complementary thought paradigms.
Methods
The MoT framework introduces a two-phase design spanning training and inference across three modalities: Natural Language CoT, Code CoT (structuring logic as unexecuted Python code), and a newly designed Truth Table CoT.
The Truth Table Modality
To overcome the exponential blow-up of traditional truth tables in LLM context windows, the authors designed a two-step strategy:
- Grounding: Instantiating first-order logic formulas into a finite set of propositional predicates.
- Reason to Prune: Using the LLM to systematically eliminate rows that violate any given premise, maintaining a compact, partial truth table to derive the final answer.
1. Self-Evolving MoT Training
MoT utilizes an on-policy, iterative bootstrapping algorithm. In the first round, the model is prompted with a few-shot exemplar set to generate reasoning trajectories across the three modalities. A reward function filters these trajectories based on two criteria: final answer correctness and strict structural tag formatting (e.g., ensuring code rationales contain valid class and def tokens). The model is then fine-tuned on these high-quality, self-generated traces. Subsequent rounds run entirely zero-shot.
2. MoT Inference
During inference, the fine-tuned model generates parallel responses for all three modalities using specific formatting tags. A simple majority voting mechanism aggregates the answers to determine the final prediction.
Datasets
The framework was evaluated using three prominent logical reasoning benchmarks:
- FOLIO: A dataset of realistic, expert-crafted logical problems featuring diverse reasoning depths (1–8 steps).
- ProofWriter: A synthetic logical reasoning dataset. The authors focused on the hardest subset, which requires a reasoning depth of 5 steps.
- ProverQA: A large-scale logical reasoning benchmark used to evaluate performance across varying levels of complexity.
Key Insights and Ideas
- Modality Complementarity is Real: The authors found that 35.8% of ProofWriter items and 16.7% of FOLIO items could only be solved by one specific paradigm. Combining NL, code, and truth tables expands the "oracle upper bound" coverage to 85%, outperforming any dual-modality combination.
- Inter-Modality Diversity Beats Intra-Modality Diversity: Training a single model on a mixture of modalities yields higher efficiency and better performance than training on an equivalent volume of diverse natural language data generated via high-temperature sampling.
- Truth Tables Mitigate NL Weaknesses: Manual error analysis proved that the systematic, tabular nature of the Truth Table CoT directly resolves the missing branch and transposition errors that frequently cripple standard natural language chains.
Key Results
The MoT framework consistently delivered substantial performance improvements across multiple base models, including Gemma-2-2B-IT, Gemma-2-9B-IT, and Qwen-2.5-7B-Instruct:
- Substantial Accuracy Gains: MoT training combined with single-thought inference outperformed base models by an average of +11.7 percentage points (pp). Adding MoT majority-vote inference provided an additional boost of up to 2.0pp.
- Matching Closed-Source SOTA: The 9B-parameter Gemma-2 MoT model achieved 78.9% accuracy on FOLIO, successfully matching the performance of the much larger GPT-4 paired with an external symbolic solver (Logic-LM).
- Excels at Harder Problems: Performance gains scaled with problem difficulty. On complex logical tasks (reasoning depths 5–8), MoT inference outperformed individual modalities by an average margin of 9%, whereas gains were negligible on simpler tasks.
Limitations and Future Work
While highly effective for formal logic, the authors note several limitations:
- Domain Specificity: The current iteration of MoT is strictly tailored to logical reasoning; its efficacy on mathematical or commonsense reasoning tasks remains untested.
- Heuristic Truth Tables: The truth-table generation still relies entirely on the LLM's internal generation capabilities, leaving room for optimization.
Future Directions: The authors plan to extend MoT to broader reasoning tasks by defining more generalized modalities. They also aim to implement "inference-time collaboration on the fly," allowing models to sequentially alternate between modalities as atomic steps, and develop a more rigorous, multi-step verification module for truth-table construction.
Summary updated