TL;DR
Dyad is a new architecture that gives Large Language Models (LLMs) a "System 1" brain—a dedicated, parallel decision-making head for interacting with environments. By separating reasoning from action selection, Dyad allows agents to handle dynamic, unseen action spaces more efficiently than standard autoregressive models while actually improving their general reasoning and coding capabilities.
What Problem Does This Paper Address?
Modern LLM agents usually act by generating text (e.g., "I will click the 'Buy' button"). This is essentially Kahneman’s System 2: slow, deliberate, and token-by-token. While powerful, this approach "overloads" the language interface. It forces the model to predict vocabulary tokens rather than choosing directly from the available actions in an environment.
Existing "System 1" models (fast, direct decision-makers) exist, but they are often distinct from LLMs or limited to fixed, predefined action spaces. In the real world, an agent might encounter a new web page with a unique set of buttons every second. The challenge is: how do we integrate native, parallel decision-making into a reasoning LLM so it can generalize to these dynamic, unseen environments?
Methods
The authors introduce Dyad, which factorizes the agent's policy into two independent but compatible representations:
- State Representation ($q_t$): The pretrained LLM backbone processes the interaction history to create a vector representing the current "state" of the task.
- Action Representation ($z_a$): A separate, smaller Action Encoder embeds the descriptions of all currently available actions (e.g., "click," "scroll") in parallel.
When the LLM generates a special "interaction token," Dyad scores the state vector against all action vectors using a simple dot product. This yields a probability distribution directly over the actions.
Key Innovation: Because action representations ($z_a$) only depend on the environment and action semantics—not the evolving history—they can be precomputed and cached. This makes decision-making extremely efficient even as the number of possible actions grows.
The training happens in two stages:
- Alignment: A lightweight phase where the action encoder is taught to "speak the same language" as the LLM's internal state using synthetic data.
- Agentic RL: The model is fine-tuned using Reinforcement Learning (GRPO or GiGPO) based on environment rewards.
Datasets
The models were trained and evaluated across a diverse suite of benchmarks:
- Training Environments: DIVE (diverse tool-use tasks) and CodeGym (interactive coding).
- Evaluation (Generalization): ALFWorld (household tasks), WebShop (e-commerce), $\tau^2$-bench (conversational service agents), and SWE-bench Verified (software engineering).
- General Capability: MMLU-Pro, HMMT (math), and LiveCodeBench (coding) were used to ensure the models didn't lose their "intelligence" during RL.
- Decision-Making: JevBench was used to compare Dyad against dedicated decision models.
Key Insights and Ideas
- Factorization Reduces Interference: In standard RL, teaching an LLM to act often degrades its general knowledge (catastrophic forgetting). Because Dyad uses a dedicated head for actions, it reduces this interference. Surprisingly, Dyad agents often showed gains in general reasoning and coding after being trained to act.
- Modular Adaptation: You can freeze the main LLM and only train the action encoder. This allows you to adapt a massive model to a new environment without touching its billions of parameters, achieving consistent performance gains.
- Concise Reasoning: As training progresses, Dyad agents naturally learn to produce shorter reasoning traces and interact more frequently with the environment. This shift toward "acting more, talking less" is highly effective for complex, multi-step tasks.
Key Results
- Superior Performance: Dyad outperformed standard RL baselines (like GRPO) in 41 out of 48 cross-environment comparisons. On ALFWorld, it achieved a 3.80% average absolute gain with a 9B model.
- Capability Retention: Unlike standard RL, which often sees scores drop on benchmarks like MMLU-Pro, Dyad variants consistently maintained or improved their scores (see Figure 3).
- Speed and Accuracy: On JevBench, Dyad reached 86.18% accuracy, outperforming the dedicated decision model Jev (85.01%) while being significantly faster (0.31s latency vs 0.67s).
Limitations and Future Work
- Input Formatting: The model performs significantly better when actions are described in a structured format (like MCP-style) rather than pure natural language. This suggests the action encoder is sensitive to how "tools" are defined.
- Alignment Necessity: The initial alignment phase is critical. Without it, RL struggles to bridge the gap between the LLM's state and the encoder's action representations.
- Future Directions: The authors suggest exploring even more complex, open-ended action spaces (like the full open web) and investigating how this architecture scales to frontier-class models.
Summary updated