English

Intermediate Languages Matter: Formal Languages and LLMs affect Neurosymbolic Reasoning

Artificial Intelligence 2025-09-05 v1

Abstract

Large language models (LLMs) achieve astonishing results on a wide range of tasks. However, their formal reasoning ability still lags behind. A promising approach is Neurosymbolic LLM reasoning. It works by using LLMs as translators from natural to formal languages and symbolic solvers for deriving correct results. Still, the contributing factors to the success of Neurosymbolic LLM reasoning remain unclear. This paper demonstrates that one previously overlooked factor is the choice of the formal language. We introduce the intermediate language challenge: selecting a suitable formal language for neurosymbolic reasoning. By comparing four formal languages across three datasets and seven LLMs, we show that the choice of formal language affects both syntactic and semantic reasoning capabilities. We also discuss the varying effects across different LLMs.

Keywords

Cite

@article{arxiv.2509.04083,
  title  = {Intermediate Languages Matter: Formal Languages and LLMs affect Neurosymbolic Reasoning},
  author = {Alexander Beiser and David Penz and Nysret Musliu},
  journal= {arXiv preprint arXiv:2509.04083},
  year   = {2025}
}

Comments

To appear in the proceedings of The Second Workshop on Knowledge Graphs and Neurosymbolic AI (KG-NeSy) Co-located with SEMANTiCS 2025 Conference, Vienna, Austria - September 3rd, 2025

R2 v1 2026-07-01T05:20:51.179Z