TL;DR
This paper introduces Exponential Family Sparse Coding (EFSC), a generalization of traditional sparse coding that can handle diverse data types beyond Gaussian distributions, such as text or discrete sensor readings. This advancement significantly improves performance in self-taught learning scenarios, where unlabeled data is used to boost performance on tasks with limited labeled data.
What Problem Does This Paper Address?
Traditional sparse coding, a powerful unsupervised learning technique for learning concise data representations, typically relies on a Gaussian noise model. This assumption severely limits its applicability to data that is not well-described by a Gaussian distribution, such as binary text data (bag-of-words) or integer-valued counts. When applied to such data, Gaussian sparse coding yields suboptimal representations and consequently, limited improvements in downstream tasks like classification. The paper addresses this by proposing a more flexible sparse coding framework that can accommodate any distribution from the exponential family, thereby broadening the scope of self-taught learning.
Methods
The core innovation is the generalization of sparse coding to exponential family distributions. This involves modifying the generative model to $P(x|b, s) = h(x) \exp(\eta^T(x) - \alpha(\eta))$, where $\eta$ is constructed from the input $x$, basis vectors $b$, and activations $s$ as $\eta = Bs$. This framework encompasses Gaussian sparse coding as a special case and naturally extends to distributions like Bernoulli and Poisson.
To solve the resulting optimization problem, the authors propose an iterative algorithm called IRLS-FS (Iteratively Reweighted Least Squares with Feature-Sign Search). This algorithm alternates between optimizing the basis vectors $B$ (using projected gradient descent) and the activations $s$ (using a local quadratic approximation and feature-sign search). They demonstrate that this approach is computationally efficient, especially when the optimal solutions are sparse.
Datasets
The paper evaluates their method on several datasets:
- Text Classification: Five standard webpage classification problems and a newsgroup classification problem (20 newsgroups dataset). Unlabeled Reuters news data (470,000 articles) was used for learning basis vectors.
- Robotic Perception: 3D range data from a laser range finder in a parking lot environment, used for car vs. non-car object recognition.
- Benchmark Classification Datasets: 14 moderate-size benchmark classification datasets were used to evaluate the computational efficiency of their optimization algorithm on L1-regularized logistic regression.
Key Insights and Ideas
- Data Diversity is Key: The Gaussian assumption in traditional sparse coding is a significant bottleneck for applying self-taught learning to many real-world data types, especially text.
- Exponential Family as a Unifying Framework: The exponential family provides a principled way to generalize sparse coding, naturally accommodating various discrete and continuous distributions.
- Efficient Optimization for Sparse Solutions: The proposed IRLS-FS algorithm is shown to be efficient for solving the complex L1-regularized optimization problems arising from exponential family sparse coding, particularly when the resulting activations are sparse.
- Self-Taught Learning Boost: By learning more appropriate representations, EFSC significantly improves performance in self-taught learning tasks compared to Gaussian sparse coding and other baselines.
Key Results
- Text Classification: EFSC features, particularly with Poisson sparse coding for word count data, achieved significant error reductions (20-30% in some cases) compared to baselines like Gaussian sparse coding (GSC), Exponential Family PCA (ExpPCA), and Latent Dirichlet Allocation (LDA).
- Robotic Perception: Poisson sparse coding features reduced test error by up to 30% with only 4 training examples and by 8-10% with more training data, outperforming using raw spin-image features alone.
- Computational Efficiency: The IRLS-FS algorithm was found to be 5-7 times faster than baseline algorithms for large numbers of basis vectors in sparse coding tasks. It also performed competitively on general L1-regularized logistic regression benchmarks, especially when optimal parameters had few non-zero values.
Limitations and Future Work
- Computational Complexity: While IRLS-FS is efficient, the paper notes that for very large numbers of basis vectors, it can still be slow. The optimization problem for activations is non-convex when optimizing for both $B$ and $s$ jointly.
- Parameter Tuning: The choice of the sparsity parameter $\beta$ is crucial and often requires tuning, as demonstrated in the experiments.
- Future Work: The authors suggest that their generalized sparse coding model could be applied to a wider range of previously difficult self-taught learning problems. They also highlight the potential of their optimization algorithm for general L1-regularized problems.
Summary updated