atlas

Research map / Large language models / Retrieval and knowledge

InfiBench: Evaluating the Question-Answering Capabilities of Code Large Language Models

NeurIPS 2024 · Large language models › Retrieval and knowledge · approach: Knowledge-augmented question answering · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces InfiBench, a 234-question free-form Stack Overflow QA benchmark for code LLMs scored with model-free metrics (keyword matching, blank filling, unit tests, ROUGE similarity), and evaluates over 100 code LLMs.

Problem

Existing code benchmarks focus on code generation, are saturating, share sources, and may be contaminated, leaving free-form coding question answering under-evaluated; model-based judging is costly and biased.

Approach

A benchmark of expert-curated, paraphrased Stack Overflow questions with per-question correctness criteria evaluated by four model-free metric types (keyword matching, blank filling, unit testing, dialogue similarity), validated against human judgments as an alternative to GPT-4o judging.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use InfiBench's model-free evaluation instead of GPT-4o as judgeInfiBench response-pair evaluation · InfiBench human agreementagreement rate: 77.8% -> 85.1%Helped
Use 10 highest-voted Stack Overflow answers rather than the highest-voted answerStack Overflow answer baselines · InfiBenchscore: 56.28% -> 65.18%Helped
Use the highest-voted answer rather than the officially accepted answerStack Overflow answer baselines · InfiBenchscore: 52.90% -> 56.28%Helped
Increase sampling temperature from T=0.2 to T=1.0 (ablation)GPT-4 best@10 · InfiBenchscore: 70.64% ± 0.82% -> 76.15% ± 0.21%Helped
Fine-tune Code Llama 7B on Python data (ablation)CodeLlama-7b · InfiBenchscore: 37.62% ± 1.28% -> 32.89% ± 0.45%Hurt
Instruction fine-tune Code Llama 7B (ablation)CodeLlama-7b · InfiBenchscore: 37.62% ± 1.28% -> 35.15% ± 1.28%Hurt
Fine-tune Code Llama 13B on Python data (ablation)CodeLlama-13b · InfiBenchscore: 41.66% ± 0.84% -> 41.31% ± 0.90%Hurt
Instruction fine-tune Code Llama 13B (ablation)CodeLlama-13b · InfiBenchscore: 41.66% ± 0.84% -> 46.37% ± 1.26%Helped
Fine-tune Code Llama 34B on Python data (ablation)CodeLlama-34b · InfiBenchscore: 47.36% -> 43.13%Hurt
Instruction fine-tune Code Llama 34B (ablation)CodeLlama-34b · InfiBenchscore: 47.36% -> 50.45%Helped
Fine-tune Code Llama 70B on Python data (ablation)CodeLlama-70b · InfiBenchscore: 40.60% -> 40.29%Hurt
Instruction fine-tune Code Llama 70B (ablation)CodeLlama-70b · InfiBenchscore: 40.60% -> 42.82%Helped

Surprising findings

Limitations

Experimental setup

Datasets: Stack Overflow posts dump

Benchmarks: InfiBench HumanEval

Metrics: best@10 score keyword matching score unit test pass rate blank filling score ROUGE-based dialogue similarity agreement rate with human experts

Baselines: GPT-4-0613 GPT-4-turbo-1106 GPT-4o-2024-05-13 Claude 3 Opus GPT-3.5-turbo-0613 Codestral-22b DeepSeek Coder V2 Code Llama

Builds on: HumanEval DS-1000 LLM-Blender

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