Saved in:
Bibliographic Details
Main Authors: Balasubramanian, Aanand, Silwal, Sashank
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2601.10987
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912827672887296
author Balasubramanian, Aanand
Silwal, Sashank
author_facet Balasubramanian, Aanand
Silwal, Sashank
contents We study whether lightweight symbolic reasoning supervision can improve fix type classification in compact automated program repair models. Small code models are attractive for resource-constrained settings, but they typically produce only a single prediction, making it unclear whether they learn meaningful program structure or rely on shallow correlations. We propose a reasoning distillation approach in which a large teacher model provides structured symbolic reasoning tags alongside fix-type labels. These tags capture high-level causal properties of bugs without relying on free-form explanations. We train a CodeT5-based student model under label-only and reasoning-distilled settings on the IntroClass benchmark. Reasoning supervision consistently improves macro averaged performance, particularly on less frequent bug categories, without increasing model size or complexity. We further analyze the relationship between reasoning accuracy and fix-type prediction, showing that correct reasoning traces strongly correlate with correct predictions, while not fully determining them. Our results suggest that symbolic reasoning distillation is a practical way to improve interpretability and robustness in lightweight program repair models.
format Preprint
id arxiv_https___arxiv_org_abs_2601_10987
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Reasoning Distillation for Lightweight Automated Program Repair
Balasubramanian, Aanand
Silwal, Sashank
Machine Learning
We study whether lightweight symbolic reasoning supervision can improve fix type classification in compact automated program repair models. Small code models are attractive for resource-constrained settings, but they typically produce only a single prediction, making it unclear whether they learn meaningful program structure or rely on shallow correlations. We propose a reasoning distillation approach in which a large teacher model provides structured symbolic reasoning tags alongside fix-type labels. These tags capture high-level causal properties of bugs without relying on free-form explanations. We train a CodeT5-based student model under label-only and reasoning-distilled settings on the IntroClass benchmark. Reasoning supervision consistently improves macro averaged performance, particularly on less frequent bug categories, without increasing model size or complexity. We further analyze the relationship between reasoning accuracy and fix-type prediction, showing that correct reasoning traces strongly correlate with correct predictions, while not fully determining them. Our results suggest that symbolic reasoning distillation is a practical way to improve interpretability and robustness in lightweight program repair models.
title Reasoning Distillation for Lightweight Automated Program Repair
topic Machine Learning
url https://arxiv.org/abs/2601.10987