Hugging Face Trending Papers

Which Signals of Code Correctness Survive Distribution Shift? Hidden-State and Causal Predictors of Program and Verdict Correctness

Read the original on Hugging Face Trending Papers →

The paper investigates how execution‑free predictors of code correctness—based on model output probabilities, sampled solutions, or hidden states—perform when faced with distribution and language shifts. Six predictors from four families were evaluated on Qwen3‑Coder‑30B and gpt‑oss‑20b across LiveCodeBench, BigCodeBench, and Python, C++ and Java. Causal localization methods improved robustness for verdict correctness under language shift, while predictors generally transferred better between benchmarks for program correctness but struggled to rank candidates within the same problem.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Hugging Face Trending Papers.

arXiv Machine Learning
Nov 6

Which Signals of Code Correctness Survive Distribution Shift? Hidden-State and Causal Predictors of Program and Verdict Correctness

The paper investigates how execution‑free predictors of code correctness—using signals from model output probabilities, sampled solutions, or hidden states—perform under distribution and language shifts. Six predictors from four families are evaluated on Qwen3‑Coder‑30B and gpt‑oss‑20b across LiveCodeBench and BigCodeBench, and across Python, C++ and Java. Novel causal localization methods show improved robustness for verdict correctness under language shift, while program‑correctness predictors transfer better between benchmarks but struggle to rank candidates within a single problem.

By Viola Campos, Thomas Klassert, Adrian Ulges
arXiv AI
Aug 26

Evaluating Language Models on Cross-Language Code Functional Equivalence

The paper introduces PolyHuman, a dataset of human-written programs in C++, Java, and Python, to test whether large language models can judge functional equivalence across languages. Using this dataset, the authors evaluate several open-weight and proprietary LLMs, finding that models struggle more with harder problems, show language-specific biases, and rely partly on superficial similarity cues. They also observe run‑to‑run instability in GPT‑o4‑mini, concluding that current LLMs do not reliably capture functional equivalence within or across programming languages.

By Hui Sun, Anderson Uch\^oa, Rohit Gheyi, Wesley K. G. Assun\c{c}\~ao
arXiv Machine Learning
Oct 16

Causal Syntax Circuits in CodeLMs: Budget and Probe Decide What Looks Localised

The paper investigates whether the tendency of code language models to default to Python when no language is specified is driven by a small, identifiable set of internal components. Using a comprehensive pipeline—including ablation, activation patching, greedy circuit extraction, and significance testing—across 55 model-language configurations, the authors find that this preference is large, grows with model size, and persists after instruction tuning. They also show that the apparent localization of this behavior depends heavily on analysis choices such as component budget and probe design, and that interventions can sometimes alter the model’s output.

By Harsh Kumar, Tanmay Shailesh Joshi, Rahul Maity, Anusa Saha