1. Home
  2. Explore
  3. Computer Science
  4. Deep Reinforcement Learning

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Deep Reinforcement Learning

  • 19Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: RL Architecture Recap

What are the four main components of the reinforcement learning architecture?

19 questions

  1. 1

    What are the four main components of the reinforcement learning architecture?

    Model answer

    The agent, environment, state, and action.

    Explanation

    The agent measures the environment through state s, takes action a, and receives reward. The policy maps states to actions.

  2. 2

    What is the role of the policy in reinforcement learning?

    Model answer

    The policy is a probabilistic strategy that maps states to actions, guiding the agent's behavior.

    Explanation

    The policy pipipi gives the probability of taking action aaa in state sss, and is optimized to maximize future rewards.

  3. 3

    What does the value function represent in reinforcement learning?

    Model answer

    The value function Vpi(s)V^pi(s)Vpi(s) tells how valuable being in a given state is under the current policy pipipi.

    Explanation

    It estimates the expected future reward from state sss following the policy.

  4. 4

    What is the discount factor gammagammagamma and why is it used?

    Model answer

    The discount factor gammagammagamma determines how much future rewards are worth relative to immediate rewards, making near-future rewards more valuable.

    Explanation

    Rewards are often sparse, so discounting helps the agent prioritize short-term gains and stabilize learning.

  5. 5

    How are deep neural networks used in deep reinforcement learning?

    Model answer

    They are used to represent the policy or the Q-function, mapping states to actions or state-action pairs to quality values.

    Explanation

    The network is parameterized by heta hetaheta and can approximate complex functions, enabling learning in high-dimensional state spaces.

  6. 6

    Explain the principle of Hebbian learning and its relevance to deep reinforcement learning.

    Model answer

    Hebbian learning states that 'neurons that fire together wire together', meaning connections between simultaneously active neurons are strengthened. In deep RL, the reward signal strengthens the neural connections that led to good actions.

    Explanation

    This biologically inspired idea guides how the agent updates its policy network via backpropagation using reward feedback.

  7. 7

    What is the Q-function in reinforcement learning?

    Model answer

    The Q-function Q(s,a)Q(s, a)Q(s,a) gives the quality of taking action aaa in state sss and then following the optimal policy thereafter.

    Explanation

    It combines the policy and value: Qpi(s,a)=mathbbE[Rt∣st=s,at=a]Q^pi(s,a) = mathbb{E}[R_t | s_t=s, a_t=a]Qpi(s,a)=mathbbE[Rt​∣st​=s,at​=a] assuming optimal future actions.

  8. 8

    How does a deep Q-network (DQN) work?

    Model answer

    A DQN learns the Q-function using a deep neural network. Once learned, the agent picks the action with the highest Q-value for a given state.

    Explanation

    This approach allows handling large state spaces, and the network is trained by minimizing the difference between predicted and target Q-values.

  9. 9

    What is the credit assignment problem in reinforcement learning?

    Model answer

    It is the difficulty of determining which specific actions led to a reward when rewards are sparse and occur only after many steps.

    Explanation

    For example, in a game of chess, the reward (win/loss) comes only at the end, making it hard to attribute it to earlier moves.

  10. 10

    What is reward shaping and why is it used?

    Model answer

    Reward shaping provides intermediate rewards based on expert intuition to guide the agent, making the reward signal denser and learning faster.

    Explanation

    It helps overcome the credit assignment problem by giving feedback during the episode rather than only at the end.

  11. 11

    What was the key result of the 2015 Nature paper 'Human-level control through deep reinforcement learning'?

    Model answer

    It demonstrated a DQN that achieved human-level or superhuman performance on many Atari 2600 games.

    Explanation

    This paper brought deep reinforcement learning to the forefront, showing that agents could learn complex strategies directly from pixels.

  12. 12

    In the DeepMind Atari paper, what input representation did the network use?

    Model answer

    The network used the raw pixels of the game screen as input.

    Explanation

    Convolutional layers processed the pixels, followed by fully connected layers that output joystick actions.

  13. 13

    What exploit did the DQN learn in the game Breakout?

    Model answer

    It learned to tunnel through one side of the blocks, allowing the ball to break all blocks from behind using the game physics.

    Explanation

    This sophisticated strategy is rarely discovered by human players, showcasing the agent's ability to find optimal policies.

  14. 14

    What is the main limitation of the DQN trained on a single Atari game?

    Model answer

    The same trained network cannot play a different game without being completely retrained.

    Explanation

    This highlights the lack of transfer learning: the agent does not generalize across tasks.

  15. 15

    What is the OpenAI Gym and why is it important for reinforcement learning?

    Model answer

    OpenAI Gym is an open-source development framework that provides simulated environments (e.g., Atari games, robotic controls) for testing RL algorithms.

    Explanation

    It enables rapid prototyping and benchmarking, accelerating progress in the field.

  16. 16

    Give an example of a real-world industrial application of reinforcement learning mentioned in the lecture.

    Model answer

    Elevator scheduling in skyscrapers to minimize wait times.

    Explanation

    Reinforcement learning was used to learn near-optimal scheduling policies for complex multi-elevator systems.

  17. 17

    How does AlphaGo differ from AlphaGo Zero in terms of training and architecture?

    Model answer

    AlphaGo used reward shaping from human experts and a convolutional neural network. AlphaGo Zero used self-play without human features, no reward shaping, and a residual network (ResNet).

    Explanation

    AlphaGo Zero achieved superior performance by learning only from games against itself, removing the ceiling imposed by human knowledge.

  18. 18

    What is the main open problem in modern reinforcement learning?

    Model answer

    Transfer learning and generalization: building systems that can use knowledge from one task to learn another faster, and eventually achieve general artificial intelligence.

    Explanation

    Humans can transfer skills across domains (tic-tac-toe to chess), but current RL agents cannot without retraining.

  19. 19

    Why is it challenging to apply reinforcement learning to real-world robotic systems?

    Model answer

    The simulation-to-reality gap, high sample complexity, and the need for safe exploration make it difficult; currently, most real robots rely on physics-based modeling rather than pure RL.

    Explanation

    Training directly on physical robots is time-consuming, potentially dangerous, and the learning often doesn't transfer directly from simulation.

1 of 19
Question 1 of 19

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent