Research map / Large language models / Agents, code and math
ReFEree: Reference-Free and Fine-Grained Method for Evaluating Factual Consistency in Real-World Code Summarization
Suyoung Bae, CheolWon Na, Jaehoon Lee, Yumin Lee, YunSeok Choi, Jee-Hyong Lee
Sungkyunkwan University
Read the paperPlace an idea next to itCheck your own paper ↗
12measured effects
10improved
1no clear effect
1hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add code-related information searching (dependency context) (ablation) | ReFEree · Python | average correlation with human labels: 0.404 -> 0.459 | Improved |
| add code-related information searching (dependency context) (ablation) | ReFEree · Java | average correlation with human labels: 0.438 -> 0.480 | Improved |
| evaluate all four criteria instead of only C1 (name) (ablation) | ReFEree · Java | average correlation with human labels: 0.318 -> 0.480 | Improved |
| evaluate all four criteria instead of only C3 (functionality) (ablation) | ReFEree · Python | average correlation with human labels: 0.419 -> 0.459 | Improved |
| replace G-Eval with segment-level multi-criteria evaluation | G-Eval · Python | average correlation with human labels: 0.400 -> 0.459 | Improved |
| replace G-Eval with segment-level multi-criteria evaluation | G-Eval · Java | average correlation with human labels: 0.406 -> 0.480 | Improved |
| give G-Eval the searched related information (G-Eval w/ info) | G-Eval · Python, GPT4o-mini | average correlation with human labels: 0.242 -> 0.259 | Improved |
| give G-Eval the searched related information (G-Eval w/ info) | G-Eval · Python, Mistral (7B) | average correlation with human labels: 0.191 -> 0.191 | No clear effect |
| use ReFEree instead of G-Eval with the info on small open LLMs | ReFEree · Python, Llama3 (8B) | average correlation with human labels: 0.171 -> 0.187 | Improved |
| use ReFEree instead of G-Eval under different prompts | ReFEree · Java, prompt variation | inter-annotator agreement: 0.400 -> 0.730 | Improved |
| use ReFEree instead of G-Eval under different seeds | ReFEree · Python, seed variation | inter-annotator agreement: 0.805 -> 0.893 | Improved |
| use reference-based n-gram metric (ROUGE-L) instead of LLM-based evaluators | ROUGE-L · Python | average correlation with human labels: 0.037 vs 0.400 (G-Eval) | Hurt |
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- Evaluating the Factual Consistency of Large Language Models Through News Summarization (ACL 2023 · similarity 0.90)
- FIZZ: Factual Inconsistency Detection by Zoom-in Summary and Zoom-out Document (EMNLP 2024 · similarity 0.89)
- A Tale of Evaluating Factual Consistency: Case Study on Long Document Summarization Evaluation (ACL 2025 · similarity 0.89)
- SummEdits: Measuring LLM Ability at Factual Reasoning Through The Lens of Summarization (EMNLP 2023 · similarity 0.88)
- Fine-grained Factual Consistency Assessment for Abstractive Summarization Models (EMNLP 2021 · similarity 0.88)
- Do Automatic Factuality Metrics Measure Factuality? A Critical Evaluation (NeurIPS 2025 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.