CPRet: A Dataset, Benchmark, and Model for Retrieval in Competitive Programming
The Chinese University of Hong Kong(香港中文大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Tsinghua University(清华大学);Beihang University(北航);Shenzhen Loop Area Institute(深圳河套学院)
Han Deng, Yuan Meng, Shixiang Tang, Wanli Ouyang, Xinzhu Ma
备注:
Accepted by NeurIPS 2025 Dataset and Benchmark Track
Competitive programming benchmarks are widely used in scenarios such as programming contests and large language model assessments. However, the growing presence of duplicate or highly similar problems raises concerns not only about competition fairness, but also about the validity of competitive programming as a benchmark for model evaluation. In this paper, we propose a new problem, similar question retrieval, to tackle this issue. Due to the lack of both data and models, solving this problem is challenging. To this end, we introduce CPRet, a retrieval-oriented benchmark suite for competitive programming, covering four retrieval tasks: two code-centric (i.e., Text-to-Code, Code-to-Code) and two newly proposed problem-centric tasks (i.e., Problem-to-Duplicate, Simplified-to-Full) built from a combination of automatically crawled problem-solution data and manually curated annotations. Our contribution includes both high-quality training data and temporally separated test sets for reliable evaluation. Besides, we further develop two task-specialized retrievers based on this dataset: CPRetriever-Code, trained with a novel Group-InfoNCE loss for problem-code alignment, and CPRetriever-Prob, fine-tuned for identifying problem-level similarity. Both models achieve strong results and are open-sourced for local use. Finally, we analyze LiveCodeBench and find that high-similarity problems inflate model pass rates and reduce differentiation, underscoring the need for similarity-aware evaluation in future benchmarks.
Github: https://github.com/coldchair/CPRet
Online Demo: https://www.cpret.online/
DePro: Understanding the Role of LLMs in Debugging Competitive Programming Code
Military Institute of Science And Technology(军事科学与技术学院);Missouri University of Science and Technology(密苏里科技大学);University of Maryland Baltimore County(马里兰大学巴尔的摩县分校)
InteractBench: Benchmarking LLMs on Competitive Programming under Unrevealed Information
School of Cyber Science and Engineering, Huazhong University of Science and Technology(华中科技大学网络空间科学与工程学院);Key Laboratory of Cyberspace Security, Ministry of Education(教育部网络空间安全重点实验室);Hubei Key Laboratory of Distributed System Security(湖北省分布式系统安全重点实验室)
AutoCode: LLMs as Problem Setters for Competitive Programming
University of California San Diego(加州大学圣地亚哥分校);New York University(纽约大学);University of Washington(华盛顿大学);Princeton University(普林斯顿大学);University of California Berkeley(加州大学伯克利分校);OpenAI;Massachusetts Institute of Technology(麻省理工学院);University of Waterloo(滑铁卢大学);Sentient Labs
LiveCodeBench Pro: How Do Olympiad Medalists Judge LLMs in Competitive Programming?
New York University(纽约大学);Princeton University(普林斯顿大学);University of California San Diego(加利福尼亚大学圣地亚哥分校);University of Washington(华盛顿大学);Canyon Crest Academy(峡谷克雷斯特学院);University of Waterloo(滑铁卢大学);McGill University(麦吉尔大学)
Leveraging Generative AI for Enhancing Automated Assessment in Programming Education Contests
University of Bucharest Faculty of Mathematics and Computer Science(布加勒斯大学数学与计算机科学学院);Softbinator Technologies(Softbinator技术公司);Delft University of Technology(代尔夫特理工大学)
本文提出利用生成式 AI 自动生成编程竞赛高质量测试用例的 NLP 方法,并在 OJI、Kilonova.ro 和 IIOT 数据集上验证其可发现隐藏错误、减轻教师负担。
A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedback
Dept. of Computer Science and Engineering, University of Dhaka(达卡大学计算机科学与工程系);Dept. of Information Systems, University of Maryland, Baltimore County(马里兰大学巴尔的摩县信息学院);University of Maryland, Baltimore County(马里兰大学巴尔的摩县)