Edward Grefenstette is Director of Research at Google DeepMind and an Honorary Professor at UCL. He previously led machine learning at Cohere and worked at FAIR and DeepMind after doctoral research at Oxford. His published work spans compositional language semantics, neural reasoning, reinforcement learning, and exploration. — Ed Grefenstette Bio.

Visual summary of operating lessons from Ed Grefenstette.

Part 1: Compositionality and Semantics

  1. On Meaning Spaces: Distributional models represent word meanings as vectors learned from the contexts in which words occur; the paper uses these representations as inputs to sentence-level composition. — MIT Press Semantics Study.
  2. On Syntactic Structure: Grefenstette's thesis investigates how grammatical structure can guide the composition of word-level distributional representations into sentence meanings. — Oxford DPhil Thesis.
  3. On the Limits of Word Vectors: A bag or sum of word vectors discards grammatical relationships. The authors test compositional models designed to encode the role that syntax plays in sentence meaning. — MIT Press Semantics Study.
  4. On Categorical Frameworks: The categorical compositional framework connects grammatical reductions to operations on vector-based word meanings, providing one formal bridge between syntax and distributional semantics. — Oxford DPhil Thesis.
  5. On Compositional Generalization: In a coauthored study, a model learned task-relevant ways to compose words into sentences without being given conventional parse trees; the resulting structures differed from standard syntax. — Learning to Compose Words.
  6. On Tensor Representations: The EMNLP model uses matrices for relational words such as verbs so that they can combine with noun vectors to form sentence representations in the tested tasks. — EMNLP Compositional Semantics.
  7. On Semantic Similarity: The authors evaluated sentence-level compositional representations against human judgments in a paraphrase-detection task, rather than relying on isolated word similarity alone. — MIT Press Semantics Study.
  8. On Logic and Continuity: The paper contrasts discrete grammatical structure with continuous distributional representations and tests a framework that lets the two contribute to sentence meaning. — MIT Press Semantics Study.
  9. On Meaning as Use: In the thesis's distributional account, a word's textual contexts help determine its vector representation of meaning; this is a modeling principle, not a proof of a philosophical equivalence. — Oxford DPhil Thesis.
  10. On Grounded Semantics: A coauthored study finds that many tested language models struggle with conversational implicature, where a listener must use context and background beliefs to infer what a speaker means. — Pragmatic Understanding Study.

Part 2: Large Language Models and Pragmatics

  1. On the Stochastic Parrots Debate: Grefenstette observes that language models can reproduce diverse ways people use language and sustain useful conversation, while questions about intent and genuinely novel concepts remain open. — MLST Interview.
  2. On Next-Token Prediction: In his discussion of pragmatic understanding, Grefenstette distinguishes models trained only to predict the next token from instruction-tuned models, which performed better on the study's implicature task. — MLST Interview.
  3. On Pragmatics in LLMs: The pragmatic-understanding study tests whether models can use conversational context to resolve implied meaning; performance varied sharply across model and tuning choices. — Pragmatic Understanding Study.
  4. On Parse Trees: A coauthored experiment learned neural composition structures for sentence tasks without supplying parse trees; the induced structures were not simply replicas of conventional syntax. — Learning to Compose Words.
  5. On Model Scaling: In the team's implicature evaluation, increasing model size did not consistently improve performance across model families, so parameter count alone was not a reliable solution to this measured pragmatic task. — Goldilocks Study Explanation.
  6. On Commercial Applications: For agent products, Grefenstette argues that builders should first identify the capabilities and downstream use cases they actually want to serve, then define how success will be measured. — Ed's Agent Thread.
  7. On Context Windows: Grefenstette raises an open question: a long model context might do more than resolve distant references if the model can adapt to patterns in the information it has just seen. — MLST Interview.
  8. On Memorization vs. Learning: Grefenstette distinguishes a model's use of patterns distilled during training from the possibility that it adapts to new patterns within context; he presents the boundary as unsettled. — MLST Interview.
  9. On Hallucinations: A persuasive but incorrect factual answer can mislead users. Grefenstette favors retrieval that exposes checkable sources, while warning that retrieval does not eliminate hallucinations. — MLST Interview.

