Skip to content
View original post on X: Muratcan Koylan
Published

Sully.ai explains decision-model arbitration for bilingual voice calls

AISully.ai says it uses mammoth-1 to choose between Arabic and English transcripts on ambiguous turns in its bilingual clinical voice agent. In the first three days, the model made 545 decisions and settled 36% of turns with two transcripts.
Muratcan KoylanVerified on X
@muratcan
View on X

We've been testing decision models for a few weeks. Now they're in production in our voice agent, deciding which transcript heard the caller correctly on bilingual calls.

I wrote up what we learned, including when to trust them: https://x.com/i/article/2121006946559856640

Decision models for real-time judgment in clinical voice agents

An English speech recognizer heard the Arabic courtesy phrase «يعطيك العافية» as "Mary, I'll take it off here," and reported 98% confidence.

High confidence. Wrong language.

The long version, with the full method, is -> here

At @Sullyai, our receptionist answers hospital calls around the world including UAE and KSA. It greets callers in Arabic, then books appointments, checks identity in EHR, and answers questions in whatever language the caller uses. More than half of our calls mix Arabic and English, sometimes inside a single sentence.

This piece is about one small decision the agent makes on every one of those turns, which language did the caller just speak, and what we learned handing the hard cases to a decision model: mammoth-1, deployed by @Baseten in the UAE.

Our first three days: 545 decisions.
Median response: 471 ms.
Decision models resolve ambiguity that rules alone can't with confidence thresholds that let us tune the trade-off between errors and clarification.

Picking an answer and trusting it are two separate decisions.

Two recognizers, one caller

We tried the obvious setups first.

An Arabic-only recognizer wrote English phonetically in Arabic script. A bilingual recognizer dropped short Arabic replies and misheard English names. What worked best was two recognizers running in parallel, one configured for Arabic and one for English.

That fixed hearing but it created a choosing problem. Every turn now produced two transcripts, and only one of them was what the caller said.

Confidence scores didn't settle it. Each recognizer's score assumes the caller spoke its language, so an English recognizer can be very sure about English words nobody said. Detecting language straight from the audio wasn't better on short phrases: a small Whisper model put over 90% on English for an Arabic courtesy phrase.

Rules first, then a decision model

So we built an arbiter. Ordered rules go first: known phrases, name answers, yes/no polarity, a confidence score with a margin. They're fast and inspectable, and they settle most turns.

When the rules can't decide, the arbiter asks a decision model.

Decision models, sometimes called "System One" models, don't write a reply. You give them context, a typed question, and a fixed set of answers. They return a probability for each answer. With no text to generate, they're fast enough to sit inside a live call.

Our request is small: the agent's last line, the caller's recent turns with their settled languages, and both transcripts. One question: which recognizer heard what the caller actually said? Two choices: ar or en.

We tested mammoth-1 and elephant-1 because both have open weights, which let us run them in the UAE to meet data residency and privacy requirements.

Choosing the judge

We ran both models on 106 caller turns from 36 hours of calls, then labeled by hand the turns where they disagreed and the right answer was clear. On those, mammoth-1 (27B) was right 77% of the time. elephant-1 (9B) was right 54% of the time.

That's a small set, 13 clear-cut disagreements, so read it as direction rather than proof. But honestly the pattern on short replies was clear for us. On "yes," "no," and "okay," mammoth-1 got every labeled case right, and elephant-1 got half.

That's more important than it sounds. Most turns we send to the model are three words or fewer. Just a word like "okay" carries no language on its own. The conversation around it is the only evidence.

Three days of decisions

We put mammoth-1 on the ambiguous turns. In its first three days it made 545 decisions.

We expected the model to be an occasional tiebreaker. It wasn't. When both recognizers returned a transcript, a judge model settled 36% of turns.

The model picks. We decide when to listen.

mammoth-1 disagreed with our rules on 104 of its 545 decisions (19%).

An override isn't automatically an improvement. So we reviewed the overrides to separate corrections from new mistakes.

Our first acceptance threshold was 0.6, and it was too permissive. Of the reviewed overrides:

- between 0.6 and 0.8, 31% were corrections

- between 0.8 and 0.9, 92%

- at 0.9 and above, 93%

So we proposed an asymmetric rule. The model can agree with the rules at 0.6, but it needs 0.8 to overrule them. Replayed on the reviewed overrides, that rule would have removed 73% of the model's mistakes and kept 91% of its corrections.

A stricter bar can mean more turns where the agent asks the caller to repeat. Even at 0.6, about 2% of answers fell below the floor on turns where both transcripts meant the same thing, like "No. No." and «لا لا».

But because the model reports a probability on every answer, we can count that trade-off from labeled turns before we ship a threshold, instead of finding out on calls.

That's the part I'd underline. The probability isn't decoration on the answer but more of the control surface.

What I'd tell another voice-agent team

- Keep rules for the clear cases. They're cheap, inspectable, and right most of the time.

- Expect ambiguity to be common. Ours was over a third of paired turns.

- Separate "choose" from "accept." The model chooses. A threshold you've measured decides whether to act on it.

- Label the disagreements. Overrides are where the model either earns its place or costs you.

- Treat latency as a hard limit with a safe fallback, not as an average.

Language was our starting point because it was the hardest decision in our current deployments. We plan to experiment with end-of-turn detection, consent, and routing next and believe that decisions models can resolve the ambiguity before the caller feels the pause.

Source details

Muratcan Koylan · x.comPublished · added here

Original title: We've been testing decision models for a few weeks. Now they're in production in our voice agent, deciding which transcript heard the cal...