Epicure:将序列模型预测蒸馏为模式
Epicure: Distilling Sequence Model Predictions into Patterns
AI总结:
本文提出 Epicure,通过将序列模型预测映射为泛化模式构成的格,蒸馏 beam search 等输出,在函数命名与异常名称检测中以 10% 误报率实现比最佳单预测多 61% 的真实名称匹配。
摘要:
大多数机器学习模型预测的是具体输出上的概率分布,因此难以在高熵序列分布上准确预测名称。本文探索发现这些预测内在的抽象、高精度模式,以便做出能够有效捕捉稀有序列的抽象预测。在这篇短论文中,我们提出 Epicure,这是一种将序列模型的预测(例如 beam search 的输出)蒸馏为简单模式的方法。Epicure 将模型的预测映射到一个格(lattice)中,该格表示越来越泛化的模式,这些模式涵盖具体的模型预测。在根据函数体源代码预测函数描述性名称,以及检测给定函数的异常名称这两项任务上,我们表明,与仅使用最高概率的模型预测相比,Epicure 能产生更常匹配真实标签的准确命名模式。在 10% 的误报率下,Epicure 预测的模式所匹配的真实名称数量比最佳模型预测多 61%,这使 Epicure 非常适合需要高精度的场景。
英文摘要:
Most machine learning models predict a probability distribution over concrete outputs and struggle to accurately predict names over high entropy sequence distributions. Here, we explore finding abstract, high-precision patterns intrinsic to these predictions in order to make abstract predictions that usefully capture rare sequences. In this short paper, we present Epicure, a method that distils the predictions of a sequence model, such as the output of beam search, into simple patterns. Epicure maps a model's predictions into a lattice that represents increasingly more general patterns that subsume the concrete model predictions. On the tasks of predicting a descriptive name of a function given the source code of its body and detecting anomalous names given a function, we show that Epicure yields accurate naming patterns that match the ground truth more often compared to just the highest probability model prediction. For a false alarm rate of 10%, Epicure predicts patterns that match 61% more ground-truth names compared to the best model prediction, making Epicure well-suited for scenarios that require high precision.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。