Skip to main content
ToolPotion
AI Advisor
Submit a Tool (Free)

Handful of Trials

This repository contains experiment code for "Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Models." It implements the PETS algorithm, combining uncertainty-aware deep network dynamics models with sampling-based uncertainty propagation for efficient sample learning in RL tasks.

View Repository
Share
View Repository
Share

This GitHub repository, "handful-of-trials," hosts the experimental code for the research paper "Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Models." The project focuses on model-based reinforcement learning (RL) and addresses the common challenge where model-based algorithms, despite their sample efficiency, often underperform model-free algorithms in asymptotic performance, particularly when using high-capacity function approximators like deep networks.

Read More

The core innovation presented is the Probabilistic Ensembles with Trajectory Sampling (PETS) algorithm. PETS bridges the performance gap by employing uncertainty-aware dynamics models. It integrates deep network dynamics models that are aware of their own uncertainties with sophisticated sampling-based uncertainty propagation techniques. This approach allows the model to learn effectively from limited data, a critical factor in many real-world RL applications where data collection is expensive or time-consuming.

The repository provides the necessary code to reproduce the experiments described in the paper. It includes scripts for running experiments on various benchmark tasks, such as cartpole, reacher, pusher, and halfcheetah. Users can configure experiments by specifying environment names, controller arguments (e.g., model type, propagation method, optimizer), and parameter overrides. The code also includes utilities for visualizing rollouts and analyzing results, with trial data logged in a structured format.

To facilitate ease of use, the repository offers a Dockerfile for creating a self-contained environment, including necessary dependencies like MuJoCo. A pre-built Docker image is also available. The project is written primarily in Python, with a significant portion of the code dedicated to the implementation of the PETS algorithm and its associated components, such as probabilistic ensembles and trajectory sampling methods. The research aims to demonstrate that model-based RL can achieve state-of-the-art asymptotic performance while requiring substantially fewer samples than leading model-free methods.

  • CategoryAI Models & LLMs
  • Pricing ModelOpen source
  • DeploymentCloud, Self-hosted
  • PlatformsLinux

  • Implementation of the PETS algorithm for deep reinforcement learning.

  • Utilizes uncertainty-aware deep network dynamics models.

  • Employs sampling-based uncertainty propagation for efficient learning.

  • Code for reproducing experiments on benchmark RL tasks.

  • Includes scripts for running and configuring experiments.

  • Provides visualization tools for rollouts.

  • Offers a Dockerfile and pre-built image for environment setup.

  • Supports various controller configurations including model type, propagation, and optimization methods.

  1. Clone the repository: Obtain the code from the GitHub repository.

  2. Set up environment: Install dependencies using `requirements.txt` or use the provided Dockerfile/image.

  3. Configure experiments: Specify environment, controller arguments, and overrides as needed.

  4. Run experiments: Execute experiments using `python scripts/mbexp.py` with desired parameters.

  5. Analyze results: Examine logged data in `logs.mat` for observations, actions, rewards, and returns.

  6. Visualize rollouts: Use `python scripts/render.py` to visualize trained model performance.

  • Sample Efficient RL
  • Model-Based RL Research
  • Robotics Control
  • Benchmark RL Tasks
  • Uncertainty Quantification in RL
  • Deep Learning for Dynamics Modeling

Handful of Trials Reviews

Loading...

Popular AI Tools Like Handful of Trials

maml_rl

AI GitHub Repos

This repository provides code for reinforcement learning experiments detailed in the "Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks" paper. It enables…

AI Models & LLMs
View Tool

AI GitHub Repos

This repository provides code for reinforcement learning experiments detailed in the "Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks" paper. It enables…

AI Models & LLMs
See the Top 250 AI GitHub Repos

This GitHub repository contains the code for the "When to Trust Your Model: Model-Based Policy Optimization" paper. It provides implementations for model-based policy optimization…

AI Models & LLMs
View Tool

This repository provides the author's official PyTorch implementation of Twin Delayed Deep Deterministic Policy Gradients (TD3). It is designed for continuous control tasks within…

Other AI Tools
View Tool

World Models

AI Models

World Models is a research project exploring generative neural network models for reinforcement learning environments. It enables agents to learn within simulated 'dreams'…

Other AI Tools
View Tool

AI Models

Research project exploring generative neural network models for reinforcement learning environments. It enables agents to learn within simulated 'dreams'…World Models is a research project exploring generative neural network models for reinforcement learning environments. It enables agents to learn within simulated 'dreams'…

Other AI Tools
See the Top 5 AI Models

DeepSeek-R1

AI Models

DeepSeek-R1 is an advanced AI reasoning model developed to enhance problem-solving capabilities through reinforcement learning. It aims to democratize AI by providing open-source…

AI Models & LLMs
View Tool

AI Models

Advanced AI reasoning model developed to enhance problem-solving capabilities through reinforcement learning. It aims to democratize AI by providing open-source…DeepSeek-R1 is an advanced AI reasoning model developed to enhance problem-solving capabilities through reinforcement learning. It aims to democratize AI by providing open-source…

FeaturedAI Models & LLMs
See the Top 5 AI Models

Unity ML-Agents Toolkit is an open-source project that allows games and simulations to be used as environments for training intelligent agents using deep reinforcement learning…

AI Game Development ToolsGaming & Esports

Ranked #64 in AI GitHub Repos

View Tool

Open-source project that allows games and simulations to be used as environments for training intelligent agents using deep reinforcement learning…Unity ML-Agents Toolkit is an open-source project that allows games and simulations to be used as environments for training intelligent agents using deep reinforcement learning…

AI Game Development ToolsGaming & Esports
Ranked #64 in AI GitHub Repos

OpenManus-RL

AI GitHub Repos

OpenManus-RL is an open-source project focused on live-stream development for Reinforcement Learning (RL) tuning of Large Language Model (LLM) agents. It aims to explore new…

AI Agent Builders
View Tool

AI GitHub Repos

Open-source project focused on live-stream development for Reinforcement Learning (RL) tuning of Large Language Model (LLM) agents. It aims to explore new…OpenManus-RL is an open-source project focused on live-stream development for Reinforcement Learning (RL) tuning of Large Language Model (LLM) agents. It aims to explore new…

AI Agent Builders
See the Top 250 AI GitHub Repos

Spinning Up in Deep RL provides comprehensive documentation for learning deep reinforcement learning. It includes installation guides, algorithms, experiment management, and…

Corporate Training & E-Learning

Ranked #59 in AI Learning

View Tool

Provides comprehensive documentation for learning deep reinforcement learning. It includes installation guides, algorithms, experiment management, and…Spinning Up in Deep RL provides comprehensive documentation for learning deep reinforcement learning. It includes installation guides, algorithms, experiment management, and…

FeaturedCorporate Training & E-Learning
Ranked #59 in AI Learning
1 of 8