math-skill 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/README.en-US.md +50 -30
  2. package/README.md +26 -6
  3. package/agents/math-critic.en.md +30 -28
  4. package/agents/math-critic.md +30 -30
  5. package/commands/ask.en.md +15 -0
  6. package/commands/ask.md +6 -1
  7. package/design-patterns/attention/equivariant-attention.en.md +17 -11
  8. package/design-patterns/attention/equivariant-attention.md +16 -10
  9. package/design-patterns/attention/geometry-aware-attention.en.md +11 -11
  10. package/design-patterns/attention/geometry-aware-attention.md +10 -10
  11. package/design-patterns/attention/information-bottleneck-attention.en.md +40 -20
  12. package/design-patterns/attention/information-bottleneck-attention.md +40 -20
  13. package/design-patterns/attention/projection-attention.en.md +12 -12
  14. package/design-patterns/attention/projection-attention.md +11 -11
  15. package/design-patterns/attention/spectral-attention.en.md +27 -13
  16. package/design-patterns/attention/spectral-attention.md +26 -12
  17. package/design-patterns/compression/leverage-score-selection.en.md +14 -14
  18. package/design-patterns/compression/leverage-score-selection.md +14 -14
  19. package/design-patterns/compression/low-rank-kv-cache.en.md +40 -13
  20. package/design-patterns/compression/low-rank-kv-cache.md +39 -13
  21. package/design-patterns/compression/spectral-token-pruning.en.md +17 -15
  22. package/design-patterns/compression/spectral-token-pruning.md +17 -15
  23. package/design-patterns/compression/topology-preserving-compression.en.md +11 -11
  24. package/design-patterns/compression/topology-preserving-compression.md +11 -11
  25. package/design-patterns/loss/constraint-penalty.en.md +9 -5
  26. package/design-patterns/loss/constraint-penalty.md +10 -7
  27. package/design-patterns/loss/contrastive-loss.en.md +38 -12
  28. package/design-patterns/loss/contrastive-loss.md +39 -13
  29. package/design-patterns/loss/information-bottleneck-loss.en.md +6 -6
  30. package/design-patterns/loss/information-bottleneck-loss.md +7 -7
  31. package/design-patterns/loss/orthogonality-loss.en.md +25 -18
  32. package/design-patterns/loss/orthogonality-loss.md +25 -19
  33. package/design-patterns/loss/variational-loss.en.md +5 -5
  34. package/design-patterns/loss/variational-loss.md +6 -6
  35. package/design-patterns/overview.en.md +36 -0
  36. package/design-patterns/overview.md +36 -0
  37. package/design-patterns/representation/equivariant-split.en.md +5 -5
  38. package/design-patterns/representation/equivariant-split.md +5 -6
  39. package/design-patterns/representation/manifold-representation.en.md +13 -13
  40. package/design-patterns/representation/manifold-representation.md +14 -15
  41. package/design-patterns/representation/shared-private-decomposition.en.md +13 -8
  42. package/design-patterns/representation/shared-private-decomposition.md +13 -10
  43. package/design-patterns/representation/subspace-alignment.en.md +13 -13
  44. package/design-patterns/representation/subspace-alignment.md +13 -13
  45. package/design-patterns/routing/graph-routing.en.md +12 -12
  46. package/design-patterns/routing/graph-routing.md +12 -12
  47. package/design-patterns/routing/moe-routing.en.md +13 -13
  48. package/design-patterns/routing/moe-routing.md +13 -15
  49. package/design-patterns/routing/optimal-transport-routing.en.md +6 -6
  50. package/design-patterns/routing/optimal-transport-routing.md +7 -7
  51. package/design-patterns/routing/spectral-clustering-routing.en.md +27 -16
  52. package/design-patterns/routing/spectral-clustering-routing.md +27 -18
  53. package/knowledge-base/differential-geometry/connection.en.md +17 -2
  54. package/knowledge-base/differential-geometry/connection.md +17 -2
  55. package/knowledge-base/differential-geometry/curvature.en.md +14 -1
  56. package/knowledge-base/differential-geometry/curvature.md +14 -1
  57. package/knowledge-base/differential-geometry/geodesic.en.md +16 -2
  58. package/knowledge-base/differential-geometry/geodesic.md +16 -2
  59. package/knowledge-base/differential-geometry/index.en.md +52 -0
  60. package/knowledge-base/differential-geometry/index.md +52 -0
  61. package/knowledge-base/differential-geometry/manifold.en.md +15 -2
  62. package/knowledge-base/differential-geometry/manifold.md +15 -2
  63. package/knowledge-base/differential-geometry/metric-tensor.en.md +16 -2
  64. package/knowledge-base/differential-geometry/metric-tensor.md +17 -3
  65. package/knowledge-base/differential-geometry/tangent-space.en.md +17 -3
  66. package/knowledge-base/differential-geometry/tangent-space.md +17 -3
  67. package/knowledge-base/information-geometry/fisher-metric.en.md +32 -13
  68. package/knowledge-base/information-geometry/fisher-metric.md +32 -13
  69. package/knowledge-base/information-geometry/index.en.md +45 -0
  70. package/knowledge-base/information-geometry/index.md +45 -0
  71. package/knowledge-base/information-geometry/natural-gradient.en.md +24 -10
  72. package/knowledge-base/information-geometry/natural-gradient.md +24 -10
  73. package/knowledge-base/lie-theory/equivariance.en.md +18 -3
  74. package/knowledge-base/lie-theory/equivariance.md +18 -3
  75. package/knowledge-base/lie-theory/group-action.en.md +16 -2
  76. package/knowledge-base/lie-theory/group-action.md +16 -2
  77. package/knowledge-base/lie-theory/index.en.md +52 -0
  78. package/knowledge-base/lie-theory/index.md +52 -0
  79. package/knowledge-base/lie-theory/lie-algebra.en.md +17 -2
  80. package/knowledge-base/lie-theory/lie-algebra.md +17 -2
  81. package/knowledge-base/lie-theory/lie-group.en.md +17 -3
  82. package/knowledge-base/lie-theory/lie-group.md +17 -3
  83. package/knowledge-base/lie-theory/representation.en.md +17 -2
  84. package/knowledge-base/lie-theory/representation.md +17 -2
  85. package/knowledge-base/matrix-analysis/index.en.md +49 -0
  86. package/knowledge-base/matrix-analysis/index.md +49 -0
  87. package/knowledge-base/matrix-analysis/low-rank-approximation.en.md +20 -7
  88. package/knowledge-base/matrix-analysis/low-rank-approximation.md +20 -7
  89. package/knowledge-base/matrix-analysis/matrix-perturbation.en.md +13 -1
  90. package/knowledge-base/matrix-analysis/matrix-perturbation.md +13 -1
  91. package/knowledge-base/matrix-analysis/positive-semidefinite.en.md +20 -6
  92. package/knowledge-base/matrix-analysis/positive-semidefinite.md +20 -6
  93. package/knowledge-base/matrix-analysis/projection.en.md +14 -1
  94. package/knowledge-base/matrix-analysis/projection.md +14 -1
  95. package/knowledge-base/matrix-analysis/spectral-decomposition.en.md +14 -1
  96. package/knowledge-base/matrix-analysis/spectral-decomposition.md +14 -1
  97. package/knowledge-base/optimization/constrained-optimization.en.md +17 -3
  98. package/knowledge-base/optimization/constrained-optimization.md +17 -3
  99. package/knowledge-base/optimization/convex-optimization.en.md +15 -2
  100. package/knowledge-base/optimization/convex-optimization.md +15 -2
  101. package/knowledge-base/optimization/index.en.md +50 -0
  102. package/knowledge-base/optimization/index.md +50 -0
  103. package/knowledge-base/optimization/lagrangian-duality.en.md +18 -4
  104. package/knowledge-base/optimization/lagrangian-duality.md +18 -4
  105. package/knowledge-base/optimization/proximal-method.en.md +15 -1
  106. package/knowledge-base/optimization/proximal-method.md +15 -1
  107. package/knowledge-base/optimization/riemannian-optimization.en.md +18 -4
  108. package/knowledge-base/optimization/riemannian-optimization.md +18 -4
  109. package/knowledge-base/overview.en.md +20 -8
  110. package/knowledge-base/overview.md +20 -8
  111. package/knowledge-base/probability/concentration-inequality.en.md +21 -7
  112. package/knowledge-base/probability/concentration-inequality.md +21 -7
  113. package/knowledge-base/probability/entropy.en.md +24 -8
  114. package/knowledge-base/probability/entropy.md +23 -7
  115. package/knowledge-base/probability/fisher-information.en.md +24 -10
  116. package/knowledge-base/probability/fisher-information.md +24 -10
  117. package/knowledge-base/probability/index.en.md +51 -0
  118. package/knowledge-base/probability/index.md +51 -0
  119. package/knowledge-base/probability/information-bottleneck.en.md +24 -8
  120. package/knowledge-base/probability/information-bottleneck.md +24 -8
  121. package/knowledge-base/probability/kl-divergence.en.md +21 -8
  122. package/knowledge-base/probability/kl-divergence.md +21 -8
  123. package/knowledge-base/topology/euler-characteristic.en.md +15 -2
  124. package/knowledge-base/topology/euler-characteristic.md +15 -2
  125. package/knowledge-base/topology/fundamental-group.en.md +16 -2
  126. package/knowledge-base/topology/fundamental-group.md +16 -2
  127. package/knowledge-base/topology/index.en.md +48 -0
  128. package/knowledge-base/topology/index.md +48 -0
  129. package/knowledge-base/topology/persistent-homology.en.md +17 -2
  130. package/knowledge-base/topology/persistent-homology.md +17 -2
  131. package/lenses/algorithmic.en.md +1 -1
  132. package/lenses/algorithmic.md +1 -1
  133. package/lenses/axiomatization.en.md +1 -1
  134. package/lenses/axiomatization.md +1 -1
  135. package/lenses/categorical.en.md +1 -1
  136. package/lenses/categorical.md +1 -1
  137. package/lenses/causal.en.md +1 -1
  138. package/lenses/causal.md +1 -1
  139. package/lenses/duality.en.md +1 -1
  140. package/lenses/duality.md +1 -1
  141. package/lenses/game.en.md +2 -2
  142. package/lenses/game.md +2 -2
  143. package/lenses/geometric.en.md +1 -1
  144. package/lenses/geometric.md +1 -1
  145. package/lenses/local-to-global.en.md +1 -1
  146. package/lenses/local-to-global.md +1 -1
  147. package/lenses/perturbation.en.md +1 -1
  148. package/lenses/perturbation.md +1 -1
  149. package/lenses/probabilistic.en.md +1 -1
  150. package/lenses/probabilistic.md +1 -1
  151. package/lenses/projection.en.md +1 -1
  152. package/lenses/projection.md +1 -1
  153. package/lenses/spectral.en.md +2 -2
  154. package/lenses/spectral.md +2 -2
  155. package/lenses/symmetry.en.md +1 -1
  156. package/lenses/symmetry.md +1 -1
  157. package/lenses/topological.en.md +2 -2
  158. package/lenses/topological.md +2 -2
  159. package/lenses/variational.en.md +1 -1
  160. package/lenses/variational.md +1 -1
  161. package/package.json +5 -5
  162. package/references/agentic-workflow.en.md +3 -3
  163. package/references/agentic-workflow.md +1 -1
  164. package/references/books/abstract-algebra.en.md +124 -0
  165. package/references/books/abstract-algebra.md +17 -17
  166. package/references/books/algebraic-geometry-rising-sea.en.md +171 -0
  167. package/references/books/algebraic-geometry-rising-sea.md +7 -7
  168. package/references/books/differential-geometry.en.md +140 -0
  169. package/references/books/differential-geometry.md +23 -23
  170. package/references/books/matrix-analysis.en.md +146 -0
  171. package/references/books/matrix-analysis.md +32 -32
  172. package/references/books/micro-lie-theory.en.md +116 -0
  173. package/references/books/micro-lie-theory.md +16 -16
  174. package/references/books/optimization-ml.en.md +163 -0
  175. package/references/books/optimization-ml.md +20 -21
  176. package/references/books/smooth-manifolds.en.md +105 -0
  177. package/references/books/smooth-manifolds.md +15 -15
  178. package/references/gpu-friendly-math.en.md +35 -9
  179. package/references/gpu-friendly-math.md +33 -5
  180. package/references/skill-index.en.md +105 -0
  181. package/references/skill-index.md +105 -0
  182. package/skills/math-research-activator/SKILL.en.md +72 -88
  183. package/skills/math-research-activator/SKILL.md +61 -78
