Interpolated-MLPs: Controllable Inductive Bias

Sean Wu, Jordan Hong, Keyu Bai, Gregor Bachmann · DOI

Abstract

Interpolated-MLPs (I-MLPs) provide a framework to continuously adjust the inductive bias of a model. By interpolating between a standard Multi-Layer Perceptron (MLP) and structured prior models such as Convolutional Neural Networks (CNNs), researchers demonstrate that inductive bias can be treated as a tunable hyperparameter. Experiments on CIFAR-10 and CIFAR-100 reveal a complex relationship between bias and performance, including a characteristic performance dip when MLP and prior influences are balanced. This approach allows for significant performance gains in low-compute regimes while maintaining the flexibility of the MLP architecture.

Introduction

In deep learning, inductive bias refers to the set of assumptions a model uses to generalize to unseen data. Convolutional Neural Networks (CNNs) possess a strong inductive bias through spatial locality and translation invariance, making them highly effective for image tasks but structurally rigid. Conversely, Multi-Layer Perceptrons (MLPs) have minimal inductive bias, offering high flexibility but requiring massive datasets and compute to perform well.

Recent scaling laws suggest that while strong bias is beneficial at small scales, it can become a bottleneck as compute increases. This research introduces Interpolated-MLPs (I-MLPs) to address this tension, allowing engineers to "dial in" a specific amount of inductive bias rather than making a binary architectural choice.

Methods: The Interpolated-MLP Framework

The core of the I-MLP approach is the "soft" injection of structure into a standard MLP. The process involves two main steps:

  1. Prior Mapping: A structured "prior model" (e.g., a CNN or MLP-Mixer) is mathematically mapped into the format of a standard fully-connected MLP weight matrix ($W_P$).
  2. Weight Interpolation: During training, the model's weights ($W$) are updated by interpolating between the learned MLP weights and the fixed structure of the prior model using a parameter $\alpha$: $$W \leftarrow (1 - \alpha)W + \alpha W_P$$

The parameter $\alpha$ acts as a slider: $\alpha = 0$ yields a standard MLP, while $\alpha = 1$ forces the model to strictly follow the prior's architecture.

Overview of the I-MLP framework and prior models.

Experimental Results

The authors evaluated I-MLPs on CIFAR-10 and CIFAR-100 datasets, focusing on the low-compute regime where inductive bias is most impactful.

The Logarithmic Relationship and Performance Dip

A key finding is the non-linear relationship between the interpolation parameter $\alpha$ and model performance. Small amounts of bias (low $\alpha$) or slight relaxations of rigid priors (high $\alpha$) lead to rapid changes in accuracy.

Interestingly, the researchers observed a "V-shaped" performance dip at intermediate values of $\alpha$ (typically around $10^{-2}$ or $10^{-3}$). This suggests a conflict where the MLP and the prior model attempt to converge toward different local minima, resulting in interference when their influences are of comparable strength.

Top-1 Test accuracy vs. interpolation parameter $\alpha$ for CNN and MLP-Mixer priors.

Layer-wise Sensitivity

Experiments revealed that the first layer is the most critical location for inductive bias. Concentrating the interpolation budget on the initial layer was significantly more effective than distributing it across the entire network. For instance, applying CNN-based interpolation to the first layer of an MLP on CIFAR-10 boosted accuracy from ~58% to 73.7%.

Discussion and Future Work

I-MLPs demonstrate that inductive bias is not an all-or-nothing property but a continuous spectrum that can be optimized. While this study focused on vision benchmarks at a small scale, future work will explore the application of I-MLPs to larger datasets like ImageNet. Additionally, making the interpolation parameter $\alpha$ a learnable variable could allow networks to dynamically adjust their bias throughout the training process, potentially overcoming the observed performance dips and optimizing for different stages of learning.

Reference: Wu, S., Hong, J., Bai, K., & Bachmann, G. (2024). Interpolated-MLPs: Controllable Inductive Bias. Presented at HiLD 2024: 2nd Workshop on High-dimensional Learning Dynamics.

Summary updated

BibTeX
@inproceedings{wu2024interpolated,
  author = {Sean Wu and Jordan Hong and Keyu Bai and Gregor Bachmann},
  title = {{Interpolated-MLPs: Controllable Inductive Bias}},
  booktitle = {HiLD @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=OrUTXjogMF},
}
Figure