Abstract
This paper introduces a new method for semi-supervised learning on high dimensional nonlinear manifolds, which includes a phase of unsupervised basis learning and a phase of supervised function learning. The learned bases provide a set of anchor points to form a local coordinate system, such that each data point $x$ on the manifold can be locally approximated by a linear combination of its nearby anchor points, with the linear weights offering a local-coordinate coding of $x$. We show that a high dimensional nonlinear function can be approximated by a global linear function with respect to this coding scheme, and the approximation quality is ensured by the locality of such coding. The method turns a difficult nonlinear learning problem into a simple global linear learning problem, which overcomes some drawbacks of traditional local learning methods. The work also gives a theoretical justification to the empirical success of some biologically-inspired models using sparse coding of sensory data, since a local coding scheme must be sufficiently sparse. However, sparsity does not always satisfy locality conditions, and can thus possibly lead to suboptimal results. The properties and performances of the method are empirically verified on synthetic data, handwritten digit classification, and object recognition tasks.
Introduction
In machine learning, the "curse of dimensionality" presents a significant challenge for nonlinear function approximation. Traditional statistical methods often require an exponential amount of data as the dimensionality of the input space increases. However, real-world data, such as images or speech signals, typically reside on lower-dimensional manifolds embedded within high-dimensional ambient spaces. While Sparse Coding has shown empirical success in these domains, a rigorous theoretical framework explaining why these representations facilitate nonlinear learning has been lacking. This paper introduces Local Coordinate Coding (LCC) to bridge this gap, emphasizing "locality" as the critical property for effective manifold learning.
Methodology: Local Coordinate Coding
The LCC framework consists of a two-phase learning process: an unsupervised phase for basis learning and a supervised phase for function learning.
- Unsupervised Basis Learning: The algorithm identifies a set of "anchor points" that approximate the data manifold. Each data point $x$ is encoded as a vector of coordinates $\gamma$ relative to these anchor points.
- Supervised Function Learning: Instead of directly learning a complex nonlinear function $f(x)$, LCC learns a global linear function of the coordinates $\gamma$.
The core innovation of LCC is the explicit requirement of locality. Unlike standard sparse coding, which prioritizes a small number of active bases, LCC requires that the active anchor points be physically close to the data point $x$. This locality allows for a "Linearization Lemma," which mathematically proves that a global linear function in the coordinate space can approximate any smooth nonlinear function on the manifold.
As shown in the table above, LCC distinguishes itself from traditional methods like kernel smoothing or local linear regression by its ability to handle high-dimensional data while maintaining first-order approximation power through basis learning. While Vector Quantization (VQ) also utilizes basis learning in high dimensions, it is limited to zeroth-order (piecewise constant) approximations.
Theoretical Foundation: Locality vs. Sparsity
A key contribution of this work is the distinction between locality and sparsity. The authors argue that the empirical success of sparse coding in computer vision is often a byproduct of its inherent locality. However, they demonstrate that sparsity without locality can lead to poor generalization. By ensuring locality, LCC's approximation error depends on the intrinsic dimension of the manifold rather than the ambient space dimension, effectively bypassing the curse of dimensionality.
Empirical Evaluation
The performance of LCC was validated across several benchmarks:
- Synthetic Swiss Roll: LCC achieved a Root Mean Square Error (RMSE) of 0.109, significantly outperforming standard sparse coding (RMSE of 4.394), highlighting the importance of manifold geometry.
- MNIST Digit Classification: LCC achieved an error rate of 1.90%, performing competitively with complex Deep Belief Networks using a much simpler linear model on top of the learned features.
- Caltech-101 Object Recognition: Combined with max-pooling, LCC reached 73.14% accuracy, surpassing both VQ and standard sparse coding.
Conclusion and Future Directions
Local Coordinate Coding provides a theoretically grounded approach to high-dimensional nonlinear learning. By transforming manifold learning into a global linear problem through local coordinates, it offers a robust alternative to traditional local learning and standard sparse coding. Future work includes optimizing anchor point selection and exploring non-negativity constraints in the coding process.
Summary updated