A comprehensive hands-on exercise implementing and training various reinforcement learning algorithms for control problems, from classic game environments to advanced control system applications.
This exercise is structured in four main parts, progressively building from fundamental RL concepts to advanced control applications:
- Actor-Critic Algorithm - Learn policy gradient methods with value function approximation
- DDPG (Deep Deterministic Policy Gradient) - Implement continuous control with actor-critic networks
- DDPG for Control Problem I - Apply DDPG to a practical control system
- DDPG for Control Problem II - Extend to a more complex control scenario
- Understand neural network-based policy and value function approximation
- Implement policy gradient algorithms (Actor-Critic)
- Develop continuous control algorithms (DDPG)
- Apply RL techniques to real-world control problems
- Train agents and evaluate their performance
RLinControl_CE.ipynb
βββ Part 0: Setup & Utilities
βββ Part 1: Actor-Critic
βββ Part 2: DDPG
βββ Part 3: DDPG for Control Problem I
βββ Part 4: DDPG for Control Problem II
- Total Reward per Episode: Immediate performance indicator
- Average Reward (50-episode MA): Smoothed performance trend
- Closed-Loop Response: System output under different inputs
- Convergence Speed: How quickly the agent learns
- Part 1 (Actor-Critic): Episodic reward should converge to ~500 on CartPole
- Part 2 (DDPG): Average reward should trend toward -200 to -300 on Pendulum
- Parts 3-4: Depends on control problem design and reward structure
- Python Control: https://python-control.readthedocs.io/
- Gymnasium: https://gymnasium.farama.org/
Institution: IUST Type: Comprehensive Exercise Level: Intermediate to Advanced RL
Last Updated: 2025 Status: Active Exercise with TODO sections for student completion