arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.09991cs.LGstat.ML
收藏

基于分类集分裂的决策森林文本建模

Modeling Text with Decision Forests using Categorical-Set Splits

Google(谷歌)

Mathieu Guillame-Bert, Sebastian Bruch, Petr Mitrichev, Petr Mikheev, Jan Pfeifer

摘要:

决策森林算法通常通过递归地学习二进制树结构来对数据进行建模,其中每个节点将特征空间分成两个子区域,从而将示例发送到左分支或右分支。在轴对齐决策森林中,路由输入示例的“决策”是对特征空间中单个维度上的条件进行评估的结果。使用优化局部损失函数的有效的、通常是贪心算法来学习这样的条件。例如,节点的条件可以是应用于数值特征的阈值函数,并且其参数可以通过扫过在该节点处可用的值的集合并选择最大化某种纯度度量的阈值来学习。至关重要的是,是否存在学习和评估特征类型条件的算法决定了决策森林算法是否可以对该特征类型进行建模。例如,今天的决策森林不能直接使用文本特征--这些特征必须转换为汇总统计。在这项工作中,我们着手弥合这一差距。我们定义了一个特定于分类集特征的条件-定义为一组无序的分类变量-并提出了一种学习它的算法,从而使决策森林具有直接建模文本的能力,尽管不保留顺序。我们的算法在训练过程中是有效的,并且使用我们的QuickScorer推理算法的扩展来快速评估所产生的条件。在基准文本分类数据集上的实验证明了该方法的实用性和有效性。

英文摘要:

Decision forest algorithms typically model data by learning a binary tree structure recursively where every node splits the feature space into two sub-regions, sending examples into the left or right branch as a result. In axis-aligned decision forests, the "decision" to route an input example is the result of the evaluation of a condition on a single dimension in the feature space. Such conditions are learned using efficient, often greedy algorithms that optimize a local loss function. For example, a node's condition may be a threshold function applied to a numerical feature, and its parameter may be learned by sweeping over the set of values available at that node and choosing a threshold that maximizes some measure of purity. Crucially, whether an algorithm exists to learn and evaluate conditions for a feature type determines whether a decision forest algorithm can model that feature type at all. For example, decision forests today cannot consume textual features directly -- such features must be transformed to summary statistics instead. In this work, we set out to bridge that gap. We define a condition that is specific to categorical-set features -- defined as an unordered set of categorical variables -- and present an algorithm to learn it, thereby equipping decision forests with the ability to directly model text, albeit without preserving sequential order. Our algorithm is efficient during training and the resulting conditions are fast to evaluate with our extension of the QuickScorer inference algorithm. Experiments on benchmark text classification datasets demonstrate the utility and effectiveness of our proposal.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