paper-with-me

홈 › Papers

Obey, Diverge, Collapse: Blind Obedience to Incorrect Instructions Drives Code LLMs to Irrecoverable Code Semantic Collapse

2026-07-05 · Raj Jaiswal, Anany Singh Divy, Savar Bhasin, Adi Bajpai, Tanuja Ganu, Rajiv Ratn Shah arxiv

Code language models are now trusted collaborators in production workflows for debugging, refactoring, and iterative repair, and every benchmark that evaluates them assumes the instructions they act on are correct. We study what happens when that assumption breaks. We evaluate code language models across four experiments designed to assess whether models resist or obey incorrect instructions in single-pass and iterative repair settings, using the RunBugRun dataset of algorithmic Python problems with deterministic test cases. Our findings reveal a striking behavioral pattern: models correctly identify an incorrect instruction as wrong, then follow it anyway. This compliance unknowingly introduces errors beyond the original bug, and the corrupted code state cannot be recovered through subsequent self-guided iterative repair, which fails to converge across passes. We term this Blind Obedience, characterize the Ghost (Unknown) Errors it introduces, quantify the proportion of cases where semantic corruption proves irrecoverable, and show that extended reasoning cannot reverse it. These findings surface behavioral properties invisible to pass-rate evaluation, with direct consequences for code language models deployed in production settings.

📄 PDF Abstract BibTeX arXiv:2607.04537

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Should Robots be Obedient?

2017-05-28 · Smitha Milli, Dylan Hadfield-Menell, Anca Dragan, Stuart Russell

Intuitively, obedience -- following the order that a human gives -- seems like a good property for a robot to have. But, we humans are not perfect and we may give orders that are not best aligned to our preferences. We s…

The Intelligent Disobedience Game: Formulating Disobedience in Stackelberg Games and Markov Decision Processes

2026-03-22 · Benedikt Hornig, Reuth Mirsky arxiv

In shared autonomy, a critical tension arises when an automated assistant must choose between obeying a human's instruction and deliberately overriding it to prevent harm. This safety-critical behavior is known as intell…

Reinforcement Learning

Moral Responsibility or Obedience: What Do We Want from AI?

2025-07-03 · Joseph Boland arxiv

As artificial intelligence systems become increasingly agentic, capable of general reasoning, planning, and value prioritization, current safety practices that treat obedience as a proxy for ethical behavior are becoming…

ICRA Roboethics Challenge 2023: Intelligent Disobedience in an Elderly Care Home

2023-11-15 · Sveta Paster, Kantwon Rogers, Gordon Briggs, Peter Stone 외

With the projected surge in the elderly population, service robots offer a promising avenue to enhance their well-being in elderly care homes. Such robots will encounter complex scenarios which will require them to perfo…

Convergence in a Repeated Non-atomic Routing Game with Partial Signaling

2022-07-23 · Yixian Zhu, Ketan Savla

We study the following repeated non-atomic routing game. In every round, nature chooses a state in an i.i.d. manner according to a publicly known distribution, which influences link latency functions. The system planner …