AWS shows how to cut agent costs with knowledge distillation on SageMaker
Amazon SageMaker AI published a guide on using sequence-level knowledge distillation (SeqKD) to train smaller models that mimic the behavior of larger, more expensive frontier models like GLM-5.3 on Amazon Bedrock. The method generates high-quality multi-step agent trajectories—complete with reasoning and tool calls—using a teacher model, filters them to keep only task-solving runs, and…
Key points
- SeqKD trains a smaller model (e.g., **Qwen3.5-4B**) on trajectories generated by a frontier teacher like **GLM-5.3** on Bedrock
- Filtered 850 trajectories from 426 training problems, keeping only task-solving runs scored by **ShoppingBench**’s programmatic grader
- Student matched teacher’s **ASR of 0.541** on 324 held-out problems, running on **ml.g5.2xlarge** instances for lower cost
The process involves encoding trajectories as chat-formatted messages, running serverless supervised fine-tuning on SageMaker AI model customization, and evaluating the student against a held-out benchmark (ShoppingBench). Results show the 4B student matched the teacher’s Absolute Success Rate (ASR) of 0.541 on 324 held-out problems, with a slight edge over the sampled teacher’s 0.511. The student also preserved general instruction-following ability, though with a small drop (e.g., 0.741 vs. 0.819 on IFEval’s prompt-strict score). The guide emphasizes honest evaluation—comparing against both the teacher and independent frontier models—and highlights tradeoffs like task capacity limits and the need for on-policy methods for harder problems.
Model page: GLM 5.3 →
Build efficient agents with knowledge distillation on Amazon SageMaker AI
AWS Machine Learning Blog · 2 November 2026
Loading the full article…
This text was published by AWS Machine Learning Blog and written by Giuseppe Zappia. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Agents & Tools
All →- Circle K cuts incident triage time to under 15 minutes with Amazon Bedrock · 1 src
- Google shuts down Jules coding assistant on December 31 · 1 src
- Perplexity details Brain memory system and Agent API testing methods · 1 src
- Google adds screen-operation AI to Gemini API for developers · 1 src
- Adobe introduces multimodal AI agents to automate tasks beyond chat · 1 src
Comments
via GitHub Discussions