Streaming Multimodal Interaction › Endpointing: The False-EOT Tradeoff
Language AI HandbookAll chapters A simple timer commits if a pause lasts at least the threshold . For an unfinished pause of length , the error event is . For a completed turn with extra processing delay , a fixed deadline is missed when . 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]Expand
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]Expand
Minimum on this grid: 375 ms, false rate 0.523, late rate 0.000
VisualizationOut [17]Expand

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!