arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.12370cs.LGcs.AIcs.CL
收藏

DomiKnowS:一个用于在深度学习中集成符号领域知识的库

DomiKnowS: A Library for Integration of Symbolic Domain Knowledge in Deep Learning

Michigan State University(密歇根州立大学);Sichuan University(四川大学);Florida Institute for Human and Machine Cognition(佛罗里达人类与机器认知研究所)

Hossein Rajaby Faghihi, Quan Guo, Andrzej Uszok, Aliakbar Nafar, Elaheh Raisi, Parisa Kordjamshidi

摘要:

我们展示了一个用于在深度学习架构中集成领域知识的库。使用这个库,数据的结构通过图形声明以符号形式表示,并且可以将输出或潜在变量的逻辑约束无缝添加到深度模型中。领域知识可以明确定义,这提高了模型的可解释性,以及在低数据状态下的性能和泛化能力。已经引入了几种用于符号和子符号模型的这种集成的方法;然而,没有库来促进以通用方式进行这种集成的编程,同时可以使用各种底层算法。我们的图书馆旨在简化编程,这样的集成在训练和推理阶段,同时分离的知识表示从学习算法。我们展示了各种NLP基准任务及其他。该框架可在Github(https://github.com/HLR/DomiKnowS)上公开获取。

英文摘要:

We demonstrate a library for the integration of domain knowledge in deep learning architectures. Using this library, the structure of the data is expressed symbolically via graph declarations and the logical constraints over outputs or latent variables can be seamlessly added to the deep models. The domain knowledge can be defined explicitly, which improves the models' explainability in addition to the performance and generalizability in the low-data regime. Several approaches for such an integration of symbolic and sub-symbolic models have been introduced; however, there is no library to facilitate the programming for such an integration in a generic way while various underlying algorithms can be used. Our library aims to simplify programming for such an integration in both training and inference phases while separating the knowledge representation from learning algorithms. We showcase various NLP benchmark tasks and beyond. The framework is publicly available at Github(https://github.com/HLR/DomiKnowS).

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

↑