Induced Model Matching: How Restricted Models Can Help Larger Ones

Usama Muneeb, Mesrob I. Ohannessian · OpenReview

Abstract

We consider scenarios where a very accurate predictive model using restricted features is available at the time of training of a larger, full-featured, model. This restricted model may be thought of as "side-information", derived either from an auxiliary exhaustive dataset or on the same dataset, by forcing the restriction. How can the restricted model be useful to the full model? We propose an approach for transferring the knowledge of the restricted model to the full model, by aligning the full model's context-restricted performance with that of the restricted model's. We call this methodology Induced Model Matching (IMM) and first illustrate its general applicability by using logistic regression as a toy example. We then explore IMM's use in language modeling, the application that initially inspired it, and where it offers an explicit foundation in contrast to the implicit use of restricted models in techniques such as noising. We demonstrate the methodology on both LSTM and transformer full models, using $N$-grams as restricted models. To further illustrate the potential of the principle whenever it is much cheaper to collect restricted rather than full information, we conclude with a simple RL example where POMDP policies can improve learned MDP policies via IMM.

Introduction

In the race to build ever-larger language models, simple models—like bigrams or feature-restricted regressions—are often overlooked. These "small" experts are statistically easier to learn and can be highly accurate within their limited scope. This research introduces Induced Model Matching (IMM), a principled framework for using these restricted models as side-information to boost the training of complex, full-featured models.

The central challenge is effectively transferring knowledge from a simple model (e.g., a bigram model predicting the next word based only on the previous word) to a massive architecture like a Transformer. Previous approaches, such as "noising" or "reverse knowledge distillation," often compare the large model’s full-context prediction directly against the small model’s restricted-context prediction. This "apples to oranges" comparison is theoretically inconsistent and can force the large model to ignore its additional information, potentially hurting long-term performance.

Methodology

The IMM framework avoids direct comparison by introducing a two-step alignment process:

  1. Induction (Marginalization): A restricted version of the large model ($\bar{Q}$) is "induced" by averaging its predictions over all possible "extra" features. This effectively "dumbs down" the large model to the same feature set as the restricted model.
  2. Matching: A secondary loss (KL divergence) is used to align the induced model ($\bar{Q}$) with the target restricted model ($\hat{P}$).

To make this computationally feasible for large datasets and architectures, the authors developed two variants: Sampled IMM, which approximates induction via context sampling, and Serialized IMM, which uses a "crosstalk" gradient decomposition to allow sample-by-sample processing without excessive memory overhead.

Results and Discussion

The authors evaluated IMM across synthetic tasks, language modeling (Penn TreeBank), BERT fine-tuning (GLUE), and Reinforcement Learning.

Data Efficiency and Consistency

A key theoretical advantage of IMM is its consistency; unlike biased methods like noising, IMM is proven to recover the true model given infinite data. In practical "low-data" regimes, IMM acts as a powerful regularizer. In logistic regression experiments, IMM provided performance gains equivalent to having approximately 30% more training data, as evidenced by its superior accuracy across varying dataset sizes.

Comparison of IMM against baselines across varying dataset sizes, showing superior data efficiency.

Empirical Performance

  • Language Modeling: On the Penn TreeBank test set, an LSTM trained with IMM achieved a perplexity of 73.3, outperforming the previous state-of-the-art noising baseline (73.9).
  • BERT Fine-tuning: IMM significantly boosted performance on GLUE tasks. Notably, on the CoLA task (linguistic acceptability), BERT's score improved from 55.0 to 60.0.
  • Reinforcement Learning: In a grid-world task, an MDP agent guided by a restricted POMDP policy via IMM learned faster and with lower variance.

Conclusion

Induced Model Matching offers a theoretically grounded way to leverage simple, restricted models to improve complex ones. While it introduces additional computational costs and requires careful selection of restricted models, its success in improving data efficiency and performance across diverse domains—from BERT to RL—highlights its potential as a general-purpose training enhancement. Future work remains in scaling the induction step for billion-parameter models.

Summary updated

BibTeX
@inproceedings{muneeb2024induced,
  author = {Usama Muneeb and Mesrob I. Ohannessian},
  title = {{Induced Model Matching: How Restricted Models Can Help Larger Ones}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=iW0wXE0VyR},
}
Figure