scimeatlas

Research map / Large language models / Language, safety and interpretability

ETF: An Entity Tracing Framework for Hallucination Detection in Code Summaries

Kishan Maharaj, Vitobha Munigala, Srikanth Tamilselvam, Prince Kumar, Sayandeep Sen, Palanivel Kodeswaran, Abhijit Mishra, Pushpak Bhattacharyya

ACL 2025Large language models › Language, safety and interpretabilityapproach: Data and hallucination detectionopen problems in this approach13 citations (OpenAlex)

Indian Institute of Technology Bombay · IBM · University of Texas at Austin

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
7improved
3hurt

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 changedWhereMeasuredEffect
replace direct summary-level prompting with entity tracing (ETF)GPT4-Omni · CodeSumEval instance levelF1: 0.28 -> 0.73Improved
replace direct prompting with entity tracing (ETF)Gemini-2.0 · CodeSumEval instance levelF1: 0.42 -> 0.64Improved
replace direct prompting with entity tracing (ETF)Llama3-8B · CodeSumEval instance levelF1: 0.26 -> 0.50Improved
replace direct prompting with entity tracing (ETF)Mistral-7Bv3 · CodeSumEval instance levelF1: 0.24 -> 0.41Improved
use ETF instead of direct prompting, across all six verifier LLMssix LLM verifiers · CodeSumEval instance levelF1: e.g. 0.38 -> 0.54 (Llama-3.1-70B)Improved
use smaller open models (Llama-3.1-70B, Llama3-8B, Mistral-7B) as verifiers in ETFETF · CodeSumEval instance levelF1: 0.73 (GPT4-Omni) vs 0.54, 0.50, 0.41Hurt
add few-shot examples of hallucination types to the verification prompt (ablation)ETF intent verification · CodeSumEvalF1Hurt
use string-matching heuristics instead of prompt-based intent sentence extraction (ablation)ETF · CodeSumEvalintent extraction qualityImproved
verify entity-intent pairs when the code references an undefined function or libraryweaker LLM verifiers · CodeSumEvalaccuracyHurt
use larger summary generator (Llama3-70B vs smaller models)summary generation · CodeSumEvalmapped entities: 88.44% mapped, 8.69% unmappedImproved

Open problems in data and hallucination detection

Can hallucinations and training-data use be detected without model internals, across languages, long outputs and larger models?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy