Manuscript Offprint
arXiv:2611.07130Teaching Agents the "Principle", Not the "Reward"
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 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.
An agent must adjust its policy to accomplish the task of its environment with a higher probability, such as passing all barriers in obstacle avoidance, coming to rest on the pad in Lunar Lander, or bringing the fingertip to the target in Reacher. In these tasks, effective decisions generally follow simple principles, such as keeping as far from the barriers as possible, staying upright above the pad without descending too fast, or bringing each joint to the angle that places the fingertip on the target (Ray et al., 2019; Brockman et al., 2016), as shown in Figure 2. How can such abstract principles of behavior be taught to an agent without relying on an accurate model of the system dynamics?

(a) Obstacle Avoidance

(b) Lunar Lander

(c) Reacher
Figure 2: Illustrations of different tasks.
We find that we can judge whether the agent follows a principle by selecting a few key quantities of the controlled object. In obstacle avoidance, for example, the agent should stay as far from the barriers as possible when it reaches the second barrier, that is, close to the orange point in Figure 2(a). We can then select the vertical velocity as the key quantity. At a given position, a vertical velocity that is too large or too small may lead to a collision, so we can design a relatively safe vertical velocity as the reference. The closer the vertical velocity is to this reference, the more safely the agent can pass the barrier. In Lunar Lander, we can likewise design an angular velocity that tilts the lander toward the pad as the reference while it moves sideways, and a descent speed that decreases as it approaches the ground as the reference while it lands. Such references need not be attainable, highly precise, or based on accurate system dynamics, and only need to point toward the goal of the principle. Designing them requires only rough knowledge of the task, such as the range of velocity changes caused by thrust, which is available in most control problems (Kober et al., 2013; Berkenkamp et al., 2017; Recht, 2019; Cheng et al., 2019). Table 1 shows how we choose the key quantity in several examples.
A key quantity and its reference together encode a principle of behavior. In obstacle avoidance, for instance, keeping the vertical velocity close to its reference at every step can ensure that the agent approaches the gap center steadily. Notably, the reference does not indicate the action that the agent should take, but only provides a guideline for its behavior, which is also the core difference from knowledge provided as samples. When the environment changes, such as when the damping or the wind changes, or when the agent is at a different position and velocity, the action that it takes may be completely different. What does not change is that the agent is more likely to accomplish the task when the key quantity is closer to the reference, similar to Yang & Liu (2026).
We can then build a more direct learning signal based on how much each action moves the key quantity toward the reference. Here we introduce a new per-step signal, the principle coefficient
Table 1: Principles formulated for three tasks, with their key quantities and references.
| Task | Principle | Key quantity | Reference |
|---|---|---|---|
| Obstacle avoidance | Stay as far from the barriers as possible. | , the vertical velocity | , the vertical velocity that a conservative deceleration brings to zero at the height of the gap center |
| Lunar Lander | Stay upright, approach the pad, and avoid descending too fast. | , the vertical, angular, and horizontal velocities | , and , computed from the height above the pad, the tilt, and the horizontal position and velocity |
| Reacher | Turn each joint toward the configuration that places the fingertip on the target. | , the joint angular velocities | , computed from the angle that joint has left to turn |
, which evaluates how much the transition of action in state brings the key quantity closer to its reference. Its basic form is
that is, the expected decrease of the deviation from the reference over one transition, with the reference fixed in state before any action is taken. The coefficient is largest for the action that brings the key quantity exactly to its reference and decreases once the key quantity overshoots it, so it does not reward larger moves beyond the reference. Then, PPL follows the update paradigm of the policy gradient (Williams, 1992; Sutton et al., 1999) to update the policy parameters ,
where is the step size and the principle coefficient of each step takes the place of the return. The update holds the visited states fixed and improves the one-step problem in each of them. The coefficient of an action is determined by its own transition, and the plan of the task enters through the reference . In the end, the policy raises the probability of the actions that bring the key quantity closer to its reference, and the agent learns to follow the principle at the states that it visits. Figure 3 illustrates this mechanism in Lunar Lander.

