Machine Learning में Eigenvalues, SVD, और High-Dimensional Vector Spaces
Singular Value Decomposition (SVD) आधुनिक representation learning, latent semantic analysis, और vector retrieval engines का गणितीय आधार बनता है।
Spectral Theorem और Low-Rank Approximation
किसी भी arbitrary matrix के लिए, एक orthogonal factorization मौजूद है:
जहाँ और orthonormal matrices हैं जिनमें left और right singular vectors शामिल हैं, और diagonal है जिसमें singular values हैं।
Eckart-Young-Mirsky Theorem
Frobenius norm error को न्यूनतम करने वाला optimal rank- approximation :
pythonimport numpy as np def truncated_svd_embedding(X: np.ndarray, k: int) -> np.ndarray: U, S, Vt = np.linalg.svd(X, full_matrices=False) # Project high-dimensional token co-occurrence matrix into k-dimensional space return U[:, :k] * np.sqrt(S[:k])
Dimensionality Reduction Dynamics
-dimensional Euclidean space में, radius वाले hypersphere का volume निम्नलिखित के अनुसार scale होता है:
जैसे-जैसे , Gaussian distribution में लगभग सभी mass radius पर एक thin spherical shell के भीतर concentrated हो जाता है, जिससे vector search में curse of dimensionality उत्पन्न होती है।