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

用于零样本学习的原型逻辑张量网络(PROTO-LTN)

PROTOtypical Logic Tensor Networks (PROTO-LTN) for Zero Shot Learning

Politecnico di Torino(都灵理工大学)

Simone Martone, Francesco Manigrasso, Lamberti Fabrizio, Lia Morra

摘要:

语义图像判读可以极大地受益于将子符号分布式表示学习与在更高抽象级别上推理的能力相结合的方法。逻辑张量网络(LogicTensorNetworks,LTNs)是一类基于可微的一阶逻辑的神经符号系统,它根植于深层神经网络中。LTN用模糊逻辑公理的知识库取代了训练集的经典概念。通过定义一组可微算子来近似连接词、谓词、函数和量词的作用,自动指定损失函数,使得LTNs可以学习以满足知识库。我们在这里集中在包容或\texttt{isOfClass}谓词,这是最基本的语义编码图像判读任务。与传统的LTN不同,传统的LTN依赖于每个类的单独谓词(例如,狗,猫),每一个都有自己的一组可学习的权重,我们提出了一个共同的\texttt{isOfClass}谓词,其真值水平是一个函数的对象嵌入和相应的类原型之间的距离。典型逻辑张量网络(PROTO-LTN)通过将抽象概念接地作为高维嵌入空间中的参数化类原型,同时减少接地知识库所需的参数数量,扩展了当前的公式。我们展示了如何在少数和零样本学习场景中有效地训练这种架构。广义零样本学习基准测试的实验验证了所提出的实现作为传统的基于嵌入的方法的一个有竞争力的替代。所提出的公式在零样本学习设置中开辟了新的机会,因为LTN形式主义允许以逻辑公理的形式整合背景知识以补偿标记示例的缺乏。

英文摘要:

Semantic image interpretation can vastly benefit from approaches that combine sub-symbolic distributed representation learning with the capability to reason at a higher level of abstraction. Logic Tensor Networks (LTNs) are a class of neuro-symbolic systems based on a differentiable, first-order logic grounded into a deep neural network. LTNs replace the classical concept of training set with a knowledge base of fuzzy logical axioms. By defining a set of differentiable operators to approximate the role of connectives, predicates, functions and quantifiers, a loss function is automatically specified so that LTNs can learn to satisfy the knowledge base. We focus here on the subsumption or \texttt{isOfClass} predicate, which is fundamental to encode most semantic image interpretation tasks. Unlike conventional LTNs, which rely on a separate predicate for each class (e.g., dog, cat), each with its own set of learnable weights, we propose a common \texttt{isOfClass} predicate, whose level of truth is a function of the distance between an object embedding and the corresponding class prototype. The PROTOtypical Logic Tensor Networks (PROTO-LTN) extend the current formulation by grounding abstract concepts as parametrized class prototypes in a high-dimensional embedding space, while reducing the number of parameters required to ground the knowledge base. We show how this architecture can be effectively trained in the few and zero-shot learning scenarios. Experiments on Generalized Zero Shot Learning benchmarks validate the proposed implementation as a competitive alternative to traditional embedding-based approaches. The proposed formulation opens up new opportunities in zero shot learning settings, as the LTN formalism allows to integrate background knowledge in the form of logical axioms to compensate for the lack of labelled examples.

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

↑