mlsanityData to 14 Oct 2026

ReFEree: Reference-Free and Fine-Grained Method for Evaluating Factual Consistency in Real-World Code Summarization

arXiv 2604.10520 ↗First posted 12 Apr 2026cs.CL cs.AI cs.PLcited by 1

Not on the map. Why?

Abstract (arXiv)

As Large Language Models (LLMs) have become capable of generating long and descriptive code summaries, accurate and reliable evaluation of factual consistency has become a critical challenge. However, previous evaluation methods are primarily designed for short summaries of isolated code snippets. Consequently, they struggle to provide fine-grained evaluation of multi-sentence functionalities and fail to accurately assess dependency context commonly found in real-world code summaries. To address this, we propose ReFEree, a reference-free and fine-grained method for evaluating factual consistency in real-world code summaries. We define factual inconsistency criteria specific to code summaries and evaluate them at the segment level using these criteria along with dependency information. These segment-level results are then aggregated into a fine-grained score. We construct a code summarization benchmark with human-annotated factual consistency labels. The evaluation results demonstrate that ReFEree achieves the highest correlation with human judgment among 13 baselines, improving 15-18% over the previous state-of-the-art. Our code and data are available at https://github.com/bsy99615/ReFEree.git.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 25 of its 44 references that are in the map. First posted on arXiv 12 Apr 2026.

Builds on

25 of 44 references.

References · 25

  1. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  2. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  3. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  4. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
  5. 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,282
  6. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
  7. 2023Is ChatGPT a Good NLG Evaluator? A Preliminary Studycited by 422
  8. 2020Asking and Answering Questions to Evaluate the Factual Consistency of Summariescited by 378
  9. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 353
  10. 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 168
  11. 2020A Transformer-based Approach for Source Code Summarizationcited by 133
  12. 2024LLM Hallucinations in Practical Code Generation: Phenomena, Mechanism, and Mitigationcited by 93
13 more
  1. 2022Execution-Based Evaluation for Open-Domain Code Generationcited by 91
  2. 2024FineSurE: Fine-grained Summarization Evaluation using LLMscited by 83
  3. 2024RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generationcited by 70
  4. 2022CoCoMIC: Code Completion By Jointly Modeling In-file and Cross-file Contextcited by 65
  5. 2024MEGAnno+: A Human-LLM Collaborative Annotation Systemcited by 47
  6. 2024Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completioncited by 40
  7. 2024CodeHalu: Investigating Code Hallucinations in LLMs via Execution-based Verificationcited by 34
  8. 2021Increasing the Speed and Accuracy of Data LabelingThrough an AI Assisted Interfacecited by 21
  9. 2023Evaluating Code Summarization Techniques: A New Metric and an Empirical Characterizationcited by 21
  10. 2024Identifying Inaccurate Descriptions in LLM-generated Code Comments via Test Executioncited by 8
  11. 2024CRScore: Grounding Automated Evaluation of Code Review Comments in Code Claims and Smellscited by 8
  12. 2024ETF: An Entity Tracing Framework for Hallucination Detection in Code Summariescited by 5
  13. 2023PEANUT: A Human-AI Collaborative Tool for Annotating Audio-Visual Datacited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.