Figure 3: Mechanism of PPL in Lunar Lander with wind.
Although the principle coefficient is still a scalar, it carries far more information than a reward, because it can directly indicate whether the agent follows the principle and to what extent. Thus, PPL spares the agent from inferring which behavior is better through long causal chains or from noisy trajectories, and lets it learn the principle of behavior directly. Moreover, because the reference gives a target and the direction in which the agent should improve its policy, instead of a mapping from states to actions, PPL can, in theory, avoid overfitting to the training environment. Overall, PPL is anticipated to learn policies that generalize better in more complex scenarios with fewer samples, which we will validate in the experiments of Section 3.
2.1 EXTENSIONS TO OTHER TASK STRUCTURES
2.1.1 BALANCING SEVERAL PRINCIPLES ON ONE ACTION
When several principles act on the same action, one action may move one key quantity toward its reference and another away from it. Let the key quantities of the principles form with references , and let each carry a scale , the deviation that is regarded as equally serious across key quantities. The coefficient is then Equation 1 applied to the scaled quantities ,
and PPL updates the policy with it as in Equation 2. Each action receives the net change of the scaled deviations, and the scales set how a deviation in one key quantity trades off against a deviation in another. To keep the references consistent, a principle of higher priority bounds the reference of a principle of lower priority, as the upright touchdown bounds the target tilt in Lunar Lander (Appendix A.2).
2.1.2 TEACHING PRINCIPLES TO EACH ACTION DIMENSION
When the task can be decomposed by actuator, each dimension of the action receives its own principle and key quantity and is evaluated by the change of that key quantity. Let the action be , let dimension drive the key quantity with reference , and let be the coefficient of Equation 1 for alone. With the policy factorized as , PPL updates each dimension by its own coefficient,
When each key quantity responds only to its own dimension, the direction of this update is the gradient of over the visited states. When the key quantities are coupled, the update credits the change of each key quantity to the dimension that drives it, which approximates this gradient as long as the effect of on the other key quantities is small.
3 EXPERIMENTS
We evaluate PPL in obstacle avoidance, Lunar Lander, and Reacher, which correspond to a single principle, composite principles, and multi-dimensional actions, respectively, and compare it with reward-based RL methods, namely proximal policy optimization (PPO) (Schulman et al., 2017), the deep Q-network (DQN) (Mnih et al., 2015), and soft actor-critic (SAC) (Haarnoja et al., 2018). These methods use published hyperparameters where they exist and receive larger interaction budgets than PPL, and Appendix B gives the environments and the settings and evaluation of all methods. Taught only simple heuristic principles, PPL not only learns from far fewer samples than these methods but also keeps performing well in harder settings, including settings that it never meets in training.
3.1 OBSTACLE AVOIDANCE
3.1.1 SETTING
An agent moves to the right at a constant speed through eight barriers and passes each barrier through a gap at a random height by thrusting up or down. Random wind perturbs its vertical velocity, and we use a moderate and a strong wind. An episode succeeds when the agent passes all eight barriers. The principle keeps the agent away from the barriers through its vertical velocity, whose reference brings the agent to rest at the height of the next gap center (Appendix A.1). The compared methods receive a reward for each barrier passed, a bonus for passing all barriers, and a penalty for a collision. PPO-R instead trains PPO with the principle coefficient of every step as its reward.
3.1.2 RESULTS
PPL learns obstacle avoidance from the fewest samples. Under both wind strengths, its success rate reaches 90% after about steps, against steps for PPO and about steps for DQN (Table 2 and Figure 4). PPO-R needs steps, so the same principle teaches more slowly as a reward than through PPL. After their full budgets, PPL, PPO, and PPO-R succeed in at least 96% of the episodes, and DQN in 87.1% and 96.6%.
The principle also shapes how the agent passes the barriers. Under moderate wind, the smallest distance of PPL from a gap edge averages 0.166, where the half height of a gap is 0.2, against 0.112 for PPO, 0.097 for DQN, and 0.053 for PPO-R, and the ordering is the same under strong wind. The reference brings the vertical velocity to zero at the gap center, so the agent levels off at this height before each barrier (Figure 5), whereas PPO-R, rewarded by the same coefficients, passes close to the edges. PPL also thrusts in 86 of the 116 steps of an episode under moderate wind, fewer than PPO with 101 and PPO-R with 115 steps, whereas DQN thrusts least, in 71 steps.
Table 2: Results in obstacle avoidance under moderate and strong wind.
| Method | Success (%) | Steps to 90% () | Clearance | |||
|---|---|---|---|---|---|---|
| Moderate | Strong | Moderate | Strong | Moderate | Strong | |
| PPL | 4.24 | 4.18 | 0.166 | 0.155 | ||
| PPO | 10.0 | 10.0 | 0.112 | 0.107 | ||
| DQN | 75.0 | 85.0 | 0.097 | 0.087 | ||
| PPO-R | 20.0 | 20.0 | 0.053 | 0.048 | ||

