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.
翻译:在现代预测问题中,许多预测变量通常被计为很少发生的事件。这导致设计矩阵,许多柱子高度稀少。尽管这些“罕见特征”构成的挑战在从自然语言处理(例如稀有文字)到生物学(例如稀有物种)等不同领域普遍存在,但很少受到重视。我们从理论上和实验上都表明,没有明确计算特性的稀有性可以大大降低分析的有效性。我们接下来提议一个框架,以灵活的方式将稀有特征汇集到更稠密的特征中,从而产生更好的反应预测器。我们的战略利用以树形形式呈现类似特征的侧面信息。我们用我们的方法从TripAvisor的数据,根据相关审查的文本预测旅馆的数值等级。我们的方法通过有效使用稀有的词获得了高度准确性;相反,如果这些特性太少,则无法确定高度的预测性言词。一个称为稀有的配套R包件,用我们新的缩略图执行我们新的缩图,使用相互交替的乘数法。