Learning to Reason via Mixture-of-Thought for Logical Reasoning

Tong Zheng, Lichang Chen, Simeng Han, R. Thomas McCoy, Heng Huang

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).

Error distribution of NL mode showing that invalid converse and missing branches dominate failures.

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:

  1. Grounding: Instantiating first-order logic formulas into a finite set of propositional predicates.
  2. 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.

The MoT framework consisting of self-evolving training and parallel inference with majority voting.

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.
Performance comparison across different reasoning depths, showing MoT excels at harder problems.

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

Abstract

Human beings naturally utilize multiple reasoning modalities to learn and solve logical problems, i.e., different representational formats such as natural language, code, and symbolic logic. In contrast, most existing LLM-based approaches operate with a single reasoning modality during training, typically natural language. Although some methods explored modality selection or augmentation at inference time, the training process remains modality-blind, limiting synergy among modalities. To fill in this gap, we propose Mixture-of-Thought (MoT), a framework that enables LLMs to reason across three complementary modalities: natural language, code, and a newly introduced symbolic modality, truth-table, which systematically enumerates logical cases and partially mitigates key failure modes in natural language reasoning. MoT adopts a two-phase design: (1) self-evolving MoT training, which jointly learns from filtered, self-generated rationales across modalities; and (2) MoT inference, which fully leverages the synergy of three modalities to produce better predictions. Experiments on logical reasoning benchmarks including FOLIO and ProofWriter demonstrate that our MoT framework consistently and significantly outperforms strong LLM baselines with single-modality chain-of-thought approaches, achieving up to +11.7pp average accuracy gain. Further analyses show that our MoT framework benefits both training and inference stages; that it is particularly effective on harder logical reasoning problems; and that different modalities contribute complementary strengths, with truth-table reasoning helping to overcome key bottlenecks in natural language inference.
BibTeX
@inproceedings{zheng2026learning,
  author = {Tong Zheng and Lichang Chen and Simeng Han and R. Thomas McCoy and Heng Huang},
  title = {{Learning to Reason via Mixture-of-Thought for Logical Reasoning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=xhrN80hmJ9},
}
Figure