Figure 4: Training success rate in obstacle avoidance.
Without retraining, the policies that PPL learns under moderate wind succeed in every evaluation episode under strong wind and keep passing the gaps near their centers, with an average clearance of 0.154, close to the 0.155 of the policies trained under strong wind. PPL therefore learns a behavior rather than a mapping from states to actions fitted to the wind seen in training.
3.2 LUNAR LANDER
3.2.1 SETTING
We use LunarLander-v3 (Brockman et al., 2016), in which the lander must come to rest on a pad by firing its main engine or one of its two side engines, without and with wind. Without wind, the initial push, the terrain, and the dispersion of the engine forces are random, and the setting with wind adds wind and turbulence that vary over time. An episode succeeds when it ends with the lander at rest. The principles keep the lander upright, bring it above the pad, and slow its descent to the touchdown speed , with the vertical velocity , the angular velocity , and the horizontal velocity as key quantities and the references of Appendix A.2. The compared methods are trained on the default reward of the environment.

Figure 5: A successful PPL episode in obstacle avoidance under moderate wind: (a) trajectory, barriers, and center of the next gap; (b) vertical velocity and its reference against horizontal position.
3.2.2 RESULTS
PPL learns to land from an order of magnitude fewer samples than PPO. Without wind, its success rate reaches 90% after steps, against steps for PPO, and both end near full success (Table 3 and Figure 6). DQN ends at 57.2% with a standard deviation of 30.5% across seeds, the soft actor-critic for discrete actions (discrete SAC) (Christodoulou, 2019) does not learn to land, and PPO-R, trained on principle coefficients as its reward, also fails.
With wind, PPL remains the most reliable method. It reaches 90% after steps and settles at 84.6%, whereas PPO ends at 81.2% after steps with a large spread across seeds, two of which never reach 90%. About half of the failures of PPL end at the step limit before the lander touches the ground.
PPL lands at the speed that its vertical reference prescribes. Without wind, its median descent speed at the first ground contact is 0.65 m/s, below the touchdown speed m/s of the reference, whereas PPO touches down at 0.98 m/s, and with wind the two medians are 0.74 m/s and 0.56 m/s (Figure 7). Because we designed the principles mainly for a reliable landing, they contain no fuel term, and a successful landing of PPL without wind fires the main engine in 241 steps, against 157 for PPO, whose reward charges every firing. We believe that principles designed with fuel in mind can yield landings that use less fuel.
Table 3: Results in Lunar Lander without and with wind. A dash marks a median seed that does not reach 90% within its budget.
| Method | Success (%) | Steps to 90% () | ||
|---|---|---|---|---|
| Without wind | With wind | Without wind | With wind | |
| PPL | 19.7 | 29.3 | ||
| PPO | 520 | 790 | ||
| DQN | 135 | 390 | ||
| Discrete SAC | - | - | ||
| PPO-R | - | - | ||
Without retraining, the policies that PPL learns without wind land in 72.5% of the episodes with wind and keep the touchdown speed of the reference, with a median descent speed of 0.63 m/s at the first ground contact. Most of the remaining episodes end at the step limit before the lander touches the ground. Thus, the descent that the principle teaches persists under a disturbance absent

Figure 6: Training success rate in Lunar Lander.

