paper-with-me

Papers

Intermediate Languages Matter: Formal Choice Drives Neurosymbolic LLM Reasoning

2025-02-24 · Alexander Beiser, David Penz, Nysret Musliu

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, it remains unclear what the contributing factors to the success of Neurosymbolic LLM reasoning are. This paper shows that one important factor is the choice of the formal language. By comparing 4 formal languages on 3 datasets over 6 LLMs, we show that the choice of formal language affects both the syntactic and the semantic reasoning capability. Thereby, we introduce the intermediate language challenge, which is the challenge of picking a suitable formal language for neurosymbolic reasoning. Further, we compare the effects of using different in-context-learning examples in an ablation study. We conclude that on average, context-aware encodings help LLMs to reason, while there is no apparent effect of using comments or markdown syntax.

📄 PDF Abstract BibTeX arXiv:2502.17216

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context LearningLogical Reasoning

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Intermediate Languages Matter: Formal Languages and LLMs affect Neurosymbolic Reasoning

2025-09-04 · Alexander Beiser, David Penz, Nysret Musliu arxiv

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…

Reformalization of the Jordan Curve Theorem

2026-07-02 · Simon Guilloud, Sankalp Gambhir, Samuel Chassot arxiv

We present a case study in reformalization, a variant of autoformalization in which the input proof is not natural language but a formal development in a different proof assistant. Concretely, we report three reformaliza…

GraphQ IR: Unifying the Semantic Parsing of Graph Query Languages with One Intermediate Representation

2022-05-24 · Lunyiu Nie, Shulin Cao, Jiaxin Shi, Jiuding Sun 외

Subject to the huge semantic gap between natural and formal languages, neural semantic parsing is typically bottlenecked by its complexity of dealing with both input semantics and output syntax. Recent works have propose…

Few-Shot LearningSemantic Parsing

Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languages

2024-06-05 · Federico Mora, Justin Wong, Haley Lepe, Sahil Bhatia 외

Recent advances in large language models (LLMs) for code applications have demonstrated remarkable zero-shot fluency and instruction following on challenging code related tasks ranging from test case generation to self-r…

Instruction FollowingRetrievalvalid

Analyzing The Language of Visual Tokens

2024-11-07 · David M. Chan, Rodolfo Corona, Joonyong Park, Cheol Jun Cho 외

With the introduction of transformer-based models for vision and language tasks, such as LLaVA and Chameleon, there has been renewed interest in the discrete tokenized representation of images. These models often treat i…