Multihop: Leveraging Complex Models to Learn Accurate Simple Models

Amit Dhurandhar, Tejaswini Pedapati

TL;DR

This paper introduces "Multihop Stochastic Transfer Method" (MSTM), a novel approach to improve simple, interpretable models by leveraging complex, high-performing models. Instead of direct knowledge transfer (1-hop), MSTM uses a sequence of intermediate models with decreasing complexity, allowing for more effective and nuanced knowledge transfer, leading to significant performance gains.

What Problem Does This Paper Address?

In many real-world applications, there's a critical need for simple, interpretable models (like decision trees) due to requirements for explainability (e.g., in chip manufacturing) or robustness. However, these simple models often underperform compared to complex, black-box models (like deep neural networks). The challenge is to transfer the superior performance of complex models to these constrained simple models without sacrificing their interpretability or introducing complex intermediate representations. Existing methods like Knowledge Distillation (KD) or ProfWeight (PW) typically transfer knowledge directly from the complex model to the simple one in a single step (1-hop), which might not be optimal for capturing the full knowledge.

Methods

The core of the paper is the Multihop Stochastic Transfer Method (MSTM). The approach works by:

  1. Anchor Models: Creating a set of "anchor models" from the complex model. These anchors are simpler versions of the complex model, differing in architecture or depth (e.g., shallower ResNets derived from a deep ResNet).
  2. Intermediate Models: Using a perturbation function e(.) to create intermediate models from these anchors. These intermediate models can be slightly modified versions of the anchors, allowing for a richer search space than just the anchors themselves. Crucially, these intermediate models do not need to adhere to the constraints (like interpretability or size) of the final simple model.
  3. Sequential Transfer (Multi-hop): Knowledge is transferred sequentially through these intermediate models. At each "hop," MSTM selects the intermediate model that best improves the simple model's performance, using standard transfer techniques like KD or PW. The process can involve multiple hops (e.g., 2-hop, 3-hop), where each subsequent intermediate model is of lower complexity than the previous one.
  4. Stochastic Greedy Search: MSTM employs a stochastic greedy approach to efficiently search the space of possible intermediate models and hop sequences. It randomly samples candidate anchors and perturbations at each hop, aiming to find a good combination without exhaustive search.

This "multi-hop" strategy allows for a more gradual and potentially more effective transfer of knowledge, akin to a student learning from a series of tutors of decreasing expertise.

Datasets

The paper evaluates MSTM on a combination of synthetic and real-world datasets:

  • Synthetic Data: A fifth-degree polynomial (complex model) and a linear model (simple model) were used to demonstrate the core idea and the impact of loss mismatch.
  • Real-world Datasets:
    • CIFAR-100
    • Credit Card
    • Magic
    • Higgs
    • Waveform
    • Diabetes

These datasets vary in size and dimensionality, providing a comprehensive evaluation.

Key Insights and Ideas

  • The Power of Intermediate Steps: The most striking insight is that knowledge transfer through a sequence of intermediate models (multi-hop) can significantly outperform direct, single-step transfer (1-hop). This suggests that a gradual refinement of knowledge is more effective than a direct jump.
  • Loss Mismatch as a Motivator: MSTM shows particular promise when there's a mismatch between the loss function the simple model optimizes (e.g., cross-entropy for NNs, Gini index for trees) and the evaluation loss (e.g., 0-1 loss). This mismatch, common in practice, can make multi-hop approaches more beneficial, as smoother but less "faithful" intermediate models can transfer better to a different evaluation metric.
  • Flexibility in Intermediate Models: The ability to create intermediate models that don't need to satisfy the final simple model's constraints (like interpretability) is a key enabler. This freedom allows for designing more effective transfer pathways.
  • Anchor Model Diversity: The paper suggests that a diverse set of anchor models (e.g., different architectures like DenseNet and MobileNetV2) can be more beneficial than relying on a single type of anchor.

Key Results

  • Consistent Gains: MSTM consistently outperformed standard training and 1-hop approaches across real-world datasets.
  • Improvement over 1-hop: On average, MSTM achieved over 2% improvement in test accuracy compared to 1-hop methods, with gains reaching up to 8% in specific cases.
  • Synthetic Data Success: In synthetic experiments, a 2-hop transfer reduced the simple model's Mean Squared Error (MSE) by more than half compared to 1-hop fitting.
  • Robustness to Noise: The multi-hop approach showed benefits even in the presence of noise in the complex model's predictions.

Limitations and Future Work

  • Computational Complexity: The multi-hop approach is computationally more expensive than 1-hop methods due to the need to train and evaluate multiple intermediate models. However, the authors argue that the stochastic search and performance gains justify this cost.
  • Search Space: While MSTM uses a stochastic greedy approach, the search space for optimal intermediate models and hop sequences can still be large, especially with many hops or anchors.
  • Future Directions:
    • Extending the multi-hop structure to more general directed acyclic graphs (DAGs) for intermediate models.
  • Exploring how to aggregate information from multiple hops in a more complex manner.
  • Investigating the use of arbitrary representations for intermediate models, potentially leveraging ideas from contrastive representation distillation.
  • Further analysis of the interplay between different transfer strategies (KD, weighting) within the multi-hop framework.

Summary updated

BibTeX
@inproceedings{dhurandhar2022multihop,
  author = {Amit Dhurandhar and Tejaswini Pedapati},
  title = {{Multihop: Leveraging Complex Models to Learn Accurate Simple Models}},
  booktitle = {ICKG},
  year = {2022},
  url = {https://openreview.net/forum?id=EwP1jehsKid},
}
Figure