High Quality Embeddings for Horn Logic Reasoning
This paper introduces several approaches to generate high-quality embeddings for Horn logic reasoning, using triplet loss with three novel ideas: generating anchors with repeated terms, balancing easy/medium/hard examples, and periodically emphasizing the hardest examples. Experiments across multiple knowledge bases show improved downstream reasoning performance.
[2605.20467] High Quality Embeddings for Horn Logic Reasoning
[Submitted on 19 May 2026]
Title:High Quality Embeddings for Horn Logic Reasoning
View a PDF of the paper titled High Quality Embeddings for Horn Logic Reasoning, by Yifan Zhang and 6 other authors
View PDF HTML (experimental)
Abstract:Neural networks can be trained to rank the choices made by logical reasoners, resulting in more efficient searches for answers. A key step in this process is creating useful embeddings, i.e., numeric representations of logical statements. This paper introduces and evaluates several approaches to creating embeddings that result in better downstream results. We train embeddings using triplet loss, which requires examples consisting of an anchor, a positive example, and a negative example. We introduce three ideas: generating anchors that are more likely to have repeated terms, generating positive and negative examples in a way that ensures a good balance between easy, medium, and hard examples, and periodically emphasizing the hardest examples during training. We conduct several experiments to evaluate this approach, including a comparison of different embeddings across different knowledge bases, in an attempt to identify what characteristics make an embedding well-suited to a particular reasoning task.
Subjects:
Artificial Intelligence (cs.AI)
ACM classes: I.2.6; I.2.4
Cite as: arXiv:2605.20467 [cs.AI]
(or arXiv:2605.20467v1 [cs.AI] for this version)
https://doi.org/10.48550/arXiv.2605.20467
arXiv-issued DOI via DataCite (pending registration)
Journal reference: Proceedings of Machine Learning Research 284:1-14, 2025
Submission history
From: Yifan Zhang [view email] [v1] Tue, 19 May 2026 20:30:00 UTC (20 KB)
Full-text links:
Access Paper:
View a PDF of the paper titled High Quality Embeddings for Horn Logic Reasoning, by Yifan Zhang and 6 other authors
View PDF
HTML (experimental)
TeX Source
view license
Current browse context:
cs.AI
new | recent | 2026-05
Change to browse by:
cs
References & Citations
NASA ADS
Google Scholar
Semantic Scholar
Loading...
Data provided by:
Bibliographic Tools
Bibliographic and Citation Tools
Bibliographic Explorer Toggle
Bibliographic Explorer (What is the Explorer?)
Connected Papers Toggle
Connected Papers (What is Connected Papers?)
Litmaps Toggle
Litmaps (What is Litmaps?)
scite.ai Toggle
scite Smart Citations (What are Smart Citations?)
Code, Data, Media
Code, Data and Media Associated with this Article
alphaXiv Toggle
alphaXiv (What is alphaXiv?)
Links to Code Toggle
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub Toggle
DagsHub (What is DagsHub?)
GotitPub Toggle
Gotit.pub (What is GotitPub?)
Huggingface Toggle
Hugging Face (What is Huggingface?)
ScienceCast Toggle
ScienceCast (What is ScienceCast?)
Demos
Demos
Replicate Toggle
Replicate (What is Replicate?)
Spaces Toggle
Hugging Face Spaces (What is Spaces?)
Spaces Toggle
TXYZ.AI (What is TXYZ.AI?)
Related Papers
Recommenders and Search Tools
Link to Influence Flower
Influence Flower (What are Influence Flowers?)
Core recommender toggle
CORE Recommender (What is CORE?)
Author
Venue
Institution
Topic
About arXivLabs
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)