(a)
(b)
Figure 7: A successful PPL landing with wind: (a) trajectory and orientations; (b) states over time, with velocity references (dashed), the pad center and the target tilt (dotted), and the period after first ground contact (shaded).
from training, and the policies lose mainly the episodes in which the lander fails to reach the ground in time.
3.3 REACHER
3.3.1 SETTING
Reacher (Brockman et al., 2016) is a planar arm with two joints that must bring its fingertip to a random target by applying a torque at each joint. We use four settings of increasing difficulty, namely the standard arm of Reacher-v5, an arm with coupled joints, an arm under gravity, and an arm under gravity with a random payload, random torque gains, and torque noise. An episode succeeds when the fingertip lies within 0.02 m of the target at the last step. The principle of each joint takes its angular velocity as the key quantity, with the reference of Appendix A.3 computed for the nominal arm in every setting, and each joint is evaluated by its own coefficient. The compared methods receive the default reward of the environment, the negative distance between the fingertip and the target minus a quadratic cost on the torques. The principle controller applies the references directly as a feedback law (Appendix B).
3.3.2 RESULTS
PPL keeps reaching the target as the arm acquires dynamics that its principles do not model. On the standard arm and with coupled joints, PPL and SAC both succeed in about 99% of the episodes, and PPL reaches 90% after steps, against steps for SAC (Table 4 and Figure 8). Under gravity and under gravity with disturbances, PPL keeps 99.3% and 95.2%, whereas SAC falls to 37.9% and 9.8% and PPO falls further. PPO-R stays below 2% in every setting.
PPL learns more than the feedback law that its references define. For suitable gains, the principle controller succeeds in all episodes on the standard arm and with coupled joints, but under gravity its best gain reaches only 69%, and only 59% with disturbances. A torque proportional to the velocity error balances gravity only while an angle error remains, so a low gain stops short of the target and a high gain saturates the torques. Taught the same references, PPL learns from the observed transitions the torque that holds each joint at its target against gravity and the payload. In the episode of Figure 9, under gravity and disturbances, the fingertip reaches the target at 0.28 s and stays within the success threshold until the last step.
PPL pays for holding the arm against gravity in control energy, which rises from 4.5 on the standard arm to 17.7 with gravity and disturbances, whereas SAC and PPO, whose reward charges the squared torque, stay below 2.
Table 4: Final success rate (%) in the four Reacher settings.
| Method | Standard | Coupled joints | Gravity | Gravity and disturbances |
|---|---|---|---|---|
| PPL | ||||
| PPO | ||||
| SAC | ||||
| PPO-R | ||||
| Principle controller, best gain | 100.0 | 100.0 | 69.0 | 59.0 |
Without retraining, the policies that PPL learns on the standard arm succeed in 98.3% of the episodes with coupled joints, and those learned under gravity succeed in 86.2% of the episodes with disturbances added. In both cases, the fingertip ends on average within the success threshold of 0.02 m, at 0.005 m and 0.015 m from the target. Thus, the joint motion that the principles teach persists under dynamics absent from training.
4 CONCLUSION
In this work, we argued that a central obstacle of RL is the reward decoding burden, since a reward compresses the knowledge about the task and the desirable behavior into a scalar that agents must decode. To address this burden, we proposed PPL, which teaches this knowledge to agents directly

Figure 8: Training success rate in the four Reacher settings.

(a)
(b)

