Abstract
Competitive programming has become a rigorous benchmark for evaluating the reasoning and problem-solving capabilities of large language models (LLMs). The International Olympiad in Informatics (IOI) stands out as one of the most prestigious annual competitions in competitive programming and has become a key benchmark for comparing human and AI-level programming ability. While several proprietary models have been claimed to achieve gold medal-level performance at the IOI, often with undisclosed methods, achieving comparable results with open-weight models remains a significant challenge. In this paper, we present GENCLUSTER, a scalable and reproducible test-time compute framework that attains IOI gold-level performance using open-weight models. It combines large-scale generation, behavioral clustering, ranking, and a round-robin submission strategy to efficiently explore diverse solution spaces under limited validation budgets. Our experiments show that the performance of our proposed approach scales consistently with available compute, narrowing the gap between open and closed systems. Notably, we will show that GenCluster can achieve a gold medal at IOI 2025 for the first time with an open-weight model gpt-oss-120b, setting a new benchmark for transparent and reproducible evaluation of reasoning in LLMs.
Introduction
The International Olympiad in Informatics (IOI) represents a pinnacle of algorithmic reasoning. While proprietary models like OpenAI’s o1 and o3 have demonstrated gold-medal capabilities, their underlying methodologies remain largely opaque. This lack of transparency hinders the broader research community's ability to replicate and build upon these successes. The primary challenge in competitive programming for LLMs is not merely generating a correct solution among thousands of candidates but accurately identifying it within the constraints of a limited submission budget (typically 50 per problem).
We address this "selection gap" by introducing GENCLUSTER, a framework designed to maximize the efficacy of test-time compute using open-weight models. By scaling inference-time processing through massive parallel generation and behavioral clustering, we demonstrate that the open-weight model gpt-oss-120b can achieve a score ranking it 26th globally, effectively bridging the performance gap with closed-source systems.
The GENCLUSTER Framework
GENCLUSTER employs a four-stage pipeline to navigate the vast solution space generated during test-time.
- Parallel Generation: The system generates a large pool of candidate solutions (up to $K=5,000$) for each subtask.
- Behavioral Clustering: To optimize the submission budget, solutions are grouped based on their execution behavior. The framework generates internal test cases and validators; solutions that produce identical outputs across all tests are clustered together, ensuring diverse logic is prioritized for submission.
- Tournament Ranking: Representative solutions from each cluster—specifically those with the longest "thinking traces"—are entered into an LLM-as-a-judge tournament. Pairwise comparisons are used to rank the logical soundness of each cluster.
- Strategic Submission: A round-robin policy cycles through top-ranked clusters across subtasks, prioritizing difficult problems to maximize the total score within the 50-submission limit.
Experimental Results
We evaluated GENCLUSTER on the IOI-2025 benchmark, derived from the 2024 competition tasks. Our primary model, gpt-oss-120b, achieved a score of 446.75, surpassing the Gold Medal threshold of 438.3. This performance is equivalent to a Rank 26 global standing among human contestants.
As shown in Figure 2, gpt-oss-120b exhibits superior scaling characteristics compared to other open-weight models like DeepSeek-R1-0528 and Qwen3-235B. While all models benefit from increased test-time compute, gpt-oss-120b maintains a steeper performance trajectory at higher values of $K$, suggesting it is uniquely capable of leveraging massive parallel generation.
Key Insights and Discussion
Our analysis revealed several critical factors in achieving elite-level performance:
- Thinking Trace as a Proxy: Within a behavioral cluster, the length of the reasoning trace (internal "thought" tokens) serves as a strong proxy for correctness.
- The Selection Bottleneck: Despite achieving gold status, a significant gap remains between the "Unconstrained Score" (the best solution in the pool) and the "Submitted Score." Improving the ranking mechanism is the next frontier for test-time compute.
- Clustering Dynamics: Increasing the number of internal test cases improves cluster purity but increases the total number of clusters, making the selection task more difficult.
Conclusion
GENCLUSTER demonstrates that open-weight models, when paired with scalable test-time compute strategies, can compete at the highest levels of human reasoning. By achieving an IOI Gold Medal with gpt-oss-120b, we provide a reproducible path forward for the development of transparent, high-reasoning AI systems.
Summary updated