paper-with-me

Papers

Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChain

2023-10-21 · Marcus J. Min, Yangruibo Ding, Luca Buratti, Saurabh Pujar, Gail Kaiser, Suman Jana, Baishakhi Ray

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.

📄 PDF Abstract BibTeX arXiv:2310.14053

Code (1)

marcusm117/IdentityChain 공식 구현

Tasks

Code GenerationCode Summarization

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Beyond Accuracy: Statistical Measures and Benchmark for Evaluation of Representation from Self-Supervised Learning

2023-12-02 · Jiantao Wu, Shentong Mo, Sara Atito, Josef Kittler 외

Recently, self-supervised metric learning has raised attention for the potential to learn a generic distance function. It overcomes the limitations of conventional supervised one, e.g., scalability and label biases. Desp…

16kDiversityMetric LearningSelf-Supervised Learning

SSR: Socratic Self-Refine for Large Language Model Reasoning

2025-11-13 · Haizhou Shi, Ye Liu, Bo Pang, Zeyu Leo Liu 외 arxiv

Large Language Models (LLMs) have demonstrated remarkable reasoning abilities, yet existing test-time frameworks often rely on coarse self-verification and self-correction, limiting their effectiveness on complex tasks. …

GLaPE: Gold Label-agnostic Prompt Evaluation and Optimization for Large Language Model

2024-02-04 · Xuanchang Zhang, Zhuosheng Zhang, Hai Zhao

Despite the rapid progress of large language models (LLMs), their task performance remains sensitive to prompt design. Recent studies have explored leveraging the LLM itself as an optimizer to identify optimal prompts th…

Language ModelingLanguage ModellingLarge Language Model

How Far Do On-Prem Open LLMs Get on Text-to-SQL? A Cross-Family Size x Technique Frontier on BIRD

2026-06-29 · Vladimir Beskorovainyi arxiv

Organizations that cannot send data to a cloud API increasingly ask: how good is Text-to-SQL if the model must run on-premises on open weights, and which popular accuracy "recipes" are worth their compute? We answer with…

Scalable Best-of-N Selection for Large Language Models via Self-Certainty

2025-02-25 · Zhewei Kang, Xuandong Zhao, Dawn Song

Best-of-N selection is a key technique for improving the reasoning performance of Large Language Models (LLMs) through increased test-time computation. Current state-of-the-art methods often employ computationally intens…