AIToday
Large Language ModelsAI Coding AssistantsAmazon AI BlogPublished: Sep 16, 2026, 04:00 JST

Qwen3-8B tagging score hits 0.6941 on SageMaker

Qwen3-8B tagging score hits 0.6941 on SageMaker

3 Key Points

  1. What happened

    An AWS walkthrough customized Qwen3-8B on Amazon SageMaker serverless model customization, using SFT, then RLVR with GRPO. Overall score rose from a 0.354 baseline to 0.6827 after SFT and 0.6941 after GRPO.

  2. Why it matters

    SFT supplied most of the gain, lifting recall from 0.327 to 0.6689 and precision from 0.397 to 0.652. GRPO then raised Overall to 0.6941 and recall to 0.703, while precision slipped from 0.652 to 0.638.

  3. What to watch

    The choice hinges on whether missing valid attributes costs more than extra tags; if so, favor the GRPO version, otherwise reweight the reward toward precision. The reward weights include 0.30 each for recall, precision, and accuracy.

WHO IT HITSCatalog and e-commerce data teams that tag high volumes of product SKUs are the clearest audience, since the walkthrough targets batch-oriented catalog enrichment. Teams weighing a smaller open-weight model against a general-purpose frontier model for stable, scorable tagging tasks also gain a concrete comparison.

Ask the AI about this article →

Summaries like this, in your inbox every morning.

Context & Analysis

The walkthrough is framed around a familiar catalog problem: product data arrives from many sources with inconsistent names, descriptions, and category paths, while search, recommendations, and navigation all depend on consistent tags. Applying those tags by hand across thousands of SKUs is slow and hard to keep consistent. AWS's argument is that when the taxonomy is stable and outputs can be scored programmatically, a smaller open-weight model can be the better fit than a general-purpose frontier model, because you avoid paying for broad capabilities the workflow does not need on every request.

The example separates the work into three stages: data preparation run as a SageMaker Processing job, serverless customization, and inference. The Amazon Sales Dataset is transformed into JSONL, registered in SageMaker AI Registry, and used to teach Qwen3-8B a nine-category schema through supervised fine-tuning. RLVR with GRPO then continues from that SFT model package, scoring candidate tag sets with a deterministic reward built from recall, precision, accuracy, match quality, and formatting weights, while KL regularization limits drift from the SFT reference model.

The evaluation is the most concrete part: SFT does most of the task adaptation, and GRPO makes a narrower trade-off, accepting a small precision loss for higher recall and a slightly better Overall score. The authors are explicit that these metrics measure tagging quality rather than business conversion, and that production impact should be validated with catalog-specific measures. The outcome therefore hinges on which error is more expensive for a given catalog, and on whether a team is willing to tune the reward weights to match that preference.

FAQ
How much did GRPO improve the tagging model?
Overall rose from 0.6827 after SFT to 0.6941 after GRPO, and recall rose from 0.6689 to 0.703. Precision dipped slightly from 0.652 to 0.638.
Where does the optimized model run for inference?
Training uses Amazon SageMaker serverless model customization, but serving uses an Amazon SageMaker Asynchronous Inference endpoint on a provisioned ml.g6.2xlarge instance.
How is the reward for RLVR scored?
The reward is deterministic: it checks the nine-category output format and uses fuzzy matching at a 0.5 threshold against the reference, so no separate judge model is needed.
Amazon AI BlogRead Original Article

Get the latest Large Language Models news every morning

For example, today's edition would include:

  • Meta One launches globally from $2.99/moTop Companies AI · 2h ago
  • Perplexity's Portable Computer hits Windows with NvidiaTop Companies AI · 2h ago
  • NEC runs 10-day AI-only department test with agent 1on1sTop Companies AI · 2h ago

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleEx-Google DeepMind researcher Bilal Chughtai warns AI could kill us all