Biased Coin Guessing
- 45Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is a norm?
A function that measures the size or length of a vector, matrix, tensor, or function.
Or swipe the card
45 cards
What is a norm?
A function that measures the size or length of a vector, matrix, tensor, or function.
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∥.
What is the vector ℓ2 norm?
The usual Euclidean length: ∥v∥2=(∑i∣vi∣2)1/2.
What is the vector ℓ1 norm?
The sum of the absolute values of the components: ∥v∥1=∑i∣vi∣.
What is the vector ℓ∞ norm?
The maximum absolute component: ∥v∥∞=maxi∣vi∣.
What is the general vector ℓp norm?
∥v∥p=(∑i∣vi∣p)1/p for p≥1.
For what range of p does the vector ℓp expression define a proper norm?
For 1≤p≤∞.
What does the so-called ℓ0 norm measure?
It counts the number of nonzero components of a vector.
Why is the ℓ0 expression not a true norm?
Because scaling by a nonzero factor does not change the number of nonzero components: ∥2v∥0=∥v∥0.
Why is sparsity useful computationally?
Sparse vectors and matrices contain many zeros and can therefore be faster to compute with.
What is the unit ball of a norm?
The set of vectors satisfying ∥v∥≤1; its boundary consists of vectors satisfying ∥v∥=1.
What shape is the ℓ2 unit ball in R2?
A circle, with boundary equation v12+v22=1.
What shape is the ℓ1 unit ball in R2?
A diamond, with boundary described by ∣v1∣+∣v2∣=1.
What shape is the ℓ∞ unit ball in R2?
A square, because max(∣v1∣,∣v2∣)≤1 requires both coordinates to lie between −1 and 1.
How does the ℓp unit ball change as p increases from 1 to ∞?
It changes from a diamond at p=1, to a circle at p=2, and toward a square as p→∞.
What happens to the ℓp unit-ball geometry when 0<p<1?
The set is not convex and the expression is not a proper norm.
Where are the vectors with exactly one nonzero component in R2?
On the coordinate axes, excluding the origin if exactly one nonzero component is required.
Why does the geometry of the ℓ1 ball encourage sparse solutions?
Its diamond-shaped unit ball has corners on the coordinate axes, where vectors have zero components.
What is a weighted quadratic norm based on a symmetric positive-definite matrix S?
∥v∥S=vTSv.
Why must S be positive definite for ∥v∥S=vTSv to define a norm?
Positive definiteness ensures vTSv>0 for every nonzero v, so the norm is positive except at the zero vector.
What does the S-norm become when S is the identity matrix?
It becomes the usual ℓ2 norm: ∥v∥S=vTv=∥v∥2.
What shape is the unit ball for vTSv≤1 when S is symmetric positive definite?
An ellipse in two dimensions, or an ellipsoid in higher dimensions.
For S=diag(2,3), what is the equation of the unit-ball boundary?
2v12+3v22=1.
For S=diag(2,3), along which coordinate direction is the ellipse shorter?
Along the v2 direction, because the larger weight 3 restricts the allowable value of v2 more strongly.
What is the basis-pursuit optimization problem?
Minimize the ℓ1 norm subject to a linear constraint: minimize ∥x∥1 subject to Ax=b.
What is the analogous ℓ2-based optimization problem called in the lecture?
Ridge regression.
Geometrically, how is the minimum-ℓ2 solution to Ax=b found in two dimensions?
It is the point on the constraint line closest to the origin.
Geometrically, how is the minimum-ℓ1 solution to a linear constraint found?
Expand the diamond-shaped ℓ1 ball from the origin until it first touches the constraint line.
Why does ℓ1 minimization often produce a sparse solution?
The diamond-shaped ℓ1 ball has corners on coordinate axes, so the first contact with a constraint often occurs where one or more components are zero.
What is the induced matrix ℓ2 norm?
∥A∥2=maxx=0∥x∥2∥Ax∥2.
What does the ratio ∥x∥2∥Ax∥2 represent?
The factor by which A stretches the vector x in the ℓ2 norm.
How is the matrix ℓ2 norm related to the largest singular value?
∥A∥2=σ1, the largest singular value of A.
Which vector achieves the maximum stretch in the induced matrix ℓ2 norm?
The first right singular vector v1.
Why is an eigenvector not generally the maximizing vector for the matrix ℓ2 norm?
For a nonsymmetric matrix, eigenvectors do not necessarily describe the direction of maximum Euclidean stretching; right singular vectors do.
What is the Frobenius norm of a matrix?
∥A∥F=(∑i,j∣aij∣2)1/2.
How is the Frobenius norm expressed using singular values?
∥A∥F=(∑iσi2)1/2.
Why do orthogonal factors in the SVD not change the Frobenius norm?
Orthogonal transformations preserve Euclidean lengths, so for A=UΣVT, the Frobenius norm depends only on the singular values in Σ.
What is the nuclear norm of a matrix?
∥A∥∗=∑iσi, the sum of the singular values.
What is another name for the nuclear norm?
The trace norm.
How do common matrix norms correspond to norms of the singular-value vector?
The spectral norm corresponds to the singular-value ℓ∞ norm, the Frobenius norm to the ℓ2 norm, and the nuclear norm to the ℓ1 norm.
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.
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.
What role does the nuclear norm play in compressed sensing?
It provides an ℓ1-type penalty on singular values and can encourage low-rank matrix solutions.
What behavior was described for people guessing the outcomes of a biased coin with a 75% chance of heads?
Although always guessing heads is optimal in the long run, people tend to guess heads about 75% of the time and tails about 25% of the time.
What is the optimal strategy for maximizing winnings when a coin has a constant 75% probability of heads?
Guess heads on every flip.

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