paper-with-me

홈 › Papers

No Test Cases, No Problem: Distillation-Driven Code Generation for Scientific Workflows

2026-04-25 · Siddeshwar Raghavan, Tanwi Mallick arxiv

Existing multi-agent Large Language Model (LLM) frameworks for code generation typically use execution feedback and improve iteratively using Input/Output (I/O) test cases. However, this does not work for scientific workflows, where I/O test cases do not exist, and generating them requires solving the very problem at hand. To address this, we introduce MOSAIC, a training-free multi-agent framework for scientific code generation without I/O supervision. Instead of execution feedback, MOSAIC employs a student-teacher knowledge distillation framework that grounds generation through domain-specific examples and structured problem decomposition. To further mitigate hallucinations across chained subproblems, we introduce a Consolidated Context Window (CCW) for maintaining consistent reasoning across agents. Experiments on the SciCode benchmark show that MOSAIC improves accuracy, executability, and numerical precision over existing approaches while relying on lightweight models.

📄 PDF Abstract BibTeX arXiv:2604.23106

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge DistillationCode Generation

Similar Papers 제목 키워드 기반

STAB: Specification-driven Testing for Algorithmic Bottlenecks

2026-05-27 · Soohan Lim, Joonghyuk Hahn, Hyundong Jin, Yo-Sub Han arxiv

Evaluating the efficiency of algorithmic code requires test cases that expose runtime bottlenecks. Previous methods generate efficiency test cases either by increasing input size or by generating code-specific inputs tha…

Revisiting Knowledge Distillation under Distribution Shift

2023-12-25 · Songming Zhang, Ziyu Lyu, Xiaofeng Chen

Knowledge distillation transfers knowledge from large models into small models, and has recently made remarkable achievements. However, few studies has investigated the mechanism of knowledge distillation against distrib…

Data AugmentationDiversityKnowledge Distillation

A Functional Perspective on Knowledge Distillation in Neural Networks

2025-10-14 · Israel Mason-Williams, Gabryel Mason-Williams, Helen Yannakoudakis arxiv

Knowledge distillation is considered a compression mechanism when judged on the resulting student's accuracy and loss, yet its functional impact is poorly understood. We quantify the compression capacity of knowledge dis…

Knowledge Distillation

Codehacks: A Dataset of Adversarial Tests for Competitive Programming Problems Obtained from Codeforces

2025-03-30 · Max Hort, Leon Moonen

Software is used in critical applications in our day-to-day life and it is important to ensure its correctness. One popular approach to assess correctness is to evaluate software on tests. If a test fails, it indicates a…

Curiosity-driven Red-teaming for Large Language Models

2024-02-29 · Zhang-Wei Hong, Idan Shenfeld, Tsun-Hsuan Wang, Yung-Sung Chuang 외

Large language models (LLMs) hold great potential for many natural language applications but risk generating incorrect or toxic content. To probe when an LLM generates unwanted content, the current paradigm is to recruit…

Red TeamingReinforcement Learning (RL)