1. Home
  2. Explore
  3. Computer Science
  4. Data Dump Tutorial

Study methods

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

Data Dump Tutorial

  • 27Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Stochastic Approximation Basics
In stochastic approximation, the unavailable expectation fˉ(θ)\bar{f}(\theta)fˉ​(θ) is replaced by
.

27 questions

  1. 1
    In stochastic approximation, the unavailable expectation fˉ(θ)\bar{f}(\theta)fˉ​(θ) is replaced by
    _____
    .
    Hint

    Consider what you actually have access to in practice instead of the true mathematical expectation.

    Answer

    observations

  2. 2
    Every reinforcement learning problem discussed can be phrased as a
    _____
    problem, where we seek θ∗\theta^*θ∗ such that fˉ(θ∗)=0\bar{f}(\theta^*) = 0fˉ​(θ∗)=0.
    Hint

    Think about the equation we want to satisfy at the optimal parameter.

    Answer

    root finding

  3. 3
    The ODE method first designs a continuous-time differential equation so that θ(t)\theta(t)θ(t) converges to θ∗\theta^*θ∗, then approximates it using a
    _____
    scheme.
    Hint

    This is the simplest numerical method for approximating differential equations.

    Answer

    Euler

  4. 4
    The key mathematical tool for proving robustness of Euler approximations in stochastic approximation is the
    _____
    lemma.
    Hint

    This lemma provides bounds on solutions of differential inequalities and is central to convergence proofs.

    Answer

    Bellman-Gronwall

  5. 5
    The natural rate of convergence for quasi-stochastic approximation (with deterministic probing) is conjectured to be
    _____
    instead of 1/n1/n1/n.
    Hint

    Think about how much faster we hope deterministic perturbations can be compared to random noise.

    Answer

    1/n21/n^21/n2

  6. 6
    In quasi-stochastic approximation, the probing signal is often taken as
    _____
    to exploit their nice properties like bounded integrals.
    Hint

    The lecture emphasizes using waves that are smooth and deterministic.

    Answer

    sine waves (or sinusoids)

  7. 7
    Poisson's equation appears in the analysis of quasi-stochastic approximation because it provides a
    _____
    on the integrals of the probing signal.
    Hint

    This equation helps control the error between the ergodic average and the true mean.

    Answer

    rate of convergence (or bound)

  8. 8
    The Kiefer-Wolfowitz procedure approximates the gradient by
    _____
    of the loss function at two perturbed points.
    Hint

    This is a classic numerical differentiation technique.

    Answer

    finite differences

  9. 9
    In the two-point Kiefer-Wolfowitz method, the perturbation WWW is multiplied by the finite difference to yield an estimate proportional to the
    _____
    times the autocorrelation matrix of WWW.
    Hint

    The Taylor expansion shows the first-order term is the gradient.

    Answer

    gradient

  10. 10
    Extremum seeking control is a classic method dating back to
    _____
    that uses probing signals and filters to approximate the gradient.
    Hint

    The lecture mentions it started nearly a century ago.

    Answer

    1922

  11. 11
    In extremum seeking, the probing signal is added to the parameter estimate, passed through the physical system, and then multiplied by a
    _____
    version of the signal to obtain an approximate gradient.
    Hint

    Think about what signal processing operation is applied to the probing signal before multiplication.

    Answer

    high-pass filtered

  12. 12
    A key assumption for the convergence theory of quasi-stochastic approximation is that the function fˉ\bar{f}fˉ​ is
    _____
    at θ∗\theta^*θ∗.
    Hint

    The analysis requires certain regularity conditions for the mean field.

    Answer

    smooth (or Lipschitz continuous)

  13. 13
    Polyak-Ruppert averaging fails for quasi-gradient descent because of a residual
    _____
    term that does not vanish under averaging.
    Hint

    The averaging does not eliminate this non-zero term, unlike in the stochastic case.

    Answer

    bias (or constant)

  14. 14
    The ODE design approach allows us to treat the parameter evolution as a
    _____
    problem, where we can freely shape the dynamics to achieve convergence.
    Hint

    Think about designing a system to reach a desired state.

    Answer

    control

  15. 15
    An example of a designed ODE is the Newton-Raphson flow, which makes fˉ(θ(t))\bar{f}(\theta(t))fˉ​(θ(t)) decay
    _____
    .
    Hint

    The differential equation ddtfˉ(θ)=−fˉ(θ)\frac{d}{dt} \bar{f}(\theta) = -\bar{f}(\theta)dtd​fˉ​(θ)=−fˉ​(θ) leads to this behavior.

    Answer

    exponentially

  16. 16
    To obtain tight bounds on the convergence rate, one needs a
    _____
    function to ensure the mean-field ODE remains within a region of attraction.
    Hint

    This function is used to prove stability of dynamical systems.

    Answer

    Lyapunov

  17. 17
    The probing signal in quasi-stochastic approximation is often modeled as the output of a dynamical system z˙=H(z)\dot{z} = H(z)z˙=H(z), which is a
    _____
    process because it is deterministic but can be analyzed using Markov tools.
    Hint

    Although deterministic, the system satisfies the Markov property on its state space.

    Answer

    Markov

  18. 18
    In the mountain car experiment, the quasi-stochastic algorithm consistently converged to the optimal valley after only
    _____
    samples, unlike the stochastic version.
    Hint

    The lecture gives a specific number for this example.

    Answer

    5,000

  19. 19
    A major advantage of quasi-stochastic approximation is that it avoids introducing unnecessary
    _____
    into the system, which improves convergence rates.
    Hint

    The lecture advises against adding noise when it can be avoided.

    Answer

    volatility (or randomness)

  20. 20
    The central limit theorem (CLT) used in stochastic approximation provides insights into optimal
    _____
    rates, but it can fail in some numerical examples.
    Hint

    The CLT gives asymptotic distribution, which informs how fast the algorithm converges.

    Answer

    convergence

  21. 21
    In the ODE method, after designing the continuous-time dynamics, we approximate the integral using a numerical scheme; one could even use a
    _____
    method for better accuracy.
    Hint

    This is a family of more advanced numerical integrators than Euler.

    Answer

    Runge-Kutta

  22. 22
    The linearization of the mean field fˉ\bar{f}fˉ​ at θ∗\theta^*θ∗ is denoted A∗A^*A∗, and it is crucial for determining the optimal
    _____
    of the step size to achieve O(1/n)O(1/n)O(1/n) convergence.
    Hint

    The conditioning of A∗A^*A∗ affects how large the step size can be while maintaining stability.

    Answer

    gain (or step size)

  23. 23
    Tail averaging, where only the last fraction (e.g., 20%) of iterates are averaged, works better in practice than full Polyak averaging because it reduces the effect of the initial
    _____
    .
    Hint

    Early iterates are far from the optimum and can distort the average.

    Answer

    bias (or transient)

  24. 24
    The concept of
    _____
    is central to the analysis of both stochastic and quasi-stochastic approximation: it allows us to convert the algorithm into a perturbed ODE.
    Hint

    This is the overarching framework discussed throughout the lecture.

    Answer

    ODE method

  25. 25
    An invariant measure π\piπ for the probing signal exists if the dynamical system is
    _____
    , meaning sample path averages converge to a constant for bounded continuous functions.
    Hint

    This property ensures that time averages equal ensemble averages.

    Answer

    ergodic

  26. 26
    The Newton-Raphson flow is also known as
    _____
    learning, and it is derived by designing the ODE to make fˉ(θ)\bar{f}(\theta)fˉ​(θ) decay exponentially.
    Hint

    The lecture mentions this name in passing.

    Answer

    Zapier

  27. 27
    The success of quasi-stochastic approximation relies on the fact that the probing signal can be chosen to have bounded
    _____
    of its integrals, which leads to tight error bounds.
    Hint

    Sinusoids have this property because their integrals are also sinusoids.

    Answer

    partial integrals (or integrals)

1 of 27
Question 1 of 27

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent