AI RESEARCH

Are Large Language Models Robust in Understanding Code Against Semantics-Preserving Mutations?

arXiv CS.AI

ArXi:2505.10443v3 Announce Type: replace-cross With the widespread adoption of vibe coding, understanding the reasoning and robustness of Large Language Models (LLMs) is critical for their reliable use in programming tasks. While recent studies assess LLMs' ability to predict program outputs, most focus on accuracy alone, without evaluating the underlying reasoning. Moreover, it has been observed on mathematical reasoning tasks that LLMs can arrive at correct answers through flawed logic, raising concerns about similar issues in code understanding.