InteractBench: Benchmarking LLMs on Competitive Programming under Unrevealed Information
cs.SE, cs.AI, cs.CL
Submitted: 2026-08-30
Updated: 2026-08-30
Comments: Accepted at ICML 2026
Code: https://github.com/kmsgk0/InteractBench
License: http://creativecommons.org/licenses/by/4.0/
The gist: Competitive programming is increasingly being used to evaluate the algorithmic reasoning capabilities of large language models (LLMs).
Terminology
Abstract
Competitive programming is increasingly being used to evaluate the algorithmic reasoning capabilities of large language models (LLMs). However, existing benchmarks primarily focus on full-information tasks where all problem inputs are provided upfront. This overlooks a critical dimension of algorithmic reasoning: the ability of generated programs to operate when key information is not revealed upfront. Interactive problems, a distinctive component of competitive programming, embody this challenge. These problems require programs to engage in multi-round interaction with an interactor (a judge program) under strict protocol constraints and limited query budgets, with new information revealed only in response to queries. To address this gap, we introduce InteractBench, a benchmark comprising 322 high-quality interactive problems curated from Codeforces, AtCoder, IOI, and ICPC. Each problem is packaged with executable local interactors, enabling fully offline evaluation. Unlike existing benchmarks, InteractBench assesses whether model-generated code can acquire information and track state dynamically. Our evaluation reveals a significant interaction gap: even the most advanced reasoning models achieve limited success on interactive problems. Beyond success rates, we propose a fine-grained failure taxonomy to diagnose the root causes of these deficiencies. Although algorithmic logic errors remain dominant, protocol violations and query-budget overruns are frequent. Code is available at https://github.com/kmsgk0/InteractBench.
Sources
- gpt-oss-120b & gpt-oss-20b Model Card
- Program Synthesis with Large Language Models
- Evaluating Large Language Models Trained on Code
- Humanity's Last Code Exam: Can Advanced LLMs Conquer Human's Hardest Code Competition?
- DeepSeek-V3.2: Pushing the Frontier of Open Large Language Models
- HardTests: Synthesizing High-Quality Test Cases for LLM Coding
- RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems
- Measuring Coding Challenge Competence With APPS
- AgentBench: Evaluating LLMs as Agents
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code
- CodeElo: Benchmarking Competition-level Code Generation of LLMs with Human-comparable Elo Ratings
- SWE-bench: Can Language Models Resolve Real-World GitHub Issues?
- Can Language Models Solve Olympiad Programming?
- AetherCode: Evaluating LLMs' Ability to Win In Premier Programming Competitions
- CodeContests+: High-Quality Test Case Generation for Competitive Programming
- OJBench: A Competition Level Code Benchmark For Large Language Models
- ICPC-Eval: Probing the Frontiers of LLM Reasoning with Competitive Programming Contests
- LiveCodeBench Pro: How Do Olympiad Medalists Judge LLMs in Competitive Programming?
- BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions
- LiveOIBench: Can Large Language Models Outperform Human Contestants in Informatics Olympiads?
Related papers
- Falsification-Based Verification of LLM-Generated Optimization Models: Sound Test Batteries and Their Detection Limits
- GitSkills: A Dataset of Agent Skills on GitHub
- For Coding Agents, the Repository Matters
- SABER: Benchmarking Operational Safety of LLM Coding Agents in Stateful Project Workspaces
- PackMonitor: Enabling Zero Package Hallucinations Through Decoding-Time Monitoring
- IntentCoding: Amplifying User Intent in Code Generation