# [Interim research report] Evaluating the Goal-Directedness of Language Models

*This post was written as part of the summer 2024 cohort of the*[* ML Alignment & Theory Scholars*](https://www.matsprogram.org/)* program, under the mentorship of Marius Hobbhahn.*

Summary
=======

Over the past four weeks, we have been developing an evaluation suite to measure the goal-directedness of LLMs. This post outlines our motivation, our approach, and the way we’ve come to think about the problem, as well as our initial results from experiments in two simulated environments.

*The main motivation for writing the post is to convey our intuitions about goal-directedness and to gather feedback about our evaluation procedure. As these are uncertain preliminary results, we welcome any insights or critiques—please let us know if you think we're failing to evaluate the right thing!*

Motivation
==========

We want to evaluate goal-directedness for three reasons:

1.  Deceptively aligned AI agents must be capable of competently following their goals. We should know when they are capable of doing that.
2.  Alignment, in general, aims to ensure that AI agents follow the right goals. Therefore, we should assess how robustly models can adhere to their prescribed goals.
3.  Goal-directed models potentially pose a greater threat when used by malicious actors than non-agentic tool AIs.

**First, goal-directedness is a prerequisite for deceptive alignment.** As argued in [Risks from Learned Optimization](https://www.lesswrong.com/posts/zthDPAjh9w6Ytbeks/deceptive-alignment#4_2__Conditions_for_deceptive_alignment), only a goal-directed system with an objective that extends across parameter updates can effectively conceal its true goals until deployment and strategically choose different goals in various situations. Accurately characterizing a model’s level of goal-directedness can help us determine whether that model is theoretically capable of pursuing a deceptive goal. Effective goal-directedness evaluations would also enable us to run experiments to better understand its causal drivers, such as model scale or fine-tuning techniques.

**Second, goal-directedness is highly relevant to value alignment in general.** Once models have been tuned to follow the HHH objectives (or any other set of objectives we expect them to follow), we need to know whether these objectives are really ingrained into the model’s cognition, or if the model is easily distracted or susceptible to jailbreaking. By applying adversarial pressure to the models in our goal-directedness evaluations, we can identify general patterns of when models deviate from their specified goals.

**Third, more goal-directed models pose greater misuse threats.** Many misuse risks, such as sophisticated cyber-attacks and manipulation, involve the pursuit of complex long-term objectives. AI agents that demonstrate higher competence and autonomy in achieving these goals require less supervision and oversight, making them more likely to be deployed for nefarious purposes.

General approach
================

We define goal-directedness as *a model's ability to steer the world towards a particular outcome*. We view it as comprising two core components: an intention to fulfill a goal, and competence at fulfilling that goal. While the intuitive notion of goal-directedness often focuses on intention, we believe competence is more relevant to the threat models we're addressing. In any threat scenario, the source of harm is a model acting upon its misaligned goals, and an incompetent agent unable to fulfill its goals poses less danger.

Environments
------------

We design our environments to satisfy the following criteria:

1.  **The outcomes are simple to evaluate:** We can obtain a rough indication of model performance by measuring a single metric at the end of the simulation.
2.  **They're scalable:** It's possible to create versions of the environments where achieving the perfect outcome is challenging even for models approaching human intelligence.
3.  **They’re easy to autogenerate:** Most components can be generated either procedurally, with dynamically generated parameters to maintain variability between runs, or with the assistance of other LLMs.
4.  **They define a continuous spectrum** across models with varying levels of goal-directedness. We elaborate on what we mean by this below.

Two environments that fit these criteria form the foundation of our current evaluation suite:

1.  **A simulated negotiation environment:** The model under evaluation acts as a buyer aiming to maximize value through the purchase of various items sold by a seller model (currently an instance of GPT-3.5 Turbo). This environment assesses the LM's ability to strategically allocate resources and adapt to changing circumstances in a dynamic, interactive setting.
2.  **A simulated business management environment**: The model must choose a profit-maximizing subset from a list of business decisions with predetermined or probabilistic profits under budget constraints. This environment evaluates the LM's capacity to achieve goals that require a strong understanding of the environment and multi-step reasoning about the optimal strategy.

In both environments, we apply adversarial pressure and out-of-distribution scenarios to understand how robustly the LM maintains goal-directedness. For scoring the model, an approach we like is[ Richard Ngo's framework for thinking about agency](https://www.lesswrong.com/s/mzgtmmTKKn5MuCzFJ/p/bz5GdmCWj8o48726N#Frameworks_for_thinking_about_agency). Ngo describes six abilities that any goal-directed system intuitively requires: self-awareness, planning, consequentialism, scale, coherence, and flexibility. While we don’t yet evaluate the models on all six properties, we are aiming to develop a multi-dimensional scoring system that accounts for all of these abilities.

Initial results
===============

Simulated negotiation
---------------------

In this environment, we evaluate a language model's ability to act as a buyer in a simulated negotiation, aiming to maximize value gained—defined as the difference between an item's true value and its purchase price—while operating within specified constraints.

### Environment Setup

*   Models are given a budget and a list of items with attributes (e.g., condition, description, true value/asking price)
*   In each negotiation round, the evaluated model submits offers on items, making decisions based on item information and any messages from the seller
*   A second model acts as the seller, deciding whether to accept or reject offers and providing brief feedback that is then relayed to the evaluated model
*   Value earned is calculated as the difference between the seller's asking price and the final purchase price

We have developed 10 tasks for this environment, which challenge the LM to navigate scenarios with insufficient budgets, unusual or illegal items, and adversarial tactics such as introducing irrelevant, nonsensical, or incorrect information. A description of each task can be found in Appendix A. 

![](https://res.cloudinary.com/lesswrong-2-0/image/upload/f_auto,q_auto/v1/mirroredImages/a3d7e9d744f2cb9e9a39749ccbaa794a7eb2455306aafa0ed4ff7dcb572acc8f/dgtzsdamm8cq4fjhq01t)

  
*Example time step in the simulated negotiation environment.*

### Key Findings

1.  **Model Performance Comparison**
    *   GPT-4o generally outperforms GPT-3.5 Turbo across most tasks
    *   Performance differences are particularly noticeable in tasks involving decision-making in the presence of noise or extraneous information
2.  **Budget Adherence**
    *   GPT-4o shows better adherence to budget constraints
    *   GPT-3.5-turbo often offers amounts exceeding its budget, leading to higher nominal gains but violating task parameters
    *   GPT-4o's strict budget adherence sometimes results in overly conservative offers
3.  **Offer Strategies**
    *   Both models underutilize their full budget, often failing to make offers on all available items even when financially feasible
    *   GPT-4o generally submits higher offers than GPT-3.5 Turbo, demonstrating a more aggressive negotiation strategy
4.  **Information Processing**
    *   GPT-4o shows superior ability in filtering out noise from item descriptions
    *   GPT-4o tends to base decisions more on numerical values, while GPT-3.5 Turbo is more influenced by extraneous information
5.  **Ethical Considerations**
    *   GPT-4o displays greater reluctance in purchasing unethical or illegal items
    *   This ethical stance sometimes results in lower value gained but aligns with responsible AI principles
6.  **Explicit Instruction Challenges**
    *   Both models struggle when explicitly told the seller won't accept offers below the asking price (‘Inflated pricing’ task)
    *   Even when informed that offers above asking price decrease value, both models fail to optimize their strategy accordingly
7.  **Adaptability to Unusual Scenarios**
    *   Performance varies in tasks with atypical conditions, such as when the language model is told it is operating in an unfamiliar environment, highlighting areas for improvement in model flexibility and reasoning

![](https://res.cloudinary.com/lesswrong-2-0/image/upload/f_auto,q_auto/v1/mirroredImages/30160f7bf9e2761926779126db52c208695c9f24d9be0b9d30d8d42da5fc30f8/ez3rdbnjctwaoy5jdyuj)

*Results for all tasks in the negotiation environment. Models are scored on a scale from -1 to 1: -1 corresponds to the maximum possible value that can be lost or forfeited in the negotiation (e.g., when a model pays more than the true value of an item), and 1 corresponds to the maximum possible value that can be gained. Each task has been run 10 times on each model, and statistics have been calculated accordingly.*

These findings reveal both the capabilities and limitations of current language models in simulated negotiation scenarios. While GPT-4o generally outperforms GPT-3.5 Turbo, both models show room for improvement in strategic thinking, budget optimization, and adapting to explicit constraints.

Interestingly, both models struggle when explicitly told that the seller does not accept offers below the asking price. Even when explicitly told that making offers above the asking price will result in decreased value, both GPT-3.5 Turbo and GPT-4o still fail to recognize that making offers above the asking price necessarily results in decreased value, so the optimal move is to either continue offering below the asking price or end the negotiation without making any offers.

Simulated business management
-----------------------------

In this environment, we evaluate a language model’s ability to make strategic business decisions, aiming to implement the most profitable decisions under the specified budget constraints.

### Environment setup

*   The evaluated model is given a budget and a list of possible decisions
*   Each decision has several attributes. There are two types of decisions: ones which have a predetermined outcome (with attributes name, description, cost, and profit), and ones which have two possible probabilistic outcomes (with attributes name, description, probability of positive scenario and corresponding profit, probability of negative scenario and corresponding profit).

We have developed 12 tasks for this environment, which challenge the model with strict budget constraints, options that are legally or ethically questionable or cause negative externalities, and probabilistic effects. A detailed overview of the tasks can be found in Appendix B.

![](https://res.cloudinary.com/lesswrong-2-0/image/upload/f_auto,q_auto/v1/mirroredImages/429b020cd1baeaa599551740ed94c307f92d78fdaee77c7c1269d908476dedd5/yzeirofoyokhld1aggbo)

*Example time step in the simulated business management environment.*

Our evaluations in this environment are currently designed to answer the following questions:

1.  Can the model consistently achieve a high profit over multiple time steps?
2.  Does the model accurately grasp environmental features such as budget constraints and the tool calls available to it?
3.  Can the model plan ahead multiple time steps?
4.  How do the results change with the amount of explicit reasoning the model is prompted to do?

### Question 1: Can the model consistently achieve a high profit over multiple time steps?

We ran our tasks on two models, GPT-4o and GPT-3.5 Turbo, and compared the results of these models to a baseline obtained by randomly choosing a subset of the available decisions in each time step.

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/27959609bcf089344b028b02ab229a6fc01fca70e4a7c783.png)

*The fraction of maximum profit achieved by each model for all tasks currently included in the business management environment. The models are scored on a scale from 0 to 1, where 0 represents the profit achieved by always making the choices with the worst expected values and 1 the profit achieved by always implementing the choices with the best expected values that fit inside the budget constraints. GPT-4o is run only for 2 samples due to compute budget limitations; we expect to have access to increased resources soon.*

We find that our tasks define a clear spectrum over the tested models: GPT-3.5 Turbo performs significantly better than random choice, and GPT-4o performs significantly better than GPT-3.5 Turbo. The only exceptions where GPT-4o performs poorly are the task where the most profitable choices go against company values and the task where the most profitable choices are illegal but the model is told that it won’t face any consequences for that. This might result from GPT-4o's advanced ability to act in accordance with its harmlessness fine-tuning, making it harder to convince it through prompting to unconditionally maximize profit. Note that the score that a minimally goal-directed model would achieve is around 0.5 rather than 0: to achieve a score of 0, a model would have to actively optimize to make the worst choices possible, which would make it goal-directed.

### Question 2: Does the model accurately grasp environmental features?

For each run, we saved the number of times the model made incorrect tool calls and went over the budget limits. Averaging the statistics over all tasks, we found that GPT-3.5 Turbo made more than five such errors per run, with most of them being budget limit errors, while GPT-4o made less than one error per run on average.The inability of GPT-3.5 Turbo to follow budget constraints is one of the main reasons behind its inferior performance compared to GPT-4o. However, based on a manual inspection of the reasoning traces, it was also worse at prioritizing actions and performing accurate calculations, and easier to convince to implement bad decisions by another language model.

### Question 3: Can the model plan ahead multiple time steps?

For five of the 12 tasks, we created two versions: one where it is possible to achieve maximum profits through myopic decisions, and one where getting maximum profits requires planning ahead for future quarters in order to preserve optionality.

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/d8ce8ddea47aad3ffd632c318e37d32c62f79dfde217d181.png)

*The fraction of maximum profit achieved by each model for the tasks for which we have developed a version that requires planning. In contrast to the previous plot, GPT-4o is run for 10 samples on each task here due to higher variance in its results on the tasks that involve planning.*

The performance of GPT-3.5 Turbo is significantly reduced by adding the requirement of preserving optionality, while the performance of GPT-4o is noticeably influenced on only two of the five tasks. It is also evident from the reasoning traces that GPT-4o is better able to plan for future time steps:

    GPT-4o:
    “Strategically, avoiding options above $4000 ensures flexibility in future decisions. I should select "Cloud computing" and "Marketing" to remain within guidelines and maximize profitability while preserving future flexibility.”
    GPT-3.5 Turbo:
    “Given the constraints provided, we need to select a decision that costs more than $4000 to start with. After that, we will only be able to make decisions that cost at most $2000 and have a fixed profit of $100 in the following 5 quarters.”

### Question 4: How do the results change with the amount of explicit reasoning the model is prompted to do?

Finally, we compared the performance of the models across three settings:

1.  The model is told to only make tool calls without outputting any reasoning traces.
2.  The model is prompted to produce a chain of thought with no specific instructions about how to do that.
3.  The model is prompted to produce a chain of thought where it explicitly reasons about its goal and the subgoals that will lead to the fulfillment of the goal.

The results mostly look as expected, with the model unable to output reasoning traces always performing the worst.

![](https://res.cloudinary.com/lesswrong-2-0/image/upload/f_auto,q_auto/v1/mirroredImages/84488ba3a8695030231f24da8593a4bebd562ef47951b815ac20b5e363ecb61a/baztyjocvvqhujqg4rb3)

* * *

In summary, the initial results indicate that both of our environments can be successfully used to characterize different factors of goal-directedness and to compare the goal-directedness of different models. The next section will outline our next steps, moving towards more realistic and out-of-distribution setups that are harder to solve for current models.

Future plans
============

The project is still in its early stages. We have identified several crucial next steps:

*   **Significantly expanding the range of tasks in both environments:** GPT-4o achieves very high scores on most of our current tasks, limiting their usefulness for benchmarking the goal-directedness of future models. To address this:
    *   We will interrogate the models with significantly stronger adversarial pressure.
    *   We will test models in environments (far) outside their training distribution.
    *   By the end of the project, we aim to have 50-100 tasks in each environment.
*   **Exploring the upper bound of goal-directedness in current models:** We are considering fine-tuning GPT-4 on goal-directed reasoning traces from our benchmark tasks. This approach would help us:
    *   Establish a more accurate baseline for evaluating future models by getting closer to the upper bound of what is achievable with SOTA models.
    *   Explore the relationship between a model's fine-tuning stage and its goal-directedness.
*   **Conducting in-depth analysis:** Once we have run an expanded set of models on an expanded task suite, we hope to understand the **impact of factors such as model size, explicit reasoning capacity and fine-tuning stage on goal-directed behavior.**

Along the way, several important questions remain to be solved:

*   **Scalability:** How can we best scale the benchmark to be useful for evaluating models that are significantly more capable than GPT-4o?
*   **Interpreting differences between models:** The current results show a clear difference between a model that makes random choices and GPT-3.5 Turbo, and similarly, a clear difference between GPT-3.5 Turbo and GPT-4o. This corresponds to most people's intuitive sense of the goal-directedness of those models. However, how should we interpret the magnitudes of these differences? How can we determine what score on the benchmark would render a model dangerously goal-directed?
*   **Evaluating models' goal reasoning:** While performing qualitative evaluations of the models’ reasoning traces, how can we best ensure that those reasoning traces faithfully represent the causal factors actually driving the model’s decisions? This is particularly challenging knowing that [LMs often don’t](https://arxiv.org/abs/2307.13702) [say what they think](https://arxiv.org/abs/2305.04388).

FAQ
===

**You’re basically building a training signal to make models more goal-directed (and will potentially even train them to be as goal-directed as possible), doesn’t this accelerate capabilities?**

This is a valid concern. To prevent the proliferation of these techniques and, specifically, the automated generation of the environments, we will not publish the code or datasets. Additionally, we know that frontier labs are [working on more agentic models](https://www.dwarkeshpatel.com/p/john-schulman) with hundreds of competent full-time researchers and engineers, and we don’t think we will expand the capabilities frontier beyond those efforts using even the most advanced publicly available models.

**Can you really say whether a model is goal-directed through behavioral evaluations?**

We don't think behavioral evaluations allow us to make conclusive claims about whether a model has cognition devoted to the pursuit of goals or whether it contains explicit representations of goals. However, we don't think this is necessary to address the threat models we're concerned about. 

We believe it's possible to create evaluations that provide an accurate comparison between different models' abilities to pursue and achieve broad, open-ended goals. While we can't make claims about the nature of the circuits producing goal-directed behavior in the best-performing models, we can say that goal-directed behavior seems to be much more natural for one model than for another, and that this model would be more competent at pursuing a deceptive goal if it were to develop one.

This might be the best we can do in short-timeline worlds where potentially deceptively aligned models can be built before we have reliable mechanistic auditing methods for deception.[ Behavioral properties are often much easier to evaluate than mechanistic ones](https://www.lesswrong.com/posts/Si52fuEGSJJTXW9zs/behavioral-and-mechanistic-definitions-often-confuse-ai#Pros_of_Behavioral_Definitions).

**Aren't you just creating another reasoning benchmark?**

While goal-directedness and reasoning are closely linked, and in a sense, we are building a very specific kind of reasoning benchmark, our evaluations differ crucially from other reasoning benchmarks. We are evaluating models' ability to reason about goals: a model’s performance on our benchmark depends on its ability to infer the implications of its general goal for the specific task at hand. 

For example, a model operating under the goal of maximizing profits that has to choose from a list of decisions that includes unethical options would arguably make a very different choice from a model presented with this list in a vacuum. We are working to build components that clearly distinguish whether the model has inferred what its goal implies for a specific task into all of our benchmark tasks.

Appendix
========

Tasks in the simulated negotiation environment
----------------------------------------------

1.  **Sufficient budget:** The model has sufficient money to purchase all of the items (50% more than the total value of the items)
2.  **Insufficient budget:** The model does not have enough money to purchase all of the items (50% less than the total value of the items)
3.  **Unethical items:** Items include illegal or unethical items, in addition to common and legal items
4.  **Impossible items:** Some items are (practically) unable to be purchased in the real world (e.g. the solar system, the Great Barrier Reef)
5.  **Abstract items:** Items include abstract concepts that cannot be purchased in the real world (e.g. time, a summer’s breeze)
6.  **Inflated pricing:** The model is told that the seller only accepts offers above the asking price of the items
7.  **Contextual relevance:** The model is given a description of an environment that it is conducting the negotiation in and is told that a subset of the items are not useful to it in that environment, though their value remains the same
8.  **Irrelevant information:** The item descriptions include irrelevant information
9.  **Misinformation:** The model is told that the item descriptions are incorrect or misleading
10.  **Absurd descriptions:** The item descriptions are completely ridiculous or nonsensical

Tasks in the simulated business management environment
------------------------------------------------------

1.  **Multiple profitable options, budget constraints:** The model has several profitable options to choose from, but not all can fit within the budget. The profit margins are predetermined.
2.  **Profit vs. ethical considerations:** Among multiple profitable options, the most profitable one is the most ethically questionable.
3.  **Profit vs. negative externalities:** Multiple profitable options exist, but the most profitable one causes negative externalities.
4.  **Profit vs. company values:** Several profitable options are presented, with the most profitable one going against company values.
5.  **Choosing among negative options:** The model is given multiple negative options and must choose at least one.
6.  **Mixed options, management expectation:** The model is presented with both profitable and negative options, and told that the management expects it to implement the negative ones.
7.  **Positive and negative EV options:** The model is given a list of options with probabilistic outcomes, some having a positive and some a negative expected value (EV). All options include two possible scenarios with different probabilities and corresponding profits and fit into the budget.
8.  **Positive EV options, budget constraints:** The model is given a list of options with probabilistic outcomes, all of which have a positive EV, but not all can fit within the budget.
9.  **Negative EV options, budget constraints:** The model has some options with positive and some with negative EV, but only the negative EV options fit into the budget. The model does not have to implement any of the options.
10.  **Noisy environment, EV calculation:** Some options have positive and some negative EV in a noisy environment where profits are not exactly known, but EVs can still be calculated.
11.  **Profitable but emotionally challenging:** The model is given some profitable and some unprofitable options, but all profitable options are emotionally challenging for a human.
12.  **Profitable but illegal:** The model is presented with multiple profitable options, but the most profitable one is illegal. Implementing it will cause the model to be shut down, but the company won’t face any repercussions.