Abstract
Neural Velocity (NeVe) is a novel "validation-free" framework for hyperparameter optimization in deep learning. By measuring the stability of internal neural representations using a small set of random noise images, NeVe automates learning rate scheduling and early stopping. This approach eliminates the need for a held-out validation set, maximizing the data available for training and improving performance in data-constrained scenarios.
The Validation Dilemma
In standard deep learning workflows, a significant portion of labeled data (typically 10-20%) is reserved as a validation set. This data is used to monitor training progress, decide when to decay the learning rate, and determine the optimal stopping point to prevent overfitting. However, in "small-data" scenarios, withholding these samples can significantly degrade final model performance. Existing validation-free methods often rely on complex gradient-based optimizations or specific noise assumptions, creating a need for a simpler, architecture-agnostic metric.
Measuring Neural Velocity
The core innovation of this work is Neural Velocity (NeVe), a metric that quantifies the rate of change in a neuron's "transfer function" (its input-output behavior) between successive training epochs.
The Noise Probe
Crucially, NeVe does not require real data to monitor convergence. It utilizes an auxiliary dataset ($D_{aux}$) consisting of approximately 100 images of random Gaussian noise. Because the metric measures the change in internal states rather than predictive accuracy, forwarding random noise through the network provides a sufficient probe to track the stability of the learned mapping. If a neuron's outputs for the same noise input remain consistent across epochs, it is considered stabilized.
Dynamic Scheduling
NeVe uses this velocity metric to automate two critical training decisions:
- Learning Rate (LR) Decay: If the average model velocity plateaus for a predefined number of epochs ($\delta$), the learning rate is automatically scaled down by a factor ($\alpha$).
- Early Stopping: When the velocity drops below a minimal threshold ($\epsilon$), the model is deemed to have converged, and training is terminated.
Experimental Results
The researchers evaluated NeVe across several computer vision benchmarks, including CIFAR-10, CIFAR-100, and ImageNet-100, using architectures ranging from ResNet-32 to SwinT-v2 Transformers.
- Superior Accuracy: On CIFAR-10, NeVe achieved 93.10% accuracy, significantly outperforming other validation-free methods like the "Ultimate Optimizer" (86.77%).
- Data Efficiency: On ImageNet-100 with a ResNet-50, NeVe reached 84.52% accuracy without a validation set, beating the standard baseline (82.65%) that withheld data for validation.
- Architecture Agnostic: The method proved robust across different optimizers (SGD, AdamW) and architectures (CNNs, Transformers) without requiring task-specific manual tuning of the NeVe hyperparameters themselves.
Key Insights and Limitations
The primary "aha moment" of the research is that internal neural stability serves as a reliable proxy for validation loss curves. By monitoring how the network's internal mapping stabilizes, developers can utilize 100% of their labeled data for training.
However, NeVe currently focuses on learning rate schedules and stopping criteria. Future work is needed to determine if this velocity-based approach can optimize other hyperparameters, such as weight decay or momentum, or assist in "design-time" decisions like selecting the number of layers in a network.
Summary updated