TEP-Dreamer Implementation Skill

Implement a DreamerV3 world-model pipeline with a risk-bounded safety shield for the Tennessee Eastman Process.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/KK1182112KK/tep-dreamer --skill tep-dreamer-implementation-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TEP-Dreamer Implementation Skill
Source: https://github.com/KK1182112KK/tep-dreamer/tree/main
Command: npx skills add https://github.com/KK1182112KK/tep-dreamer --skill tep-dreamer-implementation-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires torch, numpy, scipy, gymnasium, cvxpy, osqp, hydra-core, omegaconf, wandb, pandas, matplotlib, seaborn, plotly, tqdm, tensorboard, pyyaml, and includes scripts (resource) components.

What problem does it solve?

This Skill guides implementing a DreamerV3-based world-model reinforcement learning system with a risk-bounded safety shield for the Tennessee Eastman Process (TEP).

Core Features & Use Cases

  • DreamerV3 World Model: Learn latent dynamics and perform imagined rollouts to enable planning and control.
  • Constraint Head with Quantile Regression: Predicts physical constraint margins with calibrated uncertainty to guide safe interventions.
  • Risk-Bounded Safety Shield: Quadratic/convex optimization-based action correction that minimally alters RL actions to satisfy safety budgets under a two-tier constraint scheme (Tier-1 trip and Tier-2 alarms).
  • 4-Axis Holdout Evaluation: Tests generalization across disturbance type, intensity, transition, and compound disturbances.
  • Phase-Driven Development: Structured progression from environment wiring to shield integration and evaluation.
  • Visualization & Dashboard (Nice-to-have): Optional live dashboards for monitoring margins and shield activity.

Quick Start

Follow the Quick Start steps to train and evaluate the Dreamer-based safe controller on the Tennessee Eastman Process.

Frequently Asked Questions about TEP-Dreamer Implementation Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a safety shield to a DreamerV3 reinforcement learning pipeline for process control?

To add a safety shield to a DreamerV3 reinforcement learning pipeline, you implement a quadratic optimization-based action correction mechanism that minimally alters RL actions to satisfy defined safety budgets under a two-tier constraint scheme.

What is quantile regression used for in world-model reinforcement learning safety?

Quantile regression in world-model reinforcement learning safety is used within a Constraint Head to predict physical constraint margins with calibrated uncertainty, which effectively guides safe interventions and risk-bounded action corrections.

How do I evaluate reinforcement learning generalization on the Tennessee Eastman Process?

To evaluate reinforcement learning generalization on the Tennessee Eastman Process, you configure 4-axis holdout tests that assess policy robustness across disturbance type, intensity, transition, and compound disturbances.

Can I use cvxpy and osqp to build a risk-bounded safety shield for DreamerV3?

Yes, you can use cvxpy and osqp to build a risk-bounded safety shield for DreamerV3, as these dependencies provide the required quadratic and convex optimization capabilities for action correction.

Do I need PyTorch and gymnasium to train a safe DreamerV3 world model?

Yes, you need PyTorch and gymnasium to train a safe DreamerV3 world model, as PyTorch handles latent dynamics learning and imagined rollouts while gymnasium provides the Tennessee Eastman Process environment interface.

What are the limitations of using DreamerV3 for Tennessee Eastman Process control?

A limitation of using DreamerV3 for Tennessee Eastman Process control is the necessity of a two-tier safety constraint scheme to handle Tier-1 trips and Tier-2 alarms, requiring complex convex optimization to maintain safety budgets.