HYBRIDMIND: Meta Selection of Natural Language and Symbolic Language for Enhanced LLM Reasoning

Simeng Han, Tianyu Liu, Chuhan Li, Xuyuan Xiong, Arman Cohan

TL;DR

This paper introduces HYBRIDMIND, a novel meta-selection strategy that dynamically chooses between natural language (NL) and symbolic language (SL) reasoning for LLMs. By adaptively selecting the best approach for each problem, HYBRIDMIND significantly boosts reasoning performance on complex logical and mathematical tasks, outperforming single-method approaches.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly used for logical and mathematical reasoning. However, current approaches often rely on either purely natural language (NL) reasoning, which is flexible but prone to ambiguity, or symbolic language (SL) reasoning, which is precise but requires strict domain constraints. This dichotomy leads to suboptimal performance, as neither approach excels at all problem types. The paper addresses the challenge of leveraging the complementary strengths of both NL and SL reasoning to achieve more robust and accurate LLM reasoning capabilities.

Methods

The core contribution is HYBRIDMIND, a meta-selection framework. This framework dynamically analyzes a given reasoning problem and selects the most appropriate reasoning strategy:

  • Natural Language (NL) Reasoning: LLMs generate step-by-step explanations in natural language.
  • Symbolic Language (SL) Reasoning: LLMs generate executable code (e.g., Python) or formal logic formulas.
  • SymbolNL: A two-stage approach where SL is generated first, followed by NL analysis of the SL.
  • NLSymbol: A two-stage approach where NL reasoning guides the generation of SL.

HYBRIDMIND trains a "meta-selector" model. This meta-selector is trained on data where different reasoning approaches (NL, SL, SymbolNL, NLSymbol) are applied to problems, and the "correctness" of each approach is labeled. The meta-selector then learns to predict which approach is most likely to succeed for a new problem. The paper explores both fine-tuning (using LoRA and STaR) and prompting-based meta-selectors. For symbolic reasoning, Python is chosen for mathematical tasks due to its computational capabilities, while First-Order Logic (FOL) is used for logical reasoning.

Datasets

The paper uses two established datasets for evaluation:

  • MATH: A challenging dataset for mathematical reasoning, comprising 7,498 training and 5,000 testing samples across 7 categories and 5 difficulty levels.
  • FOLIO: A dataset for logical reasoning, containing 1,001 training and 226 testing samples across 2 categories.

Key Insights and Ideas

  • Complementarity is Key: The paper strongly emphasizes that NL and SL reasoning have complementary strengths. NL excels at flexibility and human interpretability, while SL offers precision and machine executability. HYBRIDMIND's success hinges on effectively combining these.
  • Meta-Selection Outperforms Single-Method: The core insight is that a meta-selector, which dynamically chooses the best reasoning strategy, consistently outperforms relying on a single strategy (NL or SL) alone. This is demonstrated across various LLMs and training/prompting methods.
  • Fine-tuning vs. Prompting Trade-offs: While fine-tuning (especially with STaR) shows strong performance for meta-selection on MATH, prompting (particularly with GPT-3.5-Turbo) is highly effective for FOLIO, especially on challenging subsets. This suggests different LLMs and tasks might benefit from different meta-selection approaches.
  • Importance of Weakness Information: Informing the meta-selector about the weaknesses of NL and SL reasoning (e.g., NL's susceptibility to ambiguity, SL's difficulty with nuanced language) significantly improves its selection accuracy, particularly for more complex logical problems.
  • Symbolic Language Choice Matters: The paper highlights that Python is preferred for mathematical reasoning due to its direct computational support, while FOL is more suited for formal logical deduction.

Key Results

  • FOLIO Performance: Fine-tuning LLaMA-3.1-8B-Instruct as a meta-selector achieved a 4.4% accuracy gain on FOLIO compared to GPT-4o's NL reasoning. Using GPT-3.5-Turbo as a prompted meta-selector yielded a 10% improvement on FOLIO's challenging subset over GPT-4o.
  • MATH Performance: HYBRIDMIND improved NL reasoning by 17.64% on HybLogic (a subset of FOLIO) when evaluated by difficulty levels. For MATH, fine-tuned models showed improvements, with STaR achieving the best performance.
  • Meta-Selector Effectiveness: HYBRIDMIND consistently improved performance over baseline NL or SL reasoning, with "best-of-2" (at least one method correct) showing significant gains over individual methods.
  • Reduced Bias: The meta-selection approach reduced the LLM's bias towards selecting NL reasoning, especially in logical reasoning tasks where SL is often more appropriate.

Limitations and Future Work

  • Dataset Scope: The authors acknowledge that while HYBRIDMIND performs well on challenging tasks, they haven't yet tested it on even more complex mathematical reasoning datasets like AIME.
  • No Single Best Approach: Currently, there isn't a single meta-selection approach (fine-tuning vs. prompting) that excels across both MATH and FOLIO.
  • Loss Function: The paper mentions the lack of a more advanced loss function for further refining the meta-selector training.
  • Future Work: The authors suggest exploring auto-formalization using Isabelle-form for SL in MATH reasoning and investigating more advanced meta-selector training techniques. They also plan to release their code and data to facilitate future research.

Summary updated

BibTeX
@inproceedings{han2025hybridmind,
  author = {Simeng Han and Tianyu Liu and Chuhan Li and Xuyuan Xiong and Arman Cohan},
  title = {{HYBRIDMIND: Meta Selection of Natural Language and Symbolic Language for Enhanced LLM Reasoning}},
  booktitle = {MATH-AI @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=0rr5PMsEx4},
}

Loading related content...

Figure