• 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 2 out of 9 pages
Exam (elaborations)

CS 7641 OL Unit Quiz| Questions and Answers Latest Updated 2026/2027 | Georgia Institute of Technology

Document preview thumbnail
Preview 2 out of 9 pages

CS 7641 OL Unit Quiz| Questions and Answers Latest Updated 2026/2027 | Georgia Institute of Technology

Content preview

CS 7641 OL Unit Quiz| Questions and Answers Latest
Updated 2026/2027 | Georgia Institute of Technology


OL Unit Quiz
CS 7641: Machine Learning




1 Section 1 - Randomized Optimization
Part 1. Randomized Hill Climbing (MCMA)
Which statements about randomized hill climbing (RHC) are true?

a) At each step, RHC samples a neighbor at random and moves only if that neighbor improves
the objective.

b) Without random restarts or sideways moves, RHC is guaranteed to eventually reach a global
optimum in a finite, discrete landscape.

c) If you evaluate many random neighbors per step and choose the best among those samples,
RHC approaches greedy hill climbing.

d) RHC requires gradient information to choose ascent directions.

e) On flat plateaus (all neighbors equal under a strict “improving-only” rule), RHC can stall.

f) With uniform neighbor sampling, the expected improvement per step generally increases as
you approach a local optimum.

Part 2. Simulated Annealing (MCMA)
Which statements about SA are true?

a) At temperature T , a worse move with cost increase ∆E > 0 is accepted with probability
exp(−∆E/T ).

b) With logarithmic cooling and infinite time, SA converges to a global optimum with probability
1.

c) Raising T increases the penalty for uphill moves.

d) SA’s acceptance tests depend on absolute energies, not differences.

e) SA requires gradient and Hessian information.

f) Beneficial moves are accepted with probability exp(+∆E/T ).
1

, Part 3. Genetic Algorithms (Numerical)
A GA operates on fixed-length binary strings of length l = 4. Population size is N = 8. Selec-
tion is fitness-proportionate (roulette wheel) with replacement. Single-point crossover occurs with
probability pc = 0.7. Bitwise mutation occurs independently per bit with probability pm = 0.01.

(a) : Fitness-Proportionate Selection A population of 4 individuals has fitnesses [1, 2, 3, 4]
with total fitness 10. Let x denote the individual with fitness 3. Question: What is the expected
number of copies of x selected into the next mating pool of size N = 8 (selection only)?

(b) : Crossover Survival of a Schema Consider the schema H = 1∗0∗ (positions 1 and 3 fixed).
Two parents both match H. With single-point crossover and pc = 0.7, what is the probability that
an offspring still matches H after crossover (ignoring mutation)?

(c) : Mutation Survival of a Schema Using the same schema H = 1∗0∗ and mutation rate
pm = 0.01, what is the probability the schema survives mutation (i.e., its fixed bits are unchanged)?



2 Section 2 - Deconstructing AdamW
Part 1. AdaGrad & RMSProp (MCMA)
Which statements about per-parameter adaptivity are true?
√
a) AdaGrad accumulates squared gradients and uses ( Gt + ε)−1, shrinking steps on frequently
large-gradient coordinates.
b) AdaGrad’s cumulative memory can make effective learning rates vanish late in training.
c) RMSProp replaces AdaGrad’s cumulative sum with an EMA of squared gradients to track
nonstationary curvature.
d) Typical RMSProp second-moment decay ρ lies around 0.9–0.99.
e) AdaGrad increases learning rates for frequently updated features.
f) RMSProp requires increasing ρ during training to remain stable.

Part 2. L2 vs. Weight Decay & AdamW (MCMA)
Which statements reflect the equivalence/inequivalence results and the AdamW fix?
a) Under SGD with a scalar preconditioner, adding an L2 penalty is equivalent to multiplicative
weight decay each step.
b) Under adaptive preconditioning, L2 shrinkage is coordinate-wise and coupled to gradient
history, breaking equivalence to uniform decay.
c) Equivalence to weight decay holds iff the preconditioner Pt is a positive scalar multiple of the
identity.
2

Document information

Uploaded on
September 24, 2026
Number of pages
9
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$14.99

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.
professoraxel
3.8
(493)
Sold
2649
Followers
1583
Items
20619
Last sold
3 days 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