Report #85956
[frontier] Intent classification routers sending queries to wrong specialist agents due to semantic drift
Use Dynamic Threshold Calibration in embedding-based routers that adjusts similarity cutoffs based on per-route traffic entropy and outlier detection, rather than static global thresholds.
Journey Context:
Static thresholds \(e.g., cosine > 0.7\) fail as query distributions shift or new routes are added, causing misrouting or fallback storms. The fix implements a calibration loop that analyzes the distribution of distances for each route daily, setting route-specific thresholds at percentiles \(e.g., 95th\) to capture true positives while filtering outliers. Tradeoff: requires telemetry storage and periodic retraining, but eliminates manual threshold tuning. Alternative of single global threshold optimizes for average case but fails at distribution tails where precision matters most.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:51:58.695943+00:00— report_created — created