English

Terminating Differentiable Tree Experts

Machine Learning 2024-07-03 v1 Artificial Intelligence Symbolic Computation

Abstract

We advance the recently proposed neuro-symbolic Differentiable Tree Machine, which learns tree operations using a combination of transformers and Tensor Product Representations. We investigate the architecture and propose two key components. We first remove a series of different transformer layers that are used in every step by introducing a mixture of experts. This results in a Differentiable Tree Experts model with a constant number of parameters for any arbitrary number of steps in the computation, compared to the previous method in the Differentiable Tree Machine with a linear growth. Given this flexibility in the number of steps, we additionally propose a new termination algorithm to provide the model the power to choose how many steps to make automatically. The resulting Terminating Differentiable Tree Experts model sluggishly learns to predict the number of steps without an oracle. It can do so while maintaining the learning capabilities of the model, converging to the optimal amount of steps.

Keywords

Cite

@article{arxiv.2407.02060,
  title  = {Terminating Differentiable Tree Experts},
  author = {Jonathan Thomm and Michael Hersche and Giacomo Camposampiero and Aleksandar Terzić and Bernhard Schölkopf and Abbas Rahimi},
  journal= {arXiv preprint arXiv:2407.02060},
  year   = {2024}
}

Comments

Accepted at the 18th International Conference on Neural-Symbolic Learning and Reasoning (NeSy) 2024

R2 v1 2026-06-28T17:26:09.708Z