Abstract
In standard machine learning, models are typically trained on all available data in a random order, regardless of the quality or relevance of individual samples. This paper introduces the Neural Data Filter (NDF), a deep reinforcement learning framework that automates data selection. By acting as an adaptive "teacher," the NDF dynamically decides which training examples a "student" model should learn from at any given stage. Experimental results across image and text datasets demonstrate that NDF allows models to reach target accuracies significantly faster, often requiring only half the training data of standard methods.
Introduction
The efficiency of machine learning training is often hampered by redundant, overly simple, or noisy data. While techniques like Curriculum Learning and Self-Paced Learning attempt to prioritize specific data types, they rely on hand-crafted heuristics that rarely generalize across different tasks. The authors propose a dynamic, automated approach to data allocation that adapts to the student model's current state.
The Neural Data Filter Framework
The proposed system utilizes a Teacher-Student framework powered by Deep Reinforcement Learning (DRL). The "Student" is the target model (e.g., a ResNet or LSTM), while the "Teacher" (NDF) is a separate, lightweight neural network.
The NDF makes binary "Keep or Filter" decisions based on a state space comprising:
- Data features: Instance-specific information like gradients or length.
- Model features: Training progress indicators such as iteration count and historical loss.
- Combination features: The student's current confidence and predicted probability for the specific instance.
The teacher is optimized via the REINFORCE algorithm, receiving rewards based on how quickly the student reaches a predefined validation accuracy.
Experimental Results
The NDF was evaluated on three benchmark datasets: MNIST (handwritten digits), CIFAR-10 (object recognition), and IMDB (sentiment analysis).
Key performance highlights include:
- MNIST: NDF reached 97% accuracy using approximately 750,000 instances, compared to 1.5 million for standard SGD.
- CIFAR-10: The framework achieved 85% accuracy using roughly half the training data required by unfiltered SGD.
- IMDB: NDF reached 80% accuracy using only 75% of the data required by the standard Adadelta optimizer.
Key Insights
A significant finding is that the optimal filtering strategy is task-dependent. For image tasks (MNIST/CIFAR), the NDF learned to filter out easy, redundant samples to focus on harder examples. Conversely, for text tasks (IMDB), it filtered out hard samples early on, suggesting that high-loss text examples often act as noise that distracts a model in its early stages. This dynamic adaptation allows the model to learn robust representations more efficiently than static curricula.
Conclusion and Future Work
The Neural Data Filter provides a powerful mechanism for automating data selection, proving that "more data" is not always better for learning efficiency. While the current implementation requires an initial overhead to train the teacher and relies on some pre-defined features, future work aims to develop end-to-end feature learning and more computationally efficient actor-critic models to further streamline the process.
Summary updated