Skip to main content
QUICK REVIEW

[Paper Review] Training independent subnetworks for robust prediction

Marton Havasi, Rodolphe Jenatton|arXiv (Cornell University)|Oct 13, 2020
Adversarial Robustness in Machine LearningComputer Science21 references30 citations
TL;DR

The paper introduces MIMO, a multi-input multi-output configuration that trains multiple independent subnetworks inside a single network and computes their ensemble predictions in one forward pass, improving robustness and uncertainty without extra compute.

ABSTRACT

Recent approaches to efficiently ensemble neural networks have shown that strong robustness and uncertainty performance can be achieved with a negligible gain in parameters over the original network. However, these methods still require multiple forward passes for prediction, leading to a significant computational cost. In this work, we show a surprising result: the benefits of using multiple predictions can be achieved `for free' under a single model's forward pass. In particular, we show that, using a multi-input multi-output (MIMO) configuration, one can utilize a single model's capacity to train multiple subnetworks that independently learn the task at hand. By ensembling the predictions made by the subnetworks, we improve model robustness without increasing compute. We observe a significant improvement in negative log-likelihood, accuracy, and calibration error on CIFAR10, CIFAR100, ImageNet, and their out-of-distribution variants compared to previous methods.

Motivation & Objective

  • Motivate robust uncertainty estimation and out-of-distribution robustness in neural networks.
  • Propose a simple architectural change to enable multiple independent subnetworks within one network.
  • Demonstrate that subnetworks act as diverse, independently trained models within a shared body.
  • Show that MIMO achieves state-of-the-art or competitive robustness with minimal extra parameters and compute.

Proposed method

  • Replace input layer to accept M inputs and concatenate them; replace output layer to produce M outputs corresponding to each input.
  • Train by sampling M independent input–output pairs and minimizing the sum of their negative log-likelihoods plus regularization.
  • At test time, tile the same input M times and average the M outputs to form the ensemble prediction.
  • Demonstrate that subnetworks occupy disjoint regions of the parameter space, enabling diversity similar to independently trained ensembles.
  • Compare MIMO against baselines (Deterministic, MC-Dropout, Naive Multihead, TreeNet, BatchEnsemble, ensembles) on standard benchmarks.
  • Provide analyses of subnetwork diversity, loss landscapes, and the impact of capacity, input/batch repetition, and correlation between inputs.

Experimental results

Research questions

  • RQ1Can multiple independent subnetworks be trained within a single network without increasing compute, while maintaining or improving robustness and uncertainty measures?
  • RQ2Do the subnetworks operate as diverse, independently trained models and how does their diversity compare to other efficient ensemble methods?
  • RQ3What is the optimal number of subnetworks M for a given architecture/cataset, considering trade-offs between individual subnetwork performance and ensemble gains?
  • RQ4How do input independence and architectural sharing influence the diversity and robustness of the MIMO ensemble?
  • RQ5Can MIMO approach or surpass state-of-the-art robustness while keeping wall-clock cost similar to a single network forward pass?

Key findings

  • MIMO enables concurrent training of multiple diverse subnetworks within one network with negligible parameter and FLOP overhead.
  • Subnetworks tend to use disjoint parts of the network and converge to distinct local optima, yielding diverse predictions comparable to independently trained ensembles.
  • Across CIFAR10, CIFAR100, and ImageNet (including out-of-distribution variants), MIMO improves negative log-likelihood, accuracy, and calibration error relative to baselines under a single forward pass.
  • When accounting for wall-clock time, MIMO approaches state-of-the-art robustness and uncertainty metrics achieved by deep ensembles, without increasing computational cost.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.