Part 3: Reinforcement Learning and Generalization

  1. On Sample Efficiency: Sparse rewards can make random exploration inefficient; AMIGo addresses this by training an agent on self-generated intrinsic goals. — AMIGo Paper.
  2. On Meta-Learning: Meta-learning can optimize the learning rule itself: this study learns parametric loss functions and reports improved outcomes on its supervised and reinforcement-learning tasks. — Meta-Learned Losses Study.
  3. On Out-of-Distribution Generalization: In RTFM, an agent reads written rules to adapt to held-out environment dynamics, outperforming the tested baselines on that benchmark. — RTFM Paper.
  4. On Reward Design: When external rewards are sparse, AMIGo uses a learned teacher to propose achievable intrinsic goals that guide a student's exploration. — AMIGo Paper.
  5. On Exploration: Rather than rely only on random exploration, AMIGo trains a teacher to generate goals that are difficult but attainable for the student. — AMIGo Paper.
  6. On Transfer Through Instructions: The RTFM agent combines a new environment's written rules, its current goal and its observations to act under previously unseen dynamics. — RTFM Paper.
  7. On Sim-to-Real Transfer: Domain randomization aims to expose an agent to deployment variation during training, but simulated variation can miss larger real-world shifts. — Zero-Shot RL Survey.
  8. On Agentic Behavior: The NetHack Learning Environment tests interactive agents on exploration, planning and generalization in a stochastic, procedurally generated game. — NetHack Learning Environment.
  9. On Tool Use: Ed distinguishes agents from ordinary chat systems by their ability to turn model outputs into actions, including calls to external tools. — Ed’s Agent Thread.
  10. On Memory and Context: In partially observable settings, some surveyed agents use recurrence or infer hidden context from recent observations to adapt during deployment. — Zero-Shot RL Survey.

Part 4: Open-Endedness in AI

  1. On Open-Ended Learning: Open-ended learning continually discovers and solves new problems; the authors caution that novelty alone does not establish general intelligence. — General Intelligence and Exploration.
  2. On Task Generation: AMIGo's teacher proposes harder but still achievable goals as a student improves in the tested environments. — AMIGo Paper.
  3. On Autotelic Goals: In AMIGo, a learned teacher supplies intrinsic goals for a student policy, complementing or substituting for sparse external rewards. — AMIGo Paper.
  4. On Evolution and Adaptability: Ed speculates that evolution and development shape adaptability, while explicitly treating the biological analogy as tentative. — MLST Interview.
  5. On Avoiding Curriculum Stagnation: Prioritized Level Replay samples generated levels by estimated learning potential, creating a changing curriculum and improving generalization in Procgen tests. — Prioritized Level Replay Study.
  6. On Co-Evolving Curricula: A teacher can generate progressively harder yet learnable environments as a student improves, making the curriculum responsive to the learner. — General Intelligence and Exploration.
  7. On Evaluating Open-Ended Agents: Ed asks whether scalable automatic evaluations of changing agent behavior can track human judgments; he identifies this as an unresolved measurement challenge. — Ed’s Agent Thread.
  8. On Language-Model Creativity: Ed notes that models can produce new sentences while questioning whether this amounts to creating genuinely new concepts. — MLST Interview.
  9. On General Intelligence: Ed argues that adapting in a changing world is harder than mastering constrained games and may be important for human-level intelligence, without presenting it as the only route. — MLST Interview.
  10. On Procedural Generation: NetHack's procedurally generated game worlds provide varied tests of agents' exploration, planning and systematic generalization. — NetHack Learning Environment.

