TL;DR
This paper introduces MISSION, a novel algorithm for ultra large-scale feature selection that uses Count-Sketches to efficiently represent features in memory. MISSION achieves high accuracy comparable to feature hashing but retains feature interpretability, all while using only $O(\log^2 p)$ memory, making it suitable for datasets with billions of dimensions.
What Problem Does This Paper Address?
Modern datasets are exploding in size and dimensionality, with some reaching billions of features. This "ultra large-scale" nature poses a significant challenge for traditional machine learning algorithms, especially feature selection methods. Standard techniques often require storing the entire feature vector, which becomes impossible at this scale. While feature hashing offers a way to handle large datasets by mapping features to a smaller, fixed-size representation, it sacrifices the interpretability of individual features. This loss of interpretability is a major drawback, particularly when understanding why a model makes certain decisions is crucial. The paper aims to bridge this gap by providing a feature selection method that is both computationally feasible for ultra large-scale data and preserves the interpretability of the selected features.
Methods
The core of the MISSION algorithm lies in its innovative use of a Count-Sketch data structure. Count-Sketch is a streaming algorithm that can maintain a compressed, probabilistic representation of a high-dimensional vector using significantly less memory than storing the vector explicitly.
Here's how MISSION leverages it:
- Stochastic Gradient Descent (SGD) with Count-Sketch: Instead of updating a dense feature vector, MISSION updates a Count-Sketch representation of the feature vector. When an SGD gradient update is computed, its components are "hashed" and added to the Count-Sketch.
- Top-k Heavy Hitters: To obtain the selected features, MISSION queries the Count-Sketch for the "heavy hitters" – the features with the largest accumulated weights. This is efficiently done using a heap data structure.
- Interpretability Preservation: Unlike feature hashing, which loses the original feature identity, the Count-Sketch approach allows MISSION to identify and retain the original features that contribute most significantly.
- Memory Efficiency: The Count-Sketch requires only $O(\log^2 p)$ memory, where $p$ is the number of features. This is a dramatic reduction compared to the $O(p)$ memory needed for dense vectors.
The paper contrasts MISSION with Iterative Hard Thresholding (IHT), a popular greedy feature selection method. While IHT also aims for sparsity, its "myopic" nature of discarding features that aren't top-k in early iterations can lead to suboptimal performance, especially with noisy SGD updates. MISSION's Count-Sketch accumulates gradients over time, providing a more robust signal and avoiding this issue.
Datasets
The paper evaluates MISSION on several real-world and synthetic datasets:
- Synthetic Datasets: Used for initial simulations to demonstrate phase transitions and the advantage of Count-Sketches over greedy thresholding.
- Real-World Datasets:
- KDD 2012: A large dataset for classification.
- RCV1: Another large dataset used for classification.
- Webspam–Trigram: A dataset involving trigrams from webspam data.
- DNA Metagenomics (Tiny and Medium): Used for classifying bacteria species based on DNA K-mers. The medium dataset involves a larger number of species and features.
- Criteo 1TB: A massive dataset for click-through rate prediction, representing 24 days of click logs.
- Splice-Site: A dataset for distinguishing true from fake splice sites in DNA sequences.
The paper highlights the Criteo 1TB and DNA Metagenomics datasets as examples of "ultra large-scale" benchmarks, with dimensions in the millions and billions of features, respectively.
Key Insights and Ideas
- Count-Sketches are surprisingly effective for feature selection: The paper demonstrates that a streaming algorithm designed for frequency estimation can be repurposed to efficiently identify important features in ultra high-dimensional settings.
- Accumulating gradients is key to overcoming myopic greedy methods: Unlike IHT, which discards information at each step, MISSION's Count-Sketch aggregates gradient information, leading to more robust and accurate feature selection, especially in noisy SGD settings.
- Interpretability doesn't have to be sacrificed for scale: MISSION shows that it's possible to achieve both computational feasibility for massive datasets and retain the ability to understand which features are important.
- Memory scales polylogarithmically, not linearly: A critical finding is that the memory footprint of MISSION grows only polylogarithmically with the number of features ($O(\log^2 p)$), a stark contrast to the linear scaling required by traditional methods. This is the enabler for handling billions of dimensions.
Key Results
- Accuracy: MISSION consistently matches or surpasses the accuracy of state-of-the-art large-scale machine learning frameworks like Vowpal Wabbit (VW) on real-world datasets. It significantly outperforms classical algorithms like Iterative Hard Thresholding (IHT).
- Robustness: MISSION demonstrates superior robustness against adversarial attenuation of feature energies compared to IHT, ITI, and PHT.
- Memory Efficiency: MISSION uses $O(\log^2 p)$ memory, making it capable of handling datasets with billions of dimensions where storing the full feature vector is impossible. This is a significant advantage over methods requiring $O(p)$ memory.
- Speed: While MISSION can be 1-2x slower than IHT in terms of running time per epoch, it often converges faster, leading to a shorter overall time to reach a desired accuracy level. It is also competitive in speed with feature hashing, though slightly slower due to the overhead of the heap.
- Scalability: Experiments on datasets like Criteo 1TB (billions of features) and DNA Metagenomics show MISSION's ability to effectively extract features.
Limitations and Future Work
- Theoretical Guarantees for SGD: The paper presents theoretical convergence results for the full-gradient descent version of MISSION. Extending these guarantees to the stochastic gradient descent (SGD) version, which is used in practice, requires further theoretical work.
- Clean-up Step for Assumption 1: The theoretical proof relies on an assumption about the hashing mechanism that might require an explicit "clean-up" step. While simulations suggest this step might not be necessary for SGD, further investigation is warranted.
- Interaction Features: The authors express interest in leveraging MISSION to explore pairwise or higher interaction features, which are crucial for domains like genomics but are computationally expensive to extract.
- Exploration of Memory-Accuracy Trade-off: The paper shows that MISSION's accuracy degrades gracefully as Count-Sketch memory decreases, suggesting a tunable knob for balancing accuracy and memory usage. Further exploration of this trade-off could be beneficial.
Summary updated