Curated summary
Interpretable machine learning through teaching
Machine LearningNeural NetworksMulti Agent SystemsSupervised LearningInterpretable AiMachine Teaching
Teaching AIs to Explain Themselves Through Examples
The post introduces a machine teaching method in which one neural network learns to select examples that help another network understand a concept, and those examples remain interpretable to humans. The authors show that this approach works across several concept types and that human subjects guess concepts more accurately when taught with the selected examples than with random ones. The core idea is that agents trained jointly tend to invent private codes that humans cannot read, whereas a teacher grounded in a separately trained student produces explanations that stay meaningful.
Why Cooperative Communication Matters
- Powerful AI systems will often need to collaborate with humans, which requires a shared language.
- Learning from well-chosen examples is far faster than learning from random ones. For instance, identifying a rectangle is easier when shown its corners than when shown random points inside it.
- The method frames communication as a cooperative game between a student agent, which must guess a concept, and a teacher agent, which must choose examples that convey it.
Two-Stage Teaching Process
- Stage one: The student network receives randomly selected labeled examples and trains with standard supervised learning to predict concept labels.
- Stage two: The teacher, which knows the intended concept and the true labels, tests candidate examples on the student and observes its predictions. Over time it converges on the smallest set of examples that lets the student identify the intended concept.
- Because the teacher works through a student that is already tied to human-defined concepts, the chosen examples remain grounded and interpretable.
The Problem with Joint Training
- When student and teacher are trained together, as in many current communication games, they can develop a private protocol.
- Such protocols can be arbitrary. A "dog" might be encoded by a set of vectors that look like llamas and motorcycles to a person, and a rectangle might be encoded by two dots that appear random but precisely specify its dimensions.
How the Teacher Reasons
- The experiments used images varying in four properties: size (small, medium, large), color (red, blue, green), shape (square or circle), and border (solid or none).
- A concept is a set of required properties, and the teacher selects examples that share only those properties so the student can rule out irrelevant ones.
- For example, to teach "red," the teacher might show a large red square without a border and a small red circle with a border. These share only the color red, so the student infers that red is the concept.
Results
- The method worked across boolean, hierarchical, probabilistic, and rule-based concepts.
- The strategies the teacher discovered often matched those that humans would design.
- Human participants recruited through Mechanical Turk identified the correct concept more often when taught with the teacher's examples than when shown random examples.
Scope and Future Directions
- The work studied teaching only through examples, but the same principles could support interpretable communication between agents more broadly.
Related reading
Continue with another curated summary.
OpenAI2017-03-15 Learning to communicate
Read original
OpenAI2024-06-05 Extracting Concepts from GPT-4
Read original
OpenAI2020-05-04 AI and efficiency
Read original
OpenAI2020-04-29 Jukebox
Read original