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

  • 21Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Stochastic Approximation Basics
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is the root-finding problem that stochastic approximation aims to solve?

Tap to flipClick to flipspace

Find θ∗\theta^*θ∗ such that fˉ(θ∗)=0\bar{f}(\theta^*) = 0fˉ​(θ∗)=0, where fˉ(θ)=E[F(θ,noise)]\bar{f}(\theta) = \mathbb{E}[F(\theta, \text{noise})]fˉ​(θ)=E[F(θ,noise)].

Or swipe the card

21 cards

  1. What is the root-finding problem that stochastic approximation aims to solve?

    Find θ∗\theta^*θ∗ such that fˉ(θ∗)=0\bar{f}(\theta^*) = 0fˉ​(θ∗)=0, where fˉ(θ)=E[F(θ,noise)]\bar{f}(\theta) = \mathbb{E}[F(\theta, \text{noise})]fˉ​(θ)=E[F(θ,noise)].

  2. What is the basic update rule of stochastic approximation?

    θn+1=θn+αnF(θn,ξn)\theta_{n+1} = \theta_n + \alpha_n F(\theta_n, \xi_n)θn+1​=θn​+αn​F(θn​,ξn​), where αn\alpha_nαn​ is a step size and ξn\xi_nξn​ is noise.

  3. How does the ODE method view stochastic approximation?

    First design an ODE θ˙=fˉ(θ)\dot{\theta} = \bar{f}(\theta)θ˙=fˉ​(θ) that converges to θ∗\theta^*θ∗, then approximate it with an Euler scheme, and finally replace fˉ\bar{f}fˉ​ with noisy observations.

  4. What is the key mathematical tool used in convergence proofs of stochastic approximation?

    The Bellman–Gronwall lemma.

  5. Why is the ODE approach considered a control problem?

    We design the dynamics θ˙=fˉ(θ)\dot{\theta} = \bar{f}(\theta)θ˙=fˉ​(θ) to make θ(t)\theta(t)θ(t) converge to θ∗\theta^*θ∗; we have complete freedom to choose fˉ\bar{f}fˉ​.

  6. What is the Newton-Raphson flow in ODE design?

    An ODE that makes fˉ(θ(t))\bar{f}(\theta(t))fˉ​(θ(t)) decay exponentially: fˉ(θ(t))=fˉ(θ(0))e−t\bar{f}(\theta(t)) = \bar{f}(\theta(0)) e^{-t}fˉ​(θ(t))=fˉ​(θ(0))e−t, which leads to a matrix gain algorithm (Zapier learning).

  7. What step size sequence gives an optimal 1/n1/n1/n convergence rate for mean-square error in stochastic approximation?

    αn=g/(n+1)\alpha_n = g/(n+1)αn​=g/(n+1) with ggg large enough so that I+gA∗I + g A_*I+gA∗​ is Hurwitz, where A∗A_*A∗​ is the linearization at θ∗\theta^*θ∗.

  8. What does it mean for a matrix AAA to be Hurwitz?

    All eigenvalues of AAA lie in the open left half-plane.

  9. What is the main idea behind quasi-stochastic approximation?

    Replace the random noise in stochastic approximation with deterministic perturbations, such as sine waves (quasi-random numbers).

  10. What convergence rate is targeted by quasi-stochastic approximation?

    1/N21/N^21/N2 instead of the typical 1/N1/N1/N in stochastic approximation.

  11. What is the role of complex exponentials in quasi-stochastic approximation analysis?

    They are used as probing signals because partial integrals of sine waves are bounded, which is crucial for rate analysis.

  12. What is the definition of Poisson's equation in the context of deterministic dynamical systems?

    For a forcing function GGG, find G^\hat{G}G^ such that ddtG^(zt)=G(zt)−Gˉ\frac{d}{dt} \hat{G}(z_t) = G(z_t) - \bar{G}dtd​G^(zt​)=G(zt​)−Gˉ, where Gˉ\bar{G}Gˉ is the ergodic average.

  13. What is the Kiefer-Wolfowitz (KW) procedure for gradient-free optimization?

    θn+1=θn−αnL(θn+ϵnWn)−L(θn−ϵnWn)2ϵnWn\theta_{n+1} = \theta_n - \alpha_n \frac{L(\theta_n + \epsilon_n W_n) - L(\theta_n - \epsilon_n W_n)}{2\epsilon_n} W_nθn+1​=θn​−αn​2ϵn​L(θn​+ϵn​Wn​)−L(θn​−ϵn​Wn​)​Wn​, where WnW_nWn​ is IID noise and ϵn\epsilon_nϵn​ a small perturbation.

  14. How does the extremum seeking control method approximate the gradient?

    Add a probing signal (e.g., sine waves) to the parameter, pass the loss through a high-pass filter, multiply by the same probing signal, and integrate.

  15. What is the quasi-Kiefer-Wolfowitz algorithm?

    Replace the IID noise WnW_nWn​ in the standard KW algorithm with deterministic sine waves or mixtures.

  16. In the analysis of quasi-stochastic approximation, what is the key comparison made?

    Compare the quasi-algorithm θn\theta_nθn​ with the mean-field ODE θˉn\bar{\theta}_nθˉn​ (Euler with same step size) and study Zn=(θn−θˉn)/αnZ_n = (\theta_n - \bar{\theta}_n)/\alpha_nZn​=(θn​−θˉn​)/αn​.

  17. Under what condition does Polyak-Ruppert averaging fail for quasi-stochastic gradient descent?

    It fails when the constant term Y^per\hat{Y}_{\text{per}}Y^per​ is nonzero; this term depends on the behavior of the system far from the equilibrium (non-local).

  18. What is a necessary condition for the global convergence theory of quasi-stochastic approximation?

    Lipschitz continuity of the vector field fˉ\bar{f}fˉ​.

  19. What example showed impressive performance of quasi-stochastic approximation?

    The mountain car problem: with 5000 samples and the quasi-KW algorithm, the parameter converged close to the optimum consistently.

  20. What is the main recommendation of the lecture regarding introducing volatility?

    Don't introduce volatility (randomness) if you don't have to; use deterministic perturbations instead.

  21. What is tail averaging and why is it preferred over Polyak averaging in practice for quasi-algorithms?

    Tail averaging takes the last 20% of iterates (or similar); it often performs much better than Polyak averaging, which fails due to residual constants.

Card 1 of 21
Card 1 of 21

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent