techlist.io

Emergent Communication

2 posts

OpenAI2017-03-154 min readCurated summary

Learning to communicate

# Summary of OpenAI's Research on Emergent Language in AI Agents OpenAI researchers trained cooperative AI agents in simple two-dimensional worlds to invent their own language, arguing that machines will understand language more deeply if they learn words in connection with their effects on the world rather than from patterns in large text corpora. The agents developed a grounded and compositional language, in which words tie to things they experience and multiple words combine into sentences to express specific ideas. The team also found that the experimental setup strongly shapes the language that emerges, and that small changes to costs, rewards, and coordinate frames steer agents toward more interpretable results. ## Training Agents to Invent Language - Agents were placed in a 2D world with landmarks and given goals, such as moving to a location or getting another agent to move there. - The setup was cooperative: every agent's reward was the sum of all agents' rewards, which encouraged collaboration. - At each time step, agents chose environment actions (moving, looking) and communication actions (broadcasting a word). - Agents stored received messages in a private recurrent neural network, giving them a memory of the words they heard. - Communication used discrete, word-like symbols sent over a differentiable channel. Agents computed gradients of future reward with respect to their messages, so they could tell one another how to adjust their output. - The team used the Gumbel-Softmax trick to approximate discrete choices with continuous values during training. Training therefore stayed differentiable, and the learned messages converged to discrete, interpretable symbols. - Behavior scaled with task complexity: solitary agents did not communicate, two agents used one-word signals, and three agents combined multiple words into sentences. ## Shaping the Emerging Language - **Morse-code-like utterances:** Agents first packed a single utterance with spaces to encode meaning. A small cost per utterance and a preference for finishing tasks quickly pushed them toward concise communication and a larger vocabulary. - **Sentence-length words:** With large vocabularies, agents sometimes encoded entire sentences, such as "red agent, go to blue landmark," in one word. This approach scales exponentially with sentence length. A reward proportional to how often a word had already been used favored a compact, shared vocabulary, inspired by research on the evolution of syntactic communication. - **Coordinate-based references:** Agents invented words like "top-most" or "left-most" based on a global coordinate system, which would break if the world layout changed. Placing agents in ego-centric coordinate frames removed the shared frame and led them to refer to landmarks by color. ## Non-verbal Communication - The same training method worked when agents could not exchange text and had to act physically in the simulation. - Agents pointed or guided others toward targets, and in extreme cases pushed sightless agents to their goals. ## Grounding and the Limits of Text-Trained Models - Large-scale machine learning has advanced translation, reasoning, and generation by extracting patterns from huge text datasets. The authors argue that this approach gives little evidence of a deep connection between language and the real world. - They compare text-only models to the character in John Searle's Chinese Room, who manipulates symbols without experiencing what they represent. - The research aims to address this grounding problem by tying agents' language to their perception of the environment. ## Next Steps - The team plans to increase environmental complexity and the range of actions agents can take, hoping to produce language with concepts beyond basic nouns and verbs. - As invented languages grow more complex, human interpretation becomes harder. A follow-up project will connect these languages to English by having agents communicate with English-speaking agents, with collaborators at UC Berkeley.

OpenAI2017-03-142 min readCurated summary

Emergence of grounded compositional language in multi-agent populations

Machine learning has advanced natural language processing by capturing statistical patterns in large corpora, but agents that interact intelligently with humans need more than that. This paper asks whether grounded compositional language can emerge among agents in a multi-agent population as a means of achieving goals. The authors propose a learning environment and methods that produce a basic compositional language, and they also observe non-verbal communication when language is unavailable. ### Motivation: Beyond Statistical Pattern Matching - Corpus-based models have succeeded in machine translation, question answering, and sentiment analysis. - Capturing statistical patterns alone is seen as insufficient for agents that must communicate with humans. - The central question is whether language grounded in goal-directed interaction can arise on its own. ### Multi-Agent Learning Environment - The authors build a multi-agent environment where agents must cooperate to reach goals. - They also introduce learning methods that drive the emergence of communication within this environment. ### Properties of the Emergent Language - Agents utter streams of abstract discrete symbols over time. - Although the symbols are abstract, the resulting language has coherent structure. - The language has a defined vocabulary and a syntax, so it is compositional rather than a set of unrelated signals. ### Non-Verbal Communication Without Language - When the language channel is unavailable, agents develop other forms of communication. - The observed behaviors include pointing and guiding, which show that agents use whatever channels they have to coordinate.