Vibeleaderboard
← All Intel
Intel / article

On the Robustness of LLMs' Internal Representation of Code Correctness

Source
arxiv.org
Author
Francisco Ribeiro, Sohaila Abdulsattar, Renata Gonzalez, Mahmoud Kassem, Sarah Nadi
Date

Context

Signals inside a can help distinguish correct from incorrect code, but their usefulness depends on how they are extracted. This study varies the extraction to test whether an earlier correctness signal is robust. It also constructs pairs of programs differing only in the fault that makes one incorrect.

The authors report that no extraction configuration was consistently best and that isolating the fault did not improve the signal. An internal correctness score therefore needs under its chosen setup; the reported signal is a statistical aid to judging candidate code, rather than proof that a implements its requirements.

Terms in this piece · Glossary
  • Large language model — A model trained on large amounts of data to process and generate language.
  • Setup — The combination of a model, a harness, its connections and the path the task's data takes, considered together for a task.
  • eval — A repeatable test for AI quality — a set of tasks plus scoring — used the way software teams use test suites, because model output is too variable to judge by eyeballing.
  • Program — A set of instructions stored so that a computer can run it.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Recommended reads