[Paper Review] Scaling Down Deep Learning with MNIST-1D
This paper introduces MNIST-1D, a minimalist, low-compute alternative to MNIST designed for rapid, interpretable deep learning research. By using 1D sequences of points that simulate digit classification, it better differentiates between linear, nonlinear, and translation-invariant models—achieving 32%, 68%, and 94% accuracy respectively—enabling clearer study of inductive biases and faster experimentation cycles.
Although deep learning models have taken on commercial and political relevance, key aspects of their training and operation remain poorly understood. This has sparked interest in science of deep learning projects, many of which require large amounts of time, money, and electricity. But how much of this research really needs to occur at scale? In this paper, we introduce MNIST-1D: a minimalist, procedurally generated, low-memory, and low-compute alternative to classic deep learning benchmarks. Although the dimensionality of MNIST-1D is only 40 and its default training set size only 4000, MNIST-1D can be used to study inductive biases of different deep architectures, find lottery tickets, observe deep double descent, metalearn an activation function, and demonstrate guillotine regularization in self-supervised learning. All these experiments can be conducted on a GPU or often even on a CPU within minutes, allowing for fast prototyping, educational use cases, and cutting-edge research on a low budget.
Motivation & Objective
- Address the limitations of MNIST in differentiating between models with varying inductive biases, such as translation invariance and nonlinearity.
- Reduce computational and memory requirements for deep learning experiments without sacrificing scientific insight.
- Enable rapid iteration in 'science of deep learning' research by providing a procedurally generated, minimal benchmark.
- Facilitate controlled experiments on fundamental deep learning phenomena like double descent and lottery tickets at low scale.
- Provide a more intuitive and human-interpretable benchmark than existing synthetic datasets, with real-world analogies to digit recognition.
Proposed method
- Design a 1D dataset where each example is a 20x smaller sequence than MNIST, derived by transforming digit templates with random padding, translation, and noise.
- Procedurally generate training examples to allow independent control over key factors like background noise, translation, and resolution.
- Train standard models (logistic regression, MLP, CNN, GRU) on MNIST-1D to measure performance differences based on architectural inductive biases.
- Compare model performance on shuffled vs. unshuffled MNIST-1D data to isolate the impact of spatial structure and translation invariance.
- Use the dataset to study phenomena such as deep double descent, lottery tickets, and metalearning of activation functions.
- Leverage t-SNE visualization to compare the data distribution and model behavior between MNIST and MNIST-1D, highlighting improved separability of model types.
Experimental results
Research questions
- RQ1Can a smaller, 1D dataset better differentiate between models with distinct inductive biases—such as linear, nonlinear, and translation-invariant architectures—than MNIST?
- RQ2To what extent do spatial inductive biases (e.g., local connectivity, weight sharing) contribute to generalization in small-scale models?
- RQ3Can key deep learning phenomena like deep double descent and lottery tickets be observed and studied effectively at low computational cost using MNIST-1D?
- RQ4How does model performance on MNIST-1D compare to MNIST when controlling for model capacity and architecture?
- RQ5Can MNIST-1D support metalearning of activation functions, and does it enable discovery of more general-purpose activations than ReLU or Swish?
Key findings
- On MNIST-1D, logistic regression achieves 32% accuracy, MLPs achieve 68%, and CNNs achieve 94%, clearly distinguishing models based on their inductive biases.
- Shuffling the input sequences reduces CNN accuracy from 94% to 56%, demonstrating that spatial structure and translation invariance are critical for performance.
- GRUs achieve 91% accuracy on MNIST-1D, indicating that sequential modeling can capture spatial patterns effectively in 1D sequences.
- Human experts achieve 96% accuracy on MNIST-1D, outperforming even strong CNNs on shuffled data, highlighting the dataset’s human-interpretable nature.
- The performance gap between models on MNIST-1D is significantly larger than on MNIST, where all models exceed 94% accuracy, making it more suitable for probing model differences.
- MNIST-1D enables observation of deep double descent and metalearning of activation functions at low compute cost, suggesting its utility for foundational research.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.