Introduction
Reinforcement Learning (RL) relies heavily on the precise definition of reward functions. However, manually specifying these functions is notoriously difficult and often leads to "reward hacking," where agents exploit poorly defined objectives to maximize scores without achieving the intended goal. A common example is a racing agent that spins in circles to collect local bonuses rather than finishing the track.
Beyond specific task goals, human behavior is guided by "common sense"—implicit constraints like moving smoothly, avoiding collisions, or conserving energy. While Inverse Reinforcement Learning (IRL) attempts to recover reward functions from expert demonstrations, standard single-task IRL often fails to produce transferable rewards. Instead of learning general principles, the discriminator often learns task-specific noise that distinguishes an expert from a beginner in one narrow context.
The MT-CSIRL Framework
To address these challenges, this paper introduces Multi-Task Common-Sense Inverse Reinforcement Learning (MT-CSIRL). The core innovation lies in two principles: reward disentanglement and multi-task training.
Reward Disentanglement
The authors model the total reward as an additive combination: $$r = r_{task} + r_{cs}$$ Here, $r_{task}$ represents a simple, known goal-oriented reward (e.g., "reach the target"), while $r_{cs}$ is an unknown "common-sense" reward shared across all tasks. By separating these components, the model can isolate the underlying behavioral norms that apply universally.
Multi-Task Training
Rather than learning from a single task, MT-CSIRL trains on multiple tasks simultaneously. This forces the shared discriminator to ignore task-specific quirks and focus on the commonalities between different expert behaviors.
To stabilize training, the researchers employ a curriculum learning strategy. An adaptive weighting system ($\alpha$) gradually increases the influence of the learned common-sense reward as the agent's performance on the primary task improves, preventing early-stage noise from derailing the learning process.
Experimental Setup
The framework was evaluated using the Meta-world benchmark, featuring a Sawyer robot arm. To rigorously test the ability to recover "invisible" common-sense rewards, the authors designed two synthetic objectives:
- Velocity: Maintaining a specific target speed for the end-effector.
- Action Norm: Maintaining a specific magnitude of force/torque.
These objectives are not part of the standard Meta-world rewards but are present in the expert demonstrations.
Key Results and Insights
The experiments highlight a stark contrast between single-task and multi-task learning. Rewards learned via single-task IRL showed a negligible correlation (0.18) with the ground-truth common-sense rewards. In contrast, MT-CSIRL achieved a correlation of up to 0.88.
As shown in Figure 3, the MT-CSIRL agent (labeled "IRL Agent") consistently matches the target behavior (red line) more effectively than standard Reinforcement Learning (SAC) or rewards transferred from single-task IRL. On unseen tasks, agents trained with MT-CSIRL rewards achieved success rates of approximately 99%, demonstrating that the learned common-sense reward is truly task-agnostic.
Conclusion
The success of MT-CSIRL suggests that diversity in training data is not just a challenge to be managed, but a vital feature for learning robust reward functions. By leveraging multiple tasks, the system can regularize the learning process, stripping away spurious correlations and uncovering the fundamental "common sense" that makes expert behavior efficient and transferable. Future work will look toward scaling these methods to more complex, real-world constraints like safety and social norms.
Summary updated