PROPS:黑盒序列模型的概率个性化
PROPS: Probabilistic personalization of black-box sequence models
摘要:
我们提出PROPS,一个轻量级的迁移学习机制的顺序数据。PROPS学习围绕一个或多个任意复杂的、预先训练的黑盒模型(如递归神经网络)的预测的概率扰动。该技术将黑盒预测函数固定到隐马尔可夫模型(HMM)的“源节点”,并使用剩余的节点作为“扰动节点”,用于学习这些预测周围的定制扰动。在本文中,我们描述了PROPS模型,提供了一个算法的在线学习其参数,并证明了这种估计的一致性。我们还探讨了个性化语言建模的背景下,PROPS的效用。特别是,我们通过在整个250万篇文章(约66亿字)的维基百科语料库上训练LSTM来构建基线语言模型,然后使用PROPS为唐纳德·J·特朗普总统的推文提供轻量级定制的个性化语言模型。我们在仅仅增加了2,000个单词后就实现了很好的定制,并发现PROPS模型完全是概率性的,可以洞察特朗普总统的演讲何时偏离维基百科语料库中的通用模式。Python代码(用于PROPS训练算法以及实验再现性)可在https://github.com/cylance/perturbed-sequence-model上获得。
英文摘要:
We present PROPS, a lightweight transfer learning mechanism for sequential data. PROPS learns probabilistic perturbations around the predictions of one or more arbitrarily complex, pre-trained black box models (such as recurrent neural networks). The technique pins the black-box prediction functions to "source nodes" of a hidden Markov model (HMM), and uses the remaining nodes as "perturbation nodes" for learning customized perturbations around those predictions. In this paper, we describe the PROPS model, provide an algorithm for online learning of its parameters, and demonstrate the consistency of this estimation. We also explore the utility of PROPS in the context of personalized language modeling. In particular, we construct a baseline language model by training a LSTM on the entire Wikipedia corpus of 2.5 million articles (around 6.6 billion words), and then use PROPS to provide lightweight customization into a personalized language model of President Donald J. Trump's tweeting. We achieved good customization after only 2,000 additional words, and find that the PROPS model, being fully probabilistic, provides insight into when President Trump's speech departs from generic patterns in the Wikipedia corpus. Python code (for both the PROPS training algorithm as well as experiment reproducibility) is available at https://github.com/cylance/perturbed-sequence-model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。