Part 5: Neuro-Symbolic Systems and Reasoning

  1. On Neural-Symbolic Methods: Differentiable inductive logic connects rule learning with neural processing of ambiguous inputs; the authors report benefits in their tested tasks. — Explanatory Rules Paper.
  2. On Symbolic Grounding: Traditional logic methods struggle with noisy, non-symbolic inputs; this framework links learned rules to neural representations that can process them. — Explanatory Rules Paper.
  3. On Interpretability: Explicit symbolic programs can be inspected and checked, although increasingly complex learned rules are not necessarily easy to understand. — Explanatory Rules Paper.
  4. On Differentiable Memory: This work introduces differentiable stacks, queues and deques as trainable memory structures for synthetic sequence-transduction tasks; it is distinct from the earlier Neural Turing Machine. — Differentiable Memory Paper.
  5. On Differentiable Programming: Continuous versions of push and pop operations allow neural memory structures to be trained with gradients in the reported transduction experiments. — Differentiable Memory Paper.
  6. On Logical Inference: On a logical-entailment benchmark, tree-structured networks exploited syntax better than the tested LSTM baselines, while PossibleWorldNets improved further. — Logical Entailment Study.
  7. On Knowing Versus Thinking: Ed distinguishes retrieving knowledge distilled from training data from deriving new knowledge through interaction or composition, suggesting hybrid systems as a research direction. — MLST Interview.
  8. On Checkable Retrieval: Retrieval can provide sources that users can inspect, Ed says, but it does not by itself prevent a model from hallucinating. — MLST Interview.
  9. On Algorithmic Generalization: In synthetic transduction tests, differentiable memory models often handled longer input strings than the deep recurrent baselines tested in the paper. — Differentiable Memory Paper.

Part 6: Human-in-the-Loop and Alignment

  1. On Human Preference Optimization: In the studied RLHF pipeline, human preference comparisons train a reward model that guides subsequent language-model fine-tuning. — RLHF Generalisation Study.
  2. On RLHF Trade-offs: Across the paper's summarization and instruction-following tests, RLHF improved out-of-distribution generalization over supervised fine-tuning but reduced sampled-output diversity. — RLHF Generalisation Study.
  3. On Preference Data: Ed cautions that preference models are imperfect proxies for human judgment and that annotator expertise and data quality matter. — MLST Interview.
  4. On Feedback Method Trade-offs: Ed advises testing high-quality supervised examples before moving to RLHF, which can introduce noisy and costly feedback. — MLST Interview.
  5. On Human-in-the-Loop Learning: A proposed virtual-assistant training loop collects real dialogues and expert navigation trajectories, including human takeover when the assistant is uncertain. — General Intelligence and Exploration.
  6. On Model Steering: Ed contrasts prompting a general model for a specific behavior with fine-tuning, which can improve reliability for business-critical uses while sacrificing some generality. — Cohere AMA.

Part 7: Managing AI Research

  1. On Research Environment Trade-offs: Ed contrasts large labs' talent and slower customer feedback with startups' closer user access and more limited compute or engineering scale. — Cohere AMA.
  2. On Collaborative Science: Ed credits specialist research-engineering, infrastructure and foundations teams with enabling large-scale model training and serving. — Cohere AMA.
  3. On Research Openness Across Labs: Ed describes differing publication practices across FAIR, DeepMind and Cohere, with Cohere sharing some methods while keeping other assets private. — Cohere AMA.
  4. On Open Research: Ed argues that keeping techniques secret may have limited value, while acknowledging a company's need to retain some competitive advantage. — Cohere AMA.
  5. On Reproducibility: Ed notes that releasing some code while withholding proprietary models or data can leave research only partly reproducible. — Cohere AMA.
  6. On Commercializing Research: Ed values direct user feedback for exposing model strengths and failures, alongside the compute and engineering needed to serve a product. — Cohere AMA.
  7. On Hardware and Frameworks: Ed describes choosing frameworks pragmatically around available hardware, contrasting JAX on TPUs with PyTorch on GPUs in Cohere's work. — Cohere AMA.

Part 8: Advice for Researchers and the Future

  1. On Problem Selection: Ed points to agent evaluation and data generation as upstream challenges that need more research before reliable improvement loops are possible. — Ed’s Agent Thread.
  2. On Constructive Skepticism: Ed argues that doubts about model scaling are more useful when expressed as testable failure hypotheses, benchmarks or real-user tests. — Cohere AMA.
  3. On Interdisciplinary Paths: Ed describes how his physics, philosophy and programming background led him into computational language research. — MLST Interview.
  4. On Hybrid AI Systems: Ed explores combining language models with search, memory or rapid adaptation to support construction of new knowledge, framing this as a research direction. — MLST Interview.
  5. On Scientific Rigor: Ed favors testable hypotheses and benchmarks but notes their limits for deployed behavior, where user interactions provide another form of evidence. — Cohere AMA.
  6. On the End Goal: Ed describes his aim as building language-capable systems that serve humanity in a symbiotic relationship. — MLST Interview.