Curated summary
Learning to communicate
Machine LearningReinforcement LearningOpenaiNeural NetworksMulti Agent SystemsEmergent CommunicationGumbel Softmax
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.
Related reading
Continue with another curated summary.