Skip to content
AI NEWS JOURNAL
AWS Machine Learning BlogAI NEWS / JOURNAL

GPT-OSS-20B Multilingual Reasoning Fine-Tuning Experiment: SFT Enables Zero-Base Behavior Acquisition, while GRPO Only Effectively Improves Performance When a Probabilistic Headspace Exists

The AWS team conducted multilingual inference fine-tuning experiments on Amazon SageMaker HyperPod using GPT‑OSS‑20B, employing LoRA for parameter-efficient fine-tuning. SFT boosted the correctness rate of inference in five languages (English, French, German, Spanish, and Italian) from 22% to 100%, though the correctness rate for the answer language remained at only 62%. GRPO further improved the answer-language correctness rate to 70% without compromising inference-language performance; however, the gains varied across languages—for example, Spanish saw a +30 percentage-point increase, while Italian experienced a -20 percentage-point decline. The experiments clearly demonstrated that GRPO cannot bootstrap new capabilities from scratch and can only optimize behaviors that already occur sporadically.

The AWS team conducted fine-tuning experiments on the open-source large model GPT‑OSS‑20B (20 billion parameters) using Amazon SageMaker HyperPod, aiming to enable it to perform chain-of-thought reasoning in five languages—English, French, German, Spanish, and Italian—and to output the final answer in the specified language. The baseline model performed well only in English reasoning (100%), while its accuracy in the other four languages was extremely low (French: 0%, German: 10%, Spanish: 0%, Italian: 0%), resulting in an overall multilingual reasoning accuracy of just 22%.

By combining Supervised Fine-Tuning (SFT) with LoRA (r=8, α=16), the model’s reasoning language accuracy across all five languages surged to 100%, demonstrating that SFT can effectively acquire new behaviors whose original probabilities were close to zero; however, answer-language accuracy reached only 62% (100% for English, 60% for French/German/Italian, and 30% for Spanish), indicating a decoupling between the reasoning process and answer generation. Subsequently, Group Relative Policy Optimization (GRPO) was applied to further optimize the policy, raising answer-language accuracy to 70% (+8 percentage points) without compromising reasoning-language performance—but this improvement was highly language-dependent: German improved by +20 pp, Spanish by +30 pp, while Italian actually declined by 20 pp.

The experiment reveals key methodological principles: SFT is suitable for building capabilities “from scratch” (such as cross‑language reasoning), whereas GRPO yields observable gains only when the SFT output already exhibits a random distribution of target behaviors—that is, when there is sufficient headroom for pass@k to exceed pass@1. For example, on the GSM8K benchmark, Qwen2.5‑7B‑Instruct showed no improvement after GRPO, because its initial pass@1 score was already 90.5%, lacking the diversity signal needed for optimization. All training and evaluation were conducted using the HuggingFaceH4/Multilingual-Thinking dataset (949 training examples, 50 validation examples, and 50 test examples), with metrics based on binary judgments: “correct reasoning language” (using the instruction language in the chain‑of‑thought) and “correct answer language” (using the instruction language in the final answer). Both criteria must be met simultaneously to count as fully correct.

The tech stack includes an EKS cluster, FSx for Lustre high‑performance storage, EFA 100 Gbps networking, FSDP distributed training, bf16 precision, and the veRL v0.6.1 framework; SFT runs on four ml.g6e.12xlarge instances (totaling 16 L40S GPUs), while GRPO uses a single-node configuration. GRPO’s reward function weights answer language (±5.0), reasoning language (±1.5), and conciseness (+0.5/−1.0); each prompt generates K=8 responses, with a learning rate of 1e-6 and 10 training epochs. The authors emphasize that all results are confined to controlled experimental conditions and do not constitute claims about deployment performance, safety, or generalization in real-world scenarios; this project is an internal experiment, and the associated codebase has not yet been made public; cloud resource cleanup instructions are provided at the end of the paper to prevent ongoing charges.

Sources

Read original ↗

Related topics

← Continue to all updates