Typhoon-S: Minimal Open Post-Training for Sovereign Large Language Models
The paper introduces Typhoon S, a minimal and open post-training recipe combining supervised fine-tuning, on-policy distillation, and small-scale RFT with InK-GRPO to demonstrate that high-quality, sovereign large language models capable of region-specific tasks like Thai legal reasoning can be developed under academic-scale resources without relying on massive instruction corpora or complex reinforcement learning pipelines.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a brilliant, world-class student (a Large Language Model) who speaks perfect English and Chinese but struggles with the local dialect, culture, and laws of a specific country. Usually, to fix this, big tech companies throw massive amounts of money, supercomputers, and endless data at the problem. But what if a smaller team, like a university or a national government, wants to create their own "sovereign" AI that understands their local context without needing a billion-dollar budget?
This paper introduces Typhoon-S, a "minimalist recipe" for teaching these AI models to be both helpful general assistants and experts in local, high-stakes tasks (like Thai law), using very limited resources.
Here is how they did it, broken down into two main parts:
Part 1: Making the AI "Adoptable" (The General Assistant)
The Goal: Turn a raw, smart base model into a polite, helpful assistant that can follow instructions, write code, and chat naturally in the local language.
The Problem: If you just teach a model new instructions (Supervised Fine-Tuning or SFT), it often becomes "brittle." It's like a student who memorized the textbook answers but panics when the teacher asks a slightly different question or mixes up the language.
The Solution: The "Shadowing" Technique (On-Policy Distillation)
The authors used a two-step process:
- The Lesson (SFT): They first gave the model a small, high-quality mix of English and Thai instruction data. This was like giving the student a crash course.
- The Shadowing (OPD): Instead of just memorizing the answers, the model was asked to generate its own answers, and a "teacher" model (a much smarter AI) would watch and correct it in real-time.
- Analogy: Imagine a music student playing a song. In the old way, they just listened to a recording and tried to copy it. In this new way, the student plays, and a master musician sits next to them, whispering corrections while the student is playing. This helps the student learn how to recover from their own mistakes, making them much more robust and flexible.
The Result: They achieved this with just a few days of training on a small cluster of GPUs (about the size of a university lab). The resulting model, Typhoon-S-8B, became a strong general assistant that could chat, code, and switch between English and Thai smoothly, rivaling much larger models.
Part 2: Giving the AI "Sovereign Capability" (The Local Expert)
The Goal: Teach the model to handle complex, high-stakes local tasks, specifically Thai legal reasoning, where it needs to understand local laws and use tools to find answers.
The Problem: Standard AI training often just reinforces what the model already knows. If the model doesn't know a specific Thai law, standard training won't magically teach it that new fact. Also, standard training doesn't teach the AI how to use tools (like a search engine) to find information.
The Solution: The "Dual-Brain" Training (InK-GRPO)
The authors invented a new training method called Injected Knowledge GRPO (InK-GRPO).
- The Brain Game: Imagine the AI is playing a game where it has to solve a legal puzzle.
- Brain A (The Player): It tries to solve the puzzle using a reward system (like a video game score) to get better at reasoning.
- Brain B (The Reader): While Brain A is playing, Brain B is quietly reading a stack of Thai legal documents.
- The Magic: The system randomly switches between these two modes. Sometimes the AI plays the game; sometimes it reads the documents. This allows the AI to learn new facts (the laws) while simultaneously learning how to use them to solve problems.
The Tool User (Agentic RFT):
They also taught the AI to use tools.
- Analogy: Instead of trying to memorize every law in the world, the AI is taught to say, "I don't know that specific law, let me search the database," read the document, and then answer.
- They trained the AI to do this in a loop: Think -> Search -> Read -> Think -> Answer.
The Result: The Typhoon-S-4B Legal Agent became incredibly good at Thai legal reasoning. Surprisingly, this small 4-billion-parameter model, trained with this specific method, actually outperformed a much larger, famous model (GPT-5) when both were given the same tools to search for answers.
The Big Picture
The paper proves that you don't need a massive supercomputer to build a powerful, sovereign AI.
- For General Use: A simple mix of "lessons" and "shadowing" (SFT + OPD) is enough to make a model smart and helpful.
- For Local Expertise: A clever mix of "playing games" and "reading textbooks" (InK-GRPO) allows a small model to learn new local facts and use tools effectively.
The Cost: They did all this with resources available to a typical university lab (a few days of training on 4 to 8 high-end GPUs), proving that smart design is more important than brute force scale for creating sovereign, localized AI.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.