Skip to main content
QUICK REVIEW

[Paper Review] Rare Feature Selection in High Dimensions

Xiaohan Yan, Jacob Bien|arXiv (Cornell University)|Mar 18, 2018
Advanced Text Analysis TechniquesComputer Science47 references4 citations
TL;DR

This paper proposes a novel framework for selecting and aggregating rare features in high-dimensional data by leveraging a similarity tree to group sparse predictors into denser, more informative features. The method significantly improves prediction accuracy—especially in text data—by preserving highly predictive rare terms (e.g., 'ghastly') that standard methods like the lasso discard or fail to detect.

ABSTRACT

It is common in modern prediction problems for many predictor variables to be counts of rarely occurring events. This leads to design matrices in which many columns are highly sparse. The challenge posed by such "rare features" has received little attention despite its prevalence in diverse areas, ranging from natural language processing (e.g., rare words) to biology (e.g., rare species). We show, both theoretically and empirically, that not explicitly accounting for the rareness of features can greatly reduce the effectiveness of an analysis. We next propose a framework for aggregating rare features into denser features in a flexible manner that creates better predictors of the response. Our strategy leverages side information in the form of a tree that encodes feature similarity. We apply our method to data from TripAdvisor, in which we predict the numerical rating of a hotel based on the text of the associated review. Our method achieves high accuracy by making effective use of rare words; by contrast, the lasso is unable to identify highly predictive words if they are too rare. A companion R package, called rare, implements our new estimator, using the alternating direction method of multipliers.

Motivation & Objective

  • Address the challenge of high-dimensional data where many features are extremely sparse due to rare events (e.g., rare words, rare species).
  • Overcome the limitation of standard variable selection methods like the lasso, which fail to identify highly predictive rare features due to insufficient data examples.
  • Develop a flexible, side-information-driven method to aggregate rare features into denser, more informative predictors without discarding potentially valuable information.
  • Demonstrate the method’s effectiveness on real-world text data, particularly in predicting hotel ratings from review text, where rare adjectives carry strong sentiment signals.

Proposed method

  • Use a pre-defined tree structure encoding feature similarity (e.g., semantic or contextual similarity) to group rare features into higher-level aggregates.
  • Formulate a new estimator that combines feature aggregation with regularization, using the alternating direction method of multipliers (ADMM) for optimization.
  • Construct aggregated features by summing original rare features within each cluster defined by the tree, creating denser predictors with improved signal-to-noise ratio.
  • Leverage contextual embeddings (e.g., ELMo) to compute word proximity and build the similarity tree, ensuring that semantically similar rare words are grouped together.
  • Apply the method to document-term matrices where features are word frequencies, and use the aggregated features in a regression model to predict a numerical response.
  • Implement the method in an R package called 'rare' for reproducibility and practical use in high-dimensional prediction tasks.

Experimental results

Research questions

  • RQ1Can rare features that are too infrequent to be detected by standard methods still carry strong predictive power for the response variable?
  • RQ2How can we effectively aggregate rare features into denser, more informative predictors without discarding potentially valuable information?
  • RQ3Does incorporating side information such as a similarity tree improve the selection and prediction performance of rare features compared to standard regularization?
  • RQ4To what extent does the proposed method outperform the lasso and other baseline methods in high-dimensional settings with sparse features?
  • RQ5Can the method preserve highly predictive rare terms (e.g., 'ghastly' in hotel reviews) that are otherwise discarded due to low frequency?

Key findings

  • The proposed method achieves significantly lower test error than the lasso and other baseline methods on TripAdvisor hotel review data, with paired t-tests showing p-values < 1e-8 in most cases.
  • More than 95% of adjectives in the TripAdvisor dataset appear in less than 5% of reviews, confirming the extreme sparsity of features in real-world text data.
  • The lasso fails to identify highly predictive rare words like 'ghastly' due to insufficient data examples, even when they are strong indicators of negative sentiment.
  • The method successfully aggregates rare adjectives into meaningful semantic clusters (e.g., 'worry' vs. 'horrification'), improving model interpretability and predictive power.
  • Using ELMo embeddings to build the similarity tree enables context-aware clustering, resulting in more coherent and predictive feature aggregates than static embeddings.
  • Theoretical analysis shows that the method maintains consistency under conditions where OLS fails due to rare feature sparsity, even in the classical asymptotic regime.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.