Skip to main content

MetaWorld: Multi-Task RL Benchmark

MetaWorld is a comprehensive simulation benchmark for multi-task and meta reinforcement learning in continuous-control robotic manipulation. MetaWorld MT10 Demo

Overview

MetaWorld provides a standardized testbed for evaluating whether algorithms can:
  1. Learn many different tasks simultaneously (multi-task learning)
  2. Generalize quickly to new tasks (meta-learning, few-shot adaptation)

Why MetaWorld Matters

Diverse, realistic tasks: 50 tabletop manipulation tasks with everyday objects ✅ Consistent interface: Common Sawyer arm and observation structure across all tasks ✅ Standardized evaluation: Clear difficulty splits for fair comparison ✅ Focus on transfer: Reveals whether agents learn transferable skills vs. overfitting ✅ Community adoption: Widely used benchmark with established baselines

Task Suites

MetaWorld organizes tasks into several benchmarks:
  • MT10: 10 training tasks for multi-task learning
  • MT50: 50 training tasks (most challenging multi-task setting)
  • ML10 / ML45: Meta-learning benchmarks with train/test task splits
LeRobot primarily supports MT50 for comprehensive multi-task evaluation.

Installation

Install MetaWorld after LeRobot:
If you encounter AssertionError: ['human', 'rgb_array', 'depth_array'], it’s due to a Gymnasium version mismatch. Install gymnasium==1.1.0 to fix.

Dataset

LeRobot provides a preprocessed MetaWorld dataset: 👉 lerobot/metaworld_mt50 Features:
  • MT50 coverage: All 50 tasks
  • One-hot task conditioning: Task vectors for multi-task policies
  • Fixed configurations: Consistent object/goal positions for reproducibility
  • LeRobot format: Ready for training with standard policies

Training

Train on Specific Tasks

Train on Difficulty Groups

Difficulty groups:
  • easy: Simpler manipulation tasks
  • medium: Moderate difficulty tasks
  • hard: Complex, long-horizon tasks
Use explicit task lists for fine-grained control, or difficulty groups for standardized evaluation.

Evaluation

Evaluate on Specific Tasks

Evaluate on Difficulty Split

Full MT50 Evaluation

For comprehensive benchmarking:

Observation and Action Spaces

Observations

MetaWorld environments provide:
Observation types:
  • obs_type="pixels": Visual observations only
  • obs_type="pixels_agent_pos": Visual + robot state (end-effector position)
State dimensions (when using pixels_agent_pos):
  • Shape: (4,)
  • Contents: End-effector XYZ position + gripper state

Actions

  • Space: Box(-1, 1, shape=(4,), dtype=float32)
  • Dimensions: 3-DoF end-effector delta + 1-DoF gripper
  • Range: Normalized to [-1, 1]

Environment Configuration

Camera Configuration

MetaWorld supports different camera angles:
The corner2 camera is positioned for optimal task visibility and matches the configuration in research papers.

Task Groups

MetaWorld organizes tasks by difficulty:

Easy Tasks

Simple pick-and-place, reaching, and button pressing:
  • reach-v3, push-v3, pick-place-v3
  • door-open-v3, drawer-open-v3, button-press-v3
  • And more…

Medium Tasks

Moderate complexity with multiple objects:
  • assembly-v3, box-close-v3, door-close-v3
  • hand-insert-v3, peg-insert-side-v3
  • And more…

Hard Tasks

Long-horizon, multi-stage manipulation:
  • dial-turn-v3, faucet-close-v3, faucet-open-v3
  • handle-press-side-v3, handle-pull-side-v3
  • And more…

Code Examples

Basic Usage

Multi-Task Evaluation

With Policy Inference

Performance Tips

Maximize Throughput

Reduce Memory Usage

Expert Policies

MetaWorld includes scripted expert policies for each task:
Use expert policies for data collection or imitation learning baselines.

Troubleshooting

Gymnasium Assertion Error

If you see AssertionError: ['human', 'rgb_array', 'depth_array']:

Camera Rendering Issues

If images appear flipped or incorrect:

Task Not Found

Ensure task names include the version suffix:

Success Rate Always Zero

Check the info dict for success signals:

Available Tasks

Full list of MetaWorld tasks (all with -v3 suffix): Easy:
  • reach-v3, push-v3, pick-place-v3, door-open-v3, drawer-open-v3, button-press-v3, button-press-topdown-v3, peg-insert-side-v3
Medium:
  • assembly-v3, box-close-v3, door-close-v3, hand-insert-v3, drawer-close-v3, button-press-topdown-wall-v3, peg-unplug-side-v3, window-open-v3
Hard:
  • dial-turn-v3, faucet-close-v3, faucet-open-v3, handle-press-side-v3, handle-pull-side-v3, handle-press-v3, handle-pull-v3, lever-pull-v3
And many more! See the MetaWorld documentation for the complete list.

See Also