Abstract
There are two important things in science: (A) Finding answers to given questions, and (B) Coming up with good questions. Our artificial scientists not only learn to answer given questions, but also continually invent new questions, by proposing hypotheses to be verified or falsified through potentially complex and time-consuming experiments, including thought experiments akin to those of mathematicians. While an artificial scientist expands its knowledge, it remains biased towards the simplest, least costly experiments that still have surprising outcomes, until they become boring. We present an empirical analysis of the automatic generation of interesting experiments. In the first setting, we investigate self-invented experiments in a reinforcement-providing environment and show that they lead to effective exploration. In the second setting, pure thought experiments are implemented as the weights of recurrent neural networks generated by a neural experiment generator. Initially interesting thought experiments may become boring over time.
Introduction
In traditional machine learning, the researcher typically provides the questions—in the form of datasets and labels—and the AI provides the answers. However, true scientific progress involves the creative act of asking the right questions. In Reinforcement Learning (RL), agents often struggle with "sparse rewards," where a distant goal provides no feedback during the initial exploration phase. Artificial Curiosity aims to address this by providing intrinsic rewards for discovery. This paper formalizes the act of "inventing a hypothesis" by allowing an agent to autonomously enumerate, execute, and learn from self-invented experiments that yield binary outcomes.
Architecture: The Artificial Scientist
The core of the proposed framework is a Controller-Model (CM) architecture designed to autonomously generate and evaluate experiments.
The system consists of three primary components:
- The Controller ($C$): Acting as the "inventor," the controller outputs a set of weights ($\theta$) that define an Experiment Network ($E$).
- The Experiment ($E$): This network (feedforward or recurrent) interacts with the environment or its own internal state. It runs until a "HALT" signal is triggered, producing a single binary result (1 or 0).
- The Model ($M$): Serving as the "theorist," the model examines the experiment's description ($\theta$) and attempts to predict the binary outcome before the experiment is executed.
The system is trained adversarially. The Controller is rewarded when the Model fails to predict the outcome or when the experiment leads to significant information gain, measured via KL-Divergence. To avoid the "Noisy TV" problem—where an agent focuses on unlearnable random noise—the reward is tied to the Model's improvement or actual bits of information gained, rather than raw error.
Experimental Environments
The framework was evaluated in two distinct settings:
- Differentiable Force Field: A 2D continuous environment where an agent navigates through complex force vectors to reach a goal. This tests physical exploration capabilities.
- Pure RNN Thought Space: A setting with no external environment where the Controller generates weights for Recurrent Neural Networks (RNNs) that perform internal "thought experiments." This tests the emergence of abstract logical exploration.
Results and Key Insights
The experiments demonstrate that treating neural network weights as experimental protocols allows for a highly flexible "complexity gradient." The agent initially favors simple, low-cost experiments. As these become predictable and "boring," the agent is forced to design increasingly sophisticated experiments to continue gaining intrinsic rewards.
As shown in the results, the curiosity-driven agent reached goal states significantly more often than baselines using random exploration or purely external rewards. In the force field task, self-invented experiments achieved better coverage with an average runtime of 22.9 steps, compared to 50 steps for random exploration.
Furthermore, in the "thought experiment" setup, intrinsic rewards steadily declined over time as the model's knowledge saturated. This indicates that the agent successfully "exhausts" simpler hypotheses before moving to more complex ones, mirroring the progression of scientific inquiry.
Limitations and Future Outlook
While promising, the current approach faces scaling challenges. Directly generating neural network weights is computationally intensive. Future work may explore "hypernetworks" or "policy fingerprinting" to handle larger architectures. Additionally, expanding the "binary bottleneck" to multi-bit or continuous outcomes could enable more nuanced scientific discovery. Finally, integrating physical and thought experiments into a single unified agent remains a key objective for future research.
Summary updated