arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.07387cs.LG
收藏

用于神经符号结构化预测的语义损失函数

Semantic Loss Functions for Neuro-Symbolic Structured Prediction

UCLA(加州大学洛杉矶分校);UNITN(特伦托大学);KULeuven(鲁汶大学);Peking University(北京大学)

Kareem Ahmed, Stefano Teso, Paolo Morettin, Luca Di Liello, Pierfrancesco Ardino, Jacopo Gobbi, Yitao Liang, Eric Wang, Kai-Wei Chang, Andrea Passerini, Guy Van den Broeck

AI总结:

该研究提出用于神经符号结构化预测的语义损失函数,通过注入符号结构知识引导网络预测满足结构的分布,引入神经符号熵优化弥补局限,且该损失模块化可结合判别与生成模型,构建的约束对抗网络能高效合成符合领域结构的复杂对象。

摘要:

结构化输出预测问题在机器学习中无处不在。主流方法将神经网络用作强大的特征提取器,此外还假设输出之间相互独立。然而,这些输出共同编码了一个对象(例如图中的一条路径),因此通过输出空间底层的结构相互关联。我们讨论了语义损失,它通过最小化网络对这类依赖关系的违反程度,将以符号方式定义的此类结构知识注入训练过程,引导网络预测满足底层结构的分布。同时,它与符号的排列方式无关,仅依赖于符号所表达的语义,同时还能实现高效的端到端训练与推理。我们还讨论了语义损失的关键改进与应用。语义损失的一个局限在于,它没有利用每个数据点与可证明其属于目标类别的特定特征之间的关联。因此,我们应更偏好有效结构上的最小熵分布,这可以通过额外最小化神经符号熵来获得。我们通过实验证明了这种更精细的公式的优势。此外,语义损失被设计为模块化的,可以与判别式和生成式神经模型相结合。我们通过将其集成到生成对抗网络中来说明这一点,由此产生的约束对抗网络是一类新型的深度生成模型,能够高效合成服从底层领域结构的复杂对象。

英文摘要:

Structured output prediction problems are ubiquitous in machine learning. The prominent approach leverages neural networks as powerful feature extractors, otherwise assuming the independence of the outputs. These outputs, however, jointly encode an object, e.g. a path in a graph, and are therefore related through the structure underlying the output space. We discuss the semantic loss, which injects knowledge about such structure, defined symbolically, into training by minimizing the network's violation of such dependencies, steering the network towards predicting distributions satisfying the underlying structure. At the same time, it is agnostic to the arrangement of the symbols, and depends only on the semantics expressed thereby, while also enabling efficient end-to-end training and inference. We also discuss key improvements and applications of the semantic loss. One limitations of the semantic loss is that it does not exploit the association of every data point with certain features certifying its membership in a target class. We should therefore prefer minimum-entropy distributions over valid structures, which we obtain by additionally minimizing the neuro-symbolic entropy. We empirically demonstrate the benefits of this more refined formulation. Moreover, the semantic loss is designed to be modular and can be combined with both discriminative and generative neural models. This is illustrated by integrating it into generative adversarial networks, yielding constrained adversarial networks, a novel class of deep generative models able to efficiently synthesize complex objects obeying the structure of the underlying domain.

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

↑