TL;DR
This paper introduces EELMA (Estimating Empowerment of Language Model Agents), a novel framework that evaluates LLM agents using "empowerment"—an information-theoretic measure of an agent's ability to influence its environment. By mapping text-based trajectories to compact embeddings using contrastive learning, EELMA provides a goal-agnostic metric that correlates strongly with task success and automatically identifies pivotal agent behaviors without requiring handcrafted benchmarks.
What Problem Does This Paper Address?
As Language Model (LM) agents are increasingly deployed in real-world applications (like web browsing, coding, and tool use), evaluating their capabilities and safety becomes critical. Currently, evaluations rely heavily on goal-centric benchmarks—measuring whether an agent successfully completes a specific, human-designed task.
However, this approach has two major flaws: designing these benchmarks is incredibly labor-intensive, and they are completely blind to open-ended or unintended agent behaviors (such as an agent actively seeking power or navigating to restricted areas).
While "empowerment"—the mathematical quantification of an agent's control over future states—offers a classic, goal-agnostic alternative, traditional counting-based estimators fail in text environments. Natural language observations are high-dimensional, redundant, and full of surface-level variations that break standard information-theoretic calculations.
Methods
The authors propose EELMA to make empowerment estimation tractable in text-based environments.
Instead of treating every unique text string as a distinct state, EELMA maps textual observations and actions into a compact, 32-dimensional embedding space. It achieves this using a pretrained text encoder (like E5 or Mistral) enhanced with a fine-tunable Low-Rank Adaptation (LoRA) layer and a small Multi-Layer Perceptron (MLP) projection.
To calculate empowerment without explicit transition probabilities, EELMA uses two neural encoders trained jointly via an InfoNCE contrastive loss:
- An Observation-only encoder ($\phi_s$) that maps current states to future states.
- An Observation-action encoder ($\phi_{s,a}$) that maps current state-action pairs to future states.
By subtracting the scores of these two objectives, EELMA approximates the conditional mutual information between an agent's actions and its future states, effectively measuring how much unique leverage an agent's choices exert on its trajectory.
Datasets
The framework was validated across a diverse suite of environments:
- Textual Games: Custom text-based versions of Gridworld (tested across three distinct obstacle and box-moving configurations) and the Tower of Hanoi (ToH).
- Realistic Web Browsing: WebArena, focusing on four complex domains: GitLab, Reddit, Shopping, and Shopping Admin.
- Tool-Use Customer Service: $\tau$-bench, evaluating structured function-calling capabilities in Airline and Retail domains.
Key Insights and Ideas
- Empowerment as a Capability Proxy: Highly empowered agents naturally explore wider trajectories and maintain more options, making them inherently better equipped to solve arbitrary goals distributed across an environment.
- Detecting "Pivotal Moments": Empowerment spikes sharply during critical transitions. For instance, when an agent successfully discovers and enters a password, its empowerment surges because it suddenly unlocks a massive tree of new available actions and states.
- Robustness to Linguistic Variation: Because EELMA operates on semantic embeddings rather than raw text strings, it remains highly accurate even when the environment describes the exact same state using completely different phrasing (e.g., "the agent is at (1,2)" vs "located at x=1, y=2").
- The "Jailbreak" Blindspot: The authors discovered an interesting failure mode: if an agent behaves erratically or "jailbreaks" its environment (e.g., Qwen navigating away from a sandboxed server to the live internet), its empowerment score can be artificially inflated by task-irrelevant state diversity.
Key Results
- High Ground-Truth Correlation: In controlled environments, EELMA's empowerment estimates aligned tightly with exact mathematical calculations, achieving a Spearman correlation of $R_s = 0.80 - 0.94$.
- Predicting Task Success: Empowerment scores positively correlated with discounted rewards across WebArena domains ($R_s = 0.83 - 0.94$) and the $\tau$-bench airline domain, proving it can serve as a reliable proxy for agent capability.
- Prompting Sensitivity: EELMA successfully captured the impact of agent design choices. For example, disabling Chain-of-Thought (CoT) reasoning caused an agent's empowerment to plummet by 99% in Gridworld and 65% in Tower of Hanoi.
- Authentication Case Study: In a modified WebArena environment requiring manual login, valid password entries yielded a high positive empowerment score ($0.268$ bits), while invalid attempts resulted in a negative score ($-0.094$ bits), demonstrating EELMA's utility for automated safety monitoring.
Limitations and Future Work
While powerful, empowerment is not a silver bullet. The authors note that empowerment measures what an agent can do to its environment, not necessarily whether those actions are smart. It struggles to evaluate agents when the primary bottleneck is pure logical reasoning rather than state reachability (such as calculating numerical prices in WebArena Shopping). Furthermore, when all models perform poorly near floor capacity, behavioral noise can dominate and distort the mutual information signal.
Future directions include extending EELMA to multimodal agents (integrating vision and audio embeddings) and exploring whether semantic empowerment can be used directly as an intrinsic reward signal to train safer, more capable LLM agents.
Summary updated