Are LLMs Reliable Translators of Logical Reasoning Across Lexically Diversified Contexts?

Qingchuan Li, Jiatong Li, Zirui Liu, Mingyue Cheng, Yuting Zeng, Qi Liu, Tongxuan Liu · OpenReview

Abstract

Neuro-symbolic approaches combining large language models (LLMs) with symbolic solvers excel in complex logical reasoning. In this paradigm, LLMs serve as translators, converting natural language reasoning problems into formal logic formulas. Despite their success, we find that LLMs struggle to handle lexical diversification—a common linguistic phenomenon—indicating that LLMs as logic translators are unreliable in real-world scenarios. We introduce SoLT, a benchmark designed to address this gap through logic-invariant lexical diversification. Furthermore, we propose MenTaL, a framework that guides LLMs to construct a table unifying diverse expressions before translation. Experiments confirm that current LLMs exhibit significant deficiencies in linguistic stability, which MenTaL effectively addresses by improving translation consistency and reasoning accuracy.

Introduction: The Challenge of Symbol Drift

The integration of Large Language Models (LLMs) with symbolic solvers represents a powerful neuro-symbolic approach to complex reasoning. In this setup, the LLM acts as a "translator," mapping natural language premises to formal logic (e.g., First-Order Logic), which a symbolic solver then processes to reach a conclusion. However, this method is highly sensitive to linguistic variation.

Illustration of symbol drift where synonymous natural language terms are mapped to inconsistent logical predicates.

As shown in Figure 1, a human reader easily recognizes that "feels chilly" and "is cold" refer to the same concept. An LLM, however, may translate these into distinct predicates like Chilly(Bob) and Cold(x). Because symbolic solvers rely on exact symbol matching, this "symbol drift" breaks the reasoning chain, leading to failure even when the underlying logic is simple. Existing benchmarks often use rigid templates that mask this weakness, leading to an overestimation of LLM reliability.

The SoLT Benchmark: Testing Linguistic Stability

To evaluate reliability in more realistic settings, we developed the SoLT (Stability of Logical Translation) benchmark generation pipeline. SoLT transforms original reasoning datasets into lexically diversified but logically equivalent versions using three strategies:

  • Word-level: Swapping synonyms using WordNet.
  • Phrase-level: Paraphrasing using the Paraphrase Database (PPDB).
  • Sentence-level: Using an LLM to rewrite syntax (e.g., active to passive voice) or use third-person references.

To ensure logical invariance, we employ semantic filtering with sentence embeddings, discarding any variations that deviate significantly from the original meaning. This ensures that the reasoning task remains identical while the linguistic presentation varies.

The MenTaL Framework: Guided Semantic Unification

To overcome symbol drift, we propose MenTaL (Mental Representation Table-guided translation). This framework introduces an intermediate step where the LLM constructs a "Mental Representation Table" (MRT) before generating logic formulas.

The SoLT pipeline for benchmark diversification and the MenTaL framework for guided semantic unification.

As depicted in Figure 3, the MRT serves as a global memory that explicitly maps diverse linguistic expressions to a single, unified logical symbol. For example, "chilly," "cold," and "nippy" are all mapped to a single concept symbol. This unified mapping ensures that the symbolic solver receives consistent input, effectively neutralizing the impact of lexical diversity. This can be implemented via specific prompting or Supervised Fine-Tuning (SFT).

Experimental Results and Insights

We evaluated several models, including GPT-4 and Llama-3, across diversified versions of five major reasoning datasets: FOLIO, ProverQA, ProntoQA, LogicDeduction, and ProofWriter.

The Impact of Diversification

Linguistic diversity causes a massive drop in reasoning accuracy. GPT-4’s accuracy plummeted from approximately 51% to 24% on diversified tasks. We quantified this using the Symbol Dispersion Score (SDS), which measures the variety of symbols used for a single concept. High SDS directly correlates with reasoning failure, suggesting a cumulative buildup of translation errors as diversification intensity increases.

Performance Recovery with MenTaL

MenTaL significantly restores performance. On the ProntoQA dataset, GPT-4's accuracy improved by over 40% compared to direct translation. Furthermore, MenTaL reduced the SDS to near zero across nearly all tasks, confirming its ability to enforce symbol consistency. Fine-tuning smaller models like Llama-3-8B with MenTaL allowed them to outperform much larger models on diversified reasoning tasks.

Human Baseline

Human testers maintained ~98% accuracy on both original and diversified versions of the benchmark. This confirms that the SoLT tasks are not inherently more difficult logically; the failure is specific to the LLM's inability to maintain linguistic consistency during translation.

Conclusion

While LLMs are powerful, their role as logic translators is currently hindered by a lack of linguistic stability. The MenTaL framework offers a structured path forward, demonstrating that explicit semantic unification can bridge the gap between diverse natural language and rigid symbolic logic. Future work will focus on reducing the computational overhead of MenTaL and improving the translation of complex logical relations beyond simple predicates.

Summary updated

BibTeX
@misc{li2025are,
  author = {Qingchuan Li and Jiatong Li and Zirui Liu and Mingyue Cheng and Yuting Zeng and Qi Liu and Tongxuan Liu},
  title = {{Are LLMs Reliable Translators of Logical Reasoning Across Lexically Diversified Contexts?}},
  year = {2025},
  eprint = {2506.04575},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.04575},
}
Figure