arXiv:2611.07130cs.LGNov 2026

Manuscript Offprint

arXiv:2611.07130

Teaching Agents the "Principle", Not the "Reward"

Shan Yang

ABSTRACT

Reinforcement learning has achieved strong performance in many tasks by letting agents learn from nothing more than a reward signal. However, in more complex tasks, agents still struggle to learn good, generalizable policies, even with carefully designed rewards and abundant samples. We argue that this difficulty stems from the reward decoding burden: designers encode their knowledge of the desired behavior into rewards and penalties, and agents must infer this knowledge from long sequences of noisy scalars. To address this burden, we propose prescriptive policy learning (PPL), which directly teaches agents higher-level knowledge about the tasks, termed principles of behavior, such as how to maintain balance, how to accumulate energy, and how to land smoothly. Through appropriately selected key quantities and references, PPL can directly indicate at every step whether the agent follows the principles and to what extent. Our experiments show that agents can learn good, generalizable policies without any reward. Taught only simple heuristic principles, PPL agents outperform reward-based methods with far fewer samples. Their policies also transfer directly to harder settings and keep performing well, demonstrating their strong generalization ability. In summary, PPL provides a new approach in which rough knowledge of the desired behavior is enough for agents to learn good, generalizable policies, even when the system dynamics cannot be accurately modeled.

1 INTRODUCTION

Reinforcement learning (RL) enables agents to interact directly with the environment to learn decision policies and has demonstrated strong performance in many tasks (Sutton & Barto, 2018; Mnih et al., 2015; Silver et al., 2016). However, agents typically require extensive interactions to discover desirable behavior through trial and error, which is costly or even infeasible in many real-world systems (Dulac-Arnold et al., 2021). To address this challenge, many methods incorporate prior knowledge about the task into the learning process, for example by augmenting the task reward with bonuses for progress toward the task objective or penalties for undesirable states or actions (Ng et al., 1999). This practice is commonly known as reward design. With effective reward design, agents in many tasks can learn desirable policies with measurably fewer interactions (Ng et al., 1999; Devidze et al., 2024; Zhou et al., 2024).

However, even with carefully designed rewards, it is still challenging for agents to learn generalizable policies. Agents must infer from an entire trajectory whether a change in the cumulative reward is caused by a particular action at a particular time or by the joint behavior over many steps, and whether it stems from the scenario or from noise. As a result, in relatively complex or noisy environments, agents require a massive number of samples to find a relatively accurate direction of policy improvement and obtain a relatively more generalizable policy (Cobbe et al., 2020). Even with sufficient samples, training often leads to overfitting (Cobbe et al., 2019), or agents exploit loopholes in the designed reward to obtain high returns without accomplishing the intended task (Pan et al., 2022; Gao et al., 2023). We refer to this phenomenon as the reward decoding burden and illustrate it in Figure 1.

Nevertheless, reward-based learning remains the foundation of modern RL (Sutton & Barto, 2018). Whether in standard deep RL algorithms (Mnih et al., 2015; Schulman et al., 2017), aligning large

Figure

Figure 1: Illustration of the reward decoding burden (Lunar Lander with wind).

language models (LLM) with human feedback (Christiano et al., 2017), or fine-tuning policies pretrained on demonstrations (Hester et al., 2018), policy improvement ultimately relies on rewards. Rewards are meant to guide policy optimization, but why do they instead become an obstacle in relatively complex tasks? We argue that the core problem is that a reward compresses the knowledge about the task and the desirable behavior into a scalar.

We take Lunar Lander as an example to illustrate this compression. The lander should land smoothly with little fuel, so designers typically penalize every engine firing and reward leg contact and approaching the landing pad. Ideally, these rewards and penalties tell agents what to do and what to avoid, and agents learn through interaction to balance different behaviors at different moments and better reach the long-term goal (e.g., a safe landing, high reward). However, because the rewards and penalties of all behaviors are compressed into reward as a scalar, agents must infer the behavioral principles from a sequence of such scalars (Figure 1). This inference often misses the ideal principles and instead overfits a mapping from the visited states to the actions that paid off there (Cobbe et al., 2019). This burden is exceptionally heavy in long-horizon tasks with noisy dynamics.

In practice, humans do not learn such tasks by inferring from rewards what is good and what is bad. Instead, they learn principles of behavior at a higher level. In obstacle avoidance, for example, one needs to adjust the speed to keep as much distance from the obstacles as possible, and in Lunar Lander, one needs to maintain the velocity and angular velocity to avoid tipping over, to approach the center, and to avoid falling to the ground too quickly. This knowledge does not take the form of a scalar. Meanwhile, directly imitating behavior from samples also learns only a mapping from states to actions rather than the principles of behavior themselves. Can we, then, teach these principles of behavior directly to agents instead of compressing them into a scalar reward?

In this work, we propose a novel algorithm named prescriptive policy learning (PPL), which teaches task knowledge to agents directly as principles of behavior. Such a principle is higher-level knowledge about the task. Rather than specifying concrete actions from which agents learn a mapping, it tells agents at every step how to keep the controlled object or the system in a better state. For example, a principle can give the recommended angular velocity to bring the lander upright, or the safe descent speed for the lander to land safely. This is macro-level knowledge of how the task should evolve, so it can directly guide policy optimization without relying on an accurate model of the environment. Ultimately, we anticipate that agents can learn higher-level patterns of behavior instead of struggling to decode good policies from a sequence of scalar rewards.

To the best of our knowledge, PPL is the first method in which principles of behavior alone provide the learning signal for every step of policy optimization. We evaluate PPL in three entirely different tasks, obstacle avoidance, Lunar Lander, and Reacher, which correspond to a single principle, composite principles, and multi-dimensional actions, respectively, and compare it with classic RL algorithms. Our results show that in relatively simple environments (e.g., without wind or disturbances), PPL needs significantly fewer samples than the other methods and succeeds in nearly every episode, outperforming the best of these methods in every task. When the environment becomes noisy, for example with wind, reward-based methods degrade sharply in both learning efficiency and success rate, whereas PPL shows only a modest decline in both. Importantly, policies that PPL learns in simpler settings also transfer directly to noisy settings and keep performing well. PPL therefore learns more than a mapping fitted to the training environment, namely the principles that govern the task.

References (33)