ReadingResearchRadarInvestment frameworkAI Company Primary Sources
Sign in / Sign up
← Back to reading
NewsTopic · 购物智能体序列级知识蒸馏Material3 min readDisconfirmAI Editorial

AWS: Sequence-Level Knowledge Distillation Compresses Shopping Agents to 4B Parameters, Preserving Reasoning Chains Is the Key to Success

An Amazon Web Services technical blog demonstrates how sequence-level knowledge distillation (SeqKD) transfers the behavior of frontier-model-driven shopping agents into a Qwen3.5-4B small model. The core finding: preserving the teacher's reasoning process in the training objective contributes approximately 13 percentage points more to task success rate than preserving tool calls alone; whether distillation succeeds depends on whether the task falls within the student's capability range, rather than the parameter gap between student and teacher.

2026-11-03 01:01 GMT+8

The cost structure of agent applications differs from single-turn question answering. A shopping assistant completing one recommendation may undergo multiple steps—searching, reading results, narrowing scope, verifying constraints, and submitting an answer—in a multi-step loop, with each step constituting an independent billed call to a frontier model. At scale, this per-token billing loop makes deployment unviable. The solution offered by the AWS blog is sequence-level knowledge distillation (SeqKD): have the frontier teacher model generate complete multi-step trajectories, use a benchmark grader to filter for trajectories that actually solve the task, and then perform supervised fine-tuning on the small model using these trajectories. The teacher only needs to output text, requiring no weights, logits, or reinforcement learning infrastructure, so closed-source API models can also serve as teachers.

The most practically valuable finding in this blog is an ablation experiment: given the same 426 training problems and the same filtering pipeline, the only difference was whether the teacher's reasoning text was retained in the training objective. Removing reasoning and keeping only tool calls dropped the average absolute success rate from 0.541 to 0.415, a difference of about 13 percentage points. The authors explain that reasoning is not decorative narration but a causal chain connecting observations to next actions. Agents need to decide what to search for, how to filter, and when to terminate at each step, decisions driven by reasoning. If the student learns only the sequence of tool calls without the underlying reasoning, it achieves only partial transfer—preserving reasoning is the key to bringing the student close to the teacher's level.

Sign in / Sign up
ReadingResearchRadarInvestment frameworkAI Company Primary Sources

However, SeqKD has a clear capability ceiling. The blog notes that what determines whether distillation succeeds is not the parameter gap between student and teacher, but whether the task itself is within the student's capability range. The teacher GLM-5.3 has approximately 40 billion active parameters, while the student Qwen3.5-4B has only 4 billion—a tenfold gap—but the shopping task is simple enough for a 4B model, so the student almost fully recovers the teacher's quality. Conversely, if the task exceeds the student's original capability, distillation will only produce long reasoning chains that are correctly formatted but contain wrong answers; trajectories lengthen while accuracy remains flat. The authors' recommended response is: upon seeing this symptom, stop adding data, either switch to a larger student or reduce task difficulty. Furthermore, SeqKD plateaus at the hardest tail of multi-step loops because the student cannot see the states entered after its own mistakes; breaking through this bottleneck requires on-policy methods, making SeqKD itself merely the first stage.

From a cost structure perspective, the significance of distillation extends beyond simply shrinking the model. Frontier APIs charge per token, requiring payment for every step of every loop, with costs growing linearly with traffic. The distilled 4B student is deployed on self-hosted endpoints, billed by instance hour, where increased traffic incurs no extra charge until scaling out is required. The authors do not provide specific per-task cost figures because those depend on your request patterns, sequence lengths, and concurrency levels, requiring self-measurement. Meanwhile, IFEval shows the student's general instruction-following capability dropped by about 6 to 8 percentage points, which is the expected cost of specialization—if the drop is significantly larger, it indicates the distillation narrowed the model too severely.

Sources

  • aws.amazon.comAmazon Web Services↗
Topic

购物智能体序列级知识蒸馏

亚马逊云科技(AWS)展示了如何利用序列级知识蒸馏(SeqKD)将前沿模型驱动的购物智能体行为迁移至Qwen3.5-4B小模型。核心发现表明,在训练目标中保留教师的推理过程比仅保留工具调用多贡献约13个百分点的任务成功率;蒸馏成功的关键在于…

2 steps1 piecesUpdated 2026-11-03 06:03

How it got here

  1. 2026-11-03AWS技术博客发布《Build efficient agents with knowledge distillation on Amazon SageMaker AI》,详细演示了使用GLM-5.3作为教师模型,通过SeqKD将购物智能体蒸馏至Qwen3.5-4B的过程,并公开了SageMaker HyperPod Recipes中的示例代码。aws.amazon.com ↗
  2. 2026-11-02第三方媒体explainx.ai报道该案例,指出蒸馏后的4B模型在ShoppingBench上的绝对成功率(ASR)达到0.541,与教师模型GLM-5.3的0.540基本持平,强调了保留推理链对性能提升的关键作用。explainx.ai ↗

What is still unsettled

  • SeqKD方法在非购物类复杂代理任务(如代码生成、长程规划)中的通用性如何?
  • 除了保留推理链,是否有其他结构化信号(如动作空间对齐)能进一步提升小模型的代理能力?
  • 在生产环境中,这种蒸馏策略带来的成本降低具体量化指标是多少?
Read the full topic →
Continue researching →