arXiv:2610.37926cs.AIOct 2026

Manuscript Offprint

arXiv:2610.37926

GARDEN: Generalist Autonomous Reward Design Through Evidence Navigation for Cooperative Multi-Agent Reinforcement Learning

Dogan Urgun

Dogan Urgun

Abstract—Cooperative multi-agent reinforcement learning (MARL) enables teams of agents, such as robots and autonomous vehicles, to learn coordinated behavior, but what such teams learn is largely determined by their reward function. Because task success alone provides too little guidance for learning, intermediate rewards are usually designed by hand, and this effort must often be repeated whenever the environment or the team changes. Large language models (LLMs) can automate the effort by writing reward functions as code, yet the resulting rewards are typically designed and tested in a single setting. To enable their reuse across settings, GARDEN (Generalist Autonomous Reward Design through Evidence Navigation) is proposed, in which one reward program is developed for a family of related scenarios and transferred, unchanged, to scenarios that were not available during its design. During development, environment code, training records, and agent behavior are investigated by an LLM reward engineer, and draft rewards are tested in trial training runs, while the learning algorithm and the rule for selecting the final reward are held fixed. On unseen scenarios of the Overcooked and SMAX benchmarks, task returns were increased by 58.2% and 52.5% over the default rewards on two kitchen layouts, and the mean win rate in two combat scenarios was raised from 51.0% to 89.9%. Under matched candidate and probe budgets, this exceeded the 84.2% and 79.2% obtained with fixed diagnostic feedback and Eureka-inspired reward reflection. These results show that a single autonomously engineered reward can be reused effectively across related cooperative scenarios.

Index Terms—Cooperative systems, large language models, multi-agent systems, reinforcement learning, transfer learning.

I. INTRODUCTION

MULTI-AGENT reinforcement learning (MARL) is used to train teams of agents that cooperate toward a shared objective [1], with applications such as multi-robot coordination [2] and vehicle platooning [3]. In such systems, the reward function specifies what the team should achieve and, implicitly, how credit for a joint outcome is assigned to individual agents and decisions [4]. When only task completion is rewarded, this assignment is difficult, because a successful outcome may result from a long sequence of interdependent actions by several agents.

This difficulty is commonly addressed by reward shaping, in which intermediate learning signals are added to the task reward [5]. Effective shaping, however, is obtained only through domain expertise and repeated trial and error, and unintended behavior may be induced in a new setting by a reward that was effective in another [6]. For cooperative systems that must operate under varying environments and team compositions, reward design therefore becomes a recurring engineering cost.

Large language models (LLMs) have recently been used to automate reward design by writing reward functions as executable code. Reward code has been generated from environment abstractions and refined with human feedback [7], improved automatically through reflection on training statistics [8], and optimized through agentic search over evaluation records [9]. Two limitations of current approaches motivate this work. First, a generated reward is typically designed and evaluated within a single task or scenario. Whether it remains useful when conditions change, for example under a different spatial layout or team composition, is rarely examined, so each new configuration may require a new search. Second, the evidence used to refine a reward is usually defined in advance by the method designer, typically as summary statistics of training. Coordination failures that are not reflected in these statistics remain undiagnosed, because the underlying behavior and learned policies are not examined.

To address these limitations, GARDEN (Generalist Autonomous Reward Design through Evidence Navigation) is proposed. An overview of the method is given in Fig. 1. One executable reward program is developed for a family of related scenarios from several development scenarios. The choice of evidence, the construction of analyses, and the testing of draft rewards through learning probes are delegated to a tool-using LLM reward engineer, whereas the learning algorithm and the selection rule are fixed. The selected program is then frozen and used, without modification, to train new policies on held-out scenarios that were concealed during its design.

The main contributions of this paper are as follows.

  1. Reward design is formulated at the level of a cooperative task family. A development-to-transfer protocol is introduced, in which a single executable reward program is developed on several development scenarios, frozen, and evaluated by training new policies on scenarios concealed during its design. The generalization of the reward is thereby measured separately from that of a trained policy.

  2. Autonomous evidence navigation is introduced for LLM-based reward engineering. Instead of a fixed feedback report, the source code, training artifacts, and behavioral evidence to be examined are selected by the LLM reward engineer, analyses are constructed

D. Urgun is with the Department of Electrical and Electronics Engineering, Karabuk University, 78050 Karabuk, Türkiye (e-mail: durgun@karabuk.edu.tr).

Task family F=D∪H\mathcal{F} = \mathcal{D} \cup \mathcal{H}

Figure

Fig. 1. Overview of GARDEN for one task family. Candidates are developed in independent sessions from shared development evidence and private learning probes (1, 2), assessed with the fixed learner (3), and added to the evidence (4). After GG generations, one program is selected by a fixed rule (5), frozen (6), and used to train new policies on the held-out scenarios, with native shaping as the reference (7). Green marks reward programs, and red marks information withheld from the reward engineer.

autonomously, and design hypotheses are tested through learning probes, while the learner and a mechanical selection rule are held fixed.

To support reproducibility, the implementation, prompts, and experimental configuration are available at https://github.com/DoganUrgun/GARDEN. The remainder of this paper is organized as follows. Related work is reviewed in Section II. The proposed method is presented in Section III, and the experimental design is described in Section IV. The results are reported and discussed in Section V, and conclusions are drawn in Section VI.

References (29)