A reading seminar on learning theory, diffusion models, and language models, with shared topics in scaling laws and neural network optimization.
Course information
- Background
- Probability, linear algebra, mathematical analysis, and machine learning.
- Format
- Introductory lectures by Yiping Lu, followed by student presentations and group discussion.
- Presentations
- Discuss topics and papers with Yiping Lu in advance. Share paper links and a brief reading guide before presenting.
- Contact
- yipinglu@bicmr.pku.edu.cn
Reference course: Statistical Learning (IEMS 402)
Schedule and materials
Lecture 1 · Foundations of Machine Learning Theory
- Risk decomposition, approximation, and the curse of dimensionality
- Concentration: Markov → Chebyshev → higher moments → Chernoff
- Uniform bounds, covering numbers, Rademacher complexity, and Maurey’s method
- Localized complexity: mean estimation with squared loss
- Kernel smoothing and RKHS
Home reading
1. Random vectors are nearly orthogonal in high dimensions (complete proof) 1. 高维随机向量几乎垂直(完整证明)
动机。高维随机方向的内积是大量独立、均值为零的坐标贡献之和,因而集中在零附近。
定理(Rademacher 方向)。令 \(U,V\) 独立均匀取自 \(\{-1/\sqrt d,1/\sqrt d\}^d\)。则
证明。写 \(U_i=\xi_i/\sqrt d,V_i=\eta_i/\sqrt d\),令 \(\zeta_i=\xi_i\eta_i\)。则 \(\zeta_i\) 独立且均匀取 \(\pm1\),因此
最后一步来自 \((\log\cosh\lambda)''\le1\)。对指数变量应用 Markov,再取 \(\lambda=\varepsilon\),得到单侧尾界 \(e^{-d\varepsilon^2/2}\);负尾相同,两侧相加即得。
推论(同时近似正交)。若独立抽取 \(N\) 个上述方向,则
证明对全部 \(\binom N2\) 对取 union bound。
球面均匀方向。对独立均匀的 \(U,V\in S^{d-1}\),旋转不变性允许固定 \(U=e_1\),并用 \(V=G/\|G\|\)(\(G\) 为标准高斯向量)。设 \(S=\sum_{i=2}^dG_i^2\),由高斯尾界及 \(\mathbb E e^{-aS}=(1+2a)^{-(d-1)/2}\) 得
这里 \(0<\varepsilon<1\)。
Motivation. The inner product of high-dimensional random directions is a sum of many independent, mean-zero coordinate contributions, so it concentrates near zero.
Theorem (Rademacher directions). Let \(U,V\) be independent and uniform on \(\{-1/\sqrt d,1/\sqrt d\}^d\). Then
Proof. Write \(U_i=\xi_i/\sqrt d,V_i=\eta_i/\sqrt d\), and set \(\zeta_i=\xi_i\eta_i\). The variables \(\zeta_i\) are independent and uniform on \(\{-1,1\}\), hence
The last inequality follows from \((\log\cosh\lambda)''\le1\). Apply Markov's inequality to the exponential and choose \(\lambda=\varepsilon\) to obtain the one-sided bound \(e^{-d\varepsilon^2/2}\). The lower tail is identical; adding the two bounds proves the claim.
Corollary (simultaneous near orthogonality). For \(N\) independent directions of this form,
Apply the union bound to all \(\binom N2\) pairs.
Uniform directions on the sphere. For independent uniform \(U,V\in S^{d-1}\), rotational invariance allows us to fix \(U=e_1\) and write \(V=G/\|G\|\), where \(G\) is a standard Gaussian vector. Set \(S=\sum_{i=2}^dG_i^2\). The Gaussian tail bound and \(\mathbb E e^{-aS}=(1+2a)^{-(d-1)/2}\) give
Here \(0<\varepsilon<1\).
2. Random projections preserve pairwise distances (Johnson–Lindenstrauss, complete proof) 2. 随机投影保持两两距离(Johnson–Lindenstrauss,完整证明)
动机。虽然 \(k<d\) 的线性映射不能保留整个 \(\mathbb R^d\) 的所有向量长度,但可以同时保留事先固定的有限点集的两两距离。
引理(卡方集中)。若 \(Z_1,\ldots,Z_k\) 独立标准高斯,\(0<\varepsilon<1\),则
证明。高斯积分给出 \(\mathbb Ee^{\lambda Z^2}=(1-2\lambda)^{-1/2}\)(\(\lambda<1/2\))。上尾 Chernoff 取 \(\lambda=\varepsilon/[2(1+\varepsilon)]\),得到
下尾取 \(\lambda=-\varepsilon/[2(1-\varepsilon)]\),得到
合并两侧即得。
定理(Gaussian Johnson–Lindenstrauss)。给定 \(N\ge2\) 个固定点 \(x_1,\ldots,x_N\in\mathbb R^d\),令 \(A\in\mathbb R^{k\times d}\) 的元素独立服从 \(N(0,1/k)\)。若
则以至少 \(1-\delta\) 的概率,对所有 \(i,j\) 同时有
证明。对任意固定非零 \(v\),\(Av\) 的各坐标独立且服从 \(N(0,\|v\|^2/k)\)。所以
由引理,每个固定向量的失败概率至多 \(2e^{-k\varepsilon^2/8}\)。把 \(v\) 取为所有 \(x_i-x_j\),对至多 \(\binom N2\) 对取 union bound,失败概率至多 \(N(N-1)e^{-k\varepsilon^2/8}\le\delta\)。
量词的区别。点集必须先于 \(A\) 固定。如果看见 \(A\) 后再挑选向量,就能选到 \(\ker A\) 中的非零向量,距离保持不再成立。
Motivation. A linear map with \(k<d\) cannot preserve the lengths of every vector in \(\mathbb R^d\), but it can simultaneously preserve the pairwise distances of a fixed finite set of points.
Lemma (chi-squared concentration). If \(Z_1,\ldots,Z_k\) are independent standard Gaussian variables and \(0<\varepsilon<1\), then
Proof. Gaussian integration gives \(\mathbb Ee^{\lambda Z^2}=(1-2\lambda)^{-1/2}\) for \(\lambda<1/2\). For the upper Chernoff bound, take \(\lambda=\varepsilon/[2(1+\varepsilon)]\) to obtain
For the lower tail, take \(\lambda=-\varepsilon/[2(1-\varepsilon)]\) to obtain
Combine the two bounds.
Theorem (Gaussian Johnson–Lindenstrauss). Fix \(N\ge2\) points \(x_1,\ldots,x_N\in\mathbb R^d\), and let the entries of \(A\in\mathbb R^{k\times d}\) be independent \(N(0,1/k)\) variables. If
then, with probability at least \(1-\delta\), all pairs \(i,j\) simultaneously satisfy
Proof. For each fixed nonzero \(v\), the coordinates of \(Av\) are independent \(N(0,\|v\|^2/k)\) variables. Thus
The lemma bounds the failure probability for each fixed vector by \(2e^{-k\varepsilon^2/8}\). Apply it to all differences \(v=x_i-x_j\) and use the union bound over at most \(\binom N2\) pairs. The total failure probability is at most \(N(N-1)e^{-k\varepsilon^2/8}\le\delta\).
The order of quantifiers. The point set must be fixed before drawing \(A\). Choosing a vector after observing \(A\) can produce a nonzero vector in \(\ker A\), for which distance preservation fails.
Invited Talk · Pretraining and Functional Scaling Law
Lecture 2 · Computation in Probability Space: Foundations of Generative Modeling
- Computation in spaces of probability measures
- f divergences
- Optimal transport: duality and gradient flows
- Particle methods
- ELBO
- Continuous time stochastic processes
- Diffusion models and flow matching
Details of subsequent meetings will be announced.