We revisit the challenging problem of resolving prepositional-phrase (PP) attachment ambiguity. To date, proposed solutions are either rule-based, where explicit grammar rules direct how to resolve ambiguities; or statistical, where the decision is learned from a corpus of labeled examples. We argue that explicit commonsense knowledge bases can provide an essential ingredient for making good attachment decisions. We implemented a module, named Patch-Comm, that can be used by a variety of conventional parsers, to make attachment decisions. Where the commonsense KB does not provide direct answers, we fall back on a more general system that infers "out-of-knowledge-base" assertions in a manner similar to the way some NLP systems handle out-of-vocabulary words. Our results suggest that the commonsense knowledge-based approach can provide the best of both worlds, integrating rule-based and statistical techniques. As the field is increasingly coming to recognize the importance of explainability in AI, a commonsense approach can enable NLP developers to better understand the behavior of systems, and facilitate natural dialogues with end users.
翻译:我们重新审视了解决先发制人(PP)附加性模棱两可的棘手问题。迄今为止,拟议解决方案要么基于规则,明确语法规则指导如何解决模棱两可的问题;要么基于统计,从大量贴标签的例子中学习决定;我们争辩说,明确的常识知识基础可以提供做出正确附加性决定的基本要素;我们实施了名为Patch-Comm的模块,可供各种常规分析师使用,以作出附加性决定。如果普通语法没有提供直接答案,那么我们就会依赖一个更普遍的系统,以类似于某些非知识基础系统处理外语的方式推断出“知识基础”的主张;我们的结果表明,基于常识的知识基础方法可以提供最佳的世界,将基于规则的技术与统计技术结合起来。随着实地日益认识到在AI中解释的重要性,普通语言方法可以使非知识基础开发者更好地了解系统的行为,并促进与终端用户的自然对话。