(c)
Figure 9: A successful PPL episode in Reacher with gravity and disturbances: (a) fingertip trajectory, arm poses, and target configuration; (b) joint angular velocities and their references; (c) distance to the target and the 0.02 m success threshold.
as principles of behavior and evaluates every action by the change that its own transition makes in a few key quantities relative to their references. In tasks with a single principle, composite principles, and multi-dimensional actions, PPL learned from far fewer samples than reward-based methods, remained reliable as disturbances made the tasks harder, and transferred to harder settings without retraining. These findings confirm that task knowledge does not have to be compressed into a reward to guide learning, and that teaching it as principles gives agents a direct signal at every step and policies that hold beyond the training environment.
PPL may give the training of agents for specific tasks more flexibility and efficiency. For embodied agents, rewards are hard to write, whereas people can describe how a behavior unfolds, much as a coach tells an athlete how to perform a movement. We also tried other control tasks, such as Mountain Car and Acrobot, in which an LLM can suggest suitable principles of behavior from its own analysis of the task. On the other hand, PPL teaches agents the behavior itself rather than relying on imitation from large numbers of demonstrations, so its policies can in theory keep working when the environment changes. Its high learning efficiency means that a new platform needs only brief retraining on the same principles, without collecting new demonstrations. Finally, learning from principles makes it easier to trace a failure back to the principle involved and to provide guarantees on safety requirements.
We see three important directions for PPL. First, tasks with several stages and possibly conflicting goals require a systematic way to balance their principles. Second, principles and references need to be adjusted to the details of a task, such as fuel consumption. Finally, PPL needs to be extended to more complex robotic tasks, such as long-horizon manipulation and whole-body control.
REFERENCES
Felix Berkenkamp, Matteo Turchetta, Angela P. Schoellig, and Andreas Krause. Safe model-based reinforcement learning with stability guarantees. In Advances in Neural Information Processing Systems, 2017.
Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym. arXiv preprint arXiv:1606.01540, 2016.
Richard Cheng, Abhinav Verma, Gabor Orosz, Swarat Chaudhuri, Yisong Yue, and Joel W. Burdick. Control regularization for reduced variance reinforcement learning. In International Conference on Machine Learning, 2019.
Paul F Christiano, Jan Leike, Tom Brown, Miljan Marber, Justin Gilmer, and Dario Amodei. Deep reinforcement learning from human preferences. Advances in neural information processing systems, 30, 2017.
Petros Christodoulou. Soft actor-critic for discrete action settings. arXiv preprint arXiv:1910.07207, 2019.
Karl Cobbe, Oleg Klimov, Chris Hesse, Taehoon Kim, and John Schulman. Quantifying generalization in reinforcement learning. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 1282–1289, 2019. URL https://proceedings.mlr.press/v97/cobbel9a.html.
Karl Cobbe, Christopher Hesse, Jacob Hilton, and John Schulman. Leveraging procedural generation to benchmark reinforcement learning. arXiv preprint arXiv:1912.01588, 2020.
Rati Devidze, Parameswaran Kamalaruban, and Adish Singla. Informativeness of reward functions in reinforcement learning. arXiv preprint arXiv:2402.07019, 2024.
Gabriel Dulac-Arnold, Nir Levine, Daniel J Mankowitz, Jerry Li, Cosmin Paduraru, Sven Gowal, and Todd Hester. Challenges of real-world reinforcement learning: Definitions, benchmarks and analysis. Machine Learning, 110(9):2419–2468, 2021. doi: 10.1007/s10994-021-05961-4.
Leo Gao, John Schulman, and Jacob Hilton. Scaling laws for reward model overoptimization. In International Conference on Machine Learning, pp. 10835–10866, 2023.
Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. In Proceedings of the 35th International Conference on Machine Learning, pp. 1861–1870, 2018.
Todd Hester, Matej Vecerik, Olivier Pietquin, Marc Lanctot, Tom Schaul, Bilal Piot, Dan Horgan, John Quan, Andrew Sendonaris, Gabriel Dulac-Arnold, Ian Osband, John Agapiou, Joel Z Leibo, and Audrunas Gruslys. Deep q-learning from demonstrations. In AAAI Conference on Artificial Intelligence, 2018.
Jens Kober, J. Andrew Bagnell, and Jan Peters. Reinforcement learning in robotics: A survey. The International Journal of Robotics Research, 32(11):1238–1274, 2013.
Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Bellemare, Alex Graves, Martin Riedmiller, Andreas K. Fidjeland, Georg Ostrovski, Stig Petersen, Charles Beattie, Amir Sadik, Ioannis Antonoglou, Helen King, Dharshan Kumaran, Daan Wierstra, Shane Legg, and Demis Hassabis. Human-level control through deep reinforcement learning. Nature, 518:529–533, 2015. doi: 10.1038/nature14236.
Andrew Y Ng, Daishi Harada, and Stuart Russell. Policy invariance under reward transformations: Theory and application to reward shaping. In International Conference on Machine Learning, 1999.
Alexander Pan, Kush Bhatia, and Jacob Steinhardt. The effects of reward misspecification: Mapping and mitigating misaligned models. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=JYtwGwIL7ye.
Antonin Raffin, Ashley Hill, Adam Gleave, Anssi Kanervisto, Maximilian Ernestus, and Noah Dorman. Stable-baselines3: Reliable reinforcement learning implementations. Journal of Machine Learning Research, 22(268):1–8, 2021.
Alex Ray, Joshua Achiam, and Dario Amodei. Benchmarking safe exploration in deep reinforcement learning. OpenAI technical report, 2019.
Benjamin Recht. A tour of reinforcement learning: The view from continuous control. Annual Review of Control, Robotics, and Autonomous Systems, 2:253–279, 2019.
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
David Silver, Aja Huang, Chris J. Maddison, Arthur Guez, Laurent Sifre, George van den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, Sander Dieleman, Dominik Grewe, John Nham, Nal Kalchbrenner, Ilya Sutskever, Timothy Lillicrap, Madeleine Leach, Koray Kavukcuoglu, Thore Graepel, and Demis Hassabis. Mastering the game of Go with deep neural networks and tree search. Nature, 529:484–489, 2016. doi: 10.1038/nature16961.
Richard S Sutton and Andrew G Barto. Reinforcement Learning: An Introduction. MIT Press, 2 edition, 2018.
Richard S Sutton, David McAllester, Satinder Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approximation. Advances in neural information processing systems, 12, 1999.
Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3):229–256, 1992.
Shan Yang and Yang Liu. Descent-guided policy gradient for scalable cooperative multi-agent learning. arXiv preprint arXiv:2602.20078, 2026.
Zhiyuan Zhou, Shreyas Sundara Raman, Henry Sowerby, and Michael L Littman. Tiered reward: Designing rewards for specification and fast learning of desired behavior. Reinforcement Learning Journal, 3:1265–1288, 2024.
A REFERENCES OF KEY QUANTITIES
As introduced in Section 2, the key quantity is a value that the action directly affects, such as a velocity or an angular velocity, and its reference shows whether the agent follows the principle. We next describe how general knowledge of the environment and the task yields these references, so that PPL can evaluate each action from its own transition.
A.1 OBSTACLE AVOIDANCE
To stay far from the barriers, the agent should pass each barrier near the center of its gap, and its thrust directly changes the vertical velocity . At each height, the agent should therefore rise or sink fast when far from the height of the next gap center and slowly when close to it. We express this behavior as the speed from which a deceleration comes to rest at this height, within the speed limit of the environment,
where and is half of the velocity change of one thrust step. An agent that rises faster than this reference near the gap center is then evaluated in favor of no thrust or downward thrust, which slow it down before it overshoots.
A.2 LUNAR LANDER
The lander should stay upright, approach the pad, and avoid descending too fast, and two references carry these behaviors, one for the attitude and one for the descent. The side engines directly change the angular velocity . Because the lander moves sideways only when it is tilted, it should tilt only as far as the remaining horizontal velocity needs and return to upright before touchdown. From the current tilt , the reference therefore turns the lander toward this tilt , fast when far from it and slowly when close to it,
The main engine directly changes the vertical velocity . From the current position, the lander should slow down near the ground and should not arrive at the ground before it is above the pad, so the reference takes the slower of these two descents,
where is the height above the pad, is the speed at touchdown, is the time that the approach to the pad still needs, and and are planned decelerations. The horizontal velocity also has a reference, which grows with the distance from the pad and vanishes above it. Once a leg touches the ground, the ground brings the lander to rest, so each reference is an estimate of the next velocity with the engines off, and an action is evaluated in favor of leaving the engines off.
These references need only general knowledge of the lander. The settings below use the acceleration of the main engine, gravity , and the angular acceleration and horizontal acceleration of a side engine. To leave the engines spare capability for catching up with the references, we assume that each engine fires in half of the steps and hold back half of the deceleration that this provides, which gives for the upright lander, , and for the horizontal approach. To keep the lander nearly upright during the approach, we limit the tilt to , at which the main engine pushes it sideways at . To have it upright at touchdown, we start returning the tilt to zero at twice the rotation time . To avoid a crash at contact, we set the touchdown speed to , below the largest speed that the lander survives. The scales treat deviations of in , in , and in the horizontal velocity as equally serious.
A.3 REACHER
To bring the fingertip to the target, each joint should turn toward the configuration that places the fingertip there and slow down on arrival, and its torque directly changes its angular velocity .
The link lengths give the angle of each joint in this configuration, and of the two configurations that reach the target, we take the one closer to the current configuration. The joint should turn fast when it has far to go and slowly as it arrives, so the reference is proportional to the angle left to turn,
where the angle difference of the shoulder is wrapped to , , and . Each torque is then evaluated by how far it moves the angular velocity of its own joint toward this reference, and the agent learns from the transitions which torque achieves this.
B EXPERIMENTAL DETAILS
B.1 ENVIRONMENTS
Obstacle avoidance is our own environment. The agent moves to the right by 0.1 per step through eight barriers spaced 1.5 apart, each with a gap of height 0.4 at a random height, and its thrust and the wind change its vertical velocity and height as
where is Gaussian with standard deviation , clipped to , with for the moderate wind and for the strong wind. The observation contains , and the horizontal distance and vertical offset to the next two gaps. The compared methods receive 10 for each barrier passed, a further 100 for passing all barriers, and -10 for a collision.
Lunar Lander and Reacher are standard environments, and we state only what we change. The setting with wind in Lunar Lander uses wind power 5 and turbulence power 1.5. In Reacher, the coupled joints use armature , damping , and gear 0.15, gravity acts in the plane of the arm, and the disturbances add a payload at the fingertip drawn from kg and a torque gain for each joint drawn from in every episode, together with Gaussian torque noise of standard deviation 0.1 in every step.
B.2 TRAINING SETTINGS OF PPL
We compute the coefficient of Equation 3 from each sampled transition in a batch, subtract a baseline fitted on the state over the batch, and normalize the result by its standard deviation over the batch. We reuse each batch for several epochs of minibatch updates, because the coefficient of a transition is determined by the transition alone and remains informative after the policy changes, and we clip the likelihood ratio between the current policy and the policy that collected the batch (Schulman et al., 2017). In Reacher, each joint has its own coefficient, baseline, normalization, and ratio, and the baseline of a joint also takes the torque of the other joint as input, which leaves the expected direction unchanged because the torques are sampled independently. All networks use two hidden layers of 64 units with hyperbolic tangent activations, and the baseline is fitted by 20 full-batch steps of Adam with learning rate in every batch.
Table 5: Training settings of PPL.
| Setting | Obstacle avoidance | Lunar Lander | Reacher |
|---|---|---|---|
| Policy | Categorical, 3 actions | Categorical, 4 actions | Gaussian, 2 torques |
| Policy input | Raw observation | Raw observation | Normalized observation |
| Baseline input | State | State | State, other torque, error |
| Trajectories per batch | 4 | 4 | 20 |
| Epochs per batch | 30 | 30 | 10 |
| Minibatch size | 256 | 256 | 64 |
| Clip range | 0.2 | 0.2 | 0.2 |
| Learning rate | |||
| Gradient-norm clip | 0.5 | 0.5 | 0.5 |
| Budget (steps) | |||
| Evaluation interval (steps) | 4000 | 2000 |
B.3 COMPARED METHODS
We run DQN and SAC, and PPO except in Reacher, with Stable-Baselines3 (Raffin et al., 2021). In obstacle avoidance, PPO and DQN use its default hyperparameters with a budget of steps. In Lunar Lander, PPO and DQN use the hyperparameters of RL Baselines3 Zoo for LunarLander-v3, with budgets of and steps. In Reacher, SAC uses the default hyperparameters with initial random steps and a budget of steps, and PPO uses our implementation with a budget of steps, 40 trajectories per batch, 10 epochs, minibatches of 64, clip range 0.2, learning rate , discount factor 0.99, and generalized advantage estimation parameter 0.95. PPO-R uses the settings of PPO in each task, and in Lunar Lander it takes the current velocities as its ground references. The principle controller applies with the gains , and Table 4 reports the best of them. PPO and DQN are evaluated every steps in obstacle avoidance and Reacher, and every and steps in Lunar Lander.
B.4 EVALUATION PROTOCOL
Every method is trained with seeds 0 to 9. Intermediate evaluations use 50 episodes in obstacle avoidance and Lunar Lander and 100 in Reacher, and final evaluations use 200 and 100, with environment seeds from 10000 that fix all random perturbations, so all methods face the same episodes. The policy takes its deterministic action in every evaluation, and transfer evaluates the final policies of one setting on the episodes of a harder setting without retraining. Tables report the mean standard deviation over seeds, and training curves show the mean with one standard error. Steps to 90% is the median over seeds of the first step at which the success rate reaches 90%, clearance is the mean smallest distance from a gap edge in an episode, and control energy is over the clipped actions. The training curves of DQN include its exploratory actions.