Compositional Generalization Across Distributional Shifts with Sparse Tree Operations

Paul Soulos, Henry Conklin, Mattia Opper, P. Smolensky, Jianfeng Gao +1 more
2/3/2026

No official code found. Best implementation: psoulos/sdtm (3 stars, last commit 2025-02-19).

Abstract

Neural networks continue to struggle with compositional generalization, and this issue is exacerbated by a lack of massive pre-training. One successful approach for developing neural systems which exhibit human-like compositional generalization is \textit{hybrid} neurosymbolic techniques. However, these techniques run into the core issues that plague symbolic approaches to AI: scalability and flexibility. The reason for this failure is that at their core, hybrid neurosymbolic models perform symbolic computation and relegate the scalable and flexible neural computation to parameterizing a symbolic system. We investigate a \textit{unified} neurosymbolic system where transformations in the network can be interpreted simultaneously as both symbolic and neural computation. We extend a unified neurosymbolic architecture called the Differentiable Tree Machine in two central ways. First, we significantly increase the model's efficiency through the use of sparse vector representations of symbolic structures. Second, we enable its application beyond the restricted set of tree2tree problems to the more general class of seq2seq problems. The improved model retains its prior generalization capabilities and, since there is a fully neural path through the network, avoids the pitfalls of other neurosymbolic techniques that elevate symbolic computation over neural computation.

View on arXivView PDF

Code Implementations(1)

psoulos/sdtmCommunity100%

Sparse Differentiable Tree Machine

30Shell, PythonOct 21, 20241 years ago

Similar Papers

Cite this paper

@article{soulos2026compositional,
  title  = {Compositional Generalization Across Distributional Shifts with Sparse Tree Operations},
  author = {Paul Soulos and Henry Conklin and Mattia Opper and P. Smolensky and Jianfeng Gao and Roland Fernandez},
  year   = {2026},
  eprint = {2412.14076},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2412.14076},
  url    = {https://arxiv.org/abs/2412.14076},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.14076.svg)](https://codeofpaper.com/paper/2412.14076)

Discussion