@@ -45,5 +45,17 @@
45
45
 
46
46
  ## 深入参考
47
47
 
48
- - 蒸馏稿:references/books/matrix-analysis.md(§4.3 特征值不等式 Weyl/交错、§6.1-6.3 Ger\v{s}gorin 圆盘与扰动定理、§5.8 条件数)
48
+ - 蒸馏稿:../../references/books/matrix-analysis.md(§4.3 特征值不等式 Weyl/交错、§6.1-6.3 Ger\v{s}gorin 圆盘与扰动定理、§5.8 条件数)
49
49
  - 原书:Horn & Johnson, *Matrix Analysis* 2nd Ed., Chapter 4 §4.3 (Eigenvalue Inequalities) + Chapter 6 (Location and Perturbation of Eigenvalues §6.1-6.3)
50
+
51
+
52
+ ## 路由扩展
53
+ - 若关注特征值灵敏度 → `spectral-decomposition.md`(谱分解的扰动分析)
54
+ - 若涉及随机扰动界 → `../probability/concentration-inequality.md`(随机矩阵集中不等式)
55
+
56
+ ## 可扩展方向
57
+ - 伪谱(pseudospectra):非正规矩阵的谱灵敏度分析
58
+ - 结构化扰动(structured perturbation):保持矩阵结构的扰动分析
59
+ - Davis-Kahan 定理变体:子空间扰动的多种界
60
+ - 特征值交错(eigenvalue interlacing):主子矩阵与特征值关系
61
+ - Wilkinson 多项式:多项式根的条件数与扰动灵敏度
@@ -2,12 +2,12 @@
2
2
 
3
3
  ## Minimal Definition
4
4
 
5
- A Hermitian matrix $A$ is positive semidefinite (PSD) if $x^HAx \geq 0$ for all nonzero vectors $x$, denoted $A \succeq 0$. Equivalent conditions: all eigenvalues $\geq 0$; there exists $B$ such that $A = B^HB$ (Gram representation); all leading principal minors $\geq 0$. Positive definite (PD) requires strict $> 0$, denoted $A \succ 0$.
5
+ A Hermitian matrix $A$ is positive semidefinite (PSD) if $x^HAx \geq 0$ for all nonzero vectors $x$, denoted $A \succeq 0$. Equivalent conditions: all eigenvalues $\geq 0$; there exists $B$ such that $A = B^HB$ (Gram representation); **all principal minors** $\geq 0$ (note: ALL principal minors, not just the leading ones). Positive definite (PD) requires strict $> 0$, denoted $A \succ 0$.
6
6
 
7
7
  ## Core Formulas
8
8
 
