AWS微调GPT-OSS-20B提升多语推理
AWS Machine Learning Blog称,在涵盖英、法、德、西、意语的50例测试中,监督微调将GPT-OSS-20B使用目标语言推理的比例从22%提升至100%。在SFT基础上加入GRPO后,答案语言正确率从62%升至70%;Qwen2.5-7B对照实验在多语推理上提升6个百分点,但在GSM8K上没有增益。
该实验对比了微调开放权重推理模型时使用SFT与GRPO的适用条件,显示SFT负责补足缺失行为,而GRPO只在模型已具备部分能力时带来小幅改进。
GPT-OSS-20B is an open-weight reasoning model that thinks in English. Ask it to reason in French, German, Spanish, or Italian and it acknowledges the instruction, then produces its chain-of-thought in English anyway. On a 50-example multilingual reasoning test, the base model reasoned in the correct target language only 22 percent of the time. That 22 percent was almost entirely the English examples (English 100 percent, French 0 percent, German 10 percent, Spanish 0 percent, Italian 0 percent).
For teams deploying reasoning models for non-English users, that gap matters. A user who asks a question in French expects the model to reason and answer in French, not to switch to English mid-thought. Closing that gap is a fine-tuning problem. It raises a question every team faces once they start customizing open-weight models: supervised fine-tuning (SFT), reinforcement learning with Group Relative Policy Optimization (GRPO), or both?
In this post, we walk through how we fine-tuned GPT-OSS-20B for multilingual reasoning on Amazon SageMaker HyperPod. We show when SFT alone was sufficient and when GRPO added measurable value on top. To understand more broadly when GRPO helps, we also ran a controlled Qwen2.5-7B experiment across two tasks with different capability gaps. The short answer: SFT does most of the work, GRPO refines when there is headroom to refine, and matching the technique to the capability gap is what decides the outcome.
#GPT-OSS-20B#Amazon SageMaker HyperPod#Qwen2.5-7B#HuggingFaceH4/Multilingual-Thinking#PyTorch TRL#veRL#Ray#KubeRay#vLLM#Amazon EKS#Amazon FSx