paper-with-me

Papers

Reasoning Distillation and Structural Alignment for Improved Code Generation

2025-10-20 · Amir Jalilifard, Anderson de Rezende Rocha, Marcos Medeiros Raimundo arxiv

Effective code generation with language models hinges on two critical factors: accurately understanding the intent of the prompt and generating code that applies algorithmic reasoning to produce correct solutions capable of passing diverse test cases while adhering to the syntax of the target programming language. Unlike other language tasks, code generation requires more than accurate token prediction; it demands comprehension of solution-level and structural relationships rather than merely generating the most likely tokens. very large language model (VLLM) are capable of generating detailed steps toward the correct solution of complex tasks where reasoning is crucial in solving the problem. Such reasoning capabilities may be absent in smaller language models. Therefore, in this work, we distill the reasoning capabilities of a VLLM into a smaller, more efficient model that is faster and cheaper to deploy. Our approach trains the model to emulate the reasoning and problem-solving abilities of the VLLM by learning to identify correct solution pathways and establishing a structural correspondence between problem definitions and potential solutions through a novel method of structure-aware loss optimization. This enables the model to transcend token-level generation and to deeply grasp the overarching structure of solutions for given problems. Experimental results show that our fine-tuned model, developed through a cheap and simple to implement process, significantly outperforms our baseline model in terms of pass@1, average data flow, and average syntax match metrics across the MBPP, MBPP Plus, and HumanEval benchmarks.

📄 PDF Abstract BibTeX arXiv:2510.17598

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Long-Chain Reasoning Distillation via Adaptive Prefix Alignment

2026-01-15 · Zhenghao Liu, Zhuoyang Wu, Xinze Li, Yukun Yan 외 arxiv

Large Language Models (LLMs) have demonstrated remarkable reasoning capabilities, particularly in solving complex mathematical problems. Recent studies show that distilling long reasoning trajectories can effectively enh…

Mathematical Reasoning

Validity-Calibrated Reasoning Distillation

2026-04-14 · Khouloud Saadi, Di Wang arxiv

Reasoning distillation aims to transfer multi-step reasoning capabilities from large language models to smaller, more efficient ones. While recent methods have shown promising gains, they typically rely on static teacher…

Mathematical ReasoningCode Generation

The Role of Feedback Alignment in Self-Distillation

2026-06-09 · Semih Kara, Oğuzhan Ersoy arxiv

Conditioning a language model on additional context, such as feedback on a previous attempt, typically improves its response. Self-distillation trains the model to retain this improvement when the context is not present.…

MobileFAN: Transferring Deep Hidden Representation for Face Alignment

2019-08-11 · Yang Zhao, Yifan Liu, Chunhua Shen, Yongsheng Gao 외

Facial landmark detection is a crucial prerequisite for many face analysis applications. Deep learning-based methods currently dominate the approach of addressing the facial landmark detection. However, such works genera…

DecoderFace AlignmentFacial Landmark Detection

iCD: A Implicit Clustering Distillation Mathod for Structural Information Mining

2025-09-16 · Xiang Xue, Yatu Ji, Qing-dao-er-ji Ren, Bao Shi 외 arxiv

Logit Knowledge Distillation has gained substantial research interest in recent years due to its simplicity and lack of requirement for intermediate feature alignment; however, it suffers from limited interpretability in…

Knowledge Distillation