Abstract
The technology relates to a dual-model evaluation and calibration framework that operates to train, validate, and maintain high-efficiency, lightweight query classifiers deployed in real-time processing systems. High-volume production traffic requires low-latency routing, yet manual labeling of extensive production query streams remains impractical. The framework pairs a compact production query classifier with an offline automated evaluator featuring advanced chain-of-thought reasoning capabilities. Both models undergo parallel prompt development and initial calibration against a curated dataset split into tuning and frozen holdout pools. Production query streams are evaluated in parallel by both models, and disagreement sampling selectively flags instances where the two models produce conflicting classification labels, along with a control sample of agreed-upon queries, for expert human review. The reconciled queries are added to the golden dataset to iteratively refine model prompts until disagreement between the models falls below target thresholds. Post-launch maintenance conducts periodic sampling audits on live traffic to protect against evaluation drift. This architecture remains modular and easily combinable with diverse search engines, assistant frameworks, and intent-classification pipelines. Keywords: query classification, machine learning evaluation, autorater calibration, chain-of-thought reasoning, golden dataset, disagreement sampling, model maintenance.
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 License.
Recommended Citation
Patel, Shravan; Henry, Timothy; and , "Query Classifier Evaluation and Calibration Framework", Technical Disclosure Commons, ()
https://www.tdcommons.org/dpubs_series/13359