Manuscript Offprint

arXiv:2611.01322

Alignment Flywheel-Guided Suppression Patching for Interactionless Inverse Reinforcement Learning

Elias Malomgré, Pieter Simoens

Elias Malomgré and Pieter Simoens

IDLab, Ghent University – imec, Ghent, Belgium {elias.malomgre,pieter.simoens}@ugent.be

Abstract. Learned reward models allow reinforcement-learning agents to use demonstrations, implicit feedback, safety constraints, social norms, or other sources that do not provide a complete hand-designed scalar reward. However, a learned reward model can assign high reward to unwanted behavior. A policy can exploit these errors during training. Later requirements can also identify additional regions where the deployed reward should change. We introduce flywheel-guided patching, a mechanism for making such localized corrections without retraining the learned evaluator. An Alignment Flywheel identifies overgeneralized or constraint-violating regions and compiles verified findings into suppression patches. We instantiate the mechanism for Interactionless Inverse Reinforcement Learning using MoE-GUIDE, placing patches in the model's latent space and retrieving only a small local subset during online reward evaluation. In the main MuJoCo benchmark, we evaluate patching without expert-state reset warm starts. We also test whether operator-specified norms absent from the demonstrations can be compiled into the same reward interface and compare this with enforcing the corresponding rules online. The results show that localized corrective information can modify an existing learned reward without providing a complete replacement reward. Compilation can reuse judgments that are expensive or unavailable during control. Cheap deterministic rules may be simpler to check directly at each step. Code for MoE-GUIDE, Alignment Flywheel, and flywheel patching is at https://github.com/decide-ugent/Alignment-Flywheel.

Keywords: Reinforcement learning · reward modeling · inverse reinforcement learning · model editing · AI alignment

1 Introduction

One of the main problems in reinforcement learning (RL) [32] is that the reward signal is often hard to specify effectively [31,26]. Therefore, it often relies on learned reward signals that can be derived from demonstrations [1,15], preferences [10], intrinsic objectives [9,29], implicit feedback [20], safety constraints [3,7], or other indirect supervision [19]. These sources are often easier to obtain than dense scalar rewards: a human, verifier, or perception system may identify an unsafe or unacceptable behavior without specifying how all other behaviors should be ranked. The resulting learned reward model, however, is only useful if it provides effective guidance for the agent during training.

This is not guaranteed, since a reward model can fit its training data while still assigning high reward to unwanted behavior. Policy optimization can exploit these errors because it searches for behaviors that the model scores highly. For example, when training a robot to walk using a reward model trained on walking demonstrations, the reward model might also reward an unusual stationary pose. A policy could then learn to remain in that pose instead of walking. This connects learned reward models to reward misspecification, reward hacking, and reward-model overoptimization [4,28,12].

We study how to update learned rewards using external corrective judgments without retraining the reward model. These judgments may identify unwanted behavior that the model rewards, or introduce requirements absent from its training data. Our method, flywheel patching, incorporates both through local reward suppression using an Alignment Flywheel [23,25]. The aim is to retain useful learned knowledge while incorporating corrections and changing requirements [24]. The patching mechanism compiles verified findings into patches that locally reduce the deployed reward. The learned reward model remains fixed, and only the reward mapping transforming representations into rewards is edited. Corrective judgments can come from users, monitors, or domain-specific verifiers. The same interface can also incorporate requirements that were not expressed in the data used to train the reward model.

We formulate this mechanism for Interactionless Inverse Reinforcement Learning (IIRL) [25]. In IIRL, reward models are constructed from offline information without requiring online interaction with the environment. Our concrete instantiation is Mixture of Experts Guidance using Unlabeled and Incomplete Data for Exploration (MoE-GUIDE) [22]. It learns a mixture-of-experts (MoE) reconstruction model from state-only expert observations and converts reconstruction consistency into an intrinsic reward. Each expert encodes a state as a compact latent vector, and we place local reward patches in this latent space.

Earlier MoE-GUIDE experiments reported reward overgeneralization, with the reward model assigning high rewards to non-expert states [22]. They also used a short expert-state reset curriculum, initializing early policy rollouts near expert states. Here, the reward model is still learned from demonstrations. Downstream Soft Actor-Critic (SAC) [13] training instead starts from the standard environment reset distribution. The policy receives the learned intrinsic reward alongside the environment reward. This provides a stricter test of whether learned and patched IIRL rewards can guide policy optimization without expert-state warm starts.

This paper makes four contributions:

  • We introduce flywheel-guided patching for IIRL reward models. It incorporates external corrections and new requirements through local reward suppression.

  • We extend the Alignment Flywheel to MuJoCo with candidate generation, expert-envelope verification, MoE-GUIDE integration, and regression-tested patch construction.

  • We retrieve local patches in MoE-GUIDE's latent space to reduce the cost of online reward evaluation.

  • We evaluate expert-envelope patching in MuJoCo without expert-state resets. In separate experiments, we compare compiled operator-specified norms with direct runtime enforcement.

The main benchmark uses a simple verifier that flags states outside the coordinate-wise range observed in the demonstrations. This is a dataset-relative support check, not a general out-of-distribution detector or a solution to reward hacking. We also perform norm experiments using operator-specified rules that are absent from or conflict with the demonstrations. Both supply corrective judgments through the same patching interface, which can also accept input from other monitors or human review.

References (33)