paper-with-me

Papers

\texttt{ReMind}: Understanding Deductive Code Reasoning in LLMs

2025-11-01 · Jun Gao, Yun Peng, Xiaoxue Ren arxiv

Large Language Models (LLMs) have achieved remarkable progress in code-related tasks. Despite their advancement, empirical evidence reveals that they still struggle with \emph{deductive code reasoning}, the ability to reason about the program execution process. While prior studies have recognized this limitation, the underlying causes remain largely underexplored. In this paper, we begin by presenting a comprehensive empirical study that reveals three key challenges undermining deductive code reasoning: (1) an intrinsic gap between generation and reasoning abilities, (2) a consistent bias towards code sources, and (3) weak zero-shot generalization on complex benchmarks. In light of these challenges, we propose \texttt{ReMind}, a multi-agent framework composed of \texttt{Mutator}, \texttt{Executor}, and \texttt{Inspector}. The \texttt{Mutator} generates code variants to mitigate bias towards code sources, the \texttt{Executor} traces variable states step-by-step to expose inconsistency, and the \texttt{Inspector} identifies problematic reasoning steps and provides control-flow refinement to bridge the intrinsic reasoning gap. Through their coordinated collaboration, \texttt{ReMind} systematically identifies and refines reasoning flaws, achieving outstanding performance and enabling robust zero-shot generalization. Extensive experiments on two benchmarks with five LLMs demonstrate the superior advantages of \texttt{ReMind} compared to baseline approaches in deductive code reasoning.

📄 PDF Abstract BibTeX arXiv:2511.00488

Code (0)

등록된 구현이 없습니다.

Tasks

Zero-shot Generalization

Similar Papers 제목 키워드 기반

On the Role of Reasoning Patterns in the Generalization Discrepancy of Long Chain-of-Thought Supervised Fine-Tuning

2026-04-02 · Zhaoyi Li, Xiangyu Xi, Zhengyu Chen, Wei Wang 외 arxiv

Supervised Fine-Tuning (SFT) on long Chain-of-Thought (CoT) trajectories has become a pivotal phase in building large reasoning models. However, how CoT trajectories from different sources influence the generalization pe…

RobustLR: Evaluating Robustness to Logical Perturbation in Deductive Reasoning

2022-05-25 · Soumya Sanyal, Zeyi Liao, Xiang Ren

Transformers have been shown to be able to perform deductive reasoning on a logical rulebase containing rules and statements written in English natural language. While the progress is promising, it is currently unclear i…

Logical ReasoningNegation

Project proposal: A modular reinforcement learning based automated theorem prover

2022-09-06 · Boris Shminke

We propose to build a reinforcement learning prover of independent components: a deductive system (an environment), the proof state representation (how an agent sees the environment), and an agent training algorithm. To …

OpenAI Gymreinforcement-learningReinforcement LearningReinforcement Learning (RL)+1

Deductive Verification of Chain-of-Thought Reasoning

2023-06-06 · NeurIPS 2023 11 · Zhan Ling, Yunhao Fang, Xuanlin Li, Zhiao Huang 외

Large Language Models (LLMs) significantly benefit from Chain-of-Thought (CoT) prompting in performing various reasoning tasks. While CoT allows models to produce more comprehensive reasoning processes, its emphasis on i…

Logical Reasoning

Reasoning Path and Latent State Analysis for Multi-view Visual Spatial Reasoning: A Cognitive Science Perspective

2025-12-02 · Qiyao Xue, Weichen Liu, Shiqi Wang, Haoming Wang 외 arxiv

Spatial reasoning is a core aspect of human intelligence that allows perception, inference and planning in 3D environments. However, current vision-language models (VLMs) struggle to maintain geometric coherence and cros…

Spatial Reasoning