OpenCodeReasoning: Advancing Data Distillation for Competitive Coding

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ahmad, Wasi Uddin, Narenthiran, Sean, Majumdar, Somshubra, Ficek, Aleksander, Jain, Siddhartha, Huang, Jocelyn, Noroozi, Vahid, Ginsburg, Boris
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908481734311936
author Ahmad, Wasi Uddin
Narenthiran, Sean
Majumdar, Somshubra
Ficek, Aleksander
Jain, Siddhartha
Huang, Jocelyn
Noroozi, Vahid
Ginsburg, Boris
author_facet Ahmad, Wasi Uddin
Narenthiran, Sean
Majumdar, Somshubra
Ficek, Aleksander
Jain, Siddhartha
Huang, Jocelyn
Noroozi, Vahid
Ginsburg, Boris
contents Since the advent of reasoning-based large language models, many have found great success from distilling reasoning capabilities into student models. Such techniques have significantly bridged the gap between reasoning and standard LLMs on coding tasks. Despite this, much of the progress on distilling reasoning models remains locked behind proprietary datasets or lacks details on data curation, filtering and subsequent training. To address this, we construct a superior supervised fine-tuning (SFT) dataset that we use to achieve state-of-the-art coding capability results in models of various sizes. Our distilled models use only SFT to achieve 61.8% on LiveCodeBench and 24.6% on CodeContests, surpassing alternatives trained with reinforcement learning. We then perform analysis on the data sources used to construct our dataset, the impact of code execution filtering, and the importance of instruction/solution diversity. We observe that execution filtering negatively affected benchmark accuracy, leading us to prioritize instruction diversity over solution correctness. Finally, we also analyze the token efficiency and reasoning patterns utilized by these models. We will open-source these datasets and distilled models to the community.
format Preprint
id arxiv_https___arxiv_org_abs_2504_01943
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle OpenCodeReasoning: Advancing Data Distillation for Competitive Coding
Ahmad, Wasi Uddin
Narenthiran, Sean
Majumdar, Somshubra
Ficek, Aleksander
Jain, Siddhartha
Huang, Jocelyn
Noroozi, Vahid
Ginsburg, Boris
Computation and Language
Since the advent of reasoning-based large language models, many have found great success from distilling reasoning capabilities into student models. Such techniques have significantly bridged the gap between reasoning and standard LLMs on coding tasks. Despite this, much of the progress on distilling reasoning models remains locked behind proprietary datasets or lacks details on data curation, filtering and subsequent training. To address this, we construct a superior supervised fine-tuning (SFT) dataset that we use to achieve state-of-the-art coding capability results in models of various sizes. Our distilled models use only SFT to achieve 61.8% on LiveCodeBench and 24.6% on CodeContests, surpassing alternatives trained with reinforcement learning. We then perform analysis on the data sources used to construct our dataset, the impact of code execution filtering, and the importance of instruction/solution diversity. We observe that execution filtering negatively affected benchmark accuracy, leading us to prioritize instruction diversity over solution correctness. Finally, we also analyze the token efficiency and reasoning patterns utilized by these models. We will open-source these datasets and distilled models to the community.
title OpenCodeReasoning: Advancing Data Distillation for Competitive Coding
topic Computation and Language
url https://arxiv.org/abs/2504.01943