• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 16 pages
Exam (elaborations)

Cs7643 Quiz 5 - P1 Questions And Verified Correct Answers Graded A-Mlatest Guaranteed Pass.docx

Document preview thumbnail
Preview 3 out of 16 pages

Cs7643 Quiz 5 - P1 Questions And Verified Correct Answers Graded A-Mlatest Guaranteed P

Content preview

CS7643 Quiz 5 - P1
EXAM questions and verified
correct answers 100% guaranteed
pass latest 2026-2027



Exploration is more of a long-term benefit concept where it allows the agent to improve its
knowledge about each action which could lead to long term benefit.- This leads to high variance
in gradients and inefficient learning



Exploitation basically exploits the agent's current estimated value and chooses the greedy
approach to get the most reward. However, the agent is being greedy with the estimated value
and not the actual value, so chances are it might not get the most reward.

Since we are always updating the pi gather policy with the greed pi trained policy, it will not
have incentive to explore other less rewarding states that may eventually lead to an overall
higher reward.



Challenge 2: Non iid, highly correlated data

- We are gathering data for this new policy, leading to data bias by the policy. The policy will be
highly correlated with similar states, actions, and reward.



--> store (s, a, s', r) pairs and continually update episodes (older samples discarded)

--> Train Q-Network on random mini batches of transitions from the replay memory instead of
consecutive examples

--> larger the buffer, lower the correlation

,Experience Replay - CORRECT ANSWER--Experience Replay Addresses this:

Queue of past experience from which a minibatch is randomly sampled, buffer if a finite size
and older samples are discarded in favor of new ones.



Increasing size of buffer, lowers correlation between data points sampled in a minibatch



- store (s, a, s', r) pairs and continually update episodes (older samples discarded)



- Train Q-Network on random mini batches of transitions from the replay memory instead of
consecutive examples



Value Based RL Methods Learn, Model Based Methods Learn - CORRECT ANSWER-- Q-Functions

- Transition and reward function



Parameterized Policy - CORRECT ANSWER-theta* = argmax_theta( E [ sum( R(s, a) ) ] )



REINFORCE Algorithm - CORRECT ANSWER-1. Gather data using current policy

- Sample trajectories t by acting according to PI



2. Compute the gradient update

- sum(delta_theta * pi_theta(a_t | s_t)) * sum(R(s_t, a_t))



3. Update Policy Parameters

- theta = theta + alpha*(policy gradient)

, Drawbacks of Policy Gradients - CORRECT ANSWER-- Increases or decreases gradient based on
entire sequence of actions

--> Can't determine which action was good or bad

--> Credit assignent problem

--> This suffers from high variance and unstable learning



- How to reduce variance?

--> subtracting an action independent baseline from the reward preserves the mean of the
gradient expectation while possibly reducing the variance



- Different Choices of baseline result in different variants of Policy Gradient Algorithm



Actor-Critic - CORRECT ANSWER-- Replaces rewards with Q_(PI_theta)(s, a)

- E[delta_theta * log_pi_theta(a | s) (Q_(PI_theta)(s, a))



- Replaces rewards with the q function of the policy that is learned from the data



Advantage Actor-critic - CORRECT ANSWER-- Uses Q minus V values (i.e. Advantage)

- E[delta_theta * log_pi_theta(a | s) (Q_(PI_theta)(s, a) - V_PI_theta)(s))



- Substitutes the reward with the advantage of the policy



Semi-Supervised Learning - CORRECT ANSWER-- Some amounts of labeled data (10/20 per
category), but lots of unlabeled data



Self-Supervised Learning - CORRECT ANSWER-- A form of unsupervised learning

- No labels for representation learning

Document information

Uploaded on
October 21, 2026
Number of pages
16
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$17.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
examhandler01
4.5
(10)
Sold
67
Followers
7
Items
3299
Last sold
23 hours ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions