Translating Neuralese
Paper · 2017 · Jacob Andreas, Anca Dragan and Dan Klein
Summary
Two cars approach an intersection. Each needs to cross, and neither can see the other. If the cars learn to exchange messages, they might coordinate by reporting their positions or by announcing when the intersection is free. Watching them cross safely gives little indication of which strategy they learned. The messages themselves are lists of numbers produced inside a neural network. Translating Neuralese asks whether an observer can recover what those numbers convey by finding ordinary phrases that mean much the same thing.
The authors use the shared game to connect the two ways of communicating. They collect examples of learned agents playing with each other and examples of human communication about the same kinds of situations. A message is informative when it changes what a listener can infer about the speaker’s situation. The translator estimates that change for a numerical message and for candidate phrases, taking into account what the listener can already see. It then chooses the phrase that leads to the closest distribution of beliefs. This makes translation possible without examples in which a person has already supplied the meaning of a particular numerical message.
The paper tests the method in games about colors, photographs of birds, and driving through an intersection. In the color game, a simulated human listener identified the target with accuracy of 0.86 when given belief-matched translations of learned messages, compared with 0.72 for a baseline that matched messages by their occurrence in the same situations. Belief matching also gave the strongest state-identification results among the translation methods in the bird and driving games, in both directions. In the mixed driving evaluation, the method raised average reward to 1.54, compared with 1.49 for direct translation, while both methods had a completion rate of 0.67.
The paper also explains why preserving information can help preserve behavior. In a simplified game, a listener that chooses actions by weighing their expected rewards has a bound on how much reward it can lose when translation changes its beliefs. The experiments probe this connection using state guesses and driving outcomes. Their scope is a fixed inventory of messages, with a simulated listener for the state guesses based on translated phrases and replayed human trajectories for the driving interaction. Within that scope, the translations help recover what an agent’s message says about its situation and support some of the coordination for which the message was learned.
Deep dive: Translating Neuralese
Translating Neuralese explains what learned agents tell each other by finding human phrases that convey similar information about their surroundings. · about 36 minutes to read
The problem and its context
Learning to coordinate creates something new to explain
When players share a goal but see different parts of a situation, communication can turn a private observation into something a partner can act on. In the paper’s driving game, one car can know where it is along its own route while its partner has no direct view of that position. The cars receive a common reward, so each has a reason to act on information that helps the pair get through the intersection. The communication problem is to discover what information is worth transmitting and how to make it usable by the other player.
Deep communicating policies let agents discover both parts together. A policy specifies what an agent does and what it sends, given the information it has. The policies discussed in the paper provide the agents with a differentiable communication channel. During training, a signal from the task objective can pass through the computations that produce and consume messages. A sender can therefore learn message patterns that help its partner, while the partner learns to exploit those patterns. Earlier studies described by the authors had used this approach for reference games, logic puzzles, and simple control problems.
Successful training gives the two agents a shared convention. An observer still has to work out what that convention expresses. The values in a transmitted vector do not arrive with names for positions, objects, intentions, or events. Even a clear relationship between a vector and the agents’ success leaves several possibilities open. A car might send its complete coordinates, report a region of the road, or mark a transition that matters to its partner. Those strategies convey different information and can all support safe crossing.
This is an interpretability problem about a particular interface inside a larger system. The object of study is the signal that passes from one participant to another. A description of that signal can reveal what the sender makes available and what information the receiver has an opportunity to use. Its scope is narrower than an explanation of the entire policy. A message can be intelligible even when the computations that produced it or the later decisions that use it remain hard to describe.
What earlier methods could reveal
The authors describe earlier analyses of learned communication that grouped situations according to the similarity of the messages they produced. A researcher could inspect a cluster and look for a common property, such as the agents occupying a similar part of the environment. This yields a description when the situations have a recognizable pattern. The choice of what the cluster means still depends on the person inspecting it, especially when several properties tend to occur together.
A more closely related approach assigned natural-language interpretations using supervised labels for clusters. The paper describes that work as focused on referring expressions, where communication identifies an object. The authors of Translating Neuralese want a procedure that can also address other sorts of interaction and can start from observations that have no preassigned discrete labels. An intersection provides a different test of that aim from a pair of visible objects. A relevant message can concern a private position in a changing situation, and its usefulness can depend on where the other car is.
The paper also discusses work on decentralized decision-making that specified the messaging protocol ahead of time. An engineered protocol can give an observer an immediate account of what a signal is intended to mean. It also makes the designer responsible for the structure of the communication scheme, which the authors say adds complexity to training and inference. Learned communication changes where the interpretive work occurs. The agents acquire a protocol through gameplay, and the researcher later asks what distinctions the resulting messages make.
Other interpretability research examined neural systems through their internal activity or the effects of changing parts of a computation. The paper places its proposal alongside visualization work such as Visualizing and Understanding Convolutional Networks and techniques for explaining individual predictions. It also cites research that generated natural-language explanations. Here the language output is attached to a signal that already has a recipient. The immediate question is what a phrase would tell a listener if it stood in for that signal.
The missing evidence for ordinary translation
A conventional machine translation setup can learn from examples that pair an expression with a translation. In the games studied here, each group plays using its own communication system. A human description and a numerical message can be observed in comparable situations, but there is no bilingual speaker to say that the description translates the vector.
Pairing messages by situation is an appealing approximation. If both players describe the same bird, each might mention its color. The common situation makes that correspondence possible. It also permits many other pairings. A person may mention the bird’s size while the agent signals a color distinction. The messages can both help identify the bird in that particular comparison even though they suggest different things about it. A dictionary learned solely from those co-occurrences has reason to favor the phrase humans commonly use there, whether or not it expresses the same distinction.
Related work on reference games, including ReferItGame and Reasoning about Pragmatics with Neural Listeners and Speakers, gives the authors a setting in which language, visible alternatives, and a choice can be studied together. Translating Neuralese uses that setting to pose a translation question. If both types of message allow a listener to draw similar conclusions across situations, the shared environment can supply evidence of equivalence. That evidence comes from how each message narrows the possibilities, rather than from an annotation that says the messages are a pair.
The authors distinguish two things an interpretation can preserve. One is what the listener infers about the speaker’s situation. The other is how the listener acts. The distinction matters because a single action can be appropriate for several different reasons. A car can wait in response to a report of its partner’s position, a warning about the intersection, or a direct request to stop. All can produce the same immediate movement. Only the details of what each message implies about the partner’s situation can support an explanation of the strategy.
The method, step by step
The observations, messages, and actions
The general setup has cooperating players who repeatedly observe, communicate, and act. The letter labels below identify the players, and the superscript in parentheses identifies the turn. The timing keeps the message produced on a turn distinct from the incoming message used on that turn.
At turn t: (xₐ⁽ᵗ⁾, zᵦ⁽ᵗ⁻¹⁾) → (uₐ⁽ᵗ⁾, zₐ⁽ᵗ⁾)
Here t is the current turn, and t⁻¹ inside the superscript notation denotes the preceding turn when written as ⁽ᵗ⁻¹⁾. Player a receives its own observation xₐ⁽ᵗ⁾ and the previous message zᵦ⁽ᵗ⁻¹⁾ from player b. Its outputs are an action uₐ⁽ᵗ⁾ and a new message zₐ⁽ᵗ⁾. The arrow is the input-to-output relation. The other player follows the same pattern with the roles exchanged. In the game, the players’ actions change the environment, which supplies their next observations and a shared reward.
The paper characterizes a policy in terms of how a speaker produces messages and how a listener responds. For clarity, the probability notation below suppresses the turn. In the recurrent implementation, the agent also carries memory forward and receives its partner’s message. The probability notation gives the translation argument a way to talk about the relationship between the information available to a player and the signals that player produces.
π = { p(z | x), p(u | x, z) }
The symbol π names the policy, and the braces collect its two specified distributions. The first p gives the probability or likelihood of message z given speaker observation x. The second p is a distribution over the action u given the acting player’s observation and a message received from its partner. The vertical bar means that the quantities to its right are taken as given. Within a pair using the same policy, the same rules apply when the players exchange roles. The observed situations, messages, and actions can still differ.
The paper distinguishes the learned policy, written πᵣ, from the human policy, written πₕ. The letters r and h identify the learned and human sides. The translation problem is to relate messages those policies generate in the same game. Each policy contributes a way to score a message in a situation. The learned policy supplies scores for numerical signals, and human examples support a separate estimate for phrases.
What a phrase should preserve
The authors give an example involving a square, a hexagon, and a circle. One vocabulary names each shape separately. The other groups the shapes using a distinction between few and many sides. A speaker knows the target and sends a message to a partner who has to operate the lever for the target’s size. The available words and the available actions divide up the shapes in different ways.
Consider the message that names a hexagon. The expression for many sides preserves more of the information about the shape. A listener who hears it still has some uncertainty because the expression also applies to another shape in the example. The expression for few sides leads to the correct lever choice under the example’s decision rule. It does so by suggesting the wrong shape. A translation selected on the basis of the lever alone would therefore give the person reading it a misleading account of the speaker’s information.
A semantic representation describes how a message changes the plausible states of the speaker. A pragmatic representation, in the particular contrast drawn by the paper, describes how it changes the listener’s possible actions. The choice of representation determines what counts as a good match. For someone trying to understand what information the agents exchange, the first comparison is especially valuable. It makes a mistaken inference about the speaker count as a translation error even if the immediate action happens to work.
The method compares whole distributions of belief. Suppose a listener has narrowed its assessment to nearby positions on the basis of its own observation. A received message may then put more weight on particular positions within that set. Another listener who starts from different information can use the same message and end up with a different distribution. An interpretation that generalizes across contexts needs to match the effect of the message on these distributions, including where the listener already knows enough to rule out otherwise plausible possibilities.
Estimating what a listener could infer
Start with a single message and a single listener observation. First identify what the listener would consider plausible about the speaker before receiving the message. Then ask how likely the speaker would be to send the observed message in each of those plausible situations. Combining the two sources of evidence gives the updated distribution the translator uses. This is Bayesian inference. Here it singles out the information a message supplies over what the listener already knows.
β(z, xᵦ)(xₐ) = p(xₐ | z, xᵦ)
= p(z | xₐ) p(xₐ | xᵦ)
/ Σₓ′ₐ p(z | x′ₐ) p(x′ₐ | xᵦ)
The symbol β denotes the belief distribution for message z and listener observation xᵦ. Writing β(z, xᵦ)(xₐ) asks for the probability it assigns to the particular speaker observation xₐ. The term p(z | xₐ) scores how likely the speaker is to produce z in that observation. The term p(xₐ | xᵦ) is the probability of the speaker observation given the listener’s information before using the message. The sum Σₓ′ₐ ranges over alternative speaker observations, denoted x′ₐ, and its value normalizes the distribution. Multiplication combines the prior weight and the message likelihood for each possibility. The paper also writes the context factor using p(xᵦ | xₐ). In conditional-prior form, as used in its divergence calculation, the weights incorporate how common each speaker observation is in the game. The two context factors are proportional across speaker states when those states have equal prior weight.
The calculation uses a listener’s observation and a speaker’s likelihood function as inputs. The authors use the resulting posterior as a description of the information available to a listener, whether that listener is human or learned. The agent implementation supplies a channel for sending and consuming vectors. The Bayesian calculation is performed by the translator to interpret the channel. In particular, the assumption that the listener can be described through this posterior is distinct from any claim about what the recurrent state explicitly stores.
The same procedure applies to a phrase. The candidate phrase has its own likelihood across possible speaker observations, estimated from human usage. The game supplies the prior for both computations. In a color game, a phrase associated with a particular region of color space will favor targets in that region among the visible alternatives. A numerical message that favors similar targets can receive a good score even if the phrase and vector arise from independently acquired conventions.
Comparing meanings across contexts
A correspondence in a single context can be accidental. If a target bird differs from its distractor in both size and color, a size phrase and a color phrase may lead to nearly the same guess. A different pair can make the features point to different birds. The translation score therefore compares beliefs across contexts and gives more influence to situations in which the messages being compared are plausible.
The local comparison is Kullback–Leibler divergence, commonly called KL divergence. It compares a source belief with a candidate belief by asking how the candidate allocates probability in the places where the source places its weight. A candidate incurs a large cost if it makes a source-supported possibility very unlikely. Identical distributions have zero divergence. The direction matters, since what the source believes determines the weights in the comparison.
Dₖₗ(β ∥ β′) = Σₓₐ p(xₐ | z, xᵦ)
log[p(xₐ | z, xᵦ) / p(xₐ | z′, xᵦ)]
Here β is the distribution for source message z, and β′ is the distribution for candidate message z′, both with the same listener observation xᵦ. The symbol Dₖₗ is KL divergence. The double bar orders the source and candidate distributions. The sum Σₓₐ runs over speaker observations xₐ. The function log takes the logarithm of the ratio of their probabilities under the two distributions, and the source probability outside the logarithm sets the weight. The paper expresses the divergence calculation in terms of the message likelihoods because both beliefs use the same context prior. The prior cancels in the ratio of the unnormalized weights. The normalization of each posterior also matters when forming the exact probability ratio above.
The outer comparison averages this local divergence over the contexts relevant to the messages. The upper-case letters in the expectation represent observations whose values vary from one game situation to another. Using their joint distribution keeps the speaker’s possible observation tied to the information available to the listener.
q(z, z′) = E[Dₖₗ(β(z, Xᵦ) ∥ β(z′, Xᵦ)) | z, z′]
= Σₓₐ,ₓᵦ p(xₐ, xᵦ | z, z′) Dₖₗ(β(z, xᵦ) ∥ β(z′, xᵦ))
The symbol q denotes the overall cost of translating z as z′, with smaller values indicating a better match. The operator E averages the divergence over the contexts, and Xᵦ is the varying listener observation. The vertical bar after the divergence makes the expectation conditional on the two messages. In the second line, Σₓₐ,ₓᵦ sums over the possible speaker and listener observations. The weight p(xₐ, xᵦ | z, z′) is the conditional probability of that pair of observations. Each term compares the two β distributions in the context of the same xᵦ.
p(xₐ, xᵦ | z, z′) ∝ p(xₐ, xᵦ) p(z | xₐ) p(z′ | xₐ)
The symbol ∝ means proportional to. Here p(xₐ, xᵦ) is the game’s joint probability for the observations, and the two p terms to its right are the probabilities of the source and proposed translation given the speaker observation. The product gives more weight to a situation if both messages could plausibly be produced there. Normalization makes the weights sum to a probability distribution for that candidate comparison. This use of co-occurrence differs from selecting the phrase that appears most often alongside an agent’s message. Likelihoods determine where to compare beliefs, and divergence determines how closely the beliefs match there.
This design gives a rare phrase a route to selection. If the phrase captures the same distinction as the vector in the contexts that support their comparison, its belief distribution can be a better match than that of a more often observed phrase. Conversely, two messages can frequently arise in the same states and still differ in what they rule out. Their agreement on likely situations alone does not settle what a listener would infer after hearing either one.
Approximating the score and choosing a translation
The exact computation has two large sums. Within each context, the method would have to consider all possible speaker observations to compare the beliefs. It would then have to repeat the comparison over all relevant contexts. The authors replace both enumerations with samples. They draw paired observations from the game and, for each pair, draw alternative speaker observations that fit the same listener observation. The actual observation and these alternatives supply the possibilities on which to compare beliefs.
How the translator matches a message to a phrase
The steps in order.
Sampling alternatives conditionally is important. In the driving game, the listener’s own situation determines which speaker observations are plausible under the game distribution. Arbitrary alternatives could make a message look informative by assigning it credit for ruling out states the listener would have dismissed anyway. The method draws from the listener-conditioned distribution to bring that prior information into the comparison. In the reference games, comparing the target with alternatives similarly asks what the message adds in a situation where the listener sees the candidates.
The algorithm’s contribution from each sampled observation pair is weighted by how likely both messages are at the sampled speaker observation. This implements the context weighting in the exact expression. The resulting weights are normalized separately for the comparison. The paper’s algorithm can be written as a weighted average of the divergence estimates, with raw weights given by the two speaker likelihoods.
q̂(z, z′) = Σᵢ wᵢ kᵢ, wᵢ = w̃ᵢ / Σⱼ w̃ⱼ, w̃ᵢ = p(z | xₐᵢ) p(z′ | xₐᵢ)
Here q̂ is the sampled estimate of q, with the hat indicating an approximation. The index i identifies a sampled observation pair, and xₐᵢ is its speaker observation. The term kᵢ is the divergence estimate formed from that observation and its sampled alternatives in the listener’s context. The term w̃ᵢ is the raw weight, a product of the speaker likelihoods for z and z′. The normalized weight wᵢ divides it by the sum of raw weights indexed by j. The sum over i combines the resulting weighted terms. In the inner calculation, the paper uses observation samples to represent the context prior and likelihood scores to assess the source and candidate on those samples.
tr(z) = arg min_{z′ ∈ L} q̂(z, z′)
The function tr returns the translation of input z. The set L is the inventory of available messages in the destination communication system, and z′ ∈ L means that the candidate belongs to that inventory. The operator arg min returns the candidate attaining the smallest score q̂. For a numerical input, the inventory contains phrases. In the reverse direction the method searches candidate learned messages. Reversing the direction changes which belief supplies the weights inside the divergence, so the two dictionary lookups need not invert each other.
Where the speaker likelihoods come from
The learned agents use communicating cells in a deep recurrent Q network. A Q value is a score for the return expected from taking a particular action. At each step, a cell receives the current observation, a memory vector carried over from the preceding step, and the partner’s incoming message. It produces action values, updated memory, and an outgoing message. The recurrent cell includes a gated recurrent unit, which helps update the carried state, and multilayer perceptrons, which apply successive learned transformations. The paper relates the gated unit to On the Properties of Neural Machine Translation.
Because the agents’ computations are joined by the message channel, they can be trained together with a recurrent Q-learning objective. The task supplies the reward signal. Human phrases enter during the construction of the translation system, after there is a learned way of communicating to interpret. The learned policy already supplies the message-generation quantities that the translator needs for neuralese. This separates acquiring an effective signaling convention from assigning human-readable descriptions to its messages.
On the human side, the authors estimate how likely it is that a person would produce a phrase in a given observation. They treat phrases as categories and fit a multilayer perceptron to examples of human communication. Its input is an observation and its output is a distribution over the frequent utterances in the inventory. Each candidate can then be scored in the actual and alternative speaker observations used by the translator. A phrase gets its evidence from patterns of use in human data, independent of any particular vector.
Implementing the method therefore requires both speaker likelihoods and a way to obtain observation pairs and conditional alternatives from the game. The observed human and agent messages are connected during the belief comparison. The procedure does not require human speakers to anticipate the numerical protocol or to produce a demonstration for each vector. The authors released the code and data for their study.
What preserving beliefs implies for action
The theory uses a simplified game in which a speaker sends a single message and a listener chooses an action after making its own observation. The reduction makes it possible to separate the effect of translation on beliefs from the rest of a long interaction. The paper defines a rational listener through the action that has the highest expected reward under its belief about the speaker.
U(z, xᵦ) = arg maxᵤ Σₓₐ p(xₐ | xᵦ, z) r(xₐ, xᵦ, u)
The function U is the listener’s decision rule for message z and its observation xᵦ. The operator arg maxᵤ selects the action u that maximizes the displayed sum. The sum runs over possible speaker observations xₐ, each weighted by its posterior probability p(xₐ | xᵦ, z). The function r is the reward for the two observations and the action. The paper takes r to have values in [0, 1], the interval from zero through one. In this definition rationality is relative to a fixed speaker. The listener is required to choose well given the information it receives, even if the shared signaling convention leaves important information uncertain.
For the comparison, a speaker of the learned language can interact either with a listener of that language or with a listener that receives a translated message. Both listeners decide according to the expected-reward rule. The paper gives a bound when the semantic cost of translation is at most D.
E[r(Xₐ, Xᵦ, U(tr(Z), Xᵦ))] ≥ E[r(Xₐ, Xᵦ, U(Z, Xᵦ))] − √(2D)
Here Xₐ and Xᵦ are the varying speaker and listener observations, Z is the source message, tr is the translator, and U is the listener’s decision rule. The function r evaluates the reward, and each E averages it over plays of the game. The left side uses the translated message in the action choice. The first term on the right uses the original message. The inequality sign ≥ gives a lower bound on the translated pair’s expected reward. The term √(2D) is the square root of twice D, where D bounds the semantic divergence q for the translations under consideration.
The argument connects the paper’s choice of meaning representation to cooperative behavior. Rewards averaged under similar beliefs remain close for a given action, since rewards are bounded. An action selected under the translated belief can then be compared with the one selected under the source belief. The theorem bounds the loss under the stated conditions. It gives the translator a reason to compare beliefs even though the search itself contains no term for what action the listener eventually chooses.
The second theoretical result concerns a mixture of human strategies. Suppose human players follow different conventions, and the conventions can be distinguished by which messages they use. For each learned message, suppose the matching human strategy offers a phrase with zero divergence, while phrases from the competing strategies have positive divergence. The minimization will select from the matching strategy. The point is that a strategy can be recoverable even if it is uncommon in the human data. What matters to this result is the exact belief correspondence and the separation from competing phrases. The authors also discuss a local version in which the condition applies given a speaker observation, allowing the interpretation to follow different matching conventions in different contexts.
Experiments and results
Three games with different demands on a message
In the color reference game, both players see a pair of colors, and the speaker knows which one is the target. The listener uses the message to choose the target from the pair. The human language data come from the XKCD color dataset. The paper connects that setting to earlier work on grounded color descriptions, including A Bayesian Model of Grounded Color Semantics. The comparison tests whether language such as a color description and a vector learned through play can convey the same distinction among candidate targets.
The bird game retains the same choice structure but uses photographs. The data are the Caltech Birds dataset and its accompanying natural-language descriptions. Both players see the candidate pictures, and the message identifies one of them. The authors use the standard training, validation, and test splits for the color and bird datasets. The photographs allow a wider range of visible features to matter to the choice. For instance, a description involving overall color can identify a bird in one pair, while a description based on size can select it in another.
In the driving game, each car starts from a randomly assigned position and has a destination. The cars cannot see one another, and both have to navigate without a collision. Communication recurs as they move, so it can carry different information at different stages of the game. To collect human examples, the authors paired Amazon Mechanical Turk workers and recorded what each player did and said. They report close to 400 games and more than 2000 exchanged messages, with 100 game traces held out for testing. These traces support a test of whether individual translated messages identify situations as well as a test of whether they help a learned driver cooperate over time.
What the belief test measures
The belief evaluation presents a listener with a message and two observations. One is the observation from which the speaker produced the message. The listener must identify it. Accuracy measures how frequently it selects that observation. For the reference games, this has the same form as the game objective. In driving, the test isolates the information a message conveys about a situation from the later actions a partner might take.
For natural-language messages translated into neuralese, the learned agent serves as the listener that guesses the state. The opposite direction requires a listener that accepts phrases and can be used repeatedly in automatic evaluation. The authors fit a regression system using the training data to score pairs consisting of a state and a phrase. It represents each phrase as a bag of words, so the state score uses the words it contains without relying on their order.
The authors compare the simulated listener’s choices with human judgments before using it to assess translations. Agreement with real humans is 83% on the color task, 77% on the bird task, and 77% on the driving task. These agreement figures measure how often the proxy and a person made the same judgment. The translation accuracies below measure selection of the speaker’s actual observation. Keeping the measures distinct matters most when comparing human-language results across games, since the listener proxy itself agrees with people at different rates.
Two baselines address different ways a dictionary could appear to work. The random baseline chooses uniformly among messages encountered in training. It tests what happens with a valid destination message chosen without regard to the input. The direct baseline uses candidate messages associated with the same training states. It samples learned speaker messages in situations labeled with a phrase and seeks the destination message most probable given the input message. This supplies a task-specific comparison with a conventional conditional translation objective. Belief matching instead uses message likelihoods to compare how the source and candidate distribute probability over possible observations.
Reference games
For the color reference game, the learned speaker and listener using their shared numerical protocol reach accuracy of 1.00. A human speaker paired with the simulated human listener reaches 0.83 using the natural-language messages. Those two same-language results provide context for what the mixed pairs can achieve. They describe the behavior of each speaker and listener pairing in the guessing task, with no dictionary between them.
Color reference game state-guessing accuracy with a simulated human listener
Belief matching gives the simulated human listener the highest accuracy among the translation methods.
The numbers
| System or setting | Accuracy |
|---|---|
| Random translation | 0.50 |
| Direct translation | 0.72 |
| Belief matching (this paper) | 0.86 |
In the direction shown, a learned speaker sends the message and the simulated human listener makes the guess using the translated phrase. In the reverse direction, from a human speaker to a learned listener, the color accuracies are 0.50 for random translation, 0.70 for direct translation, and 0.73 for belief matching. The same scoring rule is therefore helpful when a natural-language message has to be understood by an agent and when a numerical message has to be rendered as a phrase.
The color result of 0.86 for a learned speaker and simulated human listener is higher than the natural-language pairing’s 0.83. The authors suggest that the learned speaker found a more effective strategy than the human speaker behavior represented in the data and that translation retained some of that advantage. The comparison changes the source of the message while holding the type of listener fixed. It concerns performance in a particular guessing task, where a phrase selected as a translation can help the proxy choose the target as effectively as, or more effectively than, a phrase originally produced by a human.
In the bird game, the same-language learned pair reaches state-guessing accuracy of 0.95. The pairing of a human speaker with a simulated human listener reaches 0.77. For a learned speaker translated into phrases, random translation reaches 0.50 and direct translation reaches 0.57. Belief matching reaches 0.75. In the reverse direction, from a human speaker to a learned listener, the results are 0.50 for random translation, 0.55 for direct translation, and 0.60 for belief matching.
The bird example illustrated in the paper helps explain what these accuracy figures test. The speaker’s target is the bird on the left, and the phrases ranked highly by the translator suggest distinctions involving broad visual attributes, including size and color. A phrase can help identify the target without giving a complete account of the photograph. The evaluation credits that phrase if it leads the listener to the actual target among the alternatives, and the translation criterion gives it a good score if it favors plausible speaker states in a way similar to the original signal. Those objectives are closely related in a reference game.
The driving belief test
The state-guessing task is harder in the driving setup. Even with a shared communication system, the learned pair reaches accuracy of 0.85 and a human speaker with the simulated human listener reaches 0.77. In the driving test, a message can be useful at a point in a trajectory while conveying only a coarse distinction among possible observations. The belief test still asks the listener to identify which observation actually produced it. The same-language scores show the amount of uncertainty that remains even when no cross-language translation is involved.
Driving state-guessing accuracy for human messages translated for a learned listener
Belief matching gives the learned listener the strongest state identification from translated human messages.
The numbers
| System or setting | Accuracy |
|---|---|
| Random translation | 0.50 |
| Direct translation | 0.45 |
| Belief matching (this paper) | 0.61 |
With a learned speaker and simulated human listener, the driving accuracies are 0.5 for random translation, 0.45 for direct translation, and 0.57 for belief matching. The direct scores in both directions are below the reported random results. This is a case where producing a message likely to accompany the source message in the training situations offers little help to the listener’s guess. The comparison supports using the information carried by the message, instead of its typical association with a source signal, as the basis of the dictionary for this task.
The paper illustrates driving translations using messages generated from specified speaker states. This makes the examples interpretable in relation to what the sender could see at the time. The aggregate belief scores give a different view. They show how often a listener can choose the correct state from a pair across the evaluation. The method leads the translation baselines, while the shared-language scores show how much information can be recovered when a listener can receive messages in the communication system it already uses.
Driving with a partner’s recorded messages
The driving behavior evaluation uses a full human game trace as one side of a mixed pair. The human player’s actions and messages are replayed at their recorded points. This player is called deaf in the paper because its replies and movements do not change in response to incoming messages. The learned player receives translations of the recorded phrases and can use them in choosing its own actions. The setup tests how well the agent can accommodate that trajectory using a particular translation method.
There are two behavior measures. The reported reward is the average return under the game’s scoring rule. Completion rate measures the frequency with which the driving task is completed. Looking at both matters because they need not order the methods in the same way. The learned pair using a common numerical language receives average reward of 1.93 and has a completion rate of 0.71. The human pair has completion rate of 0.77, and the paper’s comparison supplies no human-pair reward value.
Average reward in the driving game with a learned agent and a replayed human partner
Belief matching gives the mixed pair the highest average reward among the translation methods.
The numbers
| System or setting | Average reward |
|---|---|
| Random translation | 1.35 |
| Direct translation | 1.49 |
| Belief matching (this paper) | 1.54 |
Mixed-pair completion rates are 0.64 for random translation and 0.67 for both direct translation and belief matching. The reward result distinguishes the latter two methods, while the reported completion rate places them together. A claim about better coordination depends on which outcome is meant. In this setup, belief matching provides a higher average reward and helps the learned player infer speaker states more accurately. The completion result shows the same reported frequency of finishing as direct translation.
These experiments put the method in contact with an outcome the dictionary never directly optimizes. The translation search evaluates beliefs about the speaker’s situation. The learned car then takes actions using the resulting messages, and driving reward is computed from the interaction. The outcome provides empirical evidence that some of the information retained by the translator is actionable. The human replay condition defines whose actions can adapt in response to that information.
What the ablations show
Comparing translation objectives
The paper’s closest equivalent to an ablation is the direct comparison between belief matching, direct conditional translation, and random message selection. These systems share an evaluation task and access to messages drawn from the training material, but they differ in how they choose a destination message. The random comparison shows whether simply choosing an available candidate is sufficient. The direct comparison asks whether learning which messages occur in the same situations is sufficient. The experiments change the translation criterion as a whole, so they establish the value of the implemented criterion relative to those alternatives.
The pattern across the games makes the comparison more informative than any of the individual scores. In the color and bird games, direct translation helps the listener relative to random selection in both directions. Pairing messages through speaker observations therefore captures some usable association in those tasks. Belief matching improves on it in both directions as well. The result is consistent with the distinction the method makes between recognizing a plausible phrase for an observation and preserving what that phrase implies across observations.
In the driving belief evaluation, direct translation yields 0.45 in each direction. Belief matching reaches 0.61 when the recipient is a learned listener and 0.57 when the recipient is the simulated human listener. A dynamic task gives a speaker more possible reasons to send a message in the same physical situation. The result shows that the particular direct matching procedure is weak for this test. The experiment does not identify which reasons explain its errors, or whether the errors arise mostly from coverage of the phrase inventory, the distribution of training situations, or the conditional objective’s preference for frequent associations.
The reported comparisons evaluate the posterior, context weighting, and approximation as parts of a single translator. There is no separate controlled result for changing the number or distribution of distractors, removing the context-dependent weights, or using another divergence. Accordingly, the evidence supports a method-level finding. The tests leave open which implementation choices are responsible for the advantage or how they might trade off against one another.
What changing the listener reveals
The two translation directions are a useful controlled comparison because they reverse which side generates the source message and which side interprets the result. The learned-to-human direction uses the fitted human proxy to judge phrases. The human-to-learned direction tests whether a translated human message works for an agent that uses the numerical protocol. Seeing the same ordering of translation methods in both directions gives evidence that the advantage extends beyond one of those listener types within the study.
The magnitudes of the scores are specific to the direction, however. In the bird game, the belief-matched learned-to-human pairing reaches 0.75, while the reverse pairing reaches 0.60. The reference performance also depends on the original speaker and the listener used to judge it. Changing direction changes the available candidate messages, the input message distribution, and how the recipient makes its choice. The observed difference therefore tells us that the pairings perform differently. It leaves the separate contributions of those factors unresolved.
The human-judgment agreement check probes one of them directly. Agreement figures indicate that the simulated listener has some ability to stand in for a person in the state-choice experiment. They also indicate room for disagreement. This matters when a phrase expresses a distinction that people can resolve through wording or context but the proxy represents through word counts. The paper uses the check to justify automatic testing and reports the resulting accuracies as evaluations with that proxy in the loop.
Information and successful completion
The belief and behavior evaluations in driving separate two possible effects of a translation. One is to make the speaker’s situation easier to identify from alternatives. The other is to help the agent drive in response to a partner’s messages. The state test is sensitive to information that may have little impact on a particular maneuver. The driving test weights information through the action opportunities and rewards encountered during play. The authors’ use of both tests is important because a method can improve one without producing an observable gain in every measure of the other.
Belief matching distinguishes itself in state identification and average driving reward, while completion is shared with direct translation at 0.67. That combination of outcomes is compatible with the method conveying useful information that sometimes improves the agent’s decisions without changing whether it finishes. The measurements do not identify individual decisions whose rewards account for the aggregate result. The paper’s state-conditioned examples help make possible interpretations concrete, but the behavior comparison provides the main evidence for performance during replay.
The mixture argument gives an additional analysis of why the objective might help. A rare expression can win on semantic correspondence when competing expressions yield different beliefs. The paper illustrates how conventions about position or about a color distinction might differ among human speakers. The proposition establishes recoverability under its assumptions. The experiments do not isolate a known minority strategy and measure how reliably the translator recovers it as its frequency changes. The authors’ empirical evidence concerns the dictionary’s overall choice quality, while the theoretical example explains a specific advantage the criterion can have.
Limitations
Limits identified by the authors
The authors describe their translator as categorical. It selects among an unstructured inventory of messages already available to it. This limits both the explanations it can supply and the messages it can formulate for a partner. When a learned signal conveys a distinction absent from the available phrases, every candidate can be inaccurate in some context. The procedure still returns the closest candidate according to its score. The authors identify composition and the synthesis of new messages as directions for extending the work.
Candidate coverage matters even when the inventory contains many descriptive words. A human speaker might know several ways to describe the relevant parts of the environment yet never have used the particular combination of concepts that corresponds to the learned signal. A fixed phrase inventory can offer the individually familiar descriptions while lacking the needed combined one. The authors’ discussion of composition addresses that question. An interpretation that can construct a new expression could represent a learned distinction for which no complete phrase happened to be observed.
The theoretical reward claim applies to an idealized interaction with a single message and a single decision. It assumes a bounded reward determined by the observations and action, and a listener that maximizes its expected reward under the relevant belief. The full driving game has repeated communication, memory, and actions that change future situations. The authors explicitly frame the theorem as intuition for the method and use experiments to investigate behavior where the ideal conditions do not hold. The reward bound says what follows from a small semantic divergence in the simplified setting. It supplies no measured divergence bound for the driving trajectories.
The strategy-recovery result likewise requires a strong correspondence. A human convention must make available a candidate with zero divergence for each learned message of interest, and other strategies must have positive divergence. Disjoint message use makes it possible to associate a recovered phrase with the intended strategy. When a phrase participates in several conventions, or when all available candidates only partly capture the source meaning, the minimum can still be computed. The clean conclusion about recovering one human strategy then depends on whether the proposition’s conditions can be justified.
The authors acknowledge that explicit Bayesian inference is an idealization of both human and learned listeners. They use it to make the semantic comparison precise and invoke earlier work in support of treating listeners in this way. A low divergence therefore describes a match under the estimated speaker likelihoods and the assumed observation distribution. A listener’s actual inferences can differ, which is one reason the authors introduce the separate state-guessing and behavior tests.
Further limits visible in the setup
The belief test checks a choice between two observations. A signal that conveys a coarse feature can score well when the feature distinguishes those observations. The same signal could leave considerable ambiguity among other states that share the feature. Accuracy in the binary task therefore measures identifiable information under its choice of alternatives. A fuller account of meaning across the game would depend on how the translation behaves for other plausible alternatives and listener observations.
The phrase-side listener adds another layer between the translation and the result. Its bag-of-words scoring is useful for running the same state-choice test many times. It represents a restricted way of reading a phrase. The human-agreement results give evidence about how closely its choices track people’s choices on these tasks, while leaving room for different behavior on translated phrases or on examples that depend on word order. The paper supplies evidence about a proxy’s ability to ground translated expressions. It does not establish how an untrained human reader would interpret every phrase the dictionary returns.
The driving replay restricts the interaction in another way. A recorded human player cannot respond to an unexpected movement or message from the learned agent, ask for clarification, or change its plan. Fixing the trace makes comparisons with the same recorded messages possible. It also confines the resulting reward and completion rates to one-sided adaptation. A live mixed pair would introduce feedback in both directions, with each participant’s actions changing what the other sees and says next. That interaction is beyond what the driving replay measures.
The translation criterion also depends on coverage of the environment. Both the prior over paired observations and the conditional distractor distribution affect which candidate meanings can be distinguished. If two features consistently vary together in sampled situations, phrases corresponding to those features may support very similar beliefs. The method gains evidence for telling them apart when the game supplies observations where the features vary independently. Its examples and scores establish correspondences under the distributions used in the study, with generalization to changed environments left open.
Finally, identifying information in a message and locating how the receiving network uses it are separate goals. A translation about a visible attribute can explain why certain speaker observations are plausible after hearing the signal. A successful action supplies evidence that the signal matters for coordination. The particular dimensions of the message vector, the computations that produce them, and the internal decision process of the recipient are outside the direct analysis. The paper’s suggestion that a similar interpretation might apply to encoders and decoders, drawing on Sequence to Sequence Learning with Neural Networks, is presented as an extension of the framework. The empirical tests are the reference and driving games.
What came after
Later citations place Translating Neuralese in research on interpreting trained systems, aligning agents with human goals, and executing instructions in collaborative settings. The topics give different roles to communication. The original paper starts with a contract between learned players that already works in a game and asks what an observer can infer from its messages. An interpretability survey can situate that question among other ways of examining trained systems. Work on alignment is concerned with the relationship between human goals and agent behavior. Work on situated instructions asks how language in a shared setting connects to what a participant does.
Post-hoc Interpretability for Neural NLP: A Survey (2022) cites the paper in a survey of interpretability methods used after training. Translating Neuralese fits that setting because the agents acquire their communication protocol during play, and the interpreter subsequently tries to describe what it conveys. The object being explained is a message exchanged between components of a trained system. Its recipient and the shared environment give a concrete way to test the explanation, through the beliefs that can be formed and the decisions those beliefs can support.
Scalable agent alignment via reward modeling: a research direction (2018) cites the paper in a research direction centered on agent alignment and reward. The connection is the problem of making learned behavior intelligible in relation to human aims. In Translating Neuralese, reward first gives the learned agents an incentive to coordinate, then serves as one way of evaluating whether a translation lets a mixed pair cooperate. The cited relationship places this use of reward and interpretable communication alongside a broader research question about aligning agents. The citation alone does not establish that the later work uses the belief-matching translator.
Executing Instructions in Situated Collaborative Interactions (2019) cites the work in the context of executing instructions during collaboration. The thematic link is the role of a shared situation in determining what a message conveys and how it can guide the recipient. A phrase can specify different choices as the visible alternatives or the partner’s position changes. The original paper makes this dependence part of its translation score by conditioning on the listener’s information. The later citation connects that problem to situated instruction execution, while leaving the extent of any methodological reuse unspecified.
Cite
Cite as Jacob Andreas, Anca Dragan and Dan Klein. 2017. Translating Neuralese. Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
@inproceedings{andreas2017translating,
title = {{Translating Neuralese}},
author = {Jacob Andreas, Anca Dragan and Dan Klein},
booktitle = {Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
year = {2017},
doi = {10.18653/v1/p17-1022},
url = {https://doi.org/10.18653/v1/p17-1022}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/andreas-2017-translating-neuralese/