Abstract
Training deep neural networks on complex or noisy data remains a significant challenge in machine learning. While techniques like Curriculum Learning and Friendly Training (FT) attempt to ease the learning process by presenting simpler data early on, they often suffer from computational inefficiency or a lack of global context. This paper introduces Neural Friendly Training (NFT), which utilizes an auxiliary neural network to systematically simplify training data. By learning shared regularities across the dataset and gradually phasing out simplifications through a "fading effect," NFT improves generalization and robustness. Our evaluation across diverse vision and text benchmarks shows that NFT consistently outperforms standard training methods and previous data-simplification approaches, particularly in the presence of significant label noise.
Introduction
The difficulty of training deep neural networks often stems from the complexity of the input data or the presence of noise. Curriculum Learning (CL) addresses this by reordering training examples from "easy" to "hard," but it is limited to the existing data distribution. Friendly Training (FT) goes a step further by modifying input data to make it easier for the model to learn initially. However, FT is computationally expensive, requiring per-example iterative optimization, and fails to capture general patterns in how data should be simplified.
To overcome these limitations, we propose Neural Friendly Training (NFT). NFT replaces the per-example optimization of FT with a dedicated auxiliary network that learns to transform inputs into a "friendly" version for the classifier.
Neural Friendly Training (NFT)
The core of NFT is a developmental plan where a "teacher" network (the auxiliary network) helps a "student" network (the classifier) by highlighting essential features and suppressing noise.
The Auxiliary Network and Joint Training
Instead of calculating unique perturbations for every image, NFT employs an auxiliary network (e.g., a U-Net for image data) to transform input $x$ into a simplified version $\tilde{x}$. The auxiliary network and the main classifier are trained jointly. The auxiliary network aims to minimize the classifier's loss while being constrained by a penalty term $\eta$ that prevents excessive modification of the original data.
The Fading Effect
A critical component of NFT is the "fading effect." As training progresses, the penalty $\eta$ is increased according to a predefined schedule. This forces the auxiliary network to gradually reduce its modifications, eventually becoming an identity function. By the end of training, the auxiliary network is discarded, and the classifier is left to handle the original, unsimplified data.
Experimental Evaluation
We evaluated NFT on several benchmarks:
- Digit and Shape Recognition: MNIST-ROT, MNIST-BACK-IMAGE, RECTANGLES-IMAGE, and CONVEX.
- Sentiment Analysis: IMDB and WINES datasets using TF-IDF and DistilRoBERTa embeddings.
- Image Classification: CIFAR-10 and CIFAR-10-N10 (with 10% to 80% label noise).
Results and Discussion
NFT consistently outperformed both standard training (CT) and the original Friendly Training (FT) across nearly all tested datasets.
Robustness to Noise
NFT demonstrated remarkable resilience to label noise. On CIFAR-10 with 80% label noise, NFT provided an approximately 8% accuracy boost over standard methods. By simplifying data to match the learner's current state and then re-introducing complexity, NFT prevents the model from overfitting to random noise in the early stages of training.
Qualitative Insights
Visualizations indicate that NFT produces much "cleaner" simplifications than the original FT. While FT's perturbations often appear as high-frequency noise, NFT's auxiliary network learns to target and suppress distracting background elements systematically. This suggests that the auxiliary network successfully learns visual structures that are generally helpful for classification.
Computational Efficiency
While NFT is approximately 1.5x slower than standard training due to the auxiliary network, it is often faster than the original FT because it avoids the expensive inner-loop iterative optimization for every sample.
Conclusion
Neural Friendly Training offers a principled way to ease the learning process for deep networks by leveraging an auxiliary network to simplify data. By learning shared regularities and employing a developmental fading schedule, NFT enhances both generalization and noise robustness. Future work will explore more complex developmental schedules and the potential for NFT to improve adversarial robustness.
Summary updated