laya-slotjudge-m46 · interactive guide

Explore the judge

An assistant must fill fields from a sentence: city, date, dish. Proposers suggest values, a small model chooses, and a threshold decides whether to act, ignore or ask. Move the controls below: the measurements are recomputed in your browser.

Parts 2 and 3 are recomputed on 2,500 real development questions of the published model for each type of list. Part 1 uses constructed examples. Parts 4 and 5 use the test results of the model card.

Back to the project

1 · Decide

One question per slot, three possible decisions

For each slot, the judge receives the sentence and a list of candidates, plus “not specified”, which is always offered. It gives each option a probability.

The temperature flattens or sharpens these probabilities without changing the order of the options.

The threshold sets the confidence required. Above it, we follow the judge: it fills the slot, or ignores it if it chose “not specified”. Below it, we ask the user.

Constructed example: the scores are chosen for illustration.
2 · Calibrate

A probability of 0.9 should be right 9 times out of 10

A threshold only makes sense if the probability tells the truth. Each point groups questions of similar confidence: on the diagonal the model is honest; below it, the model is overconfident.

ECE sums up this gap. The temperature is fitted once on development data. Compare the two types of list: one temperature suits oracle lists better than real ones, which is why it should be refitted on your own data.

ECE on the sample
correct decisions
questions with confidence ≥ 0.99
3 · Trade off

The right threshold depends on what an error costs

A wrong fill triggers a wrong action. Asking disturbs the user. Missing a value means asking for it later. A correct action earns +1, a correct abstention 0.

The curve gives the average gain for each threshold. Raise the cost of a wrong fill: the best threshold climbs and more questions go to the user. On real lists at a cost of 5, about 45 % of questions are asked.

Assumption: a question asked to the user always yields the right answer.

average gain at this threshold
best possible average gain
best threshold
questions asked
4 · Measure

What the model reaches on the test sets

Oracle lists are built from the right answer: they measure the judge alone. Real lists come from the proposers, with their noise and omissions: they measure the whole pipeline.

The dark marker shows how often the proposers include the right value. The judge cannot recover a value that was never proposed, so better proposers raise the ceiling.

Slot F1 on the test sets, seed 14, evaluated once.
5 · Consequences

What to expect in your application

The result depends on how clean your candidates are. A catalogue or a database gives lists close to oracle ones; generic extractors give lists closer to real ones.

With noisy lists, F1 falls and wrong fills rise: use a higher threshold, and refit it on your own data. With these real lists the model is also 0.06 to 0.09 F1 below the monolingual judges of the paper on MTOP and Multi3WOZ.

Weighted mean of the two test measurements: an approximation, not a new experiment.

expected slot F1
wrong fills per day, without a threshold