Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Next-Gen AI: Deep Reinforcement Learning in PyTorch IV

AI Thế Hệ Mới: Học Tăng Cường Sâu trong PyTorch IV

AI Thế Hệ Mới: Học Tăng Cường Sâu trong PyTorch IV

Xây dựng các tác tử Trí tuệ nhân tạo (AI) bằng Học Tăng cường trong PyTorch: SAC, PPO, TRPO, và nhiều hơn nữa!

5.0
(12 đánh giá)
136 học viên
Giảng viên
Lazy Programmer Team
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 1.099.000đ -95%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
21.0 giờ video
88 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 31/05/2026

Bạn sẽ học được gì

Ôn tập kiến thức nền tảng về Học Tăng cường: MDP, Phương trình Bellman, Q-Learning
Lý thuyết và triển khai SAC (Soft Actor-Critic)
Lý thuyết và triển khai PPO (Proximal Policy Optimization)
Nền tảng của TRPO (Trust Region Policy Optimization)
Áp dụng RL vào nhiều môi trường thực tế và luyện tập khác nhau (mô phỏng vật lý, thị trường chứng khoán)

Yêu cầu

Kiến thức nền tảng về Học Tăng cường: MDP, Phương trình Bellman, Phương pháp Monte Carlo, Học Sai phân Thời gian
Toán STEM bậc đại học: giải tích, xác suất, thống kê
Lập trình Python và tính toán số học (Numpy, Matplotlib, v.v.)
Kiến thức nền tảng về Học Sâu: mạng nơ-ron, tối ưu siêu tham số, v.v.

Đối tượng phù hợp

Những người đam mê Học máy & AI muốn khám phá một trong những lĩnh vực thú vị nhất của AI: học tăng cường
Nhà phát triển phần mềm và kỹ sư muốn xây dựng các tác tử thông minh có khả năng học từ kinh nghiệm
Chuyên gia tài chính định lượng quan tâm đến việc áp dụng RL vào quản lý rủi ro và giao dịch thuật toán
Sinh viên và nhà nghiên cứu trong lĩnh vực AI, khoa học máy tính, hoặc khoa học dữ liệu muốn có trải nghiệm thực hành với các triển khai RL thực tế
Nhà phát triển game tò mò về việc sử dụng RL để huấn luyện AI cho các hành vi phức tạp và lối chơi thích ứng
Chuyên gia về robot muốn tìm hiểu cách các tác tử đưa ra quyết định tuần tự trong môi trường vật lý
Nhà khoa học dữ liệu muốn mở rộng bộ công cụ của mình ra ngoài học có giám sát / học không giám sát
Nhà giao dịch và nhà đầu tư muốn áp dụng các phương pháp AI tiên tiến vào chiến lược giao dịch tự động
Doanh nhân và người có sở thích muốn thử nghiệm các mô hình AI tiên tiến và xây dựng các dự án có khả năng học hỏi và thích ứng theo thời gian
Chuyên gia đang chuyển đổi ngành sang AI/ML và muốn tìm kiếm các dự án thực tế, sẵn sàng cho portfolio

Nội dung khóa học

