paper-with-me

홈 › Papers

HalluJudge: A Reference-Free Hallucination Detection for Context Misalignment in Code Review Automation

2026-01-27 · Kla Tantithamthavorn, Hong Yi Lin, Patanamon Thongtanunam, Wachiraphan Charoenwet, Minwoo Jeong, Ming Wu arxiv

Large Language models (LLMs) have shown strong capabilities in code review automation, such as review comment generation, yet they suffer from hallucinations -- where the generated review comments are ungrounded in the actual code -- poses a significant challenge to the adoption of LLMs in code review workflows. To address this, we explore effective and scalable methods for a hallucination detection in LLM-generated code review comments without the reference. In this work, we design HalluJudge that aims to assess the grounding of generated review comments based on the context alignment. HalluJudge includes four key strategies ranging from direct assessment to structured multi-branch reasoning (e.g., Tree-of-Thoughts). We conduct a comprehensive evaluation of these assessment strategies across Atlassian's enterprise-scale software projects to examine the effectiveness and cost-efficiency of HalluJudge. Furthermore, we analyze the alignment between HalluJudge's judgment and developer preference of the actual LLM-generated code review comments in the real-world production. Our results show that the hallucination assessment in HalluJudge is cost-effective with an F1 score of 0.85 and an average cost of $0.009. On average, 67% of the HalluJudge assessments are aligned with the developer preference of the actual LLM-generated review comments in the online production. Our results suggest that HalluJudge can serve as a practical safeguard to reduce developers' exposure to hallucinated comments, fostering trust in AI-assisted code reviews.

📄 PDF Abstract BibTeX arXiv:2601.19072

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

HalluDial: A Large-Scale Benchmark for Automatic Dialogue-Level Hallucination Evaluation

2024-06-11 · Wen Luo, Tianshu Shen, Wei Li, Guangyue Peng 외

Large Language Models (LLMs) have significantly advanced the field of Natural Language Processing (NLP), achieving remarkable performance across diverse tasks and enabling widespread real-world applications. However, LLM…

HallucinationHallucination EvaluationLanguage ModellingSentence

ANHALTEN: Cross-Lingual Transfer for German Token-Level Reference-Free Hallucination Detection

2024-07-18 · Janek Herrlein, Chia-Chien Hung, Goran Glavaš

Research on token-level reference-free hallucination detection has predominantly focused on English, primarily due to the scarcity of robust datasets in other languages. This has hindered systematic investigations into t…

Cross-Lingual TransferHallucination

Seeing is Believing: Rich-Context Hallucination Detection for MLLMs via Backward Visual Grounding

2025-11-15 · Pinxue Guo, Chongruo Wu, Xinyu Zhou, Lingyi Hong 외 arxiv

Multimodal Large Language Models (MLLMs) have unlocked powerful cross-modal capabilities, but still significantly suffer from hallucinations. As such, accurate detection of hallucinations in MLLMs is imperative for ensur…

Visual Grounding

A Token-level Reference-free Hallucination Detection Benchmark for Free-form Text Generation

2021-04-18 · ACL 2022 5 · Tianyu Liu, Yizhe Zhang, Chris Brockett, Yi Mao 외

Large pretrained generative models like GPT-3 often suffer from hallucinating non-existent or incorrect content, which undermines their potential merits in real applications. Existing work usually attempts to detect thes…

FormHallucinationSentenceText Generation

Reference-free Hallucination Detection for Large Vision-Language Models

2024-08-11 · Qing Li, Jiahui Geng, Chenyang Lyu, Derui Zhu 외

Large vision-language models (LVLMs) have made significant progress in recent years. While LVLMs exhibit excellent ability in language understanding, question answering, and conversations of visual inputs, they are prone…

HallucinationQuestion AnsweringUncertainty Quantification