[Paper Review] Meta-learning curiosity algorithms
This paper proposes a novel meta-learning approach that searches over a rich space of programmatic curiosity algorithms—combining neural networks, buffers, and custom loss functions—rather than transferring neural network weights. It discovers two new curiosity algorithms that outperform or match human-designed methods across diverse environments like image-based grid worlds, Ant, Hopper, and Lunar Lander, demonstrating broad generalization in meta-RL beyond similar tasks.
We hypothesize that curiosity is a mechanism found by evolution that encourages meaningful exploration early in an agent's life in order to expose it to experiences that enable it to obtain high rewards over the course of its lifetime. We formulate the problem of generating curious behavior as one of meta-learning: an outer loop will search over a space of curiosity mechanisms that dynamically adapt the agent's reward signal, and an inner loop will perform standard reinforcement learning using the adapted reward signal. However, current meta-RL methods based on transferring neural network weights have only generalized between very similar tasks. To broaden the generalization, we instead propose to meta-learn algorithms: pieces of code similar to those designed by humans in ML papers. Our rich language of programs combines neural networks with other building blocks such as buffers, nearest-neighbor modules and custom loss functions. We demonstrate the effectiveness of the approach empirically, finding two novel curiosity algorithms that perform on par or better than human-designed published curiosity algorithms in domains as disparate as grid navigation with image inputs, acrobot, lunar lander, ant and hopper.
Motivation & Objective
- To address the limitation of current meta-RL methods, which generalize poorly across drastically different environments, by formulating curiosity as meta-learning over a space of algorithms.
- To enable generalization across environments with different state and action spaces—such as image-based and robotic control tasks—by learning entire programs rather than just network weights.
- To discover novel, effective curiosity mechanisms through automated search in a combinatorial space of program components, including neural networks, nearest-neighbor modules, and custom loss functions.
- To make the computationally expensive meta-learning process efficient by pruning unpromising programs early using performance prediction and early stopping.
- To demonstrate that meta-learned programs can yield curiosity algorithms that match or exceed human-designed baselines in diverse, complex environments.
Proposed method
- The method uses a two-loop framework: an outer loop performs evolutionary search over a domain-specific language (DSL) of programs to generate curiosity modules, while an inner loop runs standard reinforcement learning with the dynamically adapted reward signal.
- The DSL supports complex program structures including neural networks with gradient descent, learned objective functions, ensembles, buffers, and custom loss functions, enabling representation of diverse exploration strategies.
- The search process uses early stopping based on learning curve monitoring and performance prediction from program structure to avoid full training of unpromising candidates.
- The method evaluates candidate programs on a distribution of environments, starting with simpler, short-horizon tasks to prune ineffective algorithms early.
- The final curiosity module computes a pseudo-reward $\widehat{r}$ at each time step, which is used to shape the agent’s intrinsic motivation and guide exploration.
- The approach enables generalization across environments with different input modalities (e.g., pixels vs. joint states) by using polymorphic data types that adapt network architecture (e.g., CNN vs. MLP) to the environment.
Experimental results
Research questions
- RQ1Can meta-learning over a rich space of programmatic curiosity algorithms generalize across environments with vastly different state and action spaces?
- RQ2Can automatically discovered curiosity algorithms outperform or match human-designed intrinsic reward mechanisms in diverse RL benchmarks?
- RQ3Does early pruning based on structural prediction and learning curve monitoring significantly reduce the computational cost of meta-RL in combinatorial program spaces?
- RQ4Can meta-learned programs that include neural networks, buffers, and custom loss functions discover novel, effective exploration strategies not previously proposed in the literature?
- RQ5How does meta-learning programs compare to meta-learning weights in terms of generalization across radically different tasks?
Key findings
- The proposed method discovered two novel curiosity algorithms that perform on par or better than human-designed curiosity algorithms in diverse environments, including image-based grid navigation, Acrobot, Lunar Lander, Ant, and Hopper.
- The top-performing curiosity algorithms generalize across environments with different input spaces (e.g., pixels vs. joint angles) and output spaces, demonstrating broad transfer beyond similar tasks.
- The method achieved effective exploration and high return in environments where standard curiosity methods struggle, particularly in long-horizon, high-variability settings.
- Early pruning based on performance prediction and learning curve monitoring reduced computation time by avoiding full training of unpromising programs.
- The approach outperformed prior meta-RL methods that only generalize within small task variations, such as different mazes or slopes, by generalizing across fundamentally different environments.
- The discovered algorithms are interpretable and composed of modular components (e.g., neural networks, nearest-neighbor modules), suggesting potential for further analysis and adaptation.
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.