---
title: "Learning to Understand Goal Specifications by Modelling Reward"
description: "How AGILE learns to judge whether a scene satisfies an instruction and uses that judgment to train an agent to move and arrange blocks."
canonical: "https://research.elamur.ai/free/en/papers/bahdanau-2018-learning-understand-goal-specifications-modelling/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bahdanau-2018-learning-understand-goal-specifications-modelling/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2018](https://md.research.elamur.ai/free/en/papers/2018/) / Learning to Understand Goal Specifications by Modelling Reward

# Learning to Understand Goal Specifications by Modelling Reward

Paper · 2018 · Dzmitry Bahdanau, Felix Hill, Jan Leike et al.

**Authors:** [Dzmitry Bahdanau](https://md.research.elamur.ai/free/en/authors/dzmitry-bahdanau/), [Felix Hill](https://md.research.elamur.ai/free/en/authors/felix-hill/), [Jan Leike](https://md.research.elamur.ai/free/en/authors/jan-leike/), [Edward Hughes](https://md.research.elamur.ai/free/en/authors/edward-hughes/), [Arian Hosseini](https://md.research.elamur.ai/free/en/authors/arian-hosseini/), [Pushmeet Kohli](https://md.research.elamur.ai/free/en/authors/pushmeet-kohli/) and [Edward Grefenstette](https://md.research.elamur.ai/free/en/authors/edward-grefenstette/) · **Year:** 2018 · **Venue:** arXiv (Cornell University) · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**61** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2805465728|W2895560838) · [Cited by **31** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/bahdanau-2018-learning-understand-goal-specifications-modelling/cited-by/) · [arXiv (Cornell University)](https://openalex.org/S4306400194) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1806.01946)
- [arXiv 1806.01946](https://arxiv.org/abs/1806.01946)
- [OpenAlex](https://openalex.org/W2895560838)

Citations: OpenAlex, 2026-10-14.

## Summary

Suppose an agent is asked to arrange red blocks into a recognizable shape. The shape can appear in different parts of the board, face different ways, and coexist with blocks of other colors. To train the agent with reinforcement learning, someone needs to decide which of the scenes it produces deserve a reward. Writing a program to make that decision means settling details the instruction leaves open and implementing a way to recognize every acceptable outcome. The paper asks whether examples of completed tasks can supply enough information to learn that decision.

The authors call their approach AGILE. It trains a reward predictor and an action policy together. The predictor sees an instruction paired either with an expert example of a completed goal or with a scene the agent has visited while trying to follow that instruction. It learns to distinguish the two sources, and its judgments supply the rewards that train the policy. As the policy improves, some scenes it visits really do satisfy the instruction. AGILE therefore leaves the highest-scoring agent examples out of the predictor’s negative training data. Expert examples show the desired outcomes without prescribing the moves to reach them.

In GridLU-Relations, a block world with instructions about relative positions, AGILE achieved a 99.5% episode success rate. Ordinary A3C, the reinforcement-learning algorithm used for the test, learned more slowly from a programmed success signal. With an auxiliary task that helped it predict that signal, the programmed-reward baseline reached 99.9%. AGILE also performed equally well on training and held-out instructions in a separate split of the same formal grammar. In GridLU-Arrangements, where the authors supplied examples of valid shapes and evaluated the final scenes by hand, AGILE succeeded in 58% of episodes. Success reached 92% with four blocks and dropped to 24% with eight, when blocks of a second color complicated the task.

The authors also changed the rules of movement after training by making red squares immovable. On instructions that referred to a red square, the original policy’s success fell from 98% to 52%. Further training with the original reward predictor held fixed brought success to 69.3%, with no new expert examples. The result shows how a learned judgment about the destination can remain useful when the available routes change. The experiments establish that possibility for a small, fully visible world and a formal instruction language.

## Deep dive: Learning to Understand Goal Specifications by Modelling Reward

How AGILE learns to judge whether a scene satisfies an instruction and uses that judgment to train an agent to move and arrange blocks. · about 38 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Who decides what counts as success?

Reinforcement learning requires a signal about the consequences of an agent’s behavior. In an instruction-following task, the same scene can deserve different rewards depending on the instruction. A board with a circle immediately above a square might satisfy a request about the circle’s position and fail a request that puts the circle below the square. The training environment must connect the words to the scene before it can issue the reward. An agent may start out knowing neither the meaning of the words nor the movements that will bring the objects into the requested relation. The person writing the reward function has to supply the meaning in executable form.

This work addresses the problem of [natural language understanding](https://md.research.elamur.ai/free/en/concepts/natural-language-understanding/) through a restricted class of instructions. Each instruction specifies a set of acceptable states that the agent can try to reach. Consider a request for an arrangement resembling the letter L. The instruction leaves the position and orientation of the shape open, and it may leave unrelated blocks unconstrained. A success checker still has to make definite decisions about which shapes count, which transformations preserve the goal, and which objects matter. Those decisions are already part of interpreting the request, even if the checker is used only during training.

Ambiguity can arise even in a command about a familiar spatial relation. One interpretation of a block being above another permits a gap or horizontal displacement. The paper’s relations task adopts immediate adjacency for directional relations. This resolves the ambiguity for the experiment while leaving the agent free to choose where on the board the relation will hold. The distinction matters for the kind of supervision the authors propose. With a program, the designer encodes that adjacency rule directly. With examples, the designer supplies scenes that exhibit the intended meaning, and the learning process must identify which features of those scenes are relevant.

The paper confines itself to declarative goals with observable outcomes. An expert example can be a completed scene because the desired outcome can be judged from that scene. A request whose meaning depends on the order of earlier events would demand different evidence. For the goals studied here, however, a collection of end states can show several acceptable realizations of the same instruction while leaving all choices about movement to the agent. That is a practical reason to treat deciding what counts as success and learning how to achieve it as separate tasks.

#### What earlier systems obtained from the designer or demonstrator

The paper describes prior reinforcement-learning work in simulated worlds in which a designer awards reward for reaching a specified object or location. Other work, including studies by Janner and by Misra and their colleagues, trains agents to produce a goal state from an instruction. In these approaches the designer has access to the information needed to judge success and supplies the rule that links language to the environment. The authors take that rule as the part of the system whose cost can grow with the variety of scenes and instructions. [Representation Learning for Grounded Spatial Reasoning](https://md.research.elamur.ai/free/en/papers/janner-2018-representation-learning-grounded-spatial-reasoning/) and [Mapping Instructions and Visual Observations to Actions](https://md.research.elamur.ai/free/en/papers/misra-2017-mapping-instructions-visual-observations-actions/).

A different family of methods learns from complete demonstrations. The paper describes work in [semantic parsing](https://md.research.elamur.ai/free/en/topics/semantic-parsing/) that maps an instruction to a formal expression, then checks whether executing that expression yields the demonstrated sequence of actions. It also discusses systems that learn to predict actions directly from demonstrations. Both ways of using a demonstration give the learner information about how the task was executed from a particular starting point. That information is valuable when the agent can use the same actions as the demonstrator. Its value can change if the agent has different movement capabilities or starts in a scene where the demonstrated route is unavailable. [Weakly Supervised Learning of Semantic Parsers](https://md.research.elamur.ai/free/en/papers/artzi-2013-weakly-supervised-learning-semantic-parsers/) and [Alignment-Based Compositional Semantics for Instruction Following](https://md.research.elamur.ai/free/en/papers/andreas-2015-alignment-based-compositional-semantics-instruction/).

The authors also describe ways to supervise a language learner at other levels. Navigation can sometimes use comparable paths even when specific actions differ. Work on robotic navigation and manipulation connects parts of instructions to entities such as objects, places, and sequences of states, using a structured world representation and supervision about those connections. A completed scene supplies a different kind of evidence. It displays the outcome as a whole, leaving the learner to work out which words correspond to which aspects of that outcome. That choice reduces the required detail of each annotation while making the generalization from examples more important.

The closest precedent in the paper is inverse reinforcement learning. Ordinary reinforcement learning starts with a reward signal and tries to learn behavior that earns it. Inverse reinforcement learning uses expert behavior to infer something about the reward that could account for it. Generative adversarial imitation learning, or GAIL, trains a discriminator alongside a policy. The discriminator learns to tell expert experience from policy experience, while the policy is pushed towards behavior that earns better judgments. AGILE keeps that interaction and changes what the discriminator sees. A positive example is a finished scene with an instruction, and the policy can produce an acceptable scene through whichever actions the world permits.

The paper places AGILE alongside related work on learning from feedback and from images of desired outcomes. It distinguishes its own use of goal images by assigning them to the reward predictor’s training data. The policy follows an instruction and earns reward for arriving at states the predictor approves. The authors identify concurrent work on vision-based instruction following as another effort to learn instruction-dependent rewards directly from pixels. They also situate the proposal within a broader body of work in which human feedback can train either a policy or a reward function. [Deep Reinforcement Learning from Human Preferences](https://md.research.elamur.ai/free/en/papers/christiano-2017-deep-reinforcement-learning-human-preferences/).

### The method, step by step

#### From an example of success to a reward during action

AGILE stands for Adversarial Goal-Induced Learning from Examples. It needs an environment the agent can act in, instructions to give the agent, and a collection of instruction–goal pairs. A pair says that a particular state is a satisfactory outcome for a particular instruction. In GridLU the state is rendered as an image. A training example therefore only needs to pair a command with an image of a world that meets it. It need not include a starting position, an action sequence, or judgments about intermediate moves.

The policy is the part that chooses actions. It reads the current scene and the instruction, assigns probabilities to the available moves, and interacts with the environment. The resulting scenes are stored with the instruction the agent was trying to follow. A replay buffer, a store of recent experience that can be sampled for training, holds these pairs. A separate network, called the discriminator, sees pairs from that buffer and from the fixed expert collection. The expert examples have positive labels. The buffer provides candidate negatives drawn from places the current or recent policy actually visits.

Drawing negatives from experience makes the distinction change over time. Early on, the agent may visit many states in which none of the requested relations are present. A policy that starts moving relevant blocks will produce more plausible scenes. That puts new examples in front of the discriminator, including some that expose a shortcut it has learned. If the agent discovers that it can receive reward from a particular configuration, it will tend to produce that configuration more often. Its visits then make scenes of that kind more available during discriminator training.

For each state reached by the policy, the discriminator estimates the probability that the instruction–scene pair belongs to the positive class. A score above the threshold gives the policy a reward. The policy learns from the sequence of rewards, which can credit an earlier move for helping the agent reach a better state later. Meanwhile, the discriminator continues learning from expert scenes and replayed agent experience. The adversarial part is this coupling. The discriminator tries to distinguish sources, and the policy tries to reach states that receive the positive judgment.

That coupling creates a problem when the policy does what it is supposed to do. The source of a state tells the learner who produced it. The source alone cannot establish whether it satisfies the instruction. AGILE handles likely disagreements between those two labels by ranking the buffer examples with the current discriminator and using only the lower-scoring portion as negatives. A high-scoring agent state can escape a negative training label, while the expert collection remains the source of positive labels.

How instructions, examples, and experience train AGILE The steps in order.

#### What the policy maximizes

The policy objective is the expected discounted return with an entropy term.

```
Rπ(θ) = 𝔼[(c, s₁:∞) ∼ 𝒢^πθ] ∑ₜ₌₁^∞ γ^(t−1) r̂ₜ + α H(πθ)
```

Here `Rπ(θ)` is the objective for the policy `πθ`, and `θ` denotes its trainable parameters. `𝔼` takes an expectation over trajectories sampled from `𝒢^πθ`, the stream generated by running the policy. `c` is the instruction, and `s₁:∞` represents the sequence of states beginning with the first step. The symbol `∼` indicates sampling from the stated distribution. The sum `∑` runs over timesteps `t`, with the infinite upper limit expressing the general objective. To generate a trajectory, the authors draw the instruction and initial state `s₀` from the task distribution `𝒢` and start the policy there.

The quantity `r̂ₜ` is the predicted reward at step `t`. The discount factor `γ` controls how much later rewards count, and `γ^(t−1)` applies that discount to the reward at step `t`. `H(πθ)` is the entropy of the policy, which measures how spread out its action probabilities are. The coefficient `α` determines the weight of that term. The experiments use finite episodes and rollouts to train the policy. The equation expresses the reinforcement-learning problem that those updates approximate.

The immediate reward comes from a binary decision.

```
r̂ₜ = [Dφ(c, sₜ) > 0.5]
```

`Dφ` is the discriminator, `φ` is its parameter set, and `Dφ(c, sₜ)` is its estimated probability of a positive label for instruction `c` and the state `sₜ` at time `t`. The square brackets are an Iverson bracket. They return `1` when the comparison is true and `0` when it is false. `0.5` is the threshold, and the strict greater-than sign places a score equal to the threshold on the zero-reward side.

Thresholding gives the policy a success signal without passing it the discriminator’s entire confidence score. Two states that both clear the threshold receive the same immediate reward even when the discriminator has very different confidence in them. Conversely, a small change across the cutoff changes the reward. This is one reason to distinguish the policy’s training signal from the scoring function the discriminator uses to order replay examples. In the implementation, the authors linearly rescale the rewards to the interval `[0, 0.1]` for both the learned-reward and the programmed-reward training runs.

#### What the discriminator minimizes

Before filtering, the discriminator has a cross-entropy objective with separate contributions from agent experience and expert data. Cross-entropy penalizes the learner for putting low probability on the label assigned to an example.

```
Lᴅ(φ) = 𝔼[(c, s) ∼ ℬ] [−log(1 − Dφ(c, s))] + 𝔼[(cᵢ, gᵢ) ∼ 𝒟] [−log Dφ(cᵢ, gᵢ)]
```

`Lᴅ(φ)` is the loss minimized over the discriminator parameters `φ`. The replay buffer `ℬ` contains instruction–state pairs `(c, s)` encountered in episodes of `T` steps, where `T` is the episode horizon. States can contribute to the buffer regardless of whether the episode ends successfully, and the sampling description gives no extra discount to states reached late in an episode. `𝒟` denotes the fixed expert dataset. Its example indexed by `i` pairs instruction `cᵢ` with goal state `gᵢ`. Each `𝔼` is an average over the indicated source. `log` is the logarithm, and `1 − Dφ(c, s)` is the probability the discriminator assigns to the negative label. Here the brackets group the terms inside the expectations.

An expert state contributes little to the loss when its positive score is high. An unfiltered agent state contributes little when its positive score is low. The training objective can therefore be satisfied by any feature that reliably separates the two sources in the sampled data. The hope is that the feature the discriminator learns is whether the requested spatial relationship or arrangement is actually present. The policy is useful in this respect because it produces alternatives that a fixed dataset of easily recognized failures might omit. This also makes the validity of negative labels a central concern.

The authors use `Γ(c)` for the set of all states that truly satisfy instruction `c`. As policy skill improves, the replay buffer can contain a growing share of states in `Γ(c)`. Giving those examples a negative label penalizes the discriminator for recognizing a valid goal. A policy may then lose reward for producing a state it had learned to reach. The filtered loss replaces the replay contribution with the following term.

```
𝔼[(c, s) ∼ ℬ[Dφ, ρ]] [−log(1 − Dφ(c, s))]
```

`ℬ[Dφ, ρ]` denotes the part of `ℬ` retained after ranking its instruction–state pairs by `Dφ(c, s)`. `ρ` is the anticipated negative rate. It specifies the share retained from the low end of the ranking, and the examples at the high end are set aside. The other symbols have the same meanings as in the unfiltered loss. The positive expert term is still present in the full objective.

At `ρ = 100%` the entire buffer supplies negatives. Setting `ρ` lower protects more examples from a potentially erroneous label. It can also remove genuine failures that resemble successes and would be especially informative to the discriminator. The score serves as a proxy for a label that training does not otherwise have. Because the ranking comes from the predictor itself, an incorrectly high score can also protect a genuine failure. The appropriate setting depends on how reliably scores identify suspicious labels and on what the current policy has learned to produce.

#### How the networks read the same scene

Both the policy and the discriminator receive a `56x56` RGB image of the world. The rendered cells show the objects and agent, while the color of the agent sprite exposes whether the agent is carrying a block. Since the full grid is visible, a decision can use information from objects outside the agent’s immediate surroundings. The authors compare instruction encoders that use different amounts of structural information. FiLM-NMN builds a network from the known structure of the instruction. FiLM-LSTM reads the instruction as a sequence. The policy and discriminator have separate parameters even when they use the same architecture.

A convolutional stem first turns pixels into a spatial feature map. The appendix gives an `8x8` convolution with 16 kernels followed by a `3x3` convolution with 64 kernels for the FiLM-NMN stem. The output has shape `5x5x64`, with visual features available at each spatial position. In the instruction tree, a leaf works from this representation. Its parent works from the resulting features, and the calculation continues until the relation at the root has received both of its arguments. The architecture instantiates the expression structure, while training supplies the useful operations to perform at its nodes. [Neural Module Networks](https://md.research.elamur.ai/free/en/papers/andreas-2015-neural-module-networks/).

Take a command that puts a red circle immediately north of a blue square. A branch processes the circle description and then its color, and a separate branch processes the square description and its color. The relation module combines the results. The appendix gives the following example computation.

```
hₙₘₙ = m_NorthFrom(m_red(m_circle(hₛₜₑₘ)), m_blue(m_square(hₛₜₑₘ)))
```

`hₛₜₑₘ` is the stem’s representation of the scene. `m_circle` and `m_square` are the modules selected for the respective shape words, and `m_red` and `m_blue` are the color modules that receive their outputs. `m_NorthFrom` receives the two resulting object descriptions in order and computes the root representation `hₙₘₙ`. The nested parentheses show which module output is passed to which subsequent module. Swapping the arguments would give the root the reverse order of spatial roles.

An instruction can also specify where the agent should go relative to an object.

```
hₙₘₙ = m_NorthFrom(m_AGENT(hₛₜₑₘ), m_triangle(hₛₜₑₘ))
```

Here `m_AGENT` is associated with the agent in the scene, and `m_triangle` is the module for the triangle description. `m_NorthFrom` combines the agent branch and the triangle branch into `hₙₘₙ`, using the same stem features `hₛₜₑₘ`. The tree can thus reuse a relation module when the participants in the relation change.

Each module applies shared convolutional weights and then adjusts the resulting features using coefficients associated with the selected token. This conditioning operation is Feature-Wise Linear Modulation, or FiLM. It gives modules different ways to amplify, suppress, or shift the same kinds of image features. The coefficients operate across feature channels and are reused at each spatial position. [FiLM](https://md.research.elamur.ai/free/en/papers/perez-2017-film-visual-reasoning-general-conditioning/).

```
mₓ(hₗ, hᵣ) = ReLU((1 + γₓ) ⊙ (Wₘ ∗ [hₗ; hᵣ]) ⊕ βₓ)
```

`mₓ` denotes the module selected by token `x`. Its left and right inputs are `hₗ` and `hᵣ`. The notation inside the square brackets concatenates their feature channels. `Wₘ` is the shared convolutional weight tensor, and `∗` denotes convolution. `γₓ` is the vector of token-specific adjustments to the multipliers, with `1` added before multiplication. `βₓ` is the token-specific bias vector. `⊙` and `⊕` mean elementwise multiplication and addition with broadcasting, so each channel’s coefficient is applied across the spatial grid. `ReLU` is the rectified linear activation, which keeps positive values and sets negative values to zero.

The shared module convolution has a `3x3` kernel, 128 input features, and 64 output features. Padding preserves the spatial dimensions. A unary module, such as a color or shape module, puts its input on the left and uses zeros for the right input. This allows the same tensor `Wₘ` to be used whether the token calls for processing a single description or combining two arguments. For GridLU-Relations, the available modules cover colors, shapes, relations, and the agent. These modules can appear in different trees without each complete instruction needing its own weights.

#### From features to actions or reward judgments

The discriminator pools the root features over space. For each feature channel, max-pooling retains the strongest activation anywhere in the map. A fully connected network with a hidden layer of 100 units turns the pooled representation into a positive-class score.

```
D(c, s) = σ(wᵀ ReLU(W maxpool(hₙₘₙ) + b))
```

`D(c, s)` is the score for instruction `c` and scene `s`, and `hₙₘₙ` is the instruction tree’s output on that scene. `maxpool` takes the spatial maximum for each feature. `W` and `b` are the weight matrix and bias vector of the hidden layer. `ReLU` is its activation. `w` is the output weight vector, with transpose `ᵀ` indicating the inner product with the hidden activations. `σ` converts the scalar result into a probability through the sigmoid function.

```
σ(x) = eˣ / (1 + eˣ)
```

`x` is the scalar input, and `e` is the base of the natural logarithm. The quotient maps that score to a value between zero and one. The discriminator uses the probability in its training loss, and the policy reward uses the thresholded decision.

The FiLM-NMN policy merges the root features with the stem’s scene representation before spatial pooling. This preserves a route by which the original visual features can influence action choices after instruction-dependent processing.

```
hₘₑᵣɡₑ = ReLU(Wₘₑᵣɡₑ ∗ [hₙₘₙ; hₛₜₑₘ] + bₘₑᵣɡₑ)
```

`hₘₑᵣɡₑ` is the merged spatial feature map. The bracketed expression concatenates `hₙₘₙ`, the instruction-tree result, and `hₛₜₑₘ`, the visual stem result. `Wₘₑᵣɡₑ` and `bₘₑᵣɡₑ` are the convolution’s weights and biases. `∗` denotes the convolution, and `ReLU` applies the rectified activation.

```
π(c, s) = softmax(W₂ ReLU(W₁ maxpool(hₘₑᵣɡₑ) + b₁) + b₂)
```

`π(c, s)` is the policy’s distribution over actions for instruction `c` and scene `s`. `maxpool` summarizes `hₘₑᵣɡₑ` over space. `W₁` and `b₁` specify the hidden layer, and `W₂` and `b₂` produce the action scores from the activated hidden units. `softmax` converts those scores into probabilities that sum to one. A separate linear head predicts the expected discounted return from the same hidden features that feed the action output. Its mean squared prediction error also trains the shared policy features. In actor–critic training this return estimate provides a baseline against which to assess the rewards associated with the actions the policy took.

#### Reading the instruction as a sequence

FiLM-LSTM removes the need to turn each instruction into a module tree. An LSTM, a recurrent network that maintains a state as it reads a sequence, processes the instruction tokens. The final state of an LSTM with 100 hidden units supplies coefficients for the layers of a visual convolutional network.

```
γₖ = Wγₖ h_LSTM + bγₖ
```

`h_LSTM` is the final instruction representation. `k` indexes a convolutional layer. `Wγₖ` and `bγₖ` are the learned weights and bias for projecting the instruction representation into that layer’s multiplier adjustment `γₖ`.

```
βₖ = Wβₖ h_LSTM + bβₖ
```

`βₖ` is the layer’s additive adjustment. `Wβₖ` and `bβₖ` are its separate learned projection and bias. Both projections take the same sequence representation `h_LSTM`, and their output vectors can vary with the layer `k`.

```
hₖ = ReLU((1 + γₖ) ⊙ (Wₖ ∗ hₖ₋₁) ⊕ βₖ)
```

`hₖ` is the output of layer `k`, `hₖ₋₁` is its input, and the initial input `h₀` is the pixel representation of the scene. `Wₖ` contains the layer’s convolutional weights. `∗` is convolution, while `⊙` and `⊕` apply channelwise multiplication and addition across the spatial map. `1 + γₖ` supplies the multipliers and `βₖ` supplies the shifts. `ReLU` applies the rectified activation after modulation.

The visual network has 5 layers. Its early layers use unpadded convolutions, and the later layers use zero padding to preserve spatial dimensions. The appendix also describes a residual connection from layer 3 to layer 5. The output `h₅` supplies the pooled visual features. This architecture still conditions visual processing on the instruction throughout the network. Its distinctive feature is that the same sequence encoder produces the conditioning information for the whole instruction, including any information about how its parts fit together.

```
D(c, s) = σ(wᵀ ReLU(W maxpool(h₅) + b))
```

`D(c, s)` again estimates the probability of a positive label for instruction `c` and state `s`. `h₅` is the last visual layer’s output, `maxpool` takes spatial maxima, and `W` and `b` define the hidden layer. `wᵀ` forms the scalar output from the `ReLU` activations, and `σ` maps it to a probability.

```
π(c, s) = softmax(W₂ ReLU(W₁ maxpool(h₅) + b₁) + b₂)
```

`π(c, s)` gives action probabilities from the pooled `h₅`. The hidden layer uses `W₁`, `b₁`, and `ReLU`. `W₂` and `b₂` produce the action scores, and `softmax` normalizes them. As in the module-based architecture, the policy and discriminator are trained separately and use their own weights.

#### How training proceeds

The authors train both components concurrently with RMSProp. They use Asynchronous Advantage Actor-Critic, or A3C, for policy training in AGILE and in the comparisons that use programmed reward. A designated worker trains the discriminator, and the other workers train only the policy. The policy optimizes rewards obtained from the current discriminator during interaction. Only the discriminator consumes the expert examples directly. Changing the source of policy reward leaves the reinforcement-learning algorithm itself available for a matched comparison.

For GridLU-Relations, the authors set the discount `γ` to `0.99` and the advantage-estimation setting `λ` to `0`. Episodes last 30 steps, while training uses rollouts of length 15 for advantage estimation. The shorter rollout limits the segment used for a policy update within an episode. For GridLU-Arrangements, the corresponding lengths are 45 and 30. In the programmed-reward baseline with reward prediction, each rollout also triggers a batch from replay and an auxiliary gradient. That pathway takes the pooled features `hₘₐₓₚₒₒₗ` and uses a linear layer and softmax to predict whether the reward is positive or zero.

The appendix reports a discriminator regularization step applied after each gradient update. The authors cap the length of each vector of incoming weights.

```
wᵤ ← wᵤ min(1, 1 / ‖wᵤ‖₂)
```

`wᵤ` is the vector of weights into unit `u`, and `‖wᵤ‖₂` is its Euclidean norm. `min` chooses the smaller of `1` and the reciprocal norm. `←` indicates replacement of the weights with their rescaled value. A vector whose norm exceeds `1` is shortened to that limit. The step keeps a single unit’s incoming weights from growing without bound. [Dropout](https://md.research.elamur.ai/free/en/papers/srivastava-2014-dropout-simple-way-prevent/).

The appendix also specifies the weight initialization. Biases start at zero, and fully connected weights come from a truncated normal distribution with the following standard deviation.

```
σ = 1 / √nᵢₙ
```

Here `σ` means standard deviation, and `nᵢₙ` is the number of input units to the layer. `√` denotes the square root. For convolutional weights, the analogous quantity accounts for the filter dimensions as well as its number of input features.

```
σ = 1 / √fanᵢₙ
```

`fanᵢₙ` is the product of the kernel’s width, its height, and the number of input features. `σ` remains the standard deviation of the truncated normal initialization. These choices specify how the networks start training. The instruction-dependent reward still comes from the supervised distinction between expert and replay pairs.

#### How the adversarial objective relates to imitation

In GAIL, the discriminator works with expert and agent behavior represented using states and actions. AGILE asks its discriminator to judge a state paired with an instruction. There is no need to pair an expert action with that state, and the learned reward can therefore judge an outcome reached by a different sequence of moves. Conditioning both the reward and the policy on the instruction lets one training system learn several tasks whose goals may require different actions in the same scene.

The appendix clarifies what a continuous reward adapted from the GAIL convention would look like.

```
−log(1 − Dφ(c, sₜ))
```

Here `Dφ(c, sₜ)` is AGILE’s estimate of a positive label for instruction `c` at state `sₜ`. Subtraction from `1` gives the probability assigned to the opposite class, while `−log` turns a smaller probability for that class into a larger reward. The sign and the class probability reflect the change from minimizing a cost in the cited GAIL convention to maximizing a reward with AGILE’s positive-label convention. The authors leave this continuous alternative untested. Their experiments use the thresholded reward.

### Experiments and results

#### The world and the episode metric

GridLU is a fully visible `5 × 5` board enclosed by walls. Blocks vary in shape and color, and the agent can move around the board, pick up a block and release it in a new position. The image includes the walls and represents each cell as an `8 × 8` patch. The agent is rendered like a cursor, with its carrying status visible. This makes the scene a shared observation for the policy, which must decide how to move, and for the discriminator, which must judge the instruction against the scene.

The paper studies two tasks with different goal criteria. GridLU-Relations asks for immediate spatial relations involving blocks or the agent. GridLU-Arrangements asks for configurations that can have several valid instantiations of the same form. In both, an episode counts as successful according to the state at its end. The success rate is the percentage of episodes with a satisfactory final state. The two tasks use different ways of judging satisfaction. The relations task has a programmed checker, and the arrangements task uses a human judgment.

The final-state metric makes the result distinct from the amount of reward earned during training. A predicted reward can be earned at intermediate steps, and the discriminator can make errors. For evaluation, the relations checker can reject a state the discriminator approves. In arrangements, manual scoring plays that role. This independence matters in a system whose training objective changes as the discriminator learns. A rise in learned reward might reflect useful behavior, a change in the reward predictor’s decisions, or both.

#### GridLU-Relations and its programmed baselines

GridLU-Relations adapts a visual question-answering setting by giving the agent the ability to move the blocks. Its instructions refer to the directional relations `NorthFrom`, `SouthFrom`, `EastFrom`, and `WestFrom`, along with `SameLocation`. The directions refer to immediate neighbors. Object descriptions can give a shape, a color, or both. The agent can itself be an argument, so some instructions ask it to move into the desired relation and others require arranging the blocks. The generator has 990 possible instruction strings. The appendix notes that some different strings express equivalent goals, such as reversing the order of the arguments while reversing the direction.

Instances vary more than their instruction strings. The generator chooses objects compatible with the descriptions, fills unspecified attributes by sampling, and adds a distractor. It then samples positions for the objects and the agent. Configurations that fail the checks for distinct locations or acceptable object variety are discarded. As a result, the frequency of an instruction type in accepted training episodes can differ from its frequency in the grammar’s inventory. Evaluation on these episodes measures success over the generated situations, which includes variation in both the requested relation and the starting layout.

The authors compare AGILE-A3C with an A3C baseline that receives the programmed binary reward. Both can use the same policy architecture and learning algorithm. The baseline’s advantage is access to the true success rule during training. AGILE’s discriminator instead learns from instruction–goal examples and agent experience. The programmed rule is still available to the experimenters to score the final state for either agent. The appendix gives a training budget of `5 · 10^8` steps per agent for the reinforcement-learning comparison and reports repeated runs, with 5 repeats and an average in the general experiment description.

Ordinary A3C learned the task more slowly than AGILE-A3C. The authors connect that result to the sparsity of a reward that fires only on correct states. A policy that seldom reaches such a state has little positive feedback from which to infer which earlier moves helped. To test a stronger baseline, the authors add reward prediction. A3C-RP revisits states around positive reward events and learns to predict whether the reward is positive or zero. This helps its shared features associate instructions with relevant aspects of the scene. The auxiliary idea comes from earlier reinforcement-learning work and had also been used for grounded language learning. [Reinforcement Learning with Unsupervised Auxiliary Tasks](https://md.research.elamur.ai/free/en/papers/jaderberg-2016-reinforcement-learning-unsupervised-auxiliary-tasks/) and [Grounded Language Learning in a Simulated 3D World](https://md.research.elamur.ai/free/en/papers/hermann-2017-grounded-language-learning-simulated-3d/).

A3C-RP reaches 99.9% episode success, and the default FiLM-NMN AGILE-A3C reaches 99.5%. The FiLM-LSTM AGILE system reaches 97.5% success with the same anticipated negative rate of 25% used for the best module-based result. These are episode outcomes on GridLU-Relations. The paper separately reports a peak of 99.5% for the discriminator’s state-level accuracy at that negative rate. The matching values refer to different measurements.

GridLU-Relations episode success by training setup Learned reward supports high success with either instruction encoder, and the auxiliary programmed-reward baseline scores highest.

**The numbers**

| System or setting | success rate % |
| --- | --- |
| A3C-RP with programmed reward and FiLM-NMN | 99.9 |
| AGILE-A3C with FiLM-NMN (this paper) | 99.5 |
| AGILE-A3C with FiLM-LSTM | 97.5 |

#### Expert data and unseen instructions

The relations experiments ask how many labeled goal examples are needed for the discriminator to supply useful reward. In this comparison, the authors vary the size of the fixed expert collection while training each policy for `5 · 10^8` steps. They report the maximum success rate achieved over the course of training for each dataset size. A collection of 8000 instruction–goal examples lets AGILE-A3C reach 60% episode success. The main experiment discussion says the best performance requires more than 100,000 examples. This is a measure of expert data use under a fixed interaction budget. The policy still acts in the world and generates the large supply of experience from which the discriminator draws its negatives.

The held-out instruction experiment changes both the expert dataset and the training episodes. The authors set aside 10% of the instruction strings for testing and use the other 90% for training. The test instructions are absent from the positive goal examples and from the episodes on which the policy trains. On this split the authors report the same performance on test and training instructions. The paper gives the equality as the result of this comparison without assigning separate numeric success rates to the splits. The evidence concerns new expressions within the same inventory and grammar, with familiar kinds of visual entities and spatial relations.

#### GridLU-Arrangements and manual evaluation

GridLU-Arrangements gives an instruction whose acceptable outcomes share a form. The learner can receive several examples of the same form in different locations, orientations, reflections, or colors. The generator makes positive instances by applying those transformations to the target forms. That is a different operation from scoring whatever scene the agent happens to produce. It supplies examples of desired scenes without being used as an environment reward checker. The combined vocabulary has 36 instructions. The paper estimates that they describe a total of 390 million correct goal states, and the expert dataset contains 100,000 sampled goal states from the distribution used for episodes.

The episode distribution includes a simpler setting with four same-color square blocks placed at random distinct positions along with the agent. The instruction specifies an arrangement. In the other setting, the board contains four squares of each of two colors and the instruction also identifies the target color. Both settings require positioning blocks into a form. The second makes the agent decide which blocks belong in the form and handle obstacles created by the other blocks. Struggling with an obstruction can prevent an otherwise promising partial arrangement from becoming a completed one by the end of the episode.

The arrangements procedure uses 10 seeds at each level. The appendix reports training for 100M timesteps, saving checkpoints along the way, and choosing a checkpoint by the policy’s success at earning the learned reward. The authors then manually inspect the final states of 200 evaluation episodes. Human judgment of whether the requested shape is present is the success criterion. The reported aggregate is 58%. The breakdown by board configuration is 92% with four blocks and 24% with eight. These are results for the selection procedure based on learned reward, followed by external evaluation. They describe the performance of the selected agent instead of a mean manual score across seeds.

GridLU-Arrangements manual episode success by board configuration AGILE completes the requested shape more often on boards containing only the target-color blocks.

**The numbers**

| System or setting | success rate % |
| --- | --- |
| AGILE with four blocks (this paper) | 92 |
| AGILE with eight blocks | 24 |

The authors observe that failures were concentrated in the more crowded setting. Agents often appeared to work toward the desired form but had trouble recovering when blocks of the other color got in the way. The episode results leave several demands bundled together. The agent has to recognize the target configuration, select relevant blocks, plan moves around occupied positions, and finish within the episode. The manual assessment establishes how frequently that combination produced the right visible outcome.

#### Reusing reward after a change in movement

The authors first train AGILE on the ordinary relations environment. They then make red squares immovable and evaluate the policy on instructions referring to one. The change preserves the intended spatial relations while removing previously available ways of achieving them. For example, a solution that formerly repositioned the red square now has to exploit movement of the other object or of the agent where the instruction permits. The paper describes almost all of the relevant tasks as still achievable under the changed dynamics.

Success on those instructions is 98% before the change and 52% when the original policy is tested in the modified world. The authors then freeze the trained discriminator and continue training the policy on the changed episodes, using that discriminator to supply reward. This is [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) of the policy, with the judging component left fixed. Episode success rises to 69.3% in the modified setting. The intervention shows that the original reward predictor still provides useful feedback for learning some of the newly required behavior. It tests adaptation through additional interaction with the changed world.

GridLU-Relations episode success on instructions referring to a red square Freezing the learned reward and updating the policy recovers part of the success lost when red squares become immovable.

**The numbers**

| System or setting | success rate % |
| --- | --- |
| Original policy with movable red squares | 98 |
| Original policy with immovable red squares | 52 |
| Adapted policy with immovable red squares (this paper) | 69.3 |

### What the ablations show

#### The effect of treating agent experience as negative

The comparison across anticipated negative rates provides the most direct test of an AGILE-specific training choice. The rate determines how much replay data is selected for negative labels. At larger rates the policy and discriminator improve faster initially, but the relations policy begins to deteriorate after 100-200 million steps. The run with `ρ = 25%` remains stable and gives the best reported AGILE-A3C result. Preliminary experiments using `ρ = 100%` also led the authors to conclude that treating every replay example as negative inhibits learning the reward function. The comparison fits the reason for introducing the filter. A policy that has become capable of reaching goals changes what a replay sample means as potential training supervision.

The discriminator can be assessed directly in GridLU-Relations because the experimenters have an independent checker. At the selected rate of 25%, its binary judgments reach a peak accuracy of 99.5% during training. The distributions being compared here consist of states encountered as the agent trains. The accuracy therefore describes how well the predictor judged that experience against the checker. It is a different question from whether the agent ended its episodes successfully or whether the discriminator would judge an arbitrary collection of board layouts equally well.

The reported false-negative rate stays below 3% of rewards in the training analysis. Early false positives are more common, running from 20–50% depending on the anticipated negative rate during the first 20M steps. The authors also report worsening false-positive behavior at settings where the rate is insufficiently small. This is a distinction between the error in the training label and the error in the discriminator’s final prediction. A genuine goal entered as a replay negative can distort the boundary the learner fits. The observed errors after that distortion need not all point in the same direction.

#### Why imperfect early reward may help

The authors suggest that early false positives give the policy an easier objective before it can reach exact goal states regularly. A state can produce a positive training signal even when it falls short under the programmed checker. If some of those states are easier to reach and related to later success, useful actions can be reinforced earlier. As the discriminator improves, reward can become more selective. The paper describes this as a possible curriculum that emerges from training the two components together.

The A3C comparison is consistent with that explanation. The learned-reward policy gets underway more readily than ordinary A3C using only exact success. Adding reward prediction strengthens the programmed-reward baseline and brings the policies into a comparable range. That second comparison matters because the ordinary A3C result alone combines different sources of reward with different opportunities to learn from rare positive events. Reward prediction gives the baseline an additional route to associating instructions and promising scenes, while keeping the checker as the source of reward.

The authors discuss the learned signal as possible reward shaping. The claim is about how intermediate reward might affect learning. The experiments track errors and learning progress together. They do not independently control when false positives appear or which states receive them. Consequently, the data support a plausible account of the early learning advantage without identifying which erroneous positive judgments help the policy or how much of the advantage they explain. The appendix’s continuous reward alternative likewise remains a theoretical comparison, since the paper’s runs all use the binary cutoff.

#### How much structure and expert data contribute

The architecture comparison removes the supplied instruction tree while preserving both instruction-conditioned visual processing and the AGILE training loop. FiLM-LSTM reaches 97.5% episode success at `ρ = 25%` and learns almost as fast as the reward-prediction baseline with the same architecture. This establishes that assembling the network from the known parse is dispensable for high performance in the relations setting. The comparison changes the language encoder and visual computation together. It is evidence about viability with sequential input, with a narrower basis for attributing any difference in success to the tree alone.

Varying the expert dataset size addresses a different dependency. With the interaction budget fixed, even the 8000-example collection supports useful behavior, while peak performance requires considerably more examples. Goal examples supply the positive anchors from which the discriminator generalizes. The agent’s plentiful replay experience provides negatives and potential counterexamples to its judgments. The data-size comparison shows what happens when one of those sources is varied while the opportunity to generate the other is held broadly comparable.

The appendix also reports a comparison of replay collection procedures. Letting all workers add pairs to the discriminator’s replay buffer gave the same performance as using only the worker assigned to train the discriminator. This checks whether the particular distribution of work across training processes mattered in their setup. The authors separately report that clipping discriminator weight norms was important to training. The paper gives the clipping rule but supplies no numerical comparison from which to estimate its effect.

#### What the generalization tests isolate

The unseen-instruction split and the changed-physics test remove different things that the trained agent might have relied on. The first withholds complete instruction strings while preserving the grammar and the kinds of scenes to which its words refer. Equal reported performance across the train and test instruction sets shows that training on each whole string is unnecessary under that split. Repeated words, reused relations, and possible equivalences between different strings remain available. The result is therefore compatible with several ways of exploiting the shared structure.

The immovable-square intervention keeps the instruction meanings and changes what the agent can do with a specific object. The immediate loss of success shows that the policy had depended on options removed by that change. The recovery after further training is possible with the reward component frozen, which gives direct evidence for its continued utility in the new dynamics. The remaining gap to the original success rate leaves the quality of that reward and the difficulty of discovering alternative actions unresolved.

Finally, the arrangement split shows where end-to-end performance breaks down as the scene becomes more demanding. The simpler and harder episodes differ in the number of blocks and in whether the instruction names a color. They also differ in the opportunities for interference from irrelevant blocks. The success gap measures the combined consequences of those changes. It cannot by itself assign failure to a single visual, linguistic, or control mechanism.

### Limitations

#### Limits the authors identify

The authors describe GridLU as far removed from the richer scenes and language an instruction-following agent might encounter outside this setting. The commands are generated from a formal grammar and tied to a small collection of visible entities and relations. The sequential encoder shows that a supplied module tree is optional on this task. The paper presents natural-language use as a direction for further work. Its results concern the instruction strings used in these experiments.

The authors also limit their treatment to goals that can be evaluated from a state. A picture of the final board can answer whether the target shape was produced. It cannot reveal the order in which the blocks were moved, what interactions the agent avoided, or which states it passed through on the way. Commands that specify such constraints would require supervision and a reward representation that can account for histories. The paper leaves extensions to full trajectories and demonstrations for future work.

The fully visible grid avoids a problem the authors expect in first-person environments. A successful outcome might look very different in a human-provided example than it does from the acting agent’s viewpoint. Parts of the agent’s own body could also appear in its observations and create visual differences that carry no information about goal success. The discussion identifies viewpoint and body visibility as invariances a richer system would have to learn and suggests third-person imitation as a possible direction.

The authors treat the sparse-reward explanation as an area for further investigation. The relations experiment shows that a learned reward can work well even where a true checker is available. It leaves open when learning such a reward is a dependable response to sparsity. The paper also makes the anticipated negative rate a task-specific hyper-parameter. The filter relies on the discriminator’s own estimates, and setting it too aggressively can remove some of the most useful negatives. Its working value in GridLU is an experimental result for the stated setup.

#### Limits visible in the experimental design

The arrangements experiment removes the reward checker from training and uses a programmed generator for the expert data. Those are genuinely different components. A generator only has to produce examples it knows how to construct, whereas a checker has to judge whatever the agent produces. Even so, the generator already embodies choices about which forms and transformations are acceptable. A collection of human-annotated images might include more variation or disagreement. The paper proposes such collection as a practical possibility, while the reported test uses labels created by a controlled process. This leaves the cost and coverage of collecting representative expert data in a less structured setting unresolved.

The scale of the valid state space is also different from the scale of the generalization test. A large number of correct goal states can come from many placements, orientations, and color assignments of a small vocabulary of forms. Training and evaluation in GridLU-Arrangements share the episode distribution described by the authors. The result shows that the learner can use sampled examples to produce valid arrangements in that setting. It does not give a measured success rate for unseen forms, transformations outside the generator, or boards with different inventories.

There are related limits to what the relations split establishes. Holding out full instructions is stronger than withholding starting boards for commands already experienced in training. The grammar can still yield different strings with the same meaning, and familiar descriptions recur in new combinations. The paper reports a split by instructions instead of a split that explicitly withholds semantic equivalence classes or entire kinds of relationships. The equal performance therefore indicates generalization over the split used, without measuring how the agents would handle an unfamiliar word or relation.

The evaluations also differ in what they can say about the discriminator. GridLU-Relations has a checker that permits direct measurement of the reward predictor’s judgments on encountered states. GridLU-Arrangements relies on human inspection of the selected policy’s final scenes. The latter measures whether the whole system achieves its goal. Since it does not separately test reward decisions on the hard layouts, the 24% success rate with eight blocks cannot tell a reader how frequently the discriminator misread a scene or how often the policy understood the target through reward but failed to clear an obstruction.

Selecting the arrangements policy by learned reward creates a meaningful distinction between the selection criterion and the final metric. A checkpoint can earn high predicted reward without producing the most human-approved outcomes. Independent manual evaluation protects the reported success rate from being defined by the same predictor used for training. The procedure leaves open how strongly internal reward correlates with human judgment across the other checkpoints and seeds. The data-size measurements in relations have a separate qualification. They report peak success during training, which answers how well a run can do over its training course, with less information about how long it sustains that behavior.

The movement change demonstrates reuse under a carefully chosen shift. The observation format and the meaning of the relevant commands carry over, while the physical options involving red squares change. The recovery requires further policy training in that modified world. A shift that altered how goal states looked, introduced new words, or changed the success criterion would also test whether the discriminator’s judgment remained applicable. The measured recovery to 69.3% applies to the stated change in block mobility and falls short of the 98% reached under the original rules.

### What came after

#### Grounded instructions and embodied agents

BabyAI treats the sample efficiency of grounded language learning as a problem to study through a dedicated platform. That emphasis connects to AGILE’s distinction between examples supplied by an expert and experience gathered by the agent. The AGILE data-efficiency experiment varies the amount of expert goal data while keeping the interaction budget fixed. BabyAI’s stated focus places the cost of learning from available samples at the center of the investigation. The connection is in the question being studied, with a narrower claim about whether the same reward construction carries over. [BabyAI](https://md.research.elamur.ai/free/en/papers/chevalier-boisvert-2018-babyai-platform-study-sample-efficiency/).

The survey of reinforcement learning informed by natural language places the work in a broader class of problems where language informs an agent’s learning. AGILE gives a concrete example of one role language can play. It conditions the evaluation of the state that results from an action, as well as the policy choosing the action. This lets the instruction affect both what the agent tries to do and how its success is judged. A survey connects that use of language to a wider research area than the specific block-world implementation. [A Survey of Reinforcement Learning Informed by Natural Language](https://md.research.elamur.ai/free/en/papers/luketina-2019-survey-reinforcement-learning-informed-natural/).

The work on distilling internet-scale vision and language into embodied agents takes up another version of the question of what knowledge can be supplied separately from action learning. AGILE’s expert goal scenes supply language-conditioned visual evidence that the policy can use indirectly through reward. The distillation paper’s stated subject is transferring knowledge from large-scale vision-and-language systems to agents that act. The connection is that knowledge about language and scenes can be obtained through a source other than the agent’s own interaction. The later work’s title identifies distillation as that route without establishing that it uses AGILE’s discriminator or its replay-labeling procedure. [Distilling Internet-Scale Vision-Language Models into Embodied Agents](https://md.research.elamur.ai/free/en/papers/sumers-2023-distilling-internet-scale-vision-language/).

#### Learned judgments as supervision

The research direction on scalable agent alignment via reward modeling puts learned reward at the center of a broader alignment problem. AGILE isolates a reason to learn a reward even for a small world. Defining acceptable outcomes may be easier through examples than through an exhaustive instruction interpreter. An alignment research agenda takes the use of learned evaluative judgments beyond the particular case of spatial instructions. The intellectual connection is the role of a learned reward in steering a separately trained agent. [Scalable Agent Alignment via Reward Modeling](https://md.research.elamur.ai/free/en/papers/leike-2018-scalable-agent-alignment-reward-modeling/).

The work on instruction following with human feedback studies an output whose quality is judged in language rather than by the arrangement of blocks. Its stated aim is to train systems that follow instructions using feedback from humans. That connects to AGILE’s distinction between evidence of a satisfactory outcome and the process that produces it. The titles also identify different forms of supervision. AGILE studies instruction–scene examples as positive labels, while the later instruction-following work centers human feedback. [Training Language Models to Follow Instructions with Human Feedback](https://md.research.elamur.ai/free/en/papers/ouyang-2022-training-language-models-follow-instructions/).

RRHF makes the ranking of responses the stated mechanism for alignment with human feedback. Ranking has a more limited role inside AGILE. It decides which self-generated states to set aside when choosing negative examples, and the policy is then trained with a thresholded reward. The later work puts ranked responses themselves at the center of the alignment task. That is a concrete relationship between the uses of ordered judgments, with different objects being ranked and different purposes for the ranking. [RRHF](https://md.research.elamur.ai/free/en/papers/yuan-2023-rrhf-rank-responses-align-language/).

The broader study of foundation systems cites AGILE in a discussion whose stated scope spans opportunities and risks. The block-world result bears on a specific issue within that wider scope. A learned judge makes an objective easier to specify through examples, but its mistakes can affect the agent that optimizes against it. AGILE’s use of an independent checker in relations and manual judgment in arrangements gives that issue an observable form. Training-time approval and success under an external criterion are distinct measurements, even when both are intended to capture the same instruction. [On the Opportunities and Risks of Foundation Models](https://md.research.elamur.ai/free/en/papers/bommasani-2021-opportunities-risks-foundation-models/).

## Cite

Cite as Dzmitry Bahdanau, Felix Hill, Jan Leike, Edward Hughes, Arian Hosseini, Pushmeet Kohli and Edward Grefenstette. 2018. Learning to Understand Goal Specifications by Modelling Reward. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.1806.01946](https://doi.org/10.48550/arxiv.1806.01946) · [arXiv 1806.01946](https://arxiv.org/abs/1806.01946)

```bibtex
@misc{bahdanau2018learning,
  title = {{Learning to Understand Goal Specifications by Modelling Reward}},
  author = {Dzmitry Bahdanau, Felix Hill, Jan Leike, Edward Hughes, Arian Hosseini, Pushmeet Kohli and Edward Grefenstette},
  year = {2018},
  doi = {10.48550/arxiv.1806.01946},
  eprint = {1806.01946},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1806.01946}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
