PrefMMT: Modeling Human Preferences in Preference-based Reinforcement Learning with Multimodal Transformers

Dezhong Zhao, Ruiqi Wang, Dayoon Suh, Taehyeon Kim, Ziqin Yuan, Byung-Cheol Min, Guohua Chen

TL;DR

PrefMMT introduces a hierarchical multimodal transformer architecture that treats robot trajectories as distinct streams of state and action data. By explicitly modeling the complex interplay between what a robot sees and what it does, the framework captures nuanced human preferences more accurately than previous methods, leading to significantly better policy performance in complex manipulation and locomotion tasks.

What Problem Does This Paper Address?

In Preference-based Reinforcement Learning (PbRL), robots learn to perform tasks not from a hand-coded reward function, but from human feedback—specifically, by being shown two videos of behavior and being asked, "Which one is better?" The success of this approach hinges on the Preference Model (PM), which must translate these human judgments into a mathematical reward signal.

Most existing PMs suffer from two major flaws:

  1. The Markovian Assumption: They assume a reward depends only on the current state and action, ignoring the "story" or temporal context of the trajectory.
  2. Unimodal Processing: Even recent models that use sequences (like Transformers) treat the entire trajectory as a single stream of data. However, robot behavior is inherently multimodal, consisting of states (what is happening) and actions (what the robot is doing). Human judgment often relies on the interaction between these two—for example, "Did the robot apply the right amount of force (action) given that the object is fragile (state)?"
Comparison of preference modeling approaches: (a) Markovian, (b) Unimodal Sequence, and (c) the proposed Multimodal Sequence modeling.

Methods

The authors propose PrefMMT, a hierarchical multimodal transformer. The architecture follows a four-step process:

  1. Modality Decoupling: The robot trajectory is split into two separate sequences: states ($s_{1:T}$) and actions ($a_{1:T}$).
  2. Intra-Modal Encoding: Two separate 3-layer transformers process these sequences independently. This allows the model to capture temporal patterns specific to each modality, such as smooth transitions in object positions or steady robot arm movements.
  3. Inter-Modal Joint Encoding: This is the "secret sauce." A joint encoder uses causal cross-attention to let the state sequence "talk" to the action sequence and vice versa. This captures how actions are conditioned on states and how states evolve in response to actions.
  4. Reward Generation: The model outputs a sequence of non-Markovian rewards, which are then summed (using learned weights) to produce an overall preference score.
The PrefMMT framework architecture, showing the flow from trajectory input to modality decoupling, intra-modal attention, and finally inter-modal cross-attention.

Datasets

The model was evaluated on several standard robotics benchmarks:

  • D4RL (Locomotion): Tasks like Walker2d and Hopper, where the robot must move efficiently.
  • D4RL (AntMaze): Complex navigation tasks where an "Ant" robot must find its way through a maze.
  • MetaWorld (Manipulation): Tasks involving object interaction, such as "Sweep Into," "Drawer Open," and "Window Close."

The researchers used real human preference labels (100 queries per task) to ensure the model was learning from actual human judgment rather than synthetic "oracle" labels.

Key Insights and Ideas

  • Disentanglement is Powerful: By separating states and actions before looking at their interactions, PrefMMT can identify critical moments more effectively. For instance, in "Sweep Into," it learns to focus on the relationship between the gripper's force and the object's position.
  • Beyond the "Oracle": Remarkably, PrefMMT-trained agents sometimes outperformed "Oracle" agents trained with ground-truth task rewards. This suggests that human preferences can provide a richer, more shaped signal than sparse engineering rewards.
  • Efficiency with Small Data: While some state-of-the-art methods (like CPL) require thousands of labels to be stable, PrefMMT achieved high performance with just 100 human queries, making it much more practical for real-world deployment.

Key Results

PrefMMT consistently outperformed baselines (including the popular Preference Transformer) across almost all tasks.

  • AntMaze: In the challenging "Antmaze-large-play-v2" task, PrefMMT achieved a score of 41.03, more than doubling the performance of the unimodal Preference Transformer (18.20).
  • MetaWorld: It led in average success rates across manipulation tasks, showing particular strength in tasks requiring precise coordination.
  • Human Alignment: Pearson correlation tests showed that PrefMMT’s predicted preferences aligned much more closely with actual human labels than previous methods.
Quantitative results showing PrefMMT outperforming baselines across Gym, AntMaze, and MetaWorld benchmarks.

Qualitative analysis (Figure 5) reveals that the model's attention weights spike during "critical moments," such as when an Ant robot flips over (a failure) or when a robot arm successfully reaches a handle.

Visualization of learned rewards and attention weights for successful and failed trajectories.

Limitations and Future Work

  • Computational Overhead: Using multiple transformer encoders is more computationally expensive than simple MLP-based reward models.
  • Offline vs. Online: This study focused on offline datasets. Extending PrefMMT to an online setting—where the robot learns and asks for preferences in real-time—is a key next step.
  • Modality Expansion: Future work could explore adding more modalities, such as raw pixel data (vision) or natural language instructions, into the hierarchical framework.

Summary updated

BibTeX
@inproceedings{zhao2025prefmmt,
  author = {Dezhong Zhao and Ruiqi Wang and Dayoon Suh and Taehyeon Kim and Ziqin Yuan and Byung-Cheol Min and Guohua Chen},
  title = {{PrefMMT: Modeling Human Preferences in Preference-based Reinforcement Learning with Multimodal Transformers}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2025},
  doi = {10.1109/iros60139.2025.11247027},
}
Figure