← Latest papers
💬 NLP

When the API Speaks the Wrong Language: Revisiting Post-Training for Multilingual Tool Use

This paper investigates the "Argument Language Mismatch" issue in multilingual LLMs for API calling and demonstrates that supervised fine-tuning serves as a strong baseline for ensuring argument language consistency, while reinforcement learning offers only incremental improvements primarily in generalization and multi-objective trade-offs.

Original authors: Siddharth Chauhan, Thomas Butler, Abhishek Singhania, Pankaj Porwal, Honey Gupta

Published 2026-08-13
📖 4 min read☕ Coffee break read

Original authors: Siddharth Chauhan, Thomas Butler, Abhishek Singhania, Pankaj Porwal, Honey Gupta

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 are teaching a super-smart robot to be a personal assistant. This robot, known as a Large Language Model (LLM), is incredibly good at chatting, writing stories, and answering questions in many different languages. But there's a catch: to be truly useful, this robot needs to do more than just talk; it needs to talk to other computer programs to get things done. Think of these programs as a vast library of tools—like a calculator, a weather app, or a flight booking system. To use them, the robot has to speak a very specific, rigid language called an "API call." It's like ordering a pizza: you can say "I want a pizza" in any language you like, but the kitchen only understands a specific ticket format with exact toppings and sizes.

The big problem this paper tackles is what happens when the robot gets the order right but messes up the ticket. If a Spanish speaker asks the robot to book a flight, the robot might correctly pick the "book flight" tool but then fill in the destination with the English word "Paris" instead of the Spanish "París." To a human, this seems like a tiny, harmless mistake. But to the computer program waiting for the order, it's a disaster. The system crashes or rejects the request because it's waiting for Spanish words. The paper calls this glitch "Argument Language Mismatch" (ALM). It's a frustrating bug where the robot understands what you want but fails to speak the language of the tool you're trying to use. The researchers wanted to figure out the best way to train these robots to stop making this specific mistake, especially when they are juggling many different languages at once.

The authors of this paper decided to play detective with two different training methods to see which one fixes this language glitch best. The first method is like a strict teacher showing the robot thousands of perfect examples of how to fill out the tickets. This is called Supervised Fine-Tuning (SFT). The second method is more like a video game: the robot tries to fill out the ticket, gets a score based on how well it did, and learns from its mistakes through trial and error. This is called Reinforcement Learning (RL). The researchers built a special test bench using a dataset of tool calls translated into five languages (Spanish, French, Italian, Dutch, and English) to see how well the robots could learn.

Here is the surprising twist they found: the "strict teacher" method (SFT) was actually the superstar. When they simply showed the robot examples of correct Spanish-to-Spanish tool calls, it fixed the vast majority of the language mismatch errors. In fact, for many tasks, the simple teacher method worked just as well as, or sometimes even better than, the complex video-game method. The paper suggests that the robot didn't need to "think" its way to a solution; it just needed to see enough examples to learn the pattern that "if the user speaks Spanish, the tool ticket must be in Spanish."

However, the video-game method (specifically a version called GRPO) did have a few special tricks up its sleeve. While it didn't always beat the teacher method at the basic task, it was better at two things: handling tools the robot had never seen before, and keeping its general reasoning skills sharp. The researchers found that the video-game method was like a more flexible student who could adapt to new situations without forgetting how to solve math problems. They also discovered that the "score" the robot got in the video game mattered a lot. If the score only said "Good job" or "Bad job," the robot didn't learn much. But if the score gave detailed feedback on which specific word was wrong, the robot learned much faster.

In the end, the paper concludes that we don't always need the most complicated, expensive training methods to fix these language glitches. A careful, well-designed training set with a simple teacher can solve most of the problem. The fancy video-game training is useful for polishing the robot's skills and making it more robust in tricky situations, but it's not the magic bullet we might have thought. The key takeaway is that for making robots speak the right language to their tools, sometimes the old-fashioned way of showing them the right examples is the most powerful tool in the box.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →