Dyad: Extending Large Language Models with Native Typed Decision-Making
Yundaichuan Zhan, Weishi Wang, Wenbiao Liu, Daniel Dahlmeier, Chengwei Qin, Juncheng Li, Fredrik D. Johansson, Zhongqi Yue
Abstract
We study how to build more capable general-purpose agents by extending large language models (LLMs) with native typed decision-making. We introduce Dyad, an architecture that augments a pretrained LLM with an environment-conditioned action encoder that embeds each candidate action description in parallel, then scores these embeddings against the LLM's internal state to yield a distribution over typed actions. By factorizing decision-making into representations of the evolving interaction state and environment-specific action semantics, Dyad introduces an inductive bias for learning reusable representations while keeping action scoring efficient even as the action space grows. We investigate two complementary reinforcement learning settings driven by environment interaction. With the LLM frozen, training the action encoder alone achieves consistent gains across four unseen environments, enabling modular adaptation without modifying any LLM parameters. Jointly optimizing both components outperforms conventional RL post-training across diverse interactive tasks and model scales, including a 3.80% average absolute gain on ALFWorld with a 9B model, while improving general knowledge, reasoning, and coding.
Create a lesson
Related papers
Understanding Decision-Making Mechanisms in Neural Routing Solvers
Shared title terminologycs.LGFatemeh Askari, Mazdak Teymourian, Mohammad Izadi et al.
UnlearningSoup: Is Repeated Tuning Necessary for Large Language Model Unlearning?
Shared title terminologycs.LGPuning Yang, Qizhou Wang, Junchi Yu et al.
RL-PaO: Prediction as Action in Decision Making under Uncertainty
Shared title terminologycs.LGJiahui Feng, Dafang Zhao, Zheng Chen et al.
Harnessing Large Language Models to Compile Task-Relevant Context into Bayesian Optimisation
Shared title terminologycs.LGZhongwei Yu, Sourabh Roy, Bin Cao et al.
Replay the Curvature: Accurate and Scalable NVFP4 Quantization for Large Language Model Inference
Shared title terminologycs.LGRuiyi Ding, Jie Li, Kang He et al.
What Makes Recurrence Effective in Looped Language Models?
Shared title terminologycs.LGXinlin Zhuang, Siyuan Wang, Imran Razzak et al.