arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.08268cs.AIcs.CL
收藏

不同的教师,不同的能力:用于结构化文本丰富的低于1B的设备端蒸馏

Different Teachers, Different Capabilities: Sub-1B On-Device Distillation for Structured Text Enrichment

Vinay Kumar Chaganti

AI总结:

研究将8B推理教师模型蒸馏成0.6B学生模型,添加对照,通过盲测评分。学生模型处理速度快,恢复部分摘要质量差距。不同教师模型转移不同能力,无单一引擎全胜,得出设备端丰富的按领域路由图。

摘要:

大量的结构化提取会使大型模型在每个项目上产生较大延迟,因此将任务蒸馏到小型设备端模型很有吸引力。我们针对每个子任务衡量这种蒸馏实际带来的效果。每篇新闻文章被映射到一个带有简短摘要和五个分类标签的JSON对象。我们将一个8B推理教师模型(deepseek-r1:8b)蒸馏成一个0.6B学生模型(Qwen3-0.6B;QLoRA,三个种子),并添加两个教师对照:一个相同规模的非推理教师模型和一个更大的管理管道。一个盲测、无参考、三评判小组对每个模型与完整文章进行评分,同时还有两个非蒸馏基线,即少样本提示和受限解码。学生模型处理每篇文章约需0.8秒,而教师模型为39秒,在摘要质量上恢复了从基础模型到教师模型差距的58%,比其主要基线(受限解码)高16.8分,比少样本提示高4.9分。相同规模的非推理教师模型训练的学生模型并不比未调整的基础模型好,所以摘要质量的提升源于教师模型的推理性质而非规模。能力随后按教师模型划分:推理教师模型转移写作质量,管理管道转移标签多样性,而相同规模的指令教师模型的学生在93项测试集中的22篇短的、源信息少的文章上更贴合实际(74对55忠实),推理传承的学生模型会编造。这种贴合实际的差异是一种一致的排序而非显著的总体效果,且子群体较小,所以我们将其作为一个方向报告。由于没有单一引擎在每个领域都获胜,所以成果是一个用于设备端丰富的按领域路由图。

英文摘要:

High-volume structured extraction pays a large model's latency on every item, so distilling the task into a small on-device model is attractive: comparable output at a fraction of the time and cost. We measure what that distillation actually delivers, per sub-task. Each news article is mapped to one JSON object with a short summary and five categorical labels. We distill an 8B reasoning teacher (deepseek-r1:8b) into a 0.6B student (Qwen3-0.6B; QLoRA, three seeds), and add two teacher controls: a same-size non-reasoning teacher and a larger managed pipeline. A blinded, reference-free, three-judge panel scores every arm against the full article, alongside two non-distillation baselines, few-shot prompting and constrained decoding. The student runs at about 0.8 s per article against the teacher's 39 s, and recovers 58% of the base-to-teacher gap on summary quality, beating its primary baseline (constrained decoding) by +16.8 points and few-shot prompting by a secondary +4.9. A same-size non-reasoning teacher trains a student no better than the untuned base, so the summary gain follows from the teacher's reasoning nature rather than its scale. Capabilities then split by teacher: the reasoning teacher transfers writing quality and the managed pipeline transfers label diversity, while a same-size instruction teacher's students stay more grounded on the 22 short, thin-source articles in the 93-item test set (74 versus 55 faithful), where the reasoning-lineage student fabricates. That grounding difference is a consistent ordering rather than a significant aggregate effect, and the subgroup is small, so we report it as a direction. Because no single engine wins every field, the deliverable is a per-field routing map for on-device enrichment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