14 phần • 88 bài giảng
1 Giới thiệu
2 Đề cương
3 Nơi lấy mã nguồn
4 Cách thành công trong khóa học này
1 Thuật ngữ Học Tăng cường
2 Lợi nhuận, Hàm Giá trị và Phương trình Bellman
3 Cải thiện Chính sách và Lặp Chính sách
4 Q-Learning, Học TD và Phương pháp Monte Carlo
5 Hộp góp ý
1 Khái niệm cơ bản về Gymnasium
2 Môi trường Vector
3 Tự động đặt lại
4 Q-Learning trong Python
1 Các khái niệm DQN
2 Tổng quan các tính năng của DQN
1 Giới thiệu phần SAC
2 Ôn tập DDPG
3 Ôn tập TD3
4 Từ TD3 đến SAC
5 SAC: Tính toán Entropy
6 Thêm về Entropy (Tùy chọn)
7 SAC: Tính toán Mục tiêu của Actor
8 SAC: Tính toán Mục tiêu của Critic
9 Tại sao Q-target lại bao gồm entropy?
10 SAC: Thay đổi biến số
11 SAC: Tự động cân bằng Khám phá Khai thác
12 Chi tiết: Biến đổi co giãn
13 Tổng kết SAC
14 SAC trong Python (MuJoCo) phần 1
15 SAC trong Python (MuJoCo) phần 2
16 SAC trong Python (MuJoCo) phần 3
17 SAC trong Python (CartPole)
18 Ghi chú về trường hợp rời rạc của SAC
1 Giới thiệu phần PPO
2 TRPO (Trust Region Policy Optimization) phần 1
3 TRPO (Trust Region Policy Optimization) phần 2
4 Lý thuyết PPO
5 Generalized Advantage Estimation (GAE)
6 Lưu ý về ký hiệu GAE
7 Chi tiết về PPO
8 KL Divergence để dừng sớm (Tùy chọn)
9 Tổng kết PPO
10 PPO trong Python (CartPole) phần 1
11 PPO trong Python (CartPole) phần 2
12 PPO trong Python (Hành động liên tục)
13 GAE trong Python
1 Giới thiệu Atari
2 Cách RL được sử dụng để chơi game Atari
3 Stable Baselines 3 và các Wrapper môi trường dành riêng cho Atari
4 PPO cho Atari
5 SAC cho Atari
1 Động lực và Đề cương
2 Toán danh mục đầu tư
3 Các hành động hoạt động như thế nào?
4 Chỉ báo Kỹ thuật: RSI
5 Chỉ báo Kỹ thuật: MACD
6 Xây dựng Môi trường
7 Mô hình hóa Chi phí Giao dịch
8 Thuật toán Chuẩn: Danh mục đầu tư Trọng số không đổi
9 PPO cho Tối ưu hóa Danh mục đầu tư Đa kỳ
10 SAC cho Tối ưu hóa Danh mục đầu tư Đa kỳ
11 Đi sâu hơn
1 Giới thiệu phần Ôn tập nền tảng
2 Các yếu tố của một bài toán Học Tăng cường
3 Trạng thái, Hành động, Phần thưởng, Chính sách
4 Quy trình Quyết định Markov (MDP)
5 Lợi nhuận
6 Hàm Giá trị và Phương trình Bellman
7 "Học" nghĩa là gì?
8 Giải Phương trình Bellman bằng Học Tăng cường (phần 1)
9 Giải Phương trình Bellman bằng Học Tăng cường (phần 2)
10 Epsilon-Greedy
11 Q-Learning
12 Cách học Học Tăng cường
1 Phụ lục là gì?
1 Kiểm tra trước khi cài đặt
2 Thiết lập Môi trường Anaconda
3 Cách cài đặt Numpy, Scipy, Matplotlib, Pandas, PyTorch và TensorFlow
1 Xử lý sự cố khi lấy mã nguồn
2 Cách sử dụng Github & Mẹo lập trình bổ sung (Tùy chọn)
3 Cách tự lập trình (phần 1)
4 Cách tự lập trình (phần 2)
5 Chứng minh rằng sử dụng Jupyter Notebook cũng giống như không sử dụng
1 Cách thành công trong Khóa học này (Phiên bản dài)
2 Khóa học này dành cho Người mới bắt đầu hay Chuyên gia? Học thuật hay Thực tiễn? Nhanh hay chậm?
3 Tôi nên học các khóa học của bạn theo thứ tự nào? (phần 1)
4 Tôi nên học các khóa học của bạn theo thứ tự nào? (phần 2)
1 BONUS

Giới thiệu khóa học

