How agents see things: On visual representations in an emergent language game
Paper · 2018 · Diane Bouchacourt and Marco Baroni
Summary
When agents learn to pick out a picture by exchanging a symbol, what have they learned about the thing in the picture? Diane Bouchacourt and Marco Baroni investigate that question by looking inside the agents as they learn a visual signaling game. A Sender sees a target and a distractor and sends a symbol. A Receiver sees the candidates in shuffled order and tries to find the target. In one version, the agents see identical pictures. In the other, they see different pictures of the same respective kinds of objects. That second arrangement gives the agents a reason to communicate about what different pictures have in common.
The authors compare how the Sender, the Receiver and the system that supplies their visual input judge the similarity of the same set of pictures. In successful runs of the same-image game, the agreement between the agents reaches a representational similarity score of 0.98, while each agent’s agreement with the input is 0.33. The visual relationships the agents learn are highly consistent with each other, yet pictures from the same ImageNet category tend to lose their closeness in the learned space. Giving the agents different pictures produces a less pronounced version of that result. It also improves the retention of similarity within broad classes, such as furniture, even as the learned representation separates instances of the same, narrower category.
The strongest test replaces pictures with random noise vectors. Agents trained with identical pictures achieve an average reward of 95% on this test, and agents trained with different pictures achieve 87%, against a chance level of 50%. When the authors keep a pair of noise vectors fixed and swap which one is the target, the Sender’s most probable symbol changes for more than 99% of pairs in both game settings. The agents can therefore use their signal to convey which member of a pair to choose even when the pair depicts nothing, and the Sender’s choice is sensitive to how the pair is presented.
The distinction is between a signal that helps a partner settle a particular choice and one that consistently denotes a kind of thing. The game measures the former directly. The visual comparisons and the noise tests investigate the latter from different directions, and lead the authors to an account based on shared, task-specific comparisons. The result gives research on vision and language a concrete reason to examine the representations underneath a successful exchange, alongside its reward and the symbols it produces.
Deep dive: How agents see things: On visual representations in an emergent language game
How a visual signaling game teaches agents to agree on what they see, and why their success with random noise matters for word meaning. · about 35 minutes to read
The problem and its context
What a win tells us about a symbol
A visual referential game asks agents to coordinate on something they can see. The Sender knows which picture the round is about, and the Receiver has to identify it from a small set of candidates. A symbol links the agents’ decisions. At the end of a round the experimenter can tell whether the Receiver chose the right picture. The harder question is what visual judgment the symbol conveyed. An observer looking at a picture of a beaver can describe it in terms of the animal it depicts. An agent receives information from which that description might be recoverable, alongside information that could support many other ways of distinguishing the picture.
The distinction matters because a word for an object normally invites a degree of generalization. Calling something a beaver suggests a connection to other beavers, including ones that look different or appear in another setting. Success at picking a beaver from a pair has a narrower requirement. The Receiver needs a way to choose the correct candidate in the presence of the particular alternative it sees. For the purposes of reward, any distinction the agents can share that resolves the choice is sufficient. Whether the distinction survives a change of picture, a change of alternative, or a move to a very different input is a separate empirical matter.
The visual content makes this an interesting problem. A game played with arbitrary states can establish that a pair of agents has learned a signaling convention. Photographs also let the researcher ask whether the convention follows distinctions that a person could recognize in the world. A task designer can supply both a picture and the category it represents, vary the picture while keeping the category, and then inspect what the agents carry across the change. This gives a concrete meaning to the question of whether a discrete symbol is grounded in a visual concept.
Much of that question concerns the relation between individual instances. If pictures of the same kind of object occupy nearby positions in an agent’s representation, there is at least a basis for treating them alike. The geometry can also be organized by a broader category. Pictures of different kinds of mammals might share some properties even when pictures within a particular kind are distinguishable from one another. Both patterns are relevant to meaning, because apparent success with a category can come from recognizing a particular instance, responding to a more general feature, or acting on whatever makes the target different from its current competitor.
From signaling conventions to photographs
As the authors describe it, visual language-emergence research had revived an older interest in how communication develops through interaction. Earlier simulations investigated the emergence and evolution of language. More recent research put agents in games involving pictures of real objects and scenes. Such work asked whether interaction could supply the pressure needed for meaningful symbols to develop. Bouchacourt and Baroni take the referential games designed by Lazaridou and colleagues as a starting point because the task is simple and the visual inputs still support questions about natural concepts.
The paper situates the game within the signaling tradition associated with Lewis. One party has information the other needs and can send a signal that affects a decision. The agents benefit from coordinating. The paper also points to game-theoretic work on conditions under which successful communication emerges. A result about convergence under those conditions concerns the establishment of a convention. With photographs, the basis of the convention becomes a further question. The experimenter can ask which properties of the input support it and whether those properties correspond to the objects people would say the pictures show.
Lazaridou and colleagues first let the two agents see the same pictures. The marked target was available to the Sender through its position. The Receiver got the message and a randomly ordered pair. An analysis of symbol usage gave inconclusive evidence about whether the vocabulary referred to natural concepts. A symbol that appeared frequently with a particular kind of target was a candidate for such an interpretation, but this approach left open what the agent was attending to when it emitted the symbol.
Their different-image version was motivated by that ambiguity. Each side saw its own picture of the target concept and its own picture of the competing concept. A Sender tasked with signaling a beaver might see a different beaver from the one the Receiver had to select. This removes a direct route to success based on both players having access to the same visual instance. It makes a category-level interpretation more plausible, and the earlier study reported preliminary evidence in its favor. It leaves a question about whether different exemplars share enough other structure for a pair of agents to coordinate on a less general distinction.
The paper also draws on earlier work on what visual networks represent. The input to the agents comes from a late layer of a convolutional network trained to categorize ImageNet pictures. Here a convolutional network is the system that transforms an image into a sequence of numerical features. Research the authors cite treats late layers as carrying information related to object categories. That gives the study a comparison point. Since the game draws competing images from different concepts, a plausible strategy would be to carry useful parts of that category structure forward through learning. Visualizing and Understanding Convolutional Networks
Looking at what each player sees
Bouchacourt and Baroni shift the emphasis from the vocabulary to the way the players organize their visual inputs. A symbol is an observable outcome of the Sender’s decision. Before making it, the Sender transforms the visual features it receives into its own representation. The Receiver makes a separate transformation before matching its candidates to the symbol. These transformations can tell us something about what distinctions each agent retains or exaggerates, even when the symbol itself is difficult to gloss.
Consider what would happen if the Sender and Receiver both kept the broad visual distinctions they inherited. They could develop compatible ways of interpreting a signal while also retaining the arrangement in which pictures of the same kind are close. A different possibility is that they become much more alike by learning a shared reorganization of the input. The experiment can separate those outcomes by comparing the agents with each other and comparing each agent with the input. Those comparisons address different questions. Mutual agreement concerns the possibility of coordination, while agreement with the input concerns the survival of a particular visual structure.
The authors also ask whether a loss of fidelity to the input could itself reflect a change towards categories. Within a game, pairs always contain different concepts. To win, the agents can afford to discard features that distinguish one instance of a concept from another. If they became more categorical in this way, the general pattern of visual relationships could change while pictures of the same concept moved closer together. This is why the paper pairs a global analysis of visual similarity with focused measurements on known categories. The global comparison can show that a transformation took place. The category comparisons can show whether a particular explanation for the transformation fits what happened.
The study therefore treats interpretability as a problem of gathering several kinds of evidence about the same behavior. A reward says how often the two agents make a successful joint decision. A similarity measurement says something about which pictures occupy comparable positions in their respective representations. A change to the test inputs can expose ways of choosing that a photograph alone might conceal. Taken together, these measurements allow a more specific question than whether the agents “have a language.” They ask whether a learnable way of coordinating on visual targets gives rise to meanings with the stability expected of object words.
The method, step by step
Turning photographs into inputs
The games use ImageNet photographs drawn from the concept inventory used by Lazaridou and colleagues. A concept is the category under which a picture is sampled. The authors randomly sample 100 images from each of 463 concepts for the original image pool. The labels allow the experimenter to construct a round whose candidates come from different categories. In the different-image version they also allow the experimenter to substitute a new instance of the same category for either picture. What gets passed to an agent is a visual feature vector, the numerical description produced by a network that has already been trained on image categorization.
This network is VGG. A photograph passes through its successive transformations, and the game takes the output from the second-to-last fully connected layer. This output is 4096-D, meaning that each picture is represented by a vector with that many components. The layer sits late in the visual processing pipeline, so the game begins with features that already reflect training on an object-categorization problem. The authors also report very similar patterns when using the top 1000-D softmax layer. A softmax layer expresses its output as a distribution. The main experiments use the preceding layer’s features. Very Deep Convolutional Networks for Large-Scale Image Recognition
It is useful to distinguish VGG’s representation from the representations the agents learn. VGG supplies the input space. A position in that space is determined by the visual network’s output for a particular photograph. The agents receive these positions and project them into their own spaces. A pair of pictures that look similar according to the input features can consequently end up at different degrees of separation for the Sender and the Receiver. That is the change the analysis is designed to capture.
Input vectors are divided by their norm during training. The norm is the length of the vector. Dividing by it rescales the vector while keeping its direction. This detail also matters to the later noise experiment. The authors normalize each noise vector in the same way, so changing the overall scale of the noise would give the agents the same kind of normalized input. The comparison concerns the nature of the features supplied, with the same treatment of vector length.
Assigning the target and presenting the pair
Each round starts with a target and a distractor from different concepts. The target is the item on which the players must coordinate. The distractor is the other possible answer. The Sender sees the target on the left, so it knows its role from position. The Receiver gets the options in random order. This means that the Sender’s left position identifies an item for the Sender but cannot simply serve as its answer to the Receiver. The Receiver has to interpret the signal with respect to the candidates it actually sees.
In the same-image game, the Receiver’s pictures are copies of the Sender’s pictures, possibly in the opposite order. A strategy can therefore exploit any usable difference between the feature vectors, provided the agents learn a compatible way of handling it. If one candidate has a visual property the Sender can signal and the Receiver can recognize, it can be used to solve the round. The design allows this even when the property is specific to the photographs involved.
In the different-image game, correspondence is established by category. For each concept in a round, the Sender and Receiver see different images. The target for one side still corresponds to the target for the other. Likewise, the distractors correspond by category. The change tests whether a usable signal can be produced without the two parties seeing the same instance. It also makes the definition of the correct choice explicit for the experimenter. The Receiver is correct when it selects its image belonging to the Sender’s designated target concept.
How the agents learn from a round
The steps in order.
The step involving the Receiver’s candidates operates within either version of the game. With identical pictures, shuffling acts on the copies of the original pair. With different pictures, it acts on the Receiver’s own examples of the two concepts. In both cases the signal is the only item produced by the Sender for the Receiver. The choosing agent must combine it with what is visible on its side.
How the agents produce and interpret a symbol
Both agents are feed-forward networks. A computation proceeds from the inputs through a series of transformations to an output. The Sender is the “informed” variant from the earlier study. It maps the visual vectors for its candidates into its own representation, compares them there and produces an output distribution over the vocabulary. The vocabulary is a set of available discrete symbols. The paper reports its main results for 100 symbols and describes similar patterns across sizes from 2 to 1, 000.
A probability distribution assigns each possible symbol a probability of being sent in the round. The Sender draws from that distribution, so the selected symbol is a sample. The probability assigned to a symbol and the symbol that actually gets transmitted are therefore distinct. The former describes the Sender’s preference, while the latter is the action that the Receiver can respond to. This is especially relevant when reading the final symbol-swapping experiment, which inspects the highest-probability choice directly.
The Receiver gets the sampled symbol as a one-hot vector. This is a representation with entries indexed by vocabulary item and a single active entry identifying the symbol sent. The Receiver embeds that vector and the visual candidate vectors into its own space. To embed something is to assign it a numerical representation suited to the comparison the agent has to make. Placing the message and images in the Receiver’s space lets it compare the message with each image. The comparison yields probabilities for choosing the available candidates, and the Receiver samples a choice from them.
From the outside, the procedure reduces a visual decision to a request and a response. From the inside, it involves a different job for each agent. The Sender has information about which candidate has been designated and must generate an action through a limited vocabulary. The Receiver uses the message to decide how to treat the candidates in front of it. The Sender can learn to distinguish pairs in a way that makes a symbol informative, while the Receiver can learn to read the same distinctions through a symbol-to-image comparison. Each agent has its own visual projection, which is why agreement between their learned structures is a result to measure.
Learning through a shared reward
A correct choice earns a reward of 1 for each player. The agents train jointly, updating their parameters with REINFORCE. In this use of machine learning, the feedback comes from the outcome of a sampled action. The Sender samples a symbol and the Receiver samples a choice. When the result is successful, the shared reward helps shape the probabilities with which they act in later rounds. The learning procedure can thus favor ways of producing and interpreting signals that tend to lead to the correct picture.
The ImageNet categories determine how games are assembled. The reward depends on selecting the correct candidate. The agents are free to assign vocabulary entries to distinctions that solve that task, because the experimenter supplies no target vocabulary entry for an object. In the different-image game, the category match enters through which visual examples count as corresponding to one another. Its effect on the learned convention comes through the choices rewarded under that arrangement.
The authors construct 50, 000 training mini-batches with 32 image pairs per mini-batch and use 1, 024 pairs for validation. A mini-batch is a group of examples processed together. Validation provides a set of rounds on which the experimenter can measure how well a training run is working. The authors repeat experiments with 100 random initialization seeds. A seed determines the starting random choices used for a run, so repeated seeds reveal how much the outcome depends on the starting point. The paper follows the earlier implementation and directs readers to Lazaridou and colleagues for detailed training settings.
For test evaluation, the authors sample 10 held-out images per concept where they can assemble the examples. For 2 concepts they report insufficient additional pictures. The resulting held-out collection contains 4, 610 images. The same collection supplies test games and the items for an analysis of visual structure. These are distinct uses of the held-out data. Gameplay repeatedly presents candidate pairs and scores choices. The representation analysis takes the collection as a whole and compares relationships among its members.
Mean validation reward is the average reward across validation games. The authors use it to classify training runs as successful or failing for the representation comparisons.
MVR ≥ 80%
MVR denotes mean validation reward. The sign ≥ means greater than or equal to, so the run clears the authors’ criterion if its mean reward is at least 80%. The percent sign indicates that the threshold is expressed as a percentage. This criterion concerns validation, while the reward percentages later reported for the transfer tests come from test games with a validation-selected seed.
Measuring agreement between visual representations
The authors use representational similarity analysis, or RSA, to compare what the visual spaces preserve. The method comes from computational neuroscience. Its starting point is that two systems can represent the same picture with vectors of different lengths or with coordinates that have different meanings. Directly comparing corresponding entries in those vectors would fail to provide a meaningful measurement in such a case. The relationships each system assigns to pairs of pictures offer a common object of comparison.
Suppose the same photographs are mapped into the Sender’s space and the Receiver’s space. For any picture pair, each space yields a similarity score. Carrying this out for the held-out collection gives a sequence of similarities in each space, with the same image pair occupying the same position in each sequence. A pair that receives a high similarity on one side can then be checked for a comparably high position on the other. This keeps the comparison tied to identifiable pictures even though the spaces can have different dimensionalities.
The similarity measure within a space is cosine similarity. It evaluates how closely the directions of two vectors point together. If the vectors have similar directions, their cosine similarity is high. If their directions differ, the score is lower. Cosine similarity is calculated separately for each pair in each space. The authors write the length of each resulting similarity sequence as follows.
N(N − 1)
N is the number of pictures whose representations are being compared. The 1 accounts for leaving the current picture out of the list of its partners. The minus sign subtracts that self-comparison from the partner count. Multiplication by N counts the partners for each picture in turn. Under this ordering, a pair appears in each direction, with image identity keeping the entries aligned across the spaces.
After gathering the similarities, the authors compare their ranks using Spearman correlation. A rank describes where a similarity falls in the ordering of all the similarities in that space. The correlation asks whether pairs that rank high in one space tend also to rank high in the other, and likewise for pairs that rank low. Using ranks lets the comparison focus on the ordering even when the absolute spread of similarities differs between spaces. The paper’s computation can be written as follows.
ρ = Spearman(s₁, s₂)
Here ρ is the RSA score. Spearman denotes the rank correlation operation. The parentheses enclose the two sequences supplied to that operation, and the comma separates them. The symbol s₁ denotes the sequence of cosine similarities obtained from the first representation space. The symbol s₂ denotes the sequence for exactly the same pairs in the second space. Subscripts ₁ and ₂ identify the spaces chosen for that comparison.
The paper applies the computation to the Sender and Receiver, to the Sender and input, and to the Receiver and input. It labels these scores ρ S/R, ρ S/I and ρ R/I, respectively. The letter S stands for Sender, R for Receiver and I for input. The slash in each label separates the spaces in the comparison. A large ρ S/R means that image pairs tend to occupy similar places in the two agents’ similarity rankings. The corresponding measurements with I show whether that shared ordering also resembles the ordering inherited from VGG.
RSA summarizes relationships over the chosen image set. It can detect agreement across many pictures while leaving open what drives that agreement. The paper therefore uses several additional measurements. It groups pairs by whether their pictures belong to the same concept or a broader class, and compares their average similarity. It also examines examples of individual pairs whose similarity changed markedly. Finally, it changes the testing conditions to probe whether the convention works with alternative visual inputs and whether the Sender chooses its signal relative to the pair.
Experiments and results
What changes during learning
For the progression of learning, the paper plots the same-image run whose seed was selected by validation performance. The plot covers the first 10, 000 training games and shows both mean validation reward and the similarity scores. The curve traces a particular training run, giving a view of when the visual comparisons change. The paper separately reports averages for groups of runs defined by the validation criterion, so those averages have a broader base than the plotted curve.
Agreement is already present at initialization. The authors point to the similarity of the agents’ architectures and initialization procedures as reasons to expect some initial agreement between them. They also invoke earlier findings about the visual features untrained networks can capture to explain initial correlations with the input. This matters when reading the curves. The evidence for adaptation comes from the direction and extent of change during training, given that the starting relationships already have some structure.
Early in the plotted run, the Sender becomes more aligned with the input for a time. The Receiver’s trajectory differs. As learning proceeds and the agents establish communication, agreement between their own spaces becomes much stronger. The curves comparing each agent with the input settle at lower levels than the curve comparing the agents with each other. The figure caption says the values remain stable through the rest of training. This progression shows the emergence of a shared geometry while placing the inherited visual geometry in a separate comparison.
In the same-image game, 96 seeds meet the success criterion. Averaged across them at the end of training, the Sender–Receiver RSA score is 0.98. The Sender–input and Receiver–input scores are each 0.33. For the 4 failing seeds, average end-of-training Sender–Receiver agreement is 0.39. Agreement with the input is 0.58 for the Sender and 0.42 for the Receiver. The groups differ in both their mutual agreement and their relation to the starting visual structure. In this setting, stronger coordination is associated with a much closer match between the players.
The different-image game yields 19 successful seeds and 81 failing seeds under the same validation criterion. The successful group’s average end-of-training RSA score is 0.90 between the agents, 0.40 between Sender and input, and 0.37 between Receiver and input. The failing group has corresponding scores of 0.74, 0.36 and 0.34. Mutual agreement again distinguishes the groups, although the failed runs are more mutually aligned than failed runs in the same-image game. The relationships with the input also differ across the two settings. In the different-image game, the successful group has slightly higher input agreement for each agent than the failing group.
Visual similarity agreement on held-out ImageNet pictures after successful training
In both games the agents agree more closely with each other than with their visual input.
The numbers
| System or setting | RSA score |
|---|---|
| Same-image Sender–input | 0.33 |
| Same-image Receiver–input | 0.33 |
| Same-image Sender–Receiver (this paper) | 0.98 |
| Different-image Sender–input | 0.40 |
| Different-image Receiver–input | 0.37 |
| Different-image Sender–Receiver | 0.90 |
Here a higher score means stronger agreement for the spaces named on that row. Whether higher agreement is desirable in a substantive sense depends on which spaces are being compared. High agreement between agents can accompany successful coordination. High agreement with the input would indicate preservation of the ranking supplied by VGG. The pattern across the rows is what answers the authors’ question about the difference between those outcomes.
Test reward with familiar and unfamiliar inputs
The behavioral experiments compare agents trained in each game on several test conditions. One uses shared pictures, another gives the agents different pictures for the same concepts, and the last replaces pictures with normalized noise vectors. The reported measure is percentage average reward. Since a correct target choice earns the payoff and there are two candidates, the chance level is 50%.
For each training condition, the paper takes the best cross-validated seed for the test runs. It averages the results over 10 test runs, each consisting of 1, 000 games in mini-batches of 32 image pairs. These numbers describe the repeated test evaluation of a selected run. In contrast to the representation averages that group seeds by success, this evaluation asks how well an agent pair that was selected by validation transfers between conditions.
In the same-image test, agents trained on shared pictures receive a percentage average reward of 100. Agents trained on different pictures reach 98 on the same test. In both cases the two agents have access to matching visual instances at test time. A convention learned with different pictures thus also works when both sides are given the same picture, where the visual input associated with a candidate can be matched across players.
In the different-image test, agents trained on shared pictures score 72, while agents trained on different pictures score 83. The harder test presents independently chosen pictures of the target and distractor concepts to the agents. The result for same-image training shows that candidate matching can generalize across pictures to some degree even when training used identical instances. The result for different-image training shows the benefit of learning under the conditions used in this test. The selected pairs in both settings achieve better performance on the shared-picture test than on the different-picture test.
Average reward on the held-out different-image ImageNet test
Training with different pictures improves target selection when the agents see different examples at test time.
The numbers
| System or setting | average reward % |
|---|---|
| Same-image training | 72 |
| Different-image training (this paper) | 83 |
For the noise test, the authors draw the candidates from a standard normal distribution and normalize each vector by its norm. The resulting vectors are supplied where the agents would ordinarily get visual features. The agents continue to choose between candidates through the same symbol channel. The paper illustrates the kind of noise inputs the same-image agents can successfully communicate about. These inputs have no depicted object to recognize.
Agents trained in the same-image game reach 95 on the noise test, and those trained in the different-image game reach 87, again measured as percentage average reward. Both results are well above the chance level. The comparison shows that even the training setup intended to encourage concept-level reference produces a convention that can be used when the candidates lack that content. For the selected run from different-image training, the reported noise reward is also higher than its reward on the different-image photograph test.
Average reward on the random-noise test by training setting
Agents trained in either visual game use their learned signals to choose between noise vectors.
The numbers
| System or setting | average reward % |
|---|---|
| Same-image training (this paper) | 95 |
| Different-image training | 87 |
The cross-game tests and the noise test vary different aspects of the problem. Moving from shared to differing pictures preserves the category structure but changes the visual correspondences available to the players. Moving to noise removes the object content. In either case, a successful round still demands that the Receiver use the message to make the appropriate choice. This is why the noise result bears on the strategy behind the interaction. The visual content of training had left the agents with a convention that remains usable even when the test can be solved completely through distinctions among arbitrary vectors.
How the Sender responds when the target changes
The authors also examine the Sender on its own, using 1, 000 pairs of noise vectors. Each pair is presented with one member designated as the target and then with the other member designated as the target. The two inputs thus stay the same as a pair, while the target and distractor roles change. For each presentation, the authors record which symbol has the highest probability. Using the seed that performed best in cross-validation, they calculate the mean comparison result over 10 randomized runs.
In both game versions, the highest-probability symbol changes on more than 99% of the pairs. The outcome concerns the peak of the Sender’s distribution, instead of the sampled symbol or the Receiver’s reward. Recording the peak prevents random draws from being mistaken for a change in the agent’s preferred signal. It therefore gives direct evidence that switching which vector must be picked usually changes the message the Sender is most inclined to send.
The authors interpret this result as evidence for a relative comparison of inputs. This fits the task the Sender faces. It communicates a distinction that the Receiver can use to pick the designated member of the current pair. The result gains its force from the noise setting, where the inputs have no natural concept that could account for the symbol switch. The inference concerns a way of solving this test and becomes more informative when considered alongside the learned geometry and the preservation of category relationships.
What the ablations show
Testing whether the game makes perception more categorical
The paper uses controlled comparisons of games, inputs and target roles, together with analyses of the agents’ representations. Its most direct test of category preservation comes from a hypothesis about why the learned spaces might diverge from the input space. If a game only requires choosing between concepts, it gives the agents little reason to retain differences within a concept. An agent could respond to that pressure by treating pictures of the same object type as more alike. The paper connects this possibility with categorical perception, in which instances are treated more similarly by virtue of belonging to the same category.
Under this hypothesis, a change in overall RSA would be compatible with a useful change for conceptual communication. The agents might disregard differences between individual pictures while retaining the distinctions that separate object categories. Such a transformation would disturb the global ordering inherited from VGG, especially among pairs of visually varied pictures belonging to the same concept. At the level of those categories, however, the change should bring their members closer. Measuring same-concept similarity tests that prediction.
The paper reports z-normalized similarities, which express values relative to the typical level and spread of similarity in the relevant space. This gives the within-category calculation a reference within each space. It asks, in effect, how similar a category’s members are relative to the other picture relationships that the space contains. This is a different calculation from ranking all pairs for RSA. It makes a particular subset of pairs the object of comparison.
Across successful same-image seeds, the mean z-normalized similarity of same-concept pairs is 1.94 in input space and 0.57 in Sender space. Similarity within broader classes such as mammals or furniture also falls. The mean z-normalized score there is 0.61 in the input and 0.30 for the Sender. The Sender’s learned structure thus weakens each of the tested forms of grouping by category. This gives the authors a reason to interpret its departure from the input as a loss of the measured categorical structure.
When agents see different pictures, the same-concept decline is smaller. The mean normalized similarity is 1.94 in the input and 1.07 in Sender space. The comparison across broader classes goes the other way in this setting, from 0.61 in the input to 0.75 in Sender space. Different images thus make a measurable difference in which category relationships remain strong. The narrow concept comparison still shows a loss relative to the input, while the broad class comparison leaves room for some category structure to be strengthened.
That difference matters for interpreting the change between games. Presenting different exemplars does alter the demands of a successful turn. An agent that sees the same physical image as its partner can rely on instance-specific information. An agent that sees a different image has to communicate a distinction that its partner can reproduce from another example. The experiment finds that this pressure changes aspects of the representation, with a particularly different pattern for broader classes. The same pressure is insufficient to preserve the advantage in similarity between two pictures of one specific concept that the input already supplies.
What individual pairs add to the averages
The paper looks at image pairs with large changes in similarity to illustrate what the aggregate measurements count. For one pair of avocado images, the cosine similarity in the input space is 0.82. The Sender assigns the pictures a similarity of −0.27, and the Receiver assigns −0.59. The input considers the images close in direction, in keeping with their resemblance to a human observer. The agents instead treat them as a pair with negative similarity. Both shifts run in the same direction, even though their magnitudes differ.
The other example contains a cabin in a field and a telephone. The input similarity is 0.02, a low value consistent with the difference in what the pictures show. The Sender similarity reaches 0.94, and the Receiver similarity is 0.95. This pair illustrates how a strong agreement between the players can coexist with a large change in what is judged similar. In the learned spaces, it is the near match between the two players’ judgments that stands out, regardless of the human names for the depicted objects.
These examples show why an individual instance of high inter-agent agreement has limited semantic content on its own. Agreement identifies common structure. Its implications for conceptual meaning depend on which pictures are placed together. An image pair can receive a similar score from both agents because training has reshaped the comparison in compatible ways, including when the resulting comparison cuts across the categories supplied with the pictures. The quantitative category results establish the wider pattern, while the examples show particular relationships that would otherwise be hidden in their averages.
Removing the pictured objects
The noise substitution is a more direct intervention on the input. The photographic features have structure related to visual categories because of how VGG was trained. A standard normal draw supplies a numerical vector without an object attached to it. The agents still receive vectors that can be compared, and normalization preserves the convention used at training time for vector length. The experiment removes the depicted objects while preserving the opportunity to solve the immediate choice problem.
If communication depended on identifying familiar object types, this would deprive the agents of the input they needed for that strategy. Their high reward in both training settings shows that their learned signaling behavior supports a different route to success. They can find and share distinctions between inputs irrespective of what those inputs depict. This constrains the explanation of their success with photographs. A strategy based on object identity may be a natural way for an observer to describe the photographic task, but accounting for the agents’ performance requires a way for the strategy to operate when there is no identity of that kind.
The training comparison gives the noise test added significance. The same-image game makes arbitrary shared distinctions easy to imagine because the feature vectors match across players. The different-image training deliberately removes that exact correspondence. After such training, an agent pair still performs well with noise. That is evidence that encouraging correspondence across examples, within this choice setup, leaves substantial room for a convention based on more general comparisons between candidates. The fact that broad class structure is better preserved in one of the photograph analyses can coexist with that result.
Reassigning the roles within a fixed pair
The target-swapping test addresses a narrower part of the explanation. When the authors compare the Sender’s favorite symbol across presentations, the identity of the underlying pair is held fixed. What changes is the assignment of target and distractor. A message that described the pair as an unordered whole could remain the same. The observed change in the preferred message shows that its choice is usually sensitive to the assignment of roles.
This test also helps separate a comparison between inputs from a vocabulary organized around recurring, named categories. The noise vectors have no such categories, and the Sender can still generate different, systematic preferences according to which vector is to be selected. The paper reads this as evidence that the signal expresses something about the target relative to the available alternative. This fits the architecture, which compares visual embeddings before generating the distribution over symbols, and the reward, which requires the Receiver to choose correctly in the presence of that alternative.
A further distinction is involved in interpreting the controlled change. Swapping roles changes which vector is the target. In principle, a rule mapping each target individually to a symbol could also produce a different preferred signal after that change. To isolate how the current distractor affects a particular target’s signal, one would need to keep the target fixed while changing the distractor. The reported experiment gives evidence about what happens when the choice within a fixed pair is reversed. Its support for a relative account comes from reading that result together with the pairwise architecture, the visual similarity results and the noise performance.
Alignment and success across runs
Comparing successful and failed training runs shows which changes accompany workable communication. In both games, the agents in successful runs tend to have higher mutual RSA than their counterparts in failed runs. In the same-image game, the successful runs also move farther from the input structure. This comparison tests the authors’ original expectation that the two agents would move toward each other and preserve the structure supplied by VGG. Only the first part holds consistently.
The comparison across settings gives that conclusion more precision. Failed runs in the different-image game have a substantial degree of agreement between the agents in spite of their inadequate validation reward. The successful runs move beyond that level. This suggests that global visual agreement and a reliable convention for using symbols are related properties with different measurements. The former concerns the whole collection of visual items and their pairwise relationships. The latter requires the agents to use their shared representations in specific decisions.
The supplementary checks involving the vocabulary and the visual feature layer give the paper some coverage across implementation choices. The authors report that the pattern persists over the vocabulary sizes they tried, and that using the top softmax layer gives very similar results. These checks address whether the findings appeared only with the main reported symbol inventory or layer. The paper does not give separate numerical breakdowns of those checks, so the category and transfer analyses carry the detailed evidence about how the particular settings compare.
Limitations
Limits identified by the authors
The authors’ conclusion concerns the kind of agreement that these referential games create. They describe the learned comparisons as low-level and relational, and emphasize the difficulty of saying what properties the agents are exploiting. The experiments identify a strategy that can work without recognizable objects and show changes in visual geometry that run counter to stronger category grouping. They leave the particular features used in a successful round unresolved. Low-level in this context is an interpretation of what the tests make possible, rather than an inventory of perceptual properties discovered in the agents.
The paper also puts its findings in dialogue with the idea of a conceptual pact in psycholinguistics. The point of comparison is that communicating parties can settle on a shared way of referring during their interaction. The agents in the games align their visual representations and establish a vocabulary convention, but their alignment increasingly departs from aspects of the visual structure associated with human categories. The analogy concerns the process of coming to an agreement. The extent of overlap between such artificial conventions and human ways of construing objects remains an open issue in the discussion.
The authors propose encouraging greater fidelity to perceptual input as a direction for future work. They also call for games with stronger reasons for agents to develop human-like ways of communicating. These are proposals motivated by the results. In the experiments, the agents are rewarded for making the right referential choice under the specified conditions. Improving the nature of the meaning learned by changing what the agents must accomplish is a question beyond those training runs.
Limits of the game and the measurements
A careful reading starts with the nature of the decision. Every round offers a target and a distractor. The symbol has to resolve that choice, and the Receiver gets to inspect the alternatives. This allows a signal to be useful even when it would give a listener little basis for identifying an object outside that context. The experiment does not require a symbol to keep the same meaning when the other picture changes, to name a picture in isolation, or to support distinctions within a single concept. As a consequence, the behavior measured is success at a constrained kind of reference.
The different-image game is a stronger test of invariance than the same-image game. It requires the players to transfer a decision across visual instances of the relevant concepts. Its strength is also specific. Both sides still face a contrast between the same concept categories, and the reward can be obtained through any properties of the exemplars that permit corresponding comparisons. The experiment is consequently informative about what that substitution encourages and about the alternative strategies it leaves available.
RSA addresses a different limitation. It provides a way to compare spaces with distinct coordinates, but its score compresses the results for an entire image collection. The score describes the agreement of their similarity ranks. It does not specify which features cause the agreement, or whether a given feature is required when choosing a message. A divergence from the VGG input indicates that relationships have changed. The categorical comparisons are needed to assess whether the changes encourage particular kinds of grouping, and the controlled input tests are needed to connect the representational observations back to the game.
There is also a limit to treating VGG agreement as a measure of human conceptual organization. The input representation comes from a network trained to categorize images, which makes it a relevant visual comparison. The paper’s concept and class groupings give another way to assess relationships. Those measurements, alongside examples with intuitively similar or dissimilar pictures, give a concrete account of what aspects of category structure are lost or retained. A complete account of human judgments of visual meaning would require evidence beyond correspondence with this input and these groupings.
The noise result establishes that conceptual content is unnecessary for the successful noise rounds. A broader claim that the agents can represent no conceptual information would need a more comprehensive probe of their internal spaces. A relationship useful for some natural images could coexist with a general comparison process that handles noise. The different-image result for broad classes illustrates why this distinction matters. Some category structure remains visible even in a study whose strongest behavioral result shows that successful reference can proceed without any depicted category.
Similarly, the target reversal test gives precise evidence about the Sender’s preferred signal under an exchange of roles. It leaves open how frequently a signal remains stable when the target is held constant across different contexts. Stability in that setting would be a different measurement and could bear more directly on whether a signal names its target independently of a particular alternative. The paper’s evidence about relativity rests on several observations that point toward a comparative strategy, with the reversal experiment supplying one part of that account.
Finally, the strongest behavioral percentages come from runs chosen using validation performance. That protocol answers how well a selected agent pair can perform in each test condition. It leaves the test-reward distribution across initialization seeds unknown. The success counts make the distinction important. In particular, different-image training clears the threshold for a smaller group of seeds, even though the selected run performs well across test conditions. The paper supports conclusions about the strategies that successfully trained agents can develop and about how frequently runs clear its stated validation criterion. The transfer measurements characterize the selected cases.
What came after
Later citations place the study alongside questions about how artificial agents communicate, how researchers compare representations, and what artificial neural networks can tell us about acquisition. The citing relationship is clear for the works below. Their titles identify the questions they address, while the particular role of Bouchacourt and Baroni’s results in each argument remains unspecified.
The closest continuation in subject is the study of word-order biases in emergent communication between deep agents. Bouchacourt and Baroni’s game makes the choice of an individual symbol its main communicative action. The later work’s focus on order concerns another property of an emergent exchange, the arrangement of its words. The connection brings the distinction between accomplishing a task and explaining a feature of the resulting communication to a different level of analysis. Word-order Biases in Deep-agent Emergent Communication
A second citation comes from research on comparisons of sentence encoder representations. The common question is how relations within a representation can be studied when the objects being encoded are given different numerical descriptions. Here the inputs are pictures, and the paper compares the similarity rankings induced by the two players and by their visual input. The later work’s stated domain is sentence encoding. Its citation connects the visual game to a broader setting for representation comparison, with the method and findings of that work beyond what the citation itself establishes. Higher-order Comparisons of Sentence Encoder Representations
The acquisition paper concerns what artificial neural networks can establish about human language learning. The visual game offers a specific case relevant to that question. A learning setup can induce a behavior that is easy to describe in human linguistic terms, such as using a symbol to refer to a picture, while closer measurements reveal the task-specific basis of the behavior. The citation places the study within that broader question about evidence from artificial learners. What Artificial Neural Networks Can Tell Us About Human Language Acquisition
Cite
Cite as Diane Bouchacourt and Marco Baroni. 2018. How agents see things: On visual representations in an emergent language game. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing.
@inproceedings{bouchacourt2018how,
title = {{How agents see things: On visual representations in an emergent language game}},
author = {Diane Bouchacourt and Marco Baroni},
booktitle = {Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing},
year = {2018},
doi = {10.18653/v1/d18-1119},
url = {https://doi.org/10.18653/v1/d18-1119}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bouchacourt-2018-how-agents-see-things-visual/