English

Categorical Feature Compression via Submodular Optimization

Machine Learning 2019-05-01 v1 Artificial Intelligence Data Structures and Algorithms Information Theory math.IT Machine Learning

Abstract

In the era of big data, learning from categorical features with very large vocabularies (e.g., 28 million for the Criteo click prediction dataset) has become a practical challenge for machine learning researchers and practitioners. We design a highly-scalable vocabulary compression algorithm that seeks to maximize the mutual information between the compressed categorical feature and the target binary labels and we furthermore show that its solution is guaranteed to be within a 11/e63%1-1/e \approx 63\% factor of the global optimal solution. To achieve this, we introduce a novel re-parametrization of the mutual information objective, which we prove is submodular, and design a data structure to query the submodular function in amortized O(logn)O(\log n ) time (where nn is the input vocabulary size). Our complete algorithm is shown to operate in O(nlogn)O(n \log n ) time. Additionally, we design a distributed implementation in which the query data structure is decomposed across O(k)O(k) machines such that each machine only requires O(nk)O(\frac n k) space, while still preserving the approximation guarantee and using only logarithmic rounds of computation. We also provide analysis of simple alternative heuristic compression methods to demonstrate they cannot achieve any approximation guarantee. Using the large-scale Criteo learning task, we demonstrate better performance in retaining mutual information and also verify competitive learning performance compared to other baseline methods.

Keywords

Cite

@article{arxiv.1904.13389,
  title  = {Categorical Feature Compression via Submodular Optimization},
  author = {MohammadHossein Bateni and Lin Chen and Hossein Esfandiari and Thomas Fu and Vahab S. Mirrokni and Afshin Rostamizadeh},
  journal= {arXiv preprint arXiv:1904.13389},
  year   = {2019}
}

Comments

Accepted to ICML 2019. Authors are listed in alphabetical order

R2 v1 2026-06-23T08:53:39.526Z