Discovering Agents (Abstract Reprint)

Zachary Kenton, Ramana Kumar, Sebastian Farquhar, Jonathan Richens, Matt MacDermott, Tom Everitt

Introduction

In the burgeoning field of AI safety, the ability to predict a system's behavior—such as its propensity to "reward hack" or seek power—is paramount. Traditionally, these predictions rely on causal models where the human researcher pre-defines which components of a system are "agents" and which constitute the "environment." However, this subjective assignment introduces a significant point of failure: if the initial modeling assumption is incorrect, the subsequent safety analysis may collapse.

"Discovering Agents" addresses this foundational gap by providing the first formal, causal definition of an agent. By moving agency from a subjective modeling choice to a mathematically verifiable property, the authors provide a rigorous framework for identifying goal-directed systems within empirical data.

The Core Challenge: Subjectivity in Agency

Until now, AI safety and game theory lacked a formal justification for why specific variables should be treated as agents. In most causal models, agency is an exogenous assumption. This lack of rigor creates "modeling confusions," where different researchers might model the same system in contradictory ways, leading to disparate conclusions about the system's incentives. To resolve this, a definition is required that distinguishes an agent not by what it is, but by how it interacts with its environment under varying conditions.

Agency as Policy Adaptation

The central contribution of this work is the definition of an agent based on policy adaptation. The authors propose that an agent is a system that adapts its policy—its internal rule for selecting actions—in response to changes in the causal mechanism between its actions and the world.

Consider the difference between a rock and a person. If the laws of gravity were to change, a rock’s "behavior" (falling) would change only as a direct physical consequence of the environment. In contrast, an agent (like a person) would change their strategy (their policy) to achieve their original goal despite the new environmental constraints. This counterfactual property—how a system would react to a change in the "rules of the game"—is the hallmark of agency.

The Causal Discovery Algorithm

Building on this definition, the authors derive a novel causal discovery algorithm. This algorithm is capable of identifying agents directly from empirical data. Given a set of observed variables and a set of causal assumptions, the algorithm can distinguish between agentic and non-agentic components.

Furthermore, the paper introduces translation algorithms that bridge the gap between standard causal models and influence diagrams. Influence diagrams are a staple of game theory used to analyze decision-making and incentives. By converting raw causal data into these diagrams, researchers can mathematically prove whether a system has an incentive to behave in a specific way, such as seeking to control a particular variable or deceiving a supervisor.

Key Insights and Theoretical Impact

The shift toward viewing agency as a counterfactual property represents a significant "aha moment" in the field. It moves the discourse beyond simple pattern matching to a deeper understanding of goal-directedness.

Resolving Modeling Confusions

The framework provides a "ground truth" that can resolve long-standing disputes in AI safety literature. By applying the discovery algorithm, researchers can determine if a specific variable truly functions as a decision-maker or if it is merely a part of the environmental mechanism.

Agent-Incentive Design

The paper establishes a rigorous foundation for what the authors term "Agent-Incentive Design." This allows for the mathematical verification of incentives, providing a path toward provably safe AI systems where the incentives for harmful behavior can be identified and mitigated during the design phase.

Limitations and Future Work

While the discovery algorithm is a theoretical breakthrough, it currently operates under specific causal assumptions. In real-world applications involving high-dimensional data or latent confounders (unobserved variables), these assumptions may be difficult to satisfy.

Future research directions include:

  • Scaling: Adapting the discovery algorithms to handle larger, noisier datasets typical of modern machine learning.
  • Robustness: Relaxing the required assumptions to allow for agent discovery in "wild" environments where not all variables are observable.
  • Application to LLMs: Utilizing this framework to analyze Large Language Models (LLMs) to discern whether their outputs are the result of simple pattern matching or emergent agentic behavior.

Conclusion

By formalizing agency through the lens of causal inference, this work provides the mathematical tools necessary to move AI safety from an intuitive craft to a rigorous science. The ability to discover agents from data ensures that our safety models are grounded in empirical reality rather than subjective assumptions.

Summary updated

BibTeX
@inproceedings{kenton2024discovering,
  author = {Zachary Kenton and Ramana Kumar and Sebastian Farquhar and Jonathan Richens and Matt MacDermott and Tom Everitt},
  title = {{Discovering Agents (Abstract Reprint)}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i20.30601},
}
Figure