9
- - PSD equivalence: $A \succeq 0 \iff \lambda_i(A) \geq 0 \ \forall i \iff A = B^HB$
10
- - PD equivalence: $A \succ 0 \iff \lambda_i(A) > 0 \ \forall i \iff$ all leading principal minors $> 0$ (Sylvester's criterion)
9
+ - PSD equivalence: $A \succeq 0 \iff \lambda_i(A) \geq 0 \ \forall i \iff A = B^HB \iff$ all principal minors $\geq 0$ (note: **all** principal minors, not just the leading ones)
10
+ - PD equivalence (Sylvester's criterion): $A \succ 0 \iff \lambda_i(A) > 0 \ \forall i \iff$ all leading principal minors $> 0$ (checking only leading principal minors suffices; this is necessary and sufficient for PD)
11
11
  - Cholesky decomposition: $A \succ 0 \implies A = LL^H$, $L$ lower triangular
12
12
  - Loewner partial order: $A \succeq B \iff A - B \succeq 0$
13
13
  - Schur product theorem: $A \succeq 0, B \succeq 0 \implies A \circ B \succeq 0$ (Hadamard product preserves PSD)
@@ -20,12 +20,12 @@ A Hermitian matrix $A$ is positive semidefinite (PSD) if $x^HAx \geq 0$ for all
20
20
  - Covariance matrices: $\Sigma = \mathbb{E}[xx^H] \succeq 0$; PCA/whitening relies on positive definiteness
21
21
  - Second-order optimization preconditioning: The PSD structure of the Hessian/Fisher information matrix guarantees descent directions
22
22
  - Semidefinite programming (SDP): optimizing a linear objective subject to $X \succeq 0$ constraints
23
- - Attention matrix analysis: Gram structure of the row-stochastic matrix output by softmax
23
+ - Attention matrix analysis: a row-stochastic softmax attention matrix is generally not a Gram/PSD matrix; PSD tools apply only after explicitly constructing a symmetric PSD kernel (e.g. $K_{ij}=k(x_i,x_j)$) or symmetrizing and projecting to the PSD cone.
24
24
 
25
25
  ## AI Design Translation
26
26
 
27
27
  - **PSD kernel engineering (learnable kernels)**: Use the Schur product theorem to combine multiple PSD kernels: $K = K_1 \circ K_2 \circ \cdots$ (Hadamard product), guaranteeing the result remains PSD. Implemented as elementwise tensor multiplication `K = K1 * K2`, $O(n^2)$ elementwise, extremely GPU-friendly. Can parameterize $K_\theta(x,y) = \exp(-\|f_\theta(x)-f_\theta(y)\|^2)$ to guarantee PSD.
28
- - **Covariance whitening**: $\hat{x} = \Sigma^{-1/2}x$, where $\Sigma^{-1/2}$ is approximated via Newton-Schulz iteration (pure matmul). Newton-Schulz: $X_{k+1} = \frac{1}{2}X_k(3I - AX_k)$, two matmul operations per step, converging in 5-6 steps. BatchNorm can be viewed as an approximation to diagonal whitening.
28
+ - **Covariance whitening**: $\hat{x} = \Sigma^{-1/2}x$, where $\Sigma^{-1/2}$ can be approximated via scaled Newton-Schulz iteration (pure matmul). A common coupled form uses $Y_0=A/\alpha, Z_0=I$, $T_k=\frac{1}{2}(3I-Z_kY_k)$, $Y_{k+1}=Y_kT_k, Z_{k+1}=T_kZ_k$, with $A^{-1/2}\approx Z_k/\sqrt{\alpha}$; an equivalent single-variable form is $X_{k+1}=\frac{1}{2}X_k(3I-AX_k^2)$. Convergence requires spectral scaling and positive definiteness; in low precision, residual checks are needed. 5-6 steps is an engineering budget, not a universal guarantee. BatchNorm can be viewed as an approximation to diagonal whitening.
29
29
  - **Cholesky preconditioner**: For a PSD Hessian $H$, use the $H = LL^H$ decomposition and solve $L^{-1}L^{-H}g$ instead of $H^{-1}g$. cuSOLVER provides batched Cholesky `potrf`. In K-FAC, the inversion of each Kronecker factor proceeds via Cholesky.
30
30
  - **Nearest PSD approximation (Higham)**: Given a symmetric matrix $A$, find the nearest PSD matrix $A_+ = \arg\min_{X \succeq 0} \|A - X\|_F$. Solution: EVD $A = U\Lambda U^H$, clamp negative values in $\Lambda$ to zero, $A_+ = U\Lambda_+ U^H$. Used to correct loss of positive definiteness in covariance matrices due to floating-point errors.
31
31
  - **Jitter / diagonal loading**: $A_{\text{stable}} = A + \epsilon I$ ($\epsilon \sim 10^{-6}$), ensuring numerical positive definiteness. Standard practice in Gaussian processes, kernel methods, and Cholesky decomposition. Implemented as `A + eps * torch.eye(n)`, a zero-cost operation.
@@ -46,5 +46,19 @@ A Hermitian matrix $A$ is positive semidefinite (PSD) if $x^HAx \geq 0$ for all
46
46
 
47
47
  ## Further References
48
48
 
49
- - Distilled notes: references/books/matrix-analysis.md (Ch 7 Positive Definite and Semidefinite Matrices, Section 7.5 Schur Product Theorem, Section 7.7 Loewner Partial Order)
49
+ - Distilled notes: ../../references/books/matrix-analysis.en.md (Ch 7 Positive Definite and Semidefinite Matrices, Section 7.5 Schur Product Theorem, Section 7.7 Loewner Partial Order)
50
50
  - Original text: Horn & Johnson, *Matrix Analysis* 2nd Ed., Chapter 7 (Positive Definite and Semidefinite Matrices Section 7.1-7.8)
51
+
52
+
53
+ ## Routing Extensions
54
+ - If solving SDP problems -> `../optimization/convex-optimization.md` (semidefinite programming as convex optimization)
55
+ - If PSD matrix conditioning and perturbation are involved -> `matrix-perturbation.en.md` (eigenvalue perturbation bounds)
56
+ - If used for Fisher information matrix -> `../probability/fisher-information.md` (PSD property of Fisher information)
57
+
58
+ ## Extensible Directions
59
+ - Semidefinite programming (SDP): solution methods and applications
60
+ - PSD completion: completing partially known PSD matrices
61
+ - Matrix square root: unique square root of PSD matrices
62
+ - Lowner order: partial order on the PSD cone
63
+ - Operator monotone functions: Loewner-Heinz theorem
64
+ - Completely positive matrices: CP decomposition and cone structure
@@ -2,12 +2,12 @@
2
2
 
3
3
  ## 最小定义
4
4
 
5
- Hermitian 矩阵 $A$ 若对所有非零向量 $x$ 满足 $x^HAx \geq 0$,则称半正定(PSD),记 $A \succeq 0$。等价条件:所有特征值 $\geq 0$;存在 $B$ 使 $A = B^HB$(Gram 表示);所有顺序主子式 $\geq 0$。正定(PD)要求严格 $> 0$,记 $A \succ 0$。
5
+ Hermitian 矩阵 $A$ 若对所有非零向量 $x$ 满足 $x^HAx \geq 0$,则称半正定(PSD),记 $A \succeq 0$。等价条件:所有特征值 $\geq 0$;存在 $B$ 使 $A = B^HB$(Gram 表示);**所有主子式** $\geq 0$(注意:是全部主子式,不仅是顺序主子式)。正定(PD)要求严格 $> 0$,记 $A \succ 0$。
6
6
 
7
7
  ## 核心公式
8
8
 
9
- - PSD 等价条件:$A \succeq 0 \iff \lambda_i(A) \geq 0 \ \forall i \iff A = B^HB$
10
- - 正定等价:$A \succ 0 \iff \lambda_i(A) > 0 \ \forall i \iff$ 所有顺序主子式 $> 0$(Sylvester 准则)
9
+ - PSD 等价条件:$A \succeq 0 \iff \lambda_i(A) \geq 0 \ \forall i \iff A = B^HB \iff$ 所有主子式 $\geq 0$(注意:是 **所有** 主子式,不仅是顺序主子式)
10
+ - 正定等价(Sylvester 准则):$A \succ 0 \iff \lambda_i(A) > 0 \ \forall i \iff$ 所有顺序主子式 $> 0$(仅需检验顺序主子式,这是 PD 的充分必要条件)
11
11
  - Cholesky 分解:$A \succ 0 \implies A = LL^H$,$L$ 下三角
12
12
  - Loewner 偏序:$A \succeq B \iff A - B \succeq 0$
13
13
  - Schur 积定理:$A \succeq 0, B \succeq 0 \implies A \circ B \succeq 0$(Hadamard 积保 PSD)
@@ -20,12 +20,12 @@ Hermitian 矩阵 $A$ 若对所有非零向量 $x$ 满足 $x^HAx \geq 0$,则称
20
20
  - 协方差矩阵:$\Sigma = \mathbb{E}[xx^H] \succeq 0$,PCA/白化依赖其正定性
21
21
  - 二阶优化预条件:Hessian/Fisher 信息矩阵的 PSD 结构保证下降方向
22
22
  - 半定规划 (SDP):约束 $X \succeq 0$ 下的线性目标优化
23
- - Attention 矩阵分析:softmax 输出的行随机矩阵的 Gram 结构
23
+ - Attention 矩阵分析:softmax 输出的行随机矩阵一般不是 Gram/PSD;只有显式构造对称 PSD kernel(如 $K_{ij}=k(x_i,x_j)$)或对称化并投影到 PSD cone 后,才能使用 PSD 工具。
24
24
 
25
25
  ## AI 设计翻译
26
26
 
27
27
  - **PSD 核工程 (可学习核)**:用 Schur 积定理组合多个 PSD 核:$K = K_1 \circ K_2 \circ \cdots$(Hadamard 积),保证结果始终 PSD。实现为 elementwise 张量乘 `K = K1 * K2`,$O(n^2)$ elementwise,极 GPU 友好。可参数化 $K_\theta(x,y) = \exp(-\|f_\theta(x)-f_\theta(y)\|^2)$ 保证 PSD。
28
- - **协方差白化 (Whitening)**:$\hat{x} = \Sigma^{-1/2}x$,其中 $\Sigma^{-1/2}$ 通过 Newton-Schulz 迭代近似(纯 matmul)。Newton-Schulz:$X_{k+1} = \frac{1}{2}X_k(3I - AX_k)$,每步两次 matmul,5-6 步收敛。BatchNorm 可视为对角白化的近似。
28
+ - **协方差白化 (Whitening)**:$\hat{x} = \Sigma^{-1/2}x$,其中 $\Sigma^{-1/2}$ 可通过缩放后的 Newton-Schulz 迭代近似(纯 matmul)。常用 coupled 形式:$Y_0=A/\alpha, Z_0=I$,$T_k=\frac{1}{2}(3I-Z_kY_k)$,$Y_{k+1}=Y_kT_k, Z_{k+1}=T_kZ_k$,最后 $A^{-1/2}\approx Z_k/\sqrt{\alpha}$;或单变量形式 $X_{k+1}=\frac{1}{2}X_k(3I-AX_k^2)$。收敛需要谱缩放和正定条件,低精度下需残差监控;5-6 步只是常见工程预算。BatchNorm 可视为对角白化的近似。
29
29
  - **Cholesky 预条件子**:对 PSD Hessian $H$,用 $H = LL^H$ 分解后解 $L^{-1}L^{-H}g$ 代替 $H^{-1}g$。cuSOLVER 有 batched Cholesky `potrf`。K-FAC 中每个 Kronecker 因子的求逆即走 Cholesky。
30
30
  - **最近 PSD 近似 (Higham)**:给定对称矩阵 $A$,求最近 PSD 矩阵 $A_+ = \arg\min_{X \succeq 0} \|A - X\|_F$。解法:EVD $A = U\Lambda U^H$,将 $\Lambda$ 中负值截零,$A_+ = U\Lambda_+ U^H$。用于修正浮点误差导致的协方差矩阵失去正定性。
31
31
  - **Jitter / 对角加载**:$A_{\text{stable}} = A + \epsilon I$($\epsilon \sim 10^{-6}$),保证数值正定性。高斯过程、核方法、Cholesky 分解中标准做法。实现为 `A + eps * torch.eye(n)`,零成本操作。
@@ -46,5 +46,19 @@ Hermitian 矩阵 $A$ 若对所有非零向量 $x$ 满足 $x^HAx \geq 0$,则称
46
46
 
47
47
  ## 深入参考
48
48
 
49
- - 蒸馏稿:references/books/matrix-analysis.md(Ch 7 Positive Definite and Semidefinite Matrices、§7.5 Schur 积定理、§7.7 Loewner 偏序)
49
+ - 蒸馏稿:../../references/books/matrix-analysis.md(Ch 7 Positive Definite and Semidefinite Matrices、§7.5 Schur 积定理、§7.7 Loewner 偏序)
50
50
  - 原书:Horn & Johnson, *Matrix Analysis* 2nd Ed., Chapter 7 (Positive Definite and Semidefinite Matrices §7.1-7.8)
51
+
52
+
53
+ ## 路由扩展
54
+ - 若需要求解 SDP 问题 → `../optimization/convex-optimization.md`(半正定规划作为凸优化)
55
+ - 若涉及 PSD 矩阵的条件与扰动 → `matrix-perturbation.md`(特征值扰动界)
56
+ - 若用于 Fisher 信息矩阵 → `../probability/fisher-information.md`(Fisher 信息的 PSD 性质)
57
+
58
+ ## 可扩展方向
59
+ - 半正定规划(semidefinite programming):SDP 的求解方法与应用
60
+ - PSD 补全(PSD completion):部分已知 PSD 矩阵的补全
61
+ - 矩阵平方根(matrix square root):PSD 矩阵的唯一平方根
62
+ - Lowner 序(Lowner order):PSD 锥上的偏序关系
63
+ - 算子单调函数(operator monotone functions):Loewner-Heinz 定理
64
+ - 完全正矩阵(completely positive matrices):CP 分解与锥结构
@@ -43,5 +43,18 @@ Maps a vector $v$ onto a subspace $\mathcal{S}$ such that the residual $v - Pv$
43
43
 
44
44
  ## Further References
45
45
 
46
- - Distilled notes: references/books/matrix-analysis.md (Section 2.1 QR Decomposition, Section 4.2 Courant-Fischer Variational Characterization, Section 2.6 SVD)
46
+ - Distilled notes: ../../references/books/matrix-analysis.en.md (Section 2.1 QR Decomposition, Section 4.2 Courant-Fischer Variational Characterization, Section 2.6 SVD)
47
47
  - Original text: Horn & Johnson, *Matrix Analysis* 2nd Ed., Chapter 2 (Unitary Similarity) + Chapter 4 (Hermitian Matrices Section 4.2 Variational Characterizations)
48
+
49
+
50
+ ## Routing Extensions
51
+ - If the goal is compression / dimensionality reduction -> `low-rank-approximation.en.md` (truncated SVD implementation)
52
+ - If projection constraints are needed on a manifold -> `../optimization/riemannian-optimization.md` (constrained optimization on Riemannian manifolds)
53
+ - If shared vs. private subspace separation is involved -> `shared-private-decomposition` (design pattern layer)
54
+
55
+ ## Extensible Directions
56
+ - Oblique projection: non-orthogonal projection operators
57
+ - Alternating projection: Von Neumann alternating projection convergence theorem
58
+ - Projection onto convex sets (POCS): projecting onto intersections of convex sets
59
+ - Randomized projection: Johnson-Lindenstrauss lemma and random projections
60
+ - Subspace tracking: online subspace estimation methods
@@ -43,5 +43,18 @@
43
43
 
44
44
  ## 深入参考
45
45
 
46
- - 蒸馏稿:references/books/matrix-analysis.md(§2.1 QR 分解、§4.2 Courant-Fischer 变分刻画、§2.6 SVD)
46
+ - 蒸馏稿:../../references/books/matrix-analysis.md(§2.1 QR 分解、§4.2 Courant-Fischer 变分刻画、§2.6 SVD)
47
47
  - 原书:Horn & Johnson, *Matrix Analysis* 2nd Ed., Chapter 2 (Unitary Similarity) + Chapter 4 (Hermitian Matrices §4.2 Variational Characterizations)
48
+
49
+
50
+ ## 路由扩展
51
+ - 若目标是压缩/降维 → `low-rank-approximation.md`(截断 SVD 实现)
52
+ - 若需要在流形上做投影约束 → `../optimization/riemannian-optimization.md`(黎曼流形上的约束优化)
53
+ - 若涉及共享与私有子空间分离 → `shared-private-decomposition`(设计模式层)
54
+
55
+ ## 可扩展方向
56
+ - 斜投影(oblique projection):非正交投影算子
57
+ - 交替投影(alternating projection):Von Neumann 交替投影收敛定理
58
+ - 凸集投影(POCS):投影到多个凸集交集的方法
59
+ - 随机投影(randomized projection):Johnson-Lindenstrauss 引理与随机投影
60
+ - 子空间跟踪(subspace tracking):在线更新的子空间估计方法
@@ -44,5 +44,18 @@ Decomposes a matrix into a linear combination of eigenvalue-eigenvector pairs. F
44
44
 
45
45
  ## Further References
46
46
 
47
- - Distilled notes: references/books/matrix-analysis.md (Ch 1 Eigenvalues and Similarity, Section 2.4-2.5 Schur Triangularization and Normal Matrices, Section 4.2 Courant-Fischer)
47
+ - Distilled notes: ../../references/books/matrix-analysis.en.md (Ch 1 Eigenvalues and Similarity, Section 2.4-2.5 Schur Triangularization and Normal Matrices, Section 4.2 Courant-Fischer)
48
48
  - Original text: Horn & Johnson, *Matrix Analysis* 2nd Ed., Chapter 1 (Eigenvalues, Eigenvectors, Similarity) + Chapter 2 (Unitary Similarity Section 2.4-2.5)
49
+
50
+
51
+ ## Routing Extensions
52
+ - If truncation approximation is needed -> `low-rank-approximation.en.md` (SVD-based low-rank approximation)
53
+ - If used for attention mechanism design -> `spectral-attention` (design pattern layer)
54
+ - If spectral concentration bounds are needed -> `../probability/concentration-inequality.md` (concentration inequalities for random matrix spectra)
55
+
56
+ ## Extensible Directions
57
+ - SVD variants (truncated / randomized SVD): fast decomposition for large-scale matrices
58
+ - CUR decomposition: interpretable matrix approximation via column/row sampling
59
+ - Nystrom method: low-rank approximation of kernel matrices
60
+ - Spectral graph theory (Laplacian eigenvalues): graph Laplacian eigenvalues and graph structure analysis
61
+ - Random matrix theory: spectral distributions of large random matrices
@@ -44,5 +44,18 @@
44
44
 
45
45
  ## 深入参考
46
46
 
47
- - 蒸馏稿:references/books/matrix-analysis.md(Ch 1 特征值与相似、§2.4-2.5 Schur 三角化与正规矩阵、§4.2 Courant-Fischer)
47
+ - 蒸馏稿:../../references/books/matrix-analysis.md(Ch 1 特征值与相似、§2.4-2.5 Schur 三角化与正规矩阵、§4.2 Courant-Fischer)
48
48
  - 原书:Horn & Johnson, *Matrix Analysis* 2nd Ed., Chapter 1 (Eigenvalues, Eigenvectors, Similarity) + Chapter 2 (Unitary Similarity §2.4-2.5)
49
+
50
+
51
+ ## 路由扩展
52
+ - 若需要截断近似 → `low-rank-approximation.md`(基于 SVD 的低秩近似)
53
+ - 若用于注意力机制设计 → `spectral-attention`(设计模式层)
54
+ - 若需要谱的集中界 → `../probability/concentration-inequality.md`(随机矩阵谱的集中不等式)
55
+
56
+ ## 可扩展方向
57
+ - SVD 变体(truncated / randomized SVD):大规模矩阵的快速分解
58
+ - CUR 分解:基于列/行采样的可解释矩阵近似
59
+ - Nystrom 方法:核矩阵的低秩近似
60
+ - 谱图理论(Laplacian eigenvalues):图拉普拉斯特征值与图结构分析
61
+ - 随机矩阵理论:大维随机矩阵的谱分布
@@ -13,7 +13,7 @@ Minimizes an objective $f(x)$ over a constraint set $\mathcal{C} = \{x : g_i(x)
13
13
  - $\lambda_i g_i(x) = 0$ (complementary slackness)
14
14
  - Projected gradient method: $x_{k+1} = \text{proj}_{\mathcal{C}}(x_k - \alpha \nabla f(x_k))$
15
15
  - Penalty function method: $\min_x f(x) + \frac{\rho}{2}\sum [\max(0, g_i(x))]^2 + \frac{\rho}{2}\sum h_j(x)^2$
16
- - Augmented Lagrangian: $\mathcal{L}_\rho(x,\lambda) = f(x) + \sum \lambda_i g_i(x) + \frac{\rho}{2}\sum g_i(x)^2$
16
+ - Augmented Lagrangian (inequality constraints $g_i(x) \leq 0$): $\mathcal{L}_\rho(x,\lambda) = f(x) + \frac{\rho}{2}\sum_i \left[\max\!\left(0,\; \frac{\lambda_i}{\rho} + g_i(x)\right)^2 - \left(\frac{\lambda_i}{\rho}\right)^2\right]$ (strictly feasible constraints where $g_i(x) < 0$ and $\lambda_i/\rho + g_i(x) \leq 0$ are not penalized; for equality constraints this reduces to $\mathcal{L}_\rho = f(x) + \sum \nu_j h_j(x) + \frac{\rho}{2}\sum h_j(x)^2$)
17
17
  - Armijo line search (constrained version): $\alpha$ satisfies $f(\text{proj}_\mathcal{C}(x - \alpha \nabla f)) \leq f(x) - \sigma \alpha \|\nabla f\|^2$
18
18
 
19
19
  ## Applicable Problems
@@ -27,7 +27,7 @@ Minimizes an objective $f(x)$ over a constraint set $\mathcal{C} = \{x : g_i(x)
27
27
  ## AI Design Translation
28
28
 
29
29
  - **Weight clipping (WGAN)**: $W \leftarrow \text{clamp}(W, -c, c)$ is projection onto an $\ell_\infty$-box constraint. Implemented as `torch.clamp(W, -c, c)`, an elementwise operation with zero additional computation. Simple but coarse, less refined than spectral normalization.
30
- - **Spectral normalization**: Constrains $\sigma_{\max}(W) \leq 1$, i.e., projects onto the operator norm ball. Uses power iteration to estimate $u \leftarrow W^T W u / \|W^T W u\|$, then normalizes $W \leftarrow W / \sigma_{\max}$. Two matvec + norm operations per step; built into PyTorch as `torch.nn.utils.spectral_norm`.
30
+ - **Spectral normalization**: A common engineering way to enforce $\sigma_{\max}(W) \leq 1$ is the scaling reparameterization $W \leftarrow W / \max(1,\sigma_{\max})$, with $\sigma_{\max}$ estimated by power iteration. This is not the Frobenius-nearest projection onto the operator-norm ball; the exact projection clips singular values individually. About two matvec + norm operations per step; built into PyTorch as `torch.nn.utils.spectral_norm`.
31
31
  - **Projected gradient for $\ell_2$-ball constraints**: $\text{proj}(w) = w \cdot \min(1, R/\|w\|_2)$, implemented as `w * min(1, R / w.norm())`, one norm + elementwise operation, $O(d)$. Used in trust regions and adversarial robustness $\epsilon$-ball constraints.
32
32
  - **Augmented Lagrangian for RLHF/PPO**: $\mathcal{L} = -\mathbb{E}[r] + \lambda(\text{KL}(\pi\|\pi_{\text{ref}}) - \epsilon) + \frac{\rho}{2}(\text{KL} - \epsilon)^2$. The inner loop optimizes $\pi$ via PPO; the outer loop updates $\lambda \leftarrow \lambda + \rho(\text{KL} - \epsilon)$. KL computation involves softmax + elementwise log-ratio, GPU-friendly.
33
33
  - **Penalty method for sparsity/low-rank constraints**: $\mathcal{L}_{\text{penalty}} = \mathcal{L}_{\text{task}} + \rho \sum_i \max(0, \|w_i\|_1 - \tau)^2$ constrains per-layer sparsity to not exceed $\tau$. The penalty term is elementwise + reduce, differentiable and GPU-friendly. $\rho$ increasing schedule: $\rho \leftarrow \beta \rho$ ($\beta > 1$), doubling every several steps.
@@ -49,5 +49,19 @@ Minimizes an objective $f(x)$ over a constraint set $\mathcal{C} = \{x : g_i(x)
49
49
 
50
50
  ## Further References
51
51
 
52
- - Distilled notes: references/books/optimization-ml.md (Ch 20-21 Equality/Inequality Constraints and KKT, Ch 24 Constrained Algorithms Section 24.3 Projected Gradient, Section 24.5 Augmented Lagrangian, Section 24.6 Penalty Methods)
52
+ - Distilled notes: ../../references/books/optimization-ml.en.md (Ch 20-21 Equality/Inequality Constraints and KKT, Ch 24 Constrained Algorithms Section 24.3 Projected Gradient, Section 24.5 Augmented Lagrangian, Section 24.6 Penalty Methods)
53
53
  - Original text: Chong, Lu, Zak, *An Introduction to Optimization* 5th Ed., Chapter 20-21 (Equality & Inequality Constraints) + Chapter 24 (Algorithms for Constrained Optimization Section 24.2-24.6)
54
+
55
+
56
+ ## Routing Extensions
57
+ - If a dual perspective is needed -> `lagrangian-duality.en.md` (Lagrangian duality theory)
58
+ - If constraints are on a manifold -> `riemannian-optimization.en.md` (Riemannian optimization for manifold constraints)
59
+ - If penalty term design is needed -> `constraint-penalty` (design pattern layer for constraint penalties)
60
+
61
+ ## Extensible Directions
62
+ - Penalty / barrier methods: converting constraints to penalty terms
63
+ - Sequential quadratic programming (SQP): second-order methods for constrained optimization
64
+ - Active set methods: identifying the active constraint set
65
+ - Constraint qualification: LICQ, MFCQ and other regularity conditions
66
+ - Exact penalty: exact solutions with finite penalty parameters
67
+ - Augmented Lagrangian methods: combining duality and penalty functions
@@ -13,7 +13,7 @@
13
13
  - $\lambda_i g_i(x) = 0$(互补松弛)
14
14
  - 投影梯度法:$x_{k+1} = \text{proj}_{\mathcal{C}}(x_k - \alpha \nabla f(x_k))$
15
15
  - 惩罚函数法:$\min_x f(x) + \frac{\rho}{2}\sum [\max(0, g_i(x))]^2 + \frac{\rho}{2}\sum h_j(x)^2$
16
- - 增广 Lagrangian:$\mathcal{L}_\rho(x,\lambda) = f(x) + \sum \lambda_i g_i(x) + \frac{\rho}{2}\sum g_i(x)^2$
16
+ - 增广 Lagrangian(不等式约束 $g_i(x) \leq 0$):$\mathcal{L}_\rho(x,\lambda) = f(x) + \frac{\rho}{2}\sum_i \left[\max\!\left(0,\; \frac{\lambda_i}{\rho} + g_i(x)\right)^2 - \left(\frac{\lambda_i}{\rho}\right)^2\right]$(严格可行约束 $g_i(x) < 0$ 且 $\lambda_i/\rho + g_i(x) \leq 0$ 时不受惩罚;等式约束退化为 $\mathcal{L}_\rho = f(x) + \sum \nu_j h_j(x) + \frac{\rho}{2}\sum h_j(x)^2$)
17
17
  - Armijo 线搜索(约束版):$\alpha$ 满足 $f(\text{proj}_\mathcal{C}(x - \alpha \nabla f)) \leq f(x) - \sigma \alpha \|\nabla f\|^2$
18
18
 
19
19
  ## 适用问题
@@ -27,7 +27,7 @@
27
27
  ## AI 设计翻译
28
28
 
29
29
  - **Weight Clipping (WGAN)**:$W \leftarrow \text{clamp}(W, -c, c)$ 即投影到 $\ell_\infty$-box 约束。实现为 `torch.clamp(W, -c, c)`,elementwise 操作,零额外计算。简单但粗糙,不如谱归一化精细。
30
- - **谱归一化 (Spectral Normalization)**:约束 $\sigma_{\max}(W) \leq 1$,即投影到算子范数球。用 power iteration 估 $u \leftarrow W^T W u / \|W^T W u\|$,归一化 $W \leftarrow W / \sigma_{\max}$。每步 2 次 matvec + norm,PyTorch 内置 `torch.nn.utils.spectral_norm`。
30
+ - **谱归一化 (Spectral Normalization)**:约束 $\sigma_{\max}(W) \leq 1$ 的常用工程做法是缩放重参数化 $W \leftarrow W / \max(1,\sigma_{\max})$,其中 $\sigma_{\max}$ 用 power iteration 估计。注意这不是 Frobenius 范数下到算子范数球的最近投影;真正最近投影需对奇异值逐个裁剪。每步约 2 次 matvec + norm,PyTorch 内置 `torch.nn.utils.spectral_norm`。
31
31
  - **投影梯度做 $\ell_2$-ball 约束**:$\text{proj}(w) = w \cdot \min(1, R/\|w\|_2)$,实现为 `w * min(1, R / w.norm())`,一次 norm + elementwise,$O(d)$。用于 trust region、对抗鲁棒的 $\epsilon$-ball 约束。
32
32
  - **增广 Lagrangian 做 RLHF/PPO**:$\mathcal{L} = -\mathbb{E}[r] + \lambda(\text{KL}(\pi\|\pi_{\text{ref}}) - \epsilon) + \frac{\rho}{2}(\text{KL} - \epsilon)^2$。内层对 $\pi$ 用 PPO 优化,外层 $\lambda \leftarrow \lambda + \rho(\text{KL} - \epsilon)$。KL 计算是 softmax + elementwise log-ratio,GPU 友好。
33
33
  - **惩罚法做稀疏/低秩约束**:$\mathcal{L}_{\text{penalty}} = \mathcal{L}_{\text{task}} + \rho \sum_i \max(0, \|w_i\|_1 - \tau)^2$ 约束每层稀疏度不超 $\tau$。惩罚项是 elementwise + reduce,可微且 GPU 友好。$\rho$ 递增策略:$\rho \leftarrow \beta \rho$($\beta > 1$),每若干步加倍。
@@ -49,5 +49,19 @@
49
49
 
50
50
  ## 深入参考
51
51
 
52
- - 蒸馏稿:references/books/optimization-ml.md(Ch 20-21 等式/不等式约束与 KKT、Ch 24 约束算法 §24.3 投影梯度 §24.5 增广 Lagrange §24.6 惩罚法)
52
+ - 蒸馏稿:../../references/books/optimization-ml.md(Ch 20-21 等式/不等式约束与 KKT、Ch 24 约束算法 §24.3 投影梯度 §24.5 增广 Lagrange §24.6 惩罚法)
53
53
  - 原书:Chong, Lu, Zak, *An Introduction to Optimization* 5th Ed., Chapter 20-21 (Equality & Inequality Constraints) + Chapter 24 (Algorithms for Constrained Optimization §24.2-24.6)
54
+
55
+
56
+ ## 路由扩展
57
+ - 若需要从对偶视角分析 → `lagrangian-duality.md`(Lagrange 对偶理论)
58
+ - 若约束在流形上 → `riemannian-optimization.md`(流形约束的黎曼优化)
59
+ - 若需要惩罚项设计 → `constraint-penalty`(设计模式层的约束惩罚)
60
+
61
+ ## 可扩展方向
62
+ - 罚函数/障碍函数(penalty / barrier methods):将约束转化为惩罚项
63
+ - 序列二次规划(SQP):约束优化的二阶方法
64
+ - 有效集方法(active set methods):识别活跃约束集
65
+ - 约束规范(constraint qualification):LICQ, MFCQ 等正则条件
66
+ - 精确罚函数(exact penalty):有限罚参数下的精确解
67
+ - 增广 Lagrangian 方法(augmented Lagrangian methods):结合对偶与罚函数
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Minimal Definition
4
4
 
5
- Optimization problems that minimize a convex function over a convex set. Convexity guarantees that a local optimum is also a global optimum, and the first-order condition ($\nabla f = 0$) is both necessary and sufficient. Convex problems are the only class in optimization theory that guarantees global optimality with efficient solvability.
5
+ Optimization problems that minimize a convex function over a convex set. Convexity guarantees that a local optimum is also a global optimum. For **unconstrained, differentiable** convex optimization, the first-order condition ($\nabla f(x^*) = 0$) is both necessary and sufficient; for **constrained** convex optimization ($\min f(x)$ s.t. $x \in C$), the KKT conditions are necessary and sufficient under Slater's condition; for **non-smooth** convex optimization, the optimality condition is $0 \in \partial f(x^*) + N_C(x^*)$, where $N_C$ is the normal cone of the constraint set. Convex problems are the only class in optimization theory that guarantees global optimality with efficient solvability.
6
6
 
7
7
  ## Core Formulas
8
8
 
@@ -46,5 +46,18 @@ Optimization problems that minimize a convex function over a convex set. Convexi
46
46
 
47
47
  ## Further References
48
48
 
49
- - Distilled notes: references/books/optimization-ml.md (Ch 22 Convex Optimization, Section 22.2 Convex Functions, Section 22.3 Convex Problems, Section 22.4 SDP/LMI)
49
+ - Distilled notes: ../../references/books/optimization-ml.en.md (Ch 22 Convex Optimization, Section 22.2 Convex Functions, Section 22.3 Convex Problems, Section 22.4 SDP/LMI)
50
50
  - Original text: Chong, Lu, Zak, *An Introduction to Optimization* 5th Ed., Chapter 22 (Convex Optimization Problems Section 22.1-22.4)
51
+
52
+
53
+ ## Routing Extensions
54
+ - If the problem has constraints -> `constrained-optimization.en.md` (constrained convex optimization methods)
55
+ - If the objective is non-smooth -> `proximal-method.en.md` (proximal methods for non-smooth parts)
56
+
57
+ ## Extensible Directions
58
+ - Self-concordant functions: convergence guarantees for Newton's method
59
+ - Interior point methods: polynomial-time methods for large-scale convex optimization
60
+ - First-order method convergence rates: optimal convergence rates for gradient descent
61
+ - Accelerated methods (Nesterov acceleration): Nesterov momentum and optimal first-order methods
62
+ - Online convex optimization: regret analysis for sequential decision-making
63
+ - Bandit convex optimization: convex optimization with zeroth-order information
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## 最小定义
4
4
 
5
- 在凸集上最小化凸函数的优化问题。凸性保证局部最优即全局最优,且一阶条件($\nabla f = 0$)是充分必要的。凸问题是优化理论中唯一能保证全局最优且可高效求解的类别。
5
+ 在凸集上最小化凸函数的优化问题。凸性保证局部最优即全局最优。对于**无约束可微**凸优化,一阶条件($\nabla f(x^*) = 0$)是充分必要的;对于**约束**凸优化($\min f(x)$ s.t. $x \in C$),KKT 条件在 Slater 条件满足时是充分必要的;对于**非光滑**凸优化,最优性条件为 $0 \in \partial f(x^*) + N_C(x^*)$,其中 $N_C$ 为约束集的法锥。凸问题是优化理论中唯一能保证全局最优且可高效求解的类别。
6
6
 
7
7
  ## 核心公式
8
8
 
@@ -46,5 +46,18 @@
46
46
 
47
47
  ## 深入参考
48
48
 
49
- - 蒸馏稿:references/books/optimization-ml.md(Ch 22 Convex Optimization、§22.2 凸函数、§22.3 凸问题、§22.4 SDP/LMI)
49
+ - 蒸馏稿:../../references/books/optimization-ml.md(Ch 22 Convex Optimization、§22.2 凸函数、§22.3 凸问题、§22.4 SDP/LMI)
50
50
  - 原书:Chong, Lu, Zak, *An Introduction to Optimization* 5th Ed., Chapter 22 (Convex Optimization Problems §22.1-22.4)
51
+
52
+
53
+ ## 路由扩展
54
+ - 若问题有约束 → `constrained-optimization.md`(约束凸优化方法)
55
+ - 若目标不可微 → `proximal-method.md`(近端方法处理非光滑部分)
56
+
57
+ ## 可扩展方向
58
+ - 自协调函数(self-concordant functions):Newton 法的收敛保证
59
+ - 内点法(interior point methods):大规模凸优化的多项式时间方法
60
+ - 一阶方法收敛率(first-order convergence rates):梯度下降的最优收敛速率
61
+ - 加速方法(Nesterov acceleration):Nesterov 动量加速与最优一阶方法
62
+ - 在线凸优化(online convex optimization):序列决策的 regret 分析
63
+ - Bandit 凸优化(bandit convex optimization):零阶信息下的凸优化
@@ -0,0 +1,50 @@
1
+ # Optimization Activation Index
2
+
3
+ ## Domain Signals
4
+ Activate this domain direction when the problem involves:
5
+ - Constrained optimization: objective function must satisfy equality or inequality constraints
6
+ - Duality gap: need to analyze the relationship between primal and dual problems
7
+ - Saddle point problems: min-max optimization or game-theoretic structure
8
+ - Non-convex landscape: geometric structure analysis of loss functions
9
+ - Manifold constraints: parameters need to be optimized on a manifold
10
+ - Splitting operators: objective decomposes into multiple components for combined optimization
11
+
12
+ ## Core Anchors
13
+ - `lagrangian-duality.en.md` — Lagrangian duality theory
14
+ - `convex-optimization.en.md` — Convex optimization fundamentals
15
+ - `constrained-optimization.en.md` — Constrained optimization methods
16
+ - `riemannian-optimization.en.md` — Riemannian optimization
17
+ - `proximal-method.en.md` — Proximal methods
18
+
19
+ ## Extended Concepts
20
+ When core anchors are insufficient, the following concepts may need temporary activation:
21
+ - ADMM: alternating direction method of multipliers, suitable for splitting structures
22
+ - mirror descent: mirror descent, suitable for non-Euclidean geometry
23
+ - Frank-Wolfe: conditional gradient method, suitable for sparsity constraints
24
+ - stochastic optimization (SGD / SAdam convergence): convergence theory for stochastic optimization
25
+ - second-order methods (Newton / quasi-Newton): second-order and quasi-Newton methods
26
+ - trust region: trust region methods
27
+ - line search: line search strategies and convergence guarantees
28
+ - gradient clipping theory: theoretical analysis of gradient clipping
29
+ - sharpness-aware minimization (SAM): sharpness-aware minimization
30
+ - neural tangent kernel optimization landscape: optimization landscape under NTK
31
+ - implicit regularization: implicit regularization effects
32
+ - bilevel optimization: bilevel optimization and hyperparameter optimization
33
+ - minimax optimization: minimax optimization theory
34
+ - meta-learning optimization: optimization framework for meta-learning
35
+
36
+ ## Reference Book Directions
37
+ - `../../references/books/optimization-ml.en.md`: comprehensive coverage of ML optimization, including convex optimization, stochastic methods, and second-order methods
38
+
39
+ ## AI Translation Directions
40
+ - lagrangian duality → primal-dual training / adversarial loss / constrained generation
41
+ - convex optimization → convex regularizers / proximal updates / mirror descent optimizer
42
+ - constrained optimization → projected gradient / penalty loss / barrier methods in training
43
+ - riemannian optimization → manifold-constrained parameters / natural gradient / geodesic update
44
+ - proximal method → sparse regularization / ISTA/FISTA layers / proximal neural networks
45
+
46
+ ## Temporary Activation Rules
47
+ When the problem requires mathematics not in the core anchors:
48
+ 1. First check whether extended concepts contain a match
49
+ 2. If yes, generate a temporary knowledge card based on the lens
50
+ 3. If no, enter the Knowledge Gap Protocol
@@ -0,0 +1,50 @@
1
+ # 最优化 激活索引 / Optimization Activation Index
2
+
3
+ ## 领域信号
4
+ 当问题涉及以下信号时,激活本领域方向:
5
+ - 约束优化:目标函数需要满足等式或不等式约束
6
+ - 对偶间隙:需要分析原始问题与对偶问题的关系
7
+ - 鞍点问题:min-max 优化或博弈论结构
8
+ - 非凸 landscape:损失函数的几何结构分析
9
+ - 流形约束:参数需要在流形上优化
10
+ - 分裂算子:目标函数可分解为多个部分的组合优化
11
+
12
+ ## 核心锚点
13
+ - `lagrangian-duality.md` — Lagrange 对偶理论
14
+ - `convex-optimization.md` — 凸优化基础
15
+ - `constrained-optimization.md` — 约束优化方法
16
+ - `riemannian-optimization.md` — 黎曼优化
17
+ - `proximal-method.md` — 近端方法
18
+
19
+ ## 扩展概念
20
+ 当核心锚点不够时,以下概念可能需要临时激活:
21
+ - ADMM:交替方向乘子法,适用于分裂结构
22
+ - mirror descent:镜像下降,适用于非欧几何
23
+ - Frank-Wolfe:条件梯度法,适用于稀疏约束
24
+ - stochastic optimization(SGD / SAdam convergence):随机优化的收敛理论
25
+ - second-order methods(Newton / quasi-Newton):二阶与拟牛顿方法
26
+ - trust region:信赖域方法
27
+ - line search:线搜索策略与收敛保证
28
+ - gradient clipping theory:梯度裁剪的理论分析
29
+ - sharpness-aware minimization (SAM):尖锐度感知最小化
30
+ - neural tangent kernel optimization landscape:NTK 下的优化景观
31
+ - implicit regularization:隐式正则化效应
32
+ - bilevel optimization:双层优化与超参数优化
33
+ - minimax optimization:极小极大优化理论
34
+ - meta-learning optimization:元学习的优化框架
35
+
36
+ ## 参考书方向
37
+ - `../../references/books/optimization-ml.md`:机器学习优化的全面覆盖,包括凸优化、随机方法和二阶方法
38
+
39
+ ## AI 翻译方向
40
+ - lagrangian duality → primal-dual training / adversarial loss / constrained generation
41
+ - convex optimization → convex regularizers / proximal updates / mirror descent optimizer
42
+ - constrained optimization → projected gradient / penalty loss / barrier methods in training
43
+ - riemannian optimization → manifold-constrained parameters / natural gradient / geodesic update
44
+ - proximal method → sparse regularization / ISTA/FISTA layers / proximal neural networks
45
+
46
+ ## 临时激活规则
47
+ 当问题需要的数学不在核心锚点中时:
48
+ 1. 先检查扩展概念中是否有匹配
49
+ 2. 若有,根据透镜生成临时知识卡
50
+ 3. 若无,进入 Knowledge Gap Protocol
@@ -24,9 +24,9 @@ Transforms a constrained optimization problem (primal) into a maximization probl
24
24
 
25
25
  ## AI Design Translation
26
26
 
27
- - **Minimax framework for adversarial training**: $L(\theta, \phi) = \mathbb{E}[\log D_\phi(x)] + \mathbb{E}[\log(1 - D_\phi(G_\theta(z)))]$. $G$ and $D$ alternate between gradient ascent and descent; the core operations are forward + backward passes (matmul chains). Gradient penalty / spectral norm constrains the Lipschitz constant of $D$ to ensure the existence of a saddle point.
27
+ - **Minimax framework for adversarial training**: $L(\theta, \phi) = \mathbb{E}[\log D_\phi(x)] + \mathbb{E}[\log(1 - D_\phi(G_\theta(z)))]$. $G$ and $D$ alternate between gradient ascent and descent; the core operations are forward + backward passes (matmul chains). Gradient penalty / spectral norm can control the Lipschitz constant of $D$ and improve training stability, but it does not guarantee that a non-convex minimax problem has, or converges to, a benign saddle point.
28
28
  - **SVM dual + kernel trick**: Primal $\min_w \frac{1}{2}\|w\|^2 + C\sum\xi_i$ converted to dual $\max_\alpha \sum\alpha_i - \frac{1}{2}\alpha^T(K \circ yy^T)\alpha$. The kernel Gram matrix $K_{ij} = k(x_i, x_j)$ is computed via matmul (linear kernel) or elementwise operations (RBF kernel). Dual variables $\alpha \in \mathbb{R}^n$ are solved using SMO or gradient projection.
29
- - **Augmented Lagrangian constrained training**: $\mathcal{L}_{\text{AL}} = f(x) + \sum \lambda_i g_i(x) + \frac{\rho}{2}\sum g_i(x)^2$. The inner loop optimizes $x$ via SGD; the outer loop updates $\lambda$ via gradient ascent: $\lambda \leftarrow [\lambda + \rho g(x)]_+$. The $\rho$ term ensures inner-loop convexity, enabling convergence even for non-convex original problems.
29
+ - **Augmented Lagrangian constrained training**: $\mathcal{L}_{\text{AL}} = f(x) + \sum \lambda_i g_i(x) + \frac{\rho}{2}\sum g_i(x)^2$. The inner loop optimizes $x$ via SGD; the outer loop updates $\lambda$ via gradient ascent: $\lambda \leftarrow [\lambda + \rho g(x)]_+$. The $\rho$ term improves the concavity of the dual function (making the dual problem easier to solve), but does NOT guarantee global convergence for non-convex original problems. Convergence depends on: (a) constraint qualifications (e.g., LICQ/MFCQ), (b) second-order sufficient conditions, (c) $\rho$ being large enough to satisfy local convexity conditions.
30
30
  - **Dual decomposition**: $\min \sum_k f_k(x_k)$ s.t. $\sum x_k \leq b$ decomposes into independent subproblems $\min_{x_k} f_k(x_k) + \lambda^T x_k$, with the master problem $\max_\lambda g(\lambda)$ solved via subgradient ascent. Naturally parallelizable, suitable for distributed training.
31
31
  - **Dual perspective on the information bottleneck**: $\min I(Z;X) - \beta I(Z;Y)$ can be formulated as constrained optimization, where $\beta$ is the dual variable. The variational IB relaxes this via the ELBO, reducing to standard VAE training (reparameterization trick + SGD).
32
32
 
@@ -39,12 +39,26 @@ Transforms a constrained optimization problem (primal) into a maximization probl
39
39
 
40
40
  ## Risks and Failure Conditions
41
41
 
42
- - **Duality gap for non-convex problems**: Strong duality is only guaranteed for convex problems + Slater's condition. In non-convex neural network training, $d^* < p^*$ is common, and the dual solution does not yield a primal-feasible solution. Solution: augmented Lagrangian (eliminates the gap when $\rho$ is sufficiently large) or SQP.
42
+ - **Duality gap for non-convex problems**: Strong duality is only guaranteed for convex problems + Slater's condition. In non-convex neural network training, $d^* < p^*$ is common, and the dual solution does not yield a primal-feasible solution. Solution: for convex problems, augmented Lagrangian (with the exact penalty property when $\rho$ is sufficiently large, which can eliminate the duality gap); for non-convex problems, the duality gap may persist regardless of $\rho$, and the augmented Lagrangian only guarantees local convergence to KKT points -- alternatively, use SQP.
43
43
  - **Dual variable oscillation**: Improper step sizes for gradient ascent on $\lambda$ can cause dual variable oscillation and primal infeasibility. Solution: use adaptive step sizes (Adam updates for $\lambda$) or an increasing $\rho$ schedule in the augmented Lagrangian.
44
44
  - **Numerical determination of complementary slackness**: $\lambda_i g_i(x) = 0$ can only be satisfied to $\sim 10^{-6}$ in floating point; strict complementary slackness is unattainable. This affects SVM support vector identification; a threshold must be set.
45
45
  - **Mode collapse in minimax training**: The non-convex-non-concave game in GAN $\min\max$ leads to mode collapse or training instability. Additional regularization such as gradient penalty (WGAN-GP) or spectral normalization is required.
46
46
 
47
47
  ## Further References
48
48
 
49
- - Distilled notes: references/books/optimization-ml.md (Ch 23 Lagrangian Duality, Section 23.5 Strong Duality, Section 23.6.3 Slater's Condition)
49
+ - Distilled notes: ../../references/books/optimization-ml.en.md (Ch 23 Lagrangian Duality, Section 23.5 Strong Duality, Section 23.6.3 Slater's Condition)
50
50
  - Original text: Chong, Lu, Zak, *An Introduction to Optimization* 5th Ed., Chapter 23 (Lagrangian Duality Section 23.1-23.6) + Chapter 17 (LP Duality)
51
+
52
+
53
+ ## Routing Extensions
54
+ - If starting from the primal problem -> `constrained-optimization.en.md` (primal constrained optimization)
55
+ - If strong duality conditions are needed -> `convex-optimization.en.md` (strong duality theorem for convex problems)
56
+ - If the dual form of IB objective is involved -> `../probability/information-bottleneck.md` (variational dual of information bottleneck)
57
+
58
+ ## Extensible Directions
59
+ - Augmented Lagrangian: penalty-enhanced Lagrangian methods
60
+ - Saddle point theory: existence and computation of Lagrangian saddle points
61
+ - KKT condition regularity: constraint qualifications and KKT necessary conditions
62
+ - Conic duality: duality theory for conic programming
63
+ - Fenchel duality: convex conjugates and Fenchel-Rockafellar duality
64
+ - Minimax duality: min-max theorems and duality gaps
@@ -24,9 +24,9 @@
24
24
 
25
25
  ## AI 设计翻译
26
26
 
27
- - **对抗训练的 minimax 框架**:$L(\theta, \phi) = \mathbb{E}[\log D_\phi(x)] + \mathbb{E}[\log(1 - D_\phi(G_\theta(z)))]$。$G$ 和 $D$ 交替梯度上升/下降,核心操作是前向 + 反向传播(matmul 链)。梯度惩罚 / spectral norm 约束 $D$ 的 Lipschitz 保证 minimax 有鞍点。
27
+ - **对抗训练的 minimax 框架**:$L(\theta, \phi) = \mathbb{E}[\log D_\phi(x)] + \mathbb{E}[\log(1 - D_\phi(G_\theta(z)))]$。$G$ 和 $D$ 交替梯度上升/下降,核心操作是前向 + 反向传播(matmul 链)。梯度惩罚 / spectral norm 可控制 $D$ 的 Lipschitz 常数并改善训练稳定性,但不保证非凸 minimax 一定存在或收敛到良性鞍点。
28
28
  - **SVM 对偶 + 核技巧**:原始 $\min_w \frac{1}{2}\|w\|^2 + C\sum\xi_i$ 转对偶 $\max_\alpha \sum\alpha_i - \frac{1}{2}\alpha^T(K \circ yy^T)\alpha$。核 Gram $K_{ij} = k(x_i, x_j)$ 是 matmul(线性核)或 elementwise(RBF 核)。对偶变量 $\alpha \in \mathbb{R}^n$,用 SMO 或梯度投影求解。
29
- - **增广 Lagrangian 约束训练**:$\mathcal{L}_{\text{AL}} = f(x) + \sum \lambda_i g_i(x) + \frac{\rho}{2}\sum g_i(x)^2$。内层对 $x$ 用 SGD 优化,外层对 $\lambda$ 梯度上升更新:$\lambda \leftarrow [\lambda + \rho g(x)]_+$。$\rho$ 项保证内层凸性,即使原问题非凸也收敛。
29
+ - **增广 Lagrangian 约束训练**:$\mathcal{L}_{\text{AL}} = f(x) + \sum \lambda_i g_i(x) + \frac{\rho}{2}\sum g_i(x)^2$。内层对 $x$ 用 SGD 优化,外层对 $\lambda$ 梯度上升更新:$\lambda \leftarrow [\lambda + \rho g(x)]_+$。$\rho$ 项改善对偶函数的凹性(使对偶问题更容易求解),但对非凸原问题不保证全局收敛。收敛性依赖于:(a) 约束规格(如 LICQ/MFCQ),(b) 二阶充分条件,(c) $\rho$ 足够大以满足局部凸性条件。
30
30
  - **对偶分解 (Dual Decomposition)**:$\min \sum_k f_k(x_k)$ s.t. $\sum x_k \leq b$ 分解为各子问题 $\min_{x_k} f_k(x_k) + \lambda^T x_k$ 独立求解,主问题 $\max_\lambda g(\lambda)$ 用次梯度上升。天然可并行,适合分布式训练。
31
31
  - **信息瓶颈的对偶视角**:$\min I(Z;X) - \beta I(Z;Y)$ 可写为带约束优化,$\beta$ 是对偶变量。Variational IB 用 ELBO 松弛后变成标准 VAE 训练(reparameterization trick + SGD)。
32
32
 
@@ -39,12 +39,26 @@
39
39
 
40
40
  ## 风险与失效条件
41
41
 
42
- - **非凸问题的对偶间隙**:强对偶仅对凸问题 + Slater 条件保证。非凸神经网络训练中 $d^* < p^*$ 常见,对偶解不给出原始可行解。解决:增广 Lagrangian($\rho$ 足够大时消除间隙)或 SQP。
42
+ - **非凸问题的对偶间隙**:强对偶仅对凸问题 + Slater 条件保证。非凸神经网络训练中 $d^* < p^*$ 常见,对偶解不给出原始可行解。解决:对凸问题,增广 Lagrangian($\rho$ 足够大时具有 exact penalty 性质,可消除对偶间隙);对非凸问题,对偶间隙可能持续存在,增广 Lagrangian 只能保证局部收敛到 KKT 点,或改用 SQP。
43
43
  - **对偶变量振荡**:$\lambda$ 的梯度上升步长不当会导致对偶变量振荡、原始不可行。解决:使用自适应步长(Adam 更新 $\lambda$)或增广 Lagrangian 的 $\rho$ 递增策略。
44
44
  - **互补松弛的数值判定**:$\lambda_i g_i(x) = 0$ 在浮点下只能达到 $\sim 10^{-6}$,严格互补松弛不可得。影响 SVM 支持向量识别等,需设阈值。
45
45
  - **Minimax 训练的 mode collapse**:GAN 中 $\min\max$ 的非凸-非凹博弈导致模式坍缩或训练不稳定。需梯度惩罚(WGAN-GP)、谱归一化等额外正则化。
46
46
 
47
47
  ## 深入参考
48
48
 
49
- - 蒸馏稿:references/books/optimization-ml.md(Ch 23 Lagrangian Duality、§23.5 强对偶、§23.6.3 Slater 条件)
49
+ - 蒸馏稿:../../references/books/optimization-ml.md(Ch 23 Lagrangian Duality、§23.5 强对偶、§23.6.3 Slater 条件)
50
50
  - 原书:Chong, Lu, Zak, *An Introduction to Optimization* 5th Ed., Chapter 23 (Lagrangian Duality §23.1-23.6) + Chapter 17 (LP Duality)
51
+
52
+
53
+ ## 路由扩展
54
+ - 若需要从原始问题出发 → `constrained-optimization.md`(原始约束优化)
55
+ - 若需要强对偶条件 → `convex-optimization.md`(凸问题的强对偶定理)
56
+ - 若涉及 IB 目标函数的对偶形式 → `../probability/information-bottleneck.md`(信息瓶颈的变分对偶)
57
+
58
+ ## 可扩展方向
59
+ - 增广 Lagrangian(augmented Lagrangian):罚项增强的 Lagrangian 方法
60
+ - 鞍点理论(saddle point theory):Lagrangian 鞍点的存在性与求解
61
+ - KKT 条件正则性(KKT regularity):约束规范与 KKT 必要条件
62
+ - 锥对偶(conic duality):锥规划的对偶理论
63
+ - Fenchel 对偶(Fenchel duality):凸共轭与 Fenchel-Rockafellar 对偶
64
+ - 极小极大对偶(minimax duality):min-max 定理与对偶间隙
@@ -48,5 +48,19 @@ For non-smooth or non-differentiable objective functions $f(x) = g(x) + h(x)$ ($
48
48
 
49
49
  ## Further References
50
50
 
51
- - Distilled notes: references/books/optimization-ml.md (Ch 8 Gradient Methods Section 8.3 Convergence Analysis, Ch 11 Quasi-Newton Section 11.5 BFGS, Ch 24 Constrained Algorithms Section 24.5 Augmented Lagrangian)
51
+ - Distilled notes: ../../references/books/optimization-ml.en.md (Ch 8 Gradient Methods Section 8.3 Convergence Analysis, Ch 11 Quasi-Newton Section 11.5 BFGS, Ch 24 Constrained Algorithms Section 24.5 Augmented Lagrangian)
52
52
  - Original text: Chong, Lu, Zak, *An Introduction to Optimization* 5th Ed., Chapter 24 (Constrained Algorithms Section 24.5 Augmented Lagrangian) + Parikh & Boyd, *Proximal Algorithms*, Foundations and Trends in Optimization, 2014
53
+
54
+
55
+ ## Routing Extensions
56
+ - If the smooth part dominates -> `convex-optimization.en.md` (convex optimization for smooth parts)
57
+ - If the proximal operator corresponds to a constraint -> `constrained-optimization.en.md` (equivalence of indicator functions and constraints)
58
+ - If used for variational loss regularization -> `variational-loss` (design pattern layer for proximal regularization)
59
+
60
+ ## Extensible Directions
61
+ - Proximal gradient (ISTA / FISTA): fast proximal methods for L1 regularization
62
+ - Douglas-Rachford splitting: optimizing sums of two non-smooth functions
63
+ - Primal-dual hybrid gradient (PDHG): first-order methods for saddle point problems
64
+ - Alternating minimization: block-wise optimization for block-separable objectives
65
+ - Block coordinate descent: block update strategies for high-dimensional problems
66
+ - Proximal neural networks: embedding proximal operators into network architecture
@@ -48,5 +48,19 @@
48
48
 
49
49
  ## 深入参考
50
50
 
51
- - 蒸馏稿:references/books/optimization-ml.md(Ch 8 梯度法 §8.3 收敛分析、Ch 11 拟牛顿 §11.5 BFGS、Ch 24 约束算法 §24.5 增广 Lagrange)
51
+ - 蒸馏稿:../../references/books/optimization-ml.md(Ch 8 梯度法 §8.3 收敛分析、Ch 11 拟牛顿 §11.5 BFGS、Ch 24 约束算法 §24.5 增广 Lagrange)
52
52
  - 原书:Chong, Lu, Zak, *An Introduction to Optimization* 5th Ed., Chapter 24 (Constrained Algorithms §24.5 Augmented Lagrangian) + Parikh & Boyd, *Proximal Algorithms*, Foundations and Trends in Optimization, 2014
53
+
54
+
55
+ ## 路由扩展
56
+ - 若可微部分主导 → `convex-optimization.md`(光滑部分的凸优化方法)
57
+ - 若近端算子对应约束 → `constrained-optimization.md`(指示函数与约束的等价)
58
+ - 若用于变分损失的正则化 → `variational-loss`(设计模式层的近端正则化)
59
+
60
+ ## 可扩展方向
61
+ - 近端梯度(ISTA / FISTA):L1 正则化的快速近端方法
62
+ - Douglas-Rachford 分裂:两个非光滑函数之和的优化
63
+ - 原始-对偶混合梯度(PDHG):鞍点问题的一阶方法
64
+ - 交替最小化(alternating minimization):块可分目标的分块优化
65
+ - 块坐标下降(block coordinate descent):高维问题的分块更新策略
66
+ - 近端神经网络(proximal neural networks):将近端算子嵌入网络结构