Instilling Inductive Biases with Subnetworks
Enyan Zhang, Michael A. Lepori, Ellie Pavlick
TL;DR
The paper addresses how to deliberately steer neural networks toward preferred solutions by instilling inductive biases through a mechanistic method called Subtask Induction. This approach localizes a functional subnetwork that implements a subtask within a trained model, and transfers those weights to a randomly initialized network while freezing the subnetwork, thereby biasing learning toward solutions that reuse that subtask. Across arithmetic grokking tasks and vision benchmarks, Subtask Induction achieves data-efficient generalization and induces a human-like shape bias, even with limited downstream data; it also yields robustness improvements on cue-conflict tests. The work demonstrates a flexible, cheaper alternative to architectural design or heavy meta-learning for bias control and highlights a path toward more mechanistic interpretability in neural networks, with release of data variants and code to support reproducibility.
Abstract
Despite the recent success of artificial neural networks on a variety of tasks, we have little knowledge or control over the exact solutions these models implement. Instilling inductive biases -- preferences for some solutions over others -- into these models is one promising path toward understanding and controlling their behavior. Much work has been done to study the inherent inductive biases of models and instill different inductive biases through hand-designed architectures or carefully curated training regimens. In this work, we explore a more mechanistic approach: Subtask Induction. Our method discovers a functional subnetwork that implements a particular subtask within a trained model and uses it to instill inductive biases towards solutions utilizing that subtask. Subtask Induction is flexible and efficient, and we demonstrate its effectiveness with two experiments. First, we show that Subtask Induction significantly reduces the amount of training data required for a model to adopt a specific, generalizable solution to a modular arithmetic task. Second, we demonstrate that Subtask Induction successfully induces a human-like shape bias while increasing data efficiency for convolutional and transformer-based image classification models.
