Dynamic Model Selection via Local Competence

21 concepts14 papers1 proposal

When building machine learning systems, a common instinct is to combine multiple models into an ensemble. Traditional ensembling techniques—such as majority voting or uniform averaging—treat every base learner as a global participant. They operate under the assumption that if a model is generally accurate, its voice should carry equal weight across the entire dataset.

However, real-world data distributions are rarely homogeneous. A classifier trained on text might excel at parsing legal documents but stumble on medical jargon. An outlier detector might be highly sensitive to density changes in one cluster of features but completely blind in another. When we average these models globally, the noise from incompetent models dilutes the signal of the true experts.

The core insight of Dynamic Classifier Selection (DCS) and Dynamic Model Selection is that we should not choose or weight models globally. Instead, we should select the single best model (or a highly competent subset) pointwise—that is, sample by sample, or region by region. As formalized early on by Fabio Roli et al. in Dynamic Classifier Selection, this adaptive approach can closely approach the theoretical "oracle" performance, significantly outperforming static ensembles by exploiting the complementary strengths of different classifiers on a sample-by-sample basis.

Defining the Local Neighborhood

To select the best model for a specific input, a system must first define what "local" means. How do we estimate a model's competence in the immediate vicinity of an unlabelled data point?

One foundational strategy relies on feature-space neighborhoods. When a new sample arrives, the system identifies its $K$-nearest neighbors within a known validation set. It then evaluates how accurately each base model performed on those specific neighbors.

For instance, Xun Gong et al. utilized this local accuracy strategy for facial expression recognition in Expression Detection Based on a Novel Emotion Recognition Method, demonstrating that choosing a single local expert based on neighborhood performance yields higher accuracy than global voting rules. Similarly, in web archiving, Krutarth Patel et al. developed a framework in Dynamic Classification in Web Archiving Collections that dynamically selects document classifiers based on structural and topical neighborhoods to handle highly heterogeneous document collections. In the unsupervised domain, Yue Zhao 0016 et al. applied this to anomaly detection with the LSCP framework in LSCP: Locally Selective Combination in Parallel Outlier Ensembles, isolating competent detectors within specific data regions rather than relying on global averaging.

However, this neighborhood approach comes with a caveat highlighted by Xun Gong et al.: if the validation set lacks representative samples near the new input, the neighborhood calculation breaks down, potentially leading the system to select an inappropriate expert.

Temporal and Contextual Windows

Locality is not always spatial; it can also be temporal. In dynamic environments where data distributions drift over time—such as disease forecasting—the "neighborhood" is defined by a recent historical window.

Consider real-time epidemiological nowcasting. In Improved state-level influenza nowcasting in the United States leveraging Internet-based data and network approaches, Fred Lu et al. designed a winner-takes-all mechanism that evaluates the predictive accuracy of local-specific and spatial-network models over a recent historical window, dynamically pivoting to whichever signal is currently more reliable.

This concept was expanded to multi-disease forecasting by Simin Ma et al. in Joint COVID-19 and influenza-like illness forecasts in the United States using internet search information. Their framework uses a sliding window to evaluate recent accuracy, allowing the system to dynamically switch between specialized single-disease models and joint-disease models depending on whether pathogens are co-circulating or surging in isolation.

Learning to Predict Competence

Instead of just looking at past performance or geometric neighbors, can we directly predict which model will succeed based on the input itself? This introduces the concept of meta-learning and auxiliary networks.

An early instantiation of this idea appears in Automatic Sample-by-Sample Model Selection Between Two Off-the-Shelf Classifiers, where a linear discriminant is trained on the confidence measures of two classifiers to predict on a sample-by-sample basis which one will be more accurate. In a similar vein, Boon Toh Low et al. demonstrated in Model Combination in the Multiple-Data-Batches Scenario that when data arrives in separate batches, using cross-validation to explicitly map out and select models based on their predicted local accuracy yields better results than pooling all data into a single massive model.

Modern implementations scale this up using specialized meta-predictors and decentralized architectures:

From Single Experts to Dynamic Subsets

Dynamic selection does not always mean choosing exactly one model. Sometimes, the optimal strategy is to dynamically isolate a competent sub-ensemble.

In Dynamically Identifying Deep Multimodal Features for Image Privacy Prediction, Ashwini Kishore Tonge et al. showed that instead of concatenating all multimodal features or using a fixed ensemble, a system can dynamically select a subset of high-performing specialized models for each individual image based on their estimated local competence. A majority vote is then taken only among these selected models, effectively filtering out noise from irrelevant or misleading feature channels. This localized selection philosophy is unified across multiple machine learning tasks (such as classification, clustering, and anomaly detection) in the combo library developed by Yue Zhao et al. in Combining Machine Learning Models Using combo Library.

Preserving Statistical Guarantees

While pointwise selection offers massive empirical gains, it can introduce statistical complications. For example, in conformal prediction—where models output a set of labels guaranteed to contain the true answer with a user-defined probability—naively selecting the smallest prediction set from a pool of models breaks the underlying mathematical safety guarantees.

To resolve this, Mahmoud Hegazy et al. introduced the MinSE algorithm in Valid Selection among Conformal Sets. MinSE enables pointwise model selection for conformal predictors on an individual input level without violating valid coverage guarantees. This allows systems to safely harvest the tighter prediction intervals made possible by local model expertise, even over highly heterogeneous data distributions.

Why It Works

Dynamic model selection works because it shifts the problem from global optimization to contextual routing. Instead of forcing a single model or a fixed ensemble weight to reconcile conflicting patterns across an entire dataset, it treats base models as specialized tools. By evaluating local competence—whether through feature-space neighborhoods, temporal windows, or predictive meta-networks—the system ensures that for any given data point, only the most qualified models determine the final output.

Key Foundational Work

Model Combination in the Multiple-Data-Batches Scenario (1997) — contributed 1 concept elements to this direction.
Automatic Sample-by-Sample Model Selection Between Two Off-the-Shelf Classifiers (1999) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_dynamic_classifier_selection_40bc14f5,
  title = {dynamic classifier selection},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/dynamic-classifier-selection/rdr_40bc14f5ec2c4fdca493481438afc7fe},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_dynamic_classifier_selection_40bc14f5_v1,
  title = {dynamic classifier selection},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/dynamic-classifier-selection/rdr_40bc14f5ec2c4fdca493481438afc7fe/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake