具有独立左右产生式的简单硬件高效PCFG
Simple Hardware-Efficient PCFGs with Independent Left and Right Productions
AI总结:
提出SimplePCFG,通过独立左右产生式实现更优的无监督解析与语言建模,并引入FlashInside算法实现高效扩展。
摘要:
通过规则概率张量的低秩参数化,将稠密PCFG扩展至数千个非终结符已被证明对无监督解析有益。然而,以此方式扩展的PCFG作为语言模型表现依然不佳,甚至不如相似规模的HMM。本工作提出SimplePCFG,一种具有独立左右产生式的简单PCFG形式。尽管比低秩方法施加了更强的独立性假设,我们发现该形式作为语言模型和无监督解析器均能更有效地扩展。作为无监督解析器,我们的简单PCFG在英文PTB上获得65.1的平均F1,作为语言模型获得119.0的困惑度,优于相似规模的低秩PCFG。我们进一步提出FlashInside,一种硬件IO感知的inside算法实现,用于高效扩展简单PCFG。
英文摘要:
Scaling dense PCFGs to thousands of nonterminals via a low-rank parameterization of the rule probability tensor has been shown to be beneficial for unsupervised parsing. However, PCFGs scaled this way still perform poorly as a language model, and even underperform similarly-sized HMMs. This work introduces \emph{SimplePCFG}, a simple PCFG formalism with independent left and right productions. Despite imposing a stronger independence assumption than the low-rank approach, we find that this formalism scales more effectively both as a language model and as an unsupervised parser. As an unsupervised parser, our simple PCFG obtains an average F1 of 65.1 on the English PTB, and as a language model, it obtains a perplexity of 119.0, outperforming similarly-sized low-rank PCFGs. We further introduce \emph{FlashInside}, a hardware IO-aware implementation of the inside algorithm for efficiently scaling simple PCFGs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。