Menu

1 / 5

Balanced Benchmarks Hid a 95% Error Rate in My Multilingual Classifier

DEV Community: nlp·Rana Usman·4 days ago
#KxlVLILe
#devtonlp#devto#dev#plain#real
Long article (871 words) — no AI summary yet.
Reading 0:00
15s threshold

I build a small tool that turns a written narration into a short explainer video. For every sentence, a small classifier decides how to show it: a chart when something rose or fell, a clock for a span of time, a side by side for a comparison, a cycle for a loop, a flow for steps, or just a plain picture of what the sentence names.

The model looked great on every benchmark I gave it. In real videos, it was wrong almost all the time.

Here is how a balanced test set hid a 95% error rate, and the two changes that took plain statements left alone from 5% to 88% across seven languages.

The benchmarks said it worked

I tested the classifier the standard way, on held-out sets with an equal share of every intent.

On English it scored 95%. When I added native training sentences for eight more languages, their balanced test sets scored between 73% and 88%, averaging 79.5% together.

Then I actually watched the videos.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.