Streaming Multimodal Interaction › Endpointing: The False-EOT Tradeoff

Michael BrenndoerferDecember 1, 20262 min read
Language AI HandbookAll chapters
Part 52 of 67Omni-Modal and Embodied Language Systems
Chapter 400Streaming Multimodal Interaction › Endpointing: The False-EOT Tradeoff
Reading section 10 of 17 · Endpointing: The False-EOT Tradeoff · 2 minSection 10 of 17 · 2 min

Section 10 of 17 · 2 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

A simple timer commits if a pause lasts at least the threshold τ\tau. For an unfinished pause of length GG, the error event is G≥τG\ge\tau. For a completed turn with extra processing delay JJ, a fixed deadline DD is missed when τ+J>D\tau+J>D. The first probability stays constant or decreases as the timer grows. The second stays constant or increases. Changing the deadline or what counts as an unfinished pause changes the curves.

The synthetic fixture sweeps thresholds from 100 to 700 ms in 25 ms increments. It sets a 500 ms deadline and scores each threshold as 1.5 times the false-endpoint rate among unfinished pauses plus the late-endpoint rate among completed turns. To estimate expected cost per decision, multiply each conditional error rate by the frequency of its case and the cost of that error. For example, if 90% of cases in a hypothetical mix are unfinished pauses and the error costs stay at 1.5 and 1, those weights move the minimum on this same grid from 375 to 700 ms. This is a sensitivity check on synthetic rates.

PythonIn [15]
CollapseExpand
rng = np.random.default_rng(21)
mid_pauses = rng.integers(80, 700, size=1000)
post_turn_processing = rng.integers(30, 110, size=1000)
thresholds = np.arange(100, 701, 25)
deadline_ms = 500
false_rates = np.array([np.mean(mid_pauses >= t) for t in thresholds])
late_rates = np.array(
    [np.mean(t + post_turn_processing > deadline_ms) for t in thresholds]
)
endpoint_cost = 1.5 * false_rates + late_rates
best_threshold = int(thresholds[np.argmin(endpoint_cost)])
ConsoleOut [16]
CollapseExpand
Minimum on this grid: 375 ms, false rate 0.523, late rate 0.000
VisualizationOut [17]
CollapseExpand
Solid and dashed lines show the opposing endpoint tradeoffs against the silence threshold.
False endpoints fall and overdue true endpoints rise as the example silence threshold increases. The vertical rule marks the minimum weighted error on the sampled grid.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy