paper-with-me

Papers

Don't Judge Code by Its Cover: Exploring Biases in LLM Judges for Code Evaluation

2025-05-22 · Jiwon Moon, Yerin Hwang, Dongryeol Lee, Taegwan Kang, Yongil Kim, Kyomin Jung

With the growing use of large language models(LLMs) as evaluators, their application has expanded to code evaluation tasks, where they assess the correctness of generated code without relying on reference implementations. While this offers scalability and flexibility, it also raises a critical, unresolved question: Can LLM judges fairly and robustly evaluate semantically equivalent code with superficial variations? Functionally correct code often exhibits variations-such as differences in variable names, comments, or formatting-that should not influence its correctness. Yet, whether LLM judges can reliably handle these variations remains unclear. We present the first comprehensive study of this issue, defining six types of potential bias in code evaluation and revealing their systematic impact on LLM judges. Across five programming languages and multiple LLMs, we empirically demonstrate that all tested LLM judges are susceptible to both positive and negative biases, resulting in inflated or unfairly low scores. Moreover, we observe that LLM judges remain vulnerable to these biases even when prompted to generate test cases before scoring, highlighting the need for more robust code evaluation methods.

📄 PDF Abstract BibTeX arXiv:2505.16222

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Toward Robust LLM-Based Judges: Taxonomic Bias Evaluation and Debiasing Optimization

2026-03-09 · Hongli Zhou, Hui Huang, Rui Zhang, Kehai Chen 외 arxiv

Large language model (LLM)-based judges are widely adopted for automated evaluation and reward modeling, yet their judgments are often affected by judgment biases. Accurately evaluating these biases is essential for ensu…

Reinforcement LearningContrastive Learning

Comparing Developer and LLM Biases in Code Evaluation

2026-03-25 · Aditya Mittal, Ryan Shar, Zichu Wu, Shyam Agarwal 외 arxiv

As LLMs are increasingly used as judges in code applications, they should be evaluated in realistic interactive settings that capture partial context and ambiguous intent. We present TRACE (Tool for Rubric Analysis in Co…

Humans or LLMs as the Judge? A Study on Judgement Biases

2024-02-16 · Guiming Hardy Chen, Shunian Chen, Ziche Liu, Feng Jiang 외

Adopting human and large language models (LLM) as judges (a.k.a human- and LLM-as-a-judge) for evaluating the performance of LLMs has recently gained attention. Nonetheless, this approach concurrently introduces potentia…

Misinformation

Evaluating and Mitigating LLM-as-a-judge Bias in Communication Systems

2025-10-14 · Jiaxin Gao, Chen Chen, Yanwen Jia, Xueluan Gong 외 arxiv

Large Language Models (LLMs) are increasingly being used to autonomously evaluate the quality of content in communication systems, e.g., to assess responses in telecom customer support chatbots. However, the impartiality…

Fooling the LVLM Judges: Visual Biases in LVLM-Based Evaluation

2025-05-21 · Yerin Hwang, Dongryeol Lee, Kyungmin Min, Taegwan Kang 외

Recently, large vision-language models (LVLMs) have emerged as the preferred tools for judging text-image alignment, yet their robustness along the visual modality remains underexplored. This work is the first study to a…