Model Serving · Software component

Query Complexity Classifier

Software componentModel ServingModelsarc:QueryComplexityClassifier

A lightweight classifier that predicts a query's complexity from its embedding to inform model-tier routing.

Responsibility. Predicts query complexity before inference to inform routing.

Also known as: Complexity classifier model, Complexity Classifier, SLM pre-screener, Initial triage model, Intent and complexity classifier, Difficulty classifier, Query complexity heuristic, Decomposition bypass check, LLM-based complexity classification, Small classifier model

Variant of Query Complexity Assessor abstract

When to choose. Choose when query phrasing varies widely and higher classification accuracy justifies the added latency and cost of a classifier model.

sends data tois invoked byinvokesis invoked bysends data tois invoked byis invoked byspecializesalternative toRetriever: sends data toRetrieverRAG Query Orchestrator: is invoked byRAG Query OrchestratorEmbedding Service: invokesEmbedding ServiceModel Router: is invoked byModel RouterTool Selector: sends data toTool SelectorAdaptive Sample Allocator: is invoked byAdaptive Sample AllocatorReasoning Strategy Router: is invoked byReasoning Strategy RouterQuery Complexity Assessor: specializesQuery Complexity AssessorRule-Based Complexity Classifier: alternative toRule-Based Complexity Cl…
Direct neighbourhood (hover for relationship types)

Relationships

invokes dependency

is invoked by dependency

sends data to dynamic

alternative to variability

Design guidance

Quantitative guidance

As stated by the sources; verify before use.

Classification

Patterns
Embedding-based classificationFeature-based complexity classificationRule-based heuristics
Quality attributes
Cost efficiency
Risks mitigated
Misrouting complex queries to weak modelsOver-decomposition of simple queries

Sources

  1. Ch1.8: T. Nguyen, "Scalability and Production Deployment," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 1.8. ISBN: 9798244538229.
  2. Ch3.4: T. Nguyen, "Tuning Model Parameters for Production Performance," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 3.4. ISBN: 9798244538229.
  3. Ch3.10: T. Nguyen, "Efficiency Metrics," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 3.10. ISBN: 9798244538229.
  4. Ch5.3: T. Nguyen, "Self-Consistency Fundamentals," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 5.3. ISBN: 9798244538229.
  5. Ch6.6: T. Nguyen, "Query Decomposition and Adaptive Retrieval," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 6.6. ISBN: 9798244538229.
  6. Ch8.3: T. Nguyen, "Token Economics and Architecture," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 8.3. ISBN: 9798244538229.