1. Home
  2. Explore
  3. Mathematics
  4. Biased Coin Guessing

Study methods

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

Biased Coin Guessing

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

What is a norm?

Tap to flipClick to flipspace

A function that measures the size or length of a vector, matrix, tensor, or function.

Or swipe the card

45 cards

  1. What is a norm?

    A function that measures the size or length of a vector, matrix, tensor, or function.

  2. What scalability property should a norm satisfy?

    Scaling a vector by a factor scales its norm by the absolute value of that factor: ∥cv∥=∣c∣∥v∥\|cv\| = |c|\|v\|∥cv∥=∣c∣∥v∥.

  3. What is the vector ℓ2\ell_2ℓ2​ norm?

    The usual Euclidean length: ∥v∥2=(∑i∣vi∣2)1/2\|v\|_2 = \left(\sum_i |v_i|^2\right)^{1/2}∥v∥2​=(∑i​∣vi​∣2)1/2.

  4. What is the vector ℓ1\ell_1ℓ1​ norm?

    The sum of the absolute values of the components: ∥v∥1=∑i∣vi∣\|v\|_1 = \sum_i |v_i|∥v∥1​=∑i​∣vi​∣.

  5. What is the vector ℓ∞\ell_\inftyℓ∞​ norm?

    The maximum absolute component: ∥v∥∞=max⁡i∣vi∣\|v\|_\infty = \max_i |v_i|∥v∥∞​=maxi​∣vi​∣.

  6. What is the general vector ℓp\ell_pℓp​ norm?

    ∥v∥p=(∑i∣vi∣p)1/p\|v\|_p = \left(\sum_i |v_i|^p\right)^{1/p}∥v∥p​=(∑i​∣vi​∣p)1/p for p≥1p \ge 1p≥1.

  7. For what range of ppp does the vector ℓp\ell_pℓp​ expression define a proper norm?

    For 1≤p≤∞1 \le p \le \infty1≤p≤∞.

  8. What does the so-called ℓ0\ell_0ℓ0​ norm measure?

    It counts the number of nonzero components of a vector.

  9. Why is the ℓ0\ell_0ℓ0​ expression not a true norm?

    Because scaling by a nonzero factor does not change the number of nonzero components: ∥2v∥0=∥v∥0\|2v\|_0 = \|v\|_0∥2v∥0​=∥v∥0​.

  10. Why is sparsity useful computationally?

    Sparse vectors and matrices contain many zeros and can therefore be faster to compute with.

  11. What is the unit ball of a norm?

    The set of vectors satisfying ∥v∥≤1\|v\| \le 1∥v∥≤1; its boundary consists of vectors satisfying ∥v∥=1\|v\| = 1∥v∥=1.

  12. What shape is the ℓ2\ell_2ℓ2​ unit ball in R2\mathbb{R}^2R2?

    A circle, with boundary equation v12+v22=1v_1^2 + v_2^2 = 1v12​+v22​=1.

  13. What shape is the ℓ1\ell_1ℓ1​ unit ball in R2\mathbb{R}^2R2?

    A diamond, with boundary described by ∣v1∣+∣v2∣=1|v_1| + |v_2| = 1∣v1​∣+∣v2​∣=1.

  14. What shape is the ℓ∞\ell_\inftyℓ∞​ unit ball in R2\mathbb{R}^2R2?

    A square, because max⁡(∣v1∣,∣v2∣)≤1\max(|v_1|, |v_2|) \le 1max(∣v1​∣,∣v2​∣)≤1 requires both coordinates to lie between −1-1−1 and 111.

  15. How does the ℓp\ell_pℓp​ unit ball change as ppp increases from 111 to ∞\infty∞?

    It changes from a diamond at p=1p=1p=1, to a circle at p=2p=2p=2, and toward a square as p→∞p \to \inftyp→∞.

  16. What happens to the ℓp\ell_pℓp​ unit-ball geometry when 0<p<10 < p < 10<p<1?

    The set is not convex and the expression is not a proper norm.

  17. Where are the vectors with exactly one nonzero component in R2\mathbb{R}^2R2?

    On the coordinate axes, excluding the origin if exactly one nonzero component is required.

  18. Why does the geometry of the ℓ1\ell_1ℓ1​ ball encourage sparse solutions?

    Its diamond-shaped unit ball has corners on the coordinate axes, where vectors have zero components.

  19. What is a weighted quadratic norm based on a symmetric positive-definite matrix SSS?

    ∥v∥S=vTSv\|v\|_S = \sqrt{v^T S v}∥v∥S​=vTSv​.

  20. Why must SSS be positive definite for ∥v∥S=vTSv\|v\|_S = \sqrt{v^T S v}∥v∥S​=vTSv​ to define a norm?

    Positive definiteness ensures vTSv>0v^T S v > 0vTSv>0 for every nonzero vvv, so the norm is positive except at the zero vector.

  21. What does the SSS-norm become when SSS is the identity matrix?

    It becomes the usual ℓ2\ell_2ℓ2​ norm: ∥v∥S=vTv=∥v∥2\|v\|_S = \sqrt{v^T v} = \|v\|_2∥v∥S​=vTv​=∥v∥2​.

  22. What shape is the unit ball for vTSv≤1v^T S v \le 1vTSv≤1 when SSS is symmetric positive definite?

    An ellipse in two dimensions, or an ellipsoid in higher dimensions.

  23. For S=diag⁡(2,3)S = \operatorname{diag}(2,3)S=diag(2,3), what is the equation of the unit-ball boundary?

    2v12+3v22=12v_1^2 + 3v_2^2 = 12v12​+3v22​=1.

  24. For S=diag⁡(2,3)S = \operatorname{diag}(2,3)S=diag(2,3), along which coordinate direction is the ellipse shorter?

    Along the v2v_2v2​ direction, because the larger weight 333 restricts the allowable value of v2v_2v2​ more strongly.

  25. What is the basis-pursuit optimization problem?

    Minimize the ℓ1\ell_1ℓ1​ norm subject to a linear constraint: minimize ∥x∥1\|x\|_1∥x∥1​ subject to Ax=bAx=bAx=b.

  26. What is the analogous ℓ2\ell_2ℓ2​-based optimization problem called in the lecture?

    Ridge regression.

  27. Geometrically, how is the minimum-ℓ2\ell_2ℓ2​ solution to Ax=bAx=bAx=b found in two dimensions?

    It is the point on the constraint line closest to the origin.

  28. Geometrically, how is the minimum-ℓ1\ell_1ℓ1​ solution to a linear constraint found?

    Expand the diamond-shaped ℓ1\ell_1ℓ1​ ball from the origin until it first touches the constraint line.

  29. Why does ℓ1\ell_1ℓ1​ minimization often produce a sparse solution?

    The diamond-shaped ℓ1\ell_1ℓ1​ ball has corners on coordinate axes, so the first contact with a constraint often occurs where one or more components are zero.

  30. What is the induced matrix ℓ2\ell_2ℓ2​ norm?

    ∥A∥2=max⁡x≠0∥Ax∥2∥x∥2\|A\|_2 = \max_{x \ne 0} \frac{\|Ax\|_2}{\|x\|_2}∥A∥2​=maxx=0​∥x∥2​∥Ax∥2​​.

  31. What does the ratio ∥Ax∥2∥x∥2\frac{\|Ax\|_2}{\|x\|_2}∥x∥2​∥Ax∥2​​ represent?

    The factor by which AAA stretches the vector xxx in the ℓ2\ell_2ℓ2​ norm.

  32. How is the matrix ℓ2\ell_2ℓ2​ norm related to the largest singular value?

    ∥A∥2=σ1\|A\|_2 = \sigma_1∥A∥2​=σ1​, the largest singular value of AAA.

  33. Which vector achieves the maximum stretch in the induced matrix ℓ2\ell_2ℓ2​ norm?

    The first right singular vector v1v_1v1​.

  34. Why is an eigenvector not generally the maximizing vector for the matrix ℓ2\ell_2ℓ2​ norm?

    For a nonsymmetric matrix, eigenvectors do not necessarily describe the direction of maximum Euclidean stretching; right singular vectors do.

  35. What is the Frobenius norm of a matrix?

    ∥A∥F=(∑i,j∣aij∣2)1/2\|A\|_F = \left(\sum_{i,j} |a_{ij}|^2\right)^{1/2}∥A∥F​=(∑i,j​∣aij​∣2)1/2.

  36. How is the Frobenius norm expressed using singular values?

    ∥A∥F=(∑iσi2)1/2\|A\|_F = \left(\sum_i \sigma_i^2\right)^{1/2}∥A∥F​=(∑i​σi2​)1/2.

  37. Why do orthogonal factors in the SVD not change the Frobenius norm?

    Orthogonal transformations preserve Euclidean lengths, so for A=UΣVTA=U\Sigma V^TA=UΣVT, the Frobenius norm depends only on the singular values in Σ\SigmaΣ.

  38. What is the nuclear norm of a matrix?

    ∥A∥∗=∑iσi\|A\|_* = \sum_i \sigma_i∥A∥∗​=∑i​σi​, the sum of the singular values.

  39. What is another name for the nuclear norm?

    The trace norm.

  40. How do common matrix norms correspond to norms of the singular-value vector?

    The spectral norm corresponds to the singular-value ℓ∞\ell_\inftyℓ∞​ norm, the Frobenius norm to the ℓ2\ell_2ℓ2​ norm, and the nuclear norm to the ℓ1\ell_1ℓ1​ norm.

  41. What conjectured relationship connects gradient descent in overparameterized deep learning to the nuclear norm?

    In certain modeled settings, gradient descent may select among equal-loss solutions the weights that minimize the nuclear norm.

  42. Why can overparameterization be beneficial in deep learning?

    When there are many more weights than samples, many parameter settings may achieve the same minimum loss, and this abundance of solutions can contribute to successful learning.

  43. What role does the nuclear norm play in compressed sensing?

    It provides an ℓ1\ell_1ℓ1​-type penalty on singular values and can encourage low-rank matrix solutions.

  44. What behavior was described for people guessing the outcomes of a biased coin with a 75%75\%75% chance of heads?

    Although always guessing heads is optimal in the long run, people tend to guess heads about 75%75\%75% of the time and tails about 25%25\%25% of the time.

  45. What is the optimal strategy for maximizing winnings when a coin has a constant 75%75\%75% probability of heads?

    Guess heads on every flip.

Card 1 of 45
Card 1 of 45

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent