A Behavior-first approach to Multi-Intention Inverse Reinforcement Learning
Organizations: Delft University of Technology, the Netherlands
Abstract
Inverse Reinforcement Learning (IRL) seeks to infer reward functions from expert demonstrations. When demonstrations originate from multiple experts with different intentions, the problem is known as Multi-Intention IRL (MI-IRL). Recent deep generative MI-IRL approaches couple behavior clustering and reward learning, but typically require prior knowledge of the number of true behavioral modes . This reliance on expert knowledge limits their adaptability to new behaviors, and only enables analysis related to the learned rewards, and not across the behavior modes used to train them. We propose Contrastive Multi-Intention IRL (CoMI-IRL), a transformer-based unsupervised framework that decouples behavior representation and clustering from downstream reward learning. Our experiments show that CoMI-IRL outperforms existing approaches without a priori knowledge of or labels, while allowing for visual interpretation of behavior relationships and adaptation to unseen behavior without full retraining.
Figures & tables
| Metric | Model | Reacher | Pusher | Walker | Hopper | HalfCheetah |
|---|---|---|---|---|---|---|
| NMI | (K=3)-GAIL/AIRL | |||||
| (K=6)-GAIL/AIRL | ||||||
| (K=12)-GAIL/AIRL | ||||||
| G-GAIL/AIRL | ||||||
| (K=3) Ess-InfoGAIL | ||||||
| (K=6) Ess-InfoGAIL |
| Method | Pusher-v4 | Hopper-v4 | HalfCheetah-v4 | Walker2d-v4 |
|---|---|---|---|---|
| CoMI-IRL (AIRL) | ||||
| (Reference) | (Reference) | ( ) | ( [n.s.]) | |
| CoMI-IRL (GAIL) | ||||
| ( ) | ( ) | (Reference) | (Reference) | |
| Ess-InfoGAIL (K=12) | ||||
| ( ) | ( ) | ( ) | ( ) |
| Method | Type | EPIC Distance | -value vs. Ref |
|---|---|---|---|
| CoMI-IRL (AIRL) | Single | (Reference) | |
| CoMI-IRL (AIRL) (Combined) | Combined | (Reference) | |
| CoMI-IRL (GAIL) | Single | ||
| CoMI-IRL (GAIL) (Combined) | Combined | ||
| Ess-InfoGAIL (K=12) | Single | [n.s.] | |
| Ess-InfoGAIL (K=12) (Combined) | Combined |
| Stage | NMI | ARI | Sil | ATR | |
|---|---|---|---|---|---|
| Reacher-v4 ( ) | |||||
| 0.76 0.00 | 0.57 0.00 | 0.85 0.00 | 0.93 0.11 | 6 0.00 | |
| 0.84 0.00 | 0.63 0.00 | 0.81 0.00 | 0.93 0.10 | 12 0.00 | |
| Pusher-v4 ( ) | |||||
| 1.00 0.00 | 1.00 0.00 | 0.76 0.00 | 1.10 0.14 | 3 0.00 | |
| 1.00 0.00 | 1.00 0.00 | 0.76 0.00 | 1.09 0.12 | 6 0.00 | |
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| AIRL Hyperparameters |
|---|
| Buffer: batch=256, capacity=2048 |
| Disc: updates=32, reward_hid=(32,), pot_hid=(32,32) |
| PPO: lr=3e-4, batch=64, ent=0.01, =0.99 |
| clip=0.2, epochs=10 |
| Training: 250k timesteps/cluster (1.5M for Walker2d-v4) |
| Hyperparameter | Value | Hyperparameter | Value |
|---|---|---|---|
| use_obs_norm | True | lr_actor | 3e-3 |
| auto_lr | True | lr_critic | 3e-3 |
| rollout_length | 5000 | lr_prior | 3e-3 |
| batch_size | 1000 | lr_disc | 5e-3 |
| num_steps | 2000000 | lr_q | 1e-2 |
| eval_interval | 200000 | epoch_ppo | 20 |
| Param | Reach | Push | Walk | Hopp | HC |
|---|---|---|---|---|---|
| Shared: emb=32, heads=4, layers=2, hid=1024 | |||||
| drop=0.1, =64, =32 | |||||
| Loss: =0.5/1.0/0.5/1.0; epochs=100 | |||||
| lr | 1e-4 | 1e-4 | 5e-4 | 1e-4 | 1e-4 |
| inp_ch | 6 | 20 | 17 | 11 | 17 |
| max_len | 50 | 100 | 100 | 100 | 100 |
| Description | Value | |
|---|---|---|
| Min neighbors for graph | ||
| Max neighbors for graph | ||
| RBF kernel bandwidth | 1.0 | |
| Min cluster size | ||
| Jacobian weight | 0.3 | |
| Novelty threshold | 0.05–0.1 |
| Environment | Active Components ( ) | NMI | ARI | ATR |
|---|---|---|---|---|
| Reacher-v4 | 1.0 0.0 | 0.00 0.00 | 0.00 0.00 | 0.16 0.06 |
| Pusher-v4 | 1.2 0.4 | 0.00 0.00 | 0.00 0.00 | -0.50 0.40 |
| Walker2d-v4 | 3.8 0.7 | 0.07 0.05 | 0.04 0.06 | -0.86 1.87 |
| Hopper-v4 | 1.0 0.0 | 0.00 0.00 | 0.00 0.00 | -0.18 0.22 |
| HalfCheetah-v4 | 2.4 1.0 | 0.00 0.00 | 0.00 0.00 | -0.37 0.33 |
| Method | Pusher-v4 | Hopper-v4 | HalfCheetah-v4 | Walker2d-v4 |
|---|---|---|---|---|
| CoMI-IRL (AIRL) | ||||
| (Reference) | (Reference) | ( ) | ( [n.s.]) | |
| CoMI-IRL (GAIL) | ||||
| ( ) | ( ) | (Reference) | (Reference) | |
| G-AIRL | ||||
| ( [n.s.]) | ( [n.s.]) | ( ) | ( [n.s.]) |
| Method | Type | EPIC Distance | -value vs. Ref |
|---|---|---|---|
| CoMI-IRL (AIRL) | Single | (Reference) | |
| CoMI-IRL (AIRL) (Combined) | Combined | (Reference) | |
| CoMI-IRL (GAIL) | Single | ||
| CoMI-IRL (GAIL) (Combined) | Combined | ||
| Ess-InfoGAIL (K=12) | Single | [n.s.] | |
| Ess-InfoGAIL (K=12) (Combined) | Combined |
| Configuration | NMI | ARI | Sil |
|---|---|---|---|
| Reacher-v4 | |||
| Architecture | |||
| BE (Full) | 0.84 0.00 | 0.63 0.00 | 0.87 0.06 |
| BE (preBlock) | 0.36 0.32 | 0.21 0.23 | 0.29 0.25 |
| Loss Design | |||
| BE + C | 0.44 0.10 | 0.26 0.08 | 0.39 0.07 |
| Reacher | Pusher | Walker | Hopper | HalfCheetah | |
| CoMI-IRL | |||||
| BE | |||||
| Clustering (s) | |||||
| IRL | |||||
| Total | |||||
| Ess-InfoGAIL | |||||
| Method 1 | Method 2 | ||
|---|---|---|---|
| CoMI-IRL (GAIL) | Ess-InfoGAIL(12) | ||
| Ess-InfoGAIL(6) | G-GAIL | ||
| CoMI-IRL (AIRL) | Ess-InfoGAIL(12) | ||
| CoMI-IRL (AIRL) | Ess-InfoGAIL(6) | ||
| Ess-InfoGAIL(3) | G-GAIL | ||
| CoMI-IRL (AIRL) | Ess-InfoGAIL(3) |
Reinforcement Learning
Reinforcement learning studies how agents learn sequential decisions from rewards and interaction, balancing exploration, performance, safety, and adaptation.
See all 1,717 papers