Pith. sign in

REVIEW 2 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

arxiv 2310.14053 v3 pith:3GHUVOJR submitted 2023-10-21 cs.LG cs.CLcs.SE

classification cs.LGcs.CLcs.SE
keywords codeself-consistencyidentitychainlanguagellmsaccuracymodelconventional
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
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.

Discussion (0). Sign in to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. ConsistencyChecker: Tree-based Evaluation of LLM Generalization Capabilities

    cs.AI 2025-06 conditional novelty 6.0 of 10

    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.

  2. Chain-of-Descriptions: Improving Code LLMs for VHDL Code Generation and Summarization

    cs.CL 2025-07 conditional novelty 4.0 of 10

    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.

Pith tools