Learn Before
Diagnose a poorly designed reward function for an autonomous helicopter landing task.
Case context: An engineer is applying reinforcement learning to fly a helicopter through a trajectory T that ends in a landing. They design a reward function R(.) that gives a large negative reward, such as R(T) = -1,000, if the helicopter crashes, and a positive reward for a safe landing. However, the current reward function only checks whether the helicopter crashed or landed safely, and does not account for how bumpy the landing was, whether the helicopter landed at the desired spot, or how rough the ride was for passengers.
Question: What should the engineer diagnose as the main limitation of this reward function, and how might they revise it to better reflect what makes a trajectory genuinely desirable?
Sample answer: The engineer should diagnose that the reward function is too simplistic because it only distinguishes between crashing and landing safely, without accounting for other factors that determine whether a trajectory is truly desirable. To improve it, the reward function should also incorporate how smooth or bumpy the landing was, whether the helicopter landed exactly at the intended spot, and how rough the ride was for passengers, combining these factors into a single score that better reflects overall trajectory quality.
Key points:
- Reward function currently only distinguishes crash vs. safe landing
- Good reward functions must trade off bumpiness, landing accuracy, and ride roughness
- Designing good reward functions is difficult because multiple factors must be balanced
- Revised reward function should combine these factors into a single score
Rubric: Full credit: identifies that the reward function ignores bumpiness, landing accuracy, and ride roughness, and proposes incorporating these factors into the score. Partial credit: identifies the limitation but does not propose a revision, or vice versa. No credit: does not identify the missing trade-offs.
0
1
References
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Tags
Data Science
Foundations of Large Language Models Course
Computing Sciences
Machine Learning
Deep Learning
Supervised Learning
Dive into Deep Learning @ D2L
Machine Learning Yearning @ DeepLearning.AI
Related
Reinforcement Learning Example - Autonomous Vehicles
Reinforcement Learning Analogy - Video Games
Machine Learning for Absolute Beginners
Deep Learning vs. Reinforcement Learning
Fundamental Concepts for Reinforcement Learning
Reinforcement Learning Refrence and Cutting-edge Ideas
A team is developing a program to play a complex board game against human opponents. The program has no pre-existing data of past games to learn from. Instead, it is designed to learn by playing against itself repeatedly. After each game, the program receives a positive signal if it wins and a negative signal if it loses. Over time, it is expected to discover winning strategies on its own. Which of the following statements best analyzes why this learning approach is suitable for this task?
Robot Maze Navigation Strategy
Evaluating Learning Strategies for a Recommendation System
Reward Function for Reinforcement Learning Trajectories
What is the machine's primary goal during the trial-and-error process in reinforcement learning?
Reinforcement learning models keep learning continuously, unlike supervised or unsupervised models.
In reinforcement learning, the machine aims to maximize the total _____ by using lessons from previous attempts.
Match each reinforcement learning term to its correct description.
Order the steps of applying reinforcement learning to a task like flying a helicopter.
Why is reinforcement learning considered more advanced than supervised or unsupervised learning?
Diagnose a poorly designed reward function for an autonomous helicopter landing task.
Why is it difficult to design a good reward function for a reinforcement learning task?
Why might a crashed helicopter trajectory receive a large negative reward like R(T) = -1,000?
The reward function for helicopter trajectories is generated automatically without human input.