Neuro-Symbolic Contrastive Learning for Cross-domain Inference

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Liu, Mingyue, Ueda, Ryo, Wan, Zhen, Inoue, Katsumi, Willcocks, Chris G.
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913689365381120
author Liu, Mingyue
Ueda, Ryo
Wan, Zhen
Inoue, Katsumi
Willcocks, Chris G.
author_facet Liu, Mingyue
Ueda, Ryo
Wan, Zhen
Inoue, Katsumi
Willcocks, Chris G.
contents Pre-trained language models (PLMs) have made significant advances in natural language inference (NLI) tasks, however their sensitivity to textual perturbations and dependence on large datasets indicate an over-reliance on shallow heuristics. In contrast, inductive logic programming (ILP) excels at inferring logical relationships across diverse, sparse and limited datasets, but its discrete nature requires the inputs to be precisely specified, which limits their application. This paper proposes a bridge between the two approaches: neuro-symbolic contrastive learning. This allows for smooth and differentiable optimisation that improves logical accuracy across an otherwise discrete, noisy, and sparse topological space of logical functions. We show that abstract logical relationships can be effectively embedded within a neuro-symbolic paradigm, by representing data as logic programs and sets of logic rules. The embedding space captures highly varied textual information with similar semantic logical relations, but can also separate similar textual relations that have dissimilar logical relations. Experimental results demonstrate that our approach significantly improves the inference capabilities of the models in terms of generalisation and reasoning.
format Preprint
id arxiv_https___arxiv_org_abs_2502_09213
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Neuro-Symbolic Contrastive Learning for Cross-domain Inference
Liu, Mingyue
Ueda, Ryo
Wan, Zhen
Inoue, Katsumi
Willcocks, Chris G.
Machine Learning
Computation and Language
Pre-trained language models (PLMs) have made significant advances in natural language inference (NLI) tasks, however their sensitivity to textual perturbations and dependence on large datasets indicate an over-reliance on shallow heuristics. In contrast, inductive logic programming (ILP) excels at inferring logical relationships across diverse, sparse and limited datasets, but its discrete nature requires the inputs to be precisely specified, which limits their application. This paper proposes a bridge between the two approaches: neuro-symbolic contrastive learning. This allows for smooth and differentiable optimisation that improves logical accuracy across an otherwise discrete, noisy, and sparse topological space of logical functions. We show that abstract logical relationships can be effectively embedded within a neuro-symbolic paradigm, by representing data as logic programs and sets of logic rules. The embedding space captures highly varied textual information with similar semantic logical relations, but can also separate similar textual relations that have dissimilar logical relations. Experimental results demonstrate that our approach significantly improves the inference capabilities of the models in terms of generalisation and reasoning.
title Neuro-Symbolic Contrastive Learning for Cross-domain Inference
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2502.09213