This course contains the use of artificial intelligence (it's an AI course, duh!).


Welcome to the next generation of Deep Reinforcement Learning.

This course picks up where the previous series left off and dives into the modern algorithms that define today’s state of the art: Soft Actor-Critic (SAC), Trust Region Policy Optimization (TRPO), and Proximal Policy Optimization (PPO).

These are the methods used in cutting-edge research and real-world applications where stability, efficiency, and performance matter.


Why This Course?

Deep RL has evolved rapidly. Algorithms like DQN, DDPG, and TD3 laid the groundwork, but modern practitioners rely on entropy-regularized methods and trust-region optimization to achieve stable learning in complex environments.

This course brings you up to speed with:


  • Soft Actor-Critic (SAC): Entropy-regularized RL for stable and highly efficient learning.

  • TRPO Foundations: The theoretical backbone of modern policy optimization.

  • Proximal Policy Optimization (PPO): The industry-standard algorithm used across research and production.

  • Atari Environments: Train agents on high-dimensional visual inputs.

  • Multi-Period Portfolio Optimization: A real-world VIP project using modern RL.


What You’ll Master

This course bridges theory and implementation. A Lazy Programmer course is never just about using libraries. You’ll build each algorithm step-by-step in PyTorch and understand exactly why they work.


1. Reinforcement Learning Foundations Review

We begin with a concise but thorough refresher of the core ideas that power all reinforcement learning algorithms. You’ll revisit Markov Decision Processes (MDPs), Dynamic Programming (DP), Monte Carlo (MC) methods, and Temporal Difference (TD) learning, along with Q-learning and function approximation. This section ensures you understand how value functions are estimated, how policies improve over time, and how deep learning integrates into RL. We also include a review of Deep Q Networks (DQN) to bridge the gap between value-based methods and the advanced policy-gradient algorithms that follow.


2. Soft Actor-Critic (SAC)

Next, we dive into Soft Actor-Critic, one of the most powerful and stable algorithms in modern deep reinforcement learning. We begin with a brief review of DDPG and TD3 to motivate why SAC was developed, then introduce entropy-regularized reinforcement learning and the concept of maximizing both reward and randomness. You’ll learn how to compute the soft actor and soft critic objectives, how stochastic policies require a change-of-variables correction, and how SAC automatically balances exploration and exploitation.


3. Trust Region Policy Optimization (TRPO)

Before implementing PPO, we carefully develop the theoretical foundation that inspired it: Trust Region Policy Optimization. You’ll learn why naive policy gradient methods can become unstable, and how constraining policy updates using KL divergence leads to more reliable learning. This section explains the trust-region idea, how surrogate objectives are constructed, and why TRPO provides monotonic policy improvement. Even though TRPO is more complex to implement, understanding its derivation gives you deep insight into modern policy optimization methods.

This gives you the theoretical insight most courses skip.


4. Proximal Policy Optimization (PPO)

With TRPO as the foundation, we move on to Proximal Policy Optimization, the algorithm that has become the industry standard for deep reinforcement learning. You’ll see how PPO approximates TRPO while remaining simple enough for practical implementation. We derive the clipped surrogate objective, introduce Generalized Advantage Estimation (GAE) for reducing variance, and show how KL divergence can be used for early stopping. The algorithm is implemented from scratch and tested in both discrete and continuous control environments.


5. Atari Deep Reinforcement Learning

After mastering continuous and low-dimensional environments, we move to Atari games, where agents must learn directly from high-dimensional visual input. You’ll build convolutional neural network policies, implement frame stacking and preprocessing, and learn the practical techniques needed to stabilize training in complex environments. This section demonstrates how modern policy-gradient algorithms scale to challenging problems and provides experience working with the same types of benchmarks used in deep RL research.


6. The VIP Project: Multi-Period Portfolio Optimization

Finally, you’ll apply everything you’ve learned to a real-world finance project: multi-period portfolio optimization. Traditional portfolio theory requires predicting expected returns and asset correlations and typically focuses on single-period decisions. In contrast, you’ll build a reinforcement learning agent that learns directly from historical data and dynamically adjusts allocations over time. The agent optimizes long-term performance, balances risk and return, and adapts to changing market conditions. This project demonstrates how deep reinforcement learning can overcome the limitations of classical portfolio methods and provides a practical end-to-end application of modern RL algorithms.


Is This Course For You?

If you are a programmer, data scientist, or AI enthusiast who wants to master the most important modern Deep Reinforcement Learning algorithms, this course is for you.

This course goes beyond “plug-and-play” libraries. You will build everything in PyTorch, understand the math, and gain the intuition needed to design your own RL agents.

If you want to understand SAC, PPO, and TRPO at a deep level (and apply them to real-world problems) this course is your roadmap.

Are you ready to build the next generation of intelligent agents?


Suggested prerequisites:

  • calculus

  • probability and statistics

  • Python coding: if/else, loops, lists, dicts, sets

  • Numpy coding: matrix and vector operations, loading CSV files

  • Neural networks and backpropagation

  • Can write a feedforward neural network in PyTorch

  • Can write a convolutional neural network in PyTorch

  • Markov Decision Processes (MDPs)

  • Temporal Difference learning

  • Basic familiarity with Deep Reinforcement Learning

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Deep Reinforcement Learning
Hiển thị tất cả khoá học Machine Learning
Hiển thị tất cả khoá học Python
Hiển thị tất cả khoá học Pytorch
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