REVIEW 3 cited by
Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChain
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
read the original abstract
Code Large Language Models (Code LLMs) are being increasingly employed in real-life applications, so evaluating them is critical. While the conventional accuracy evaluates the performance of Code LLMs on a set of individual tasks, their self-consistency across different tasks is overlooked. Intuitively, a trustworthy model should be self-consistent when generating natural language specifications for its own code and generating code for its own specifications. Failure to preserve self-consistency reveals a lack of understanding of the shared semantics underlying natural language and programming language, and therefore undermines the trustworthiness of a model. In this paper, we first formally define the self-consistency of Code LLMs and then design a framework, IdentityChain, which effectively and efficiently evaluates the self-consistency and conventional accuracy of a model at the same time. We study eleven Code LLMs and show that they fail to preserve self-consistency, which is indeed a distinct aspect from conventional accuracy. Furthermore, we show that IdentityChain can be used as a model debugging tool to expose weaknesses of Code LLMs by demonstrating three major weaknesses that we identify in current models using IdentityChain. Our code is available at https://github.com/marcusm117/IdentityChain.
Forward citations
Cited by 3 Pith papers
-
ConsistencyChecker: Tree-based Evaluation of LLM Generalization Capabilities
ConsistencyChecker ranks LLMs by how well they survive chains of reversible transformations, and those scores track WMT 2024 translation quality rankings (r > 0.7) without using WMT paired data.
-
A Tool for In-depth Analysis of Code Execution Reasoning of Large Language Models
ExeRScope uses static and dynamic program analysis to show that LLMs' code execution reasoning degrades with program complexity, nested structures, longer loops, and non-primitive types.
-
Chain-of-Descriptions: Improving Code LLMs for VHDL Code Generation and Summarization
Chain-of-Descriptions, a plan-then-generate prompt strategy, improves VHDL code generation and summarization scores for eight LLMs on the VHDL-Eval and VHDL-Xform benchmarks.
Discussion (0). Continue with ORCID to comment.