Ternary Gamma Semirings as a Novel Algebraic Framework for Learnable Symbolic Reasoning
Chandrasekhar Gokavarapu (Department of Mathematics, Government College (Autonomous), Rajahmundry, Andhra Pradesh, India and, Department of Mathematics, Acharya Nagarjuna University, Guntur, Andhra Pradesh, India), D. Madhusudhana Rao (Department of Mathematics

TL;DR
This paper proposes Neural Ternary Semirings, a novel algebraic framework using learnable ternary operators to directly model triadic relationships in symbolic reasoning, improving interpretability and relational fidelity.
Contribution
It introduces the Neural Ternary Semiring based on ternary Gamma-semirings, enabling direct modeling of triadic interactions in neural symbolic reasoning systems.
Findings
The learned ternary operator converges to a valid Gamma-semiring when algebraic violations vanish.
The framework effectively models triadic relationships in knowledge graphs and rule-based inference.
Provides a mathematically grounded approach for learnable symbolic reasoning.
Abstract
Binary semirings such as the tropical, log, and probability semirings form a core algebraic tool in classical and modern neural inference systems, supporting tasks like Viterbi decoding, dynamic programming, and probabilistic reasoning. However, these structures rely on a binary multiplication operator and therefore model only pairwise interactions. Many symbolic AI tasks are inherently triadic, including subject-predicate-object relations in knowledge graphs, logical rules involving two premises and one conclusion, and multi-entity dependencies in structured decision processes. Existing neural architectures usually approximate these interactions by flattening or factorizing them into binary components, which weakens inductive structure, distorts relational meaning, and reduces interpretability. This paper introduces the Neural Ternary Semiring (NTS), a learnable and differentiable…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Neural Networks · Topic Modeling · Explainable Artificial Intelligence (XAI)
