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 Large language modelA model trained on large amounts of data to process and generate language.Full definition → can help distinguish correct from incorrect code, but their usefulness depends on how they are extracted. This study varies the extraction SetupThe combination of a model, a harness, its connections and the path the task's data takes, considered together for a task.Full definition → 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 evalA 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.Full definition → under its chosen setup; the reported signal is a statistical aid to judging candidate code, rather than proof that a ProgramA set of instructions stored so that a computer can run it.Full definition → 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.