Back to articles
Evaluation & Benchmarks

PolyRoute Tests Multilingual and Code-Mixed Routing

3 min read

Introduction

Multilingual classification is often framed as a model-selection problem: choose a multilingual encoder and expect it to transfer across languages. Real support operations are less tidy. Messages may contain romanized words, spelling variation, mixed languages, and writing systems that were not represented in the original training data. PolyRoute addresses this gap with a controlled benchmark for a three-way department-routing decision.

What the benchmark contains

PolyRoute includes 322 native-language support messages spanning 12 languages and 9 writing systems. It adds 156 code-mixed or romanized examples, including Hinglish, Spanglish, and Arabizi. The task is deliberately narrow: given a message, a system must identify the department to which it should be routed in one forward pass. The release also offers 967 optional native-language training rows for systems that need supervised adaptation.

The labels were produced with Qwen3.8-27B and checked through a blind second pass, which retained 91% of the candidates. An independent gemma4-31b model agreed with the labels on 97.2% of test items. The authors also report a maximum character 5-gram similarity of 0.33 between any test text and any training text, a useful signal that the split was not simply rewarding near-duplicate retrieval.

Results that deserve attention

The leaderboard makes the strongest point through its baselines. The English-root checkpoint scores 61.2%, the shipped multilingual checkpoint scores 77.3%, and the best fine-tuned system reaches 96.6%. Yet a conventional TF-IDF representation paired with logistic regression reaches 91.9%, substantially ahead of the shipped multilingual encoder.

The cross-language picture is uneven. On four withheld languages, three multilingual systems score 77%, 90%, and 93%, respectively. On code-mixed inputs, the English root records 85% and the shipped multilingual checkpoint 79%. That apparent gap should not be overinterpreted: the reported significance level is p=0.134, and the split can reliably resolve differences only above roughly four points.

Why it matters

PolyRoute is useful because it evaluates multilingual routing as a fixed decision problem rather than as a broad claim about language support. For customer-service triage, moderation queues, and internal ticket assignment, a model does not necessarily need to write a long answer. It needs to make a stable, auditable choice despite language and spelling variation.

The TF-IDF result is also a practical warning. Strong lexical cues or artifacts in a controlled dataset may allow a lightweight classifier to perform extremely well. A multilingual encoder should therefore be compared with simple baselines before its added complexity is justified. Conversely, the fine-tuning result shows that targeted adaptation can close much of the gap when representative training rows are available.

There is a major caveat. Every text and label in PolyRoute was generated by language models. This supports consistent construction, but it may not capture the abbreviations, missing context, typos, regional phrasing, and operational noise found in real support queues. The benchmark is best viewed as a reproducible starting point for model comparison, not as a final estimate of production routing accuracy. Human-authored or privacy-preserving real-world data would be an important next test.

Source: Hugging Face Daily Papers

Comments

Checking sign-in status...

Loading comments...

Related articles