TL;DR
This paper introduces GENCLUSTER, a scalable and reproducible test-time compute framework that enables an open-weight LLM (gpt-oss-120b) to achieve a gold medal at the International Olympiad in Informatics (IOI) 2025 for the first time. By combining large-scale parallel generation, behavioral clustering, and an LLM-driven tournament ranking system, the framework successfully navigates strict submission limits to unlock advanced reasoning in open models.
What Problem Does This Paper Address?
Competitive programming competitions like the IOI represent the pinnacle of algorithmic problem-solving, serving as a premier benchmark for evaluating AI reasoning. While proprietary models (such as OpenAI's o1 and o3) have claimed gold-medal status, their specialized test-time compute methods and models remain closed and undisclosed.
Achieving comparable results with open-weight models is exceptionally difficult. Competitive programming tasks feature highly complex problem spaces where only a tiny fraction of generated code is correct. Furthermore, systems must operate under a strict human-contestant budget of 50 submissions per problem. The authors address this gap by providing a transparent, reproducible framework to scale test-time compute effectively for open-weight models.
Methods
The authors propose GENCLUSTER, a four-stage pipeline designed to maximize performance under a limited submission budget:
- Parallel Candidate Generation: The model generates a large pool of $K$ candidate solutions (up to 5,000) in parallel.
- Behavioral Clustering: To reduce the candidate pool, solutions are grouped by execution behavior. The framework instructs the LLM to generate randomized test inputs alongside independent validator programs. Candidates that produce identical outputs across these validated test cases are clustered together.
- Tournament Ranking: Because majority voting fails on ultra-hard problems where correct answers are rare, GENCLUSTER runs a partial round-robin tournament between clusters. The solution with the longest reasoning trace represents its cluster, and an LLM acts as a judge to pick the winner in pairwise code comparisons. Clusters are ranked by total wins.
- Submission Strategy: Solutions are submitted to the official grader using a budget-aware round-robin strategy across clusters and subtasks, prioritizing the longest reasoning chains within top-ranked clusters until a subtask is solved.
Datasets
The framework is evaluated on IOI-2025, a benchmark constructed from the official tasks of the 2025 International Olympiad in Informatics. Following official scoring guidelines, the dataset is organized at the subtask level (2–12 subtasks per problem) to allow independent evaluation and granular scoring, mimicking the structure of the publicly available IOI-2024 benchmark on Hugging Face.
Key Insights and Ideas
- Reasoning Length as a Proxy for Quality: Within a behavioral cluster, the length of the reasoning trace correlates positively with correctness. Selecting the longest-thinking solution as the cluster representative significantly outperformed random selection.
- The Double-Edged Sword of Test Set Size: Increasing the number of synthetic test cases improves cluster purity (F1-score), meaning good and bad solutions are separated accurately. However, it also fragments the pool into a larger number of distinct clusters, making it harder to identify the best ones within a tight submission budget.
- Model Scalability Varies: Not all open models scale equally with test-time compute. While
gpt-oss-120bshows strong, consistent gains as the generation budget scales up to 5,000, other models likeQwen3-235B-A22Bsaturate early.
Key Results
- Gold Medal Achievement: Armed with GENCLUSTER and a budget of 5,000 generations,
gpt-oss-120bachieved a score of 446.75 on the IOI 2025 benchmark, comfortably clearing the official Gold Medal threshold of 438.3. This marks the first time an open-weight model has achieved gold-level performance.
- Human-Level Ranking: This score corresponds to a 26th place ranking among all human contestants at IOI 2025.
- Superiority Over Baselines: GENCLUSTER outperformed standard selection methods like majority voting (314.22) and cluster-size ranking (299.87) by over 130 points.
Limitations and Future Work
- Extreme Compute Costs: The framework is incredibly resource-intensive, requiring roughly 7.3 billion tokens for candidate generation and another 7.3 billion tokens for the LLM-as-a-judge tournament per benchmark run, limiting its real-time applicability.
- Synthetic Test Blind Spots: Relying on model-generated test cases means rare corner cases might be missed, causing incorrect solutions to cluster with correct ones.
- LLM Judge Biases: The tournament ranking relies on an LLM judge, which can be noisy and influenced by superficial features like code style or explanation verbosity rather than true logical correctness.
Summary updated