Abstract
The field of meta-learning has seen a dramatic rise in interest in recent years. In existing meta-learning approaches, learning tasks for training meta-models are usually collected from public datasets, which brings the difficulty of obtaining a sufficient number of meta-learning tasks with a large amount of training data. In this paper, we propose a meta-learning approach based on randomly generated meta-learning tasks to obtain a parametric loss for classification learning based on big data. The loss is represented by a deep neural network, called meta-loss network (MLN). To train the MLN, we construct a large number of classification learning tasks through randomly generating training data, validation data, and corresponding ground-truth linear classifier. Our approach has two advantages. First, sufficient meta-learning tasks with large number of training data can be obtained easily. Second, the ground-truth classifier is given, so that the difference between the learned classifier and the ground-truth model can be measured to reflect the performance of MLN more precisely than validation accuracy. Based on this difference, we apply the evolutionary strategy algorithm to find out the optimal MLN. The resultant MLN not only leads to satisfactory learning effects on generated linear classifier learning tasks for testing, but also behaves very well on generated nonlinear classifier learning tasks and various public classification tasks. Our MLN stably surpass cross-entropy (CE) and mean square error (MSE) in testing accuracy and generalization ability. These results illustrate the possibility of achieving satisfactory meta-learning effects using generated learning tasks.
Introduction
Meta-learning, or "learning to learn," typically requires a vast library of diverse tasks to train a model that can generalize to new problems. Currently, researchers rely on public datasets to construct these tasks. However, for supervised learning on "big data" (as opposed to few-shot learning), obtaining a sufficient variety of high-quality, large-scale datasets is difficult and computationally expensive.
Standard loss functions like Cross-Entropy (CE) and Mean Squared Error (MSE) are the industry defaults, but they aren't necessarily the "optimal" signals for every architecture. The authors sought to automate the discovery of better loss functions without being bottlenecked by the availability of real-world training data.
Methods
The researchers propose a two-tier optimization process involving synthetic task generation and a parametric loss function.
Synthetic Task Generation
Instead of using real images or text, the framework generates 5-dimensional data points from random normal distributions. Crucially, "ground-truth" linear classifiers (single-layer perceptrons) are also generated. This means that for every synthetic task, the "perfect" solution is known beforehand, allowing for a more precise fitness evaluation than simple validation accuracy.
The Meta-Loss Network (MLN)
The Meta-Loss Network is a 6-layer fully connected neural network designed to act as a parametric loss function. It takes a classifier's prediction and the ground-truth label as input and outputs a scalar loss value.
Evolutionary Strategy (ES) Optimization
To train the MLN, a $(\mu + \lambda)$ Evolutionary Strategy is employed:
- Inner Loop: A classifier is trained on a synthetic task using the current MLN as its loss function.
- Outer Loop: The "fitness" of the MLN is evaluated by measuring how closely the learned classifier matches the actual ground-truth model on validation data. The ES then mutates and selects the best-performing MLN weights over many "episodes."
Results and Discussion
The evolved MLN was evaluated on both synthetic and real-world benchmarks, including MNIST and CIFAR-10.
Performance and Convergence
On CIFAR-10 using VGG16, the MLN achieved 92.41% accuracy, surpassing Cross-Entropy (92.00%) and MSE (89.55%). Similar gains were observed across ResNet18 and LeNet architectures. Furthermore, in linear classification tests, MLN-optimized models converged in roughly 500 iterations, whereas CE and MSE required 600–700 iterations.
Generalization and Transferability
One of the most significant findings is that an MLN evolved on simple linear synthetic tasks generalizes effectively to complex non-linear deep networks. Analysis of the evolved MLN curve shows it behaves differently than Cross-Entropy; while CE pushes for a prediction of 1.0 for the correct category, the MLN's "sweet spot" (lowest loss) is around 0.82. This suggests the MLN learned a narrower margin that inherently discourages overfitting. The training/test loss curves for MLN showed significantly less "gap" than standard losses, indicating superior resistance to overfitting.
Conclusion
This work demonstrates the possibility of achieving satisfactory meta-learning effects using entirely generated learning tasks. By leveraging ground-truth models in synthetic tasks, the framework can evolve loss functions that outperform standard metrics on real-world data. Future research will focus on extending the MLN to handle entire batches of data, potentially capturing complex batch-level regularities.
Summary updated