NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fully Distributed, Flexible Compositional Visual Representations via Soft Tensor Products

Bethia Sun, Maurice Pagnucco, Yang Song

The Tension Between Symbols and Vectors

Human intelligence is remarkably compositional: we understand a scene by breaking it down into constituent parts (e.g., a "red" "square" on a "blue" "floor"). In deep learning, the field of disentanglement attempts to mimic this by forcing specific dimensions of a neural network's hidden state to represent specific factors of variation.

However, most current disentanglement methods are "localist" or "symbolic." They use discrete "slots" or simple concatenation to separate features. The authors argue this creates a fundamental mismatch with the nature of deep learning, which thrives on continuous, distributed vector spaces. This mismatch leads to three major issues:

  1. Poor Gradient Flow: Updating one feature provides no feedback to others, hindering joint refinement.
  2. Limited Expressivity: Rigidly allocating dimensions prevents the model from utilizing the full capacity of its vector space.
  3. Vulnerability to Noise: If a feature is confined to a few dimensions, even slight noise in those dimensions can destroy the representation.
Visualizing Compositional Representations and Soft TPRs

Introducing Soft Tensor Product Representations

To resolve this tension, the authors build upon Smolensky’s Tensor Product Representation (TPR). A traditional TPR is a mathematically precise way to bind "fillers" (values like red) to "roles" (attributes like color) using tensor products. While powerful, traditional TPRs are too rigid and discrete for the "messy" reality of visual data.

The authors introduce Soft TPR. Instead of requiring a representation to be a perfect, rigid algebraic TPR, they allow it to be any point in a continuous neighborhood around an explicit TPR. This "relaxation" makes the optimization landscape much smoother and easier for a neural network to navigate, blending the structural benefits of symbolic logic with the flexibility of distributed deep learning.

The Soft TPR Autoencoder

To learn these representations, the authors propose a novel architecture: the Soft TPR Autoencoder.

The Soft TPR Autoencoder Architecture

The model uses a standard encoder to produce a candidate vector, which is then passed through a specialized TPR Decoder. This decoder performs three critical steps:

  1. Unbinding: It extracts "soft" features from the distributed representation using learned role vectors.
  2. Quantization: It maps those soft features to a learned codebook of discrete "fillers" (similar to a VQ-VAE).
  3. Construction: It rebuilds an explicit, "hard" TPR using a TPR operator.

The model is trained with a combination of reconstruction loss and a "form penalty" that encourages the encoder's output to stay close to the structured TPR, maintaining a dual nature: flexible for internal processing, but quantizable into a precise structure for downstream reasoning.

Key Results and Performance

The framework was evaluated on three standard disentanglement benchmarks: Cars3D, Shapes3D, and the challenging, real-world MPI3D dataset. The Soft TPR framework demonstrated superior performance across the board:

  • State-of-the-Art Disentanglement: It significantly outperformed symbolic baselines, showing a 29% improvement in DCI (Disentanglement, Completeness, and Informativeness) scores on Cars3D and a massive 74% improvement on MPI3D.
  • Rapid Convergence: The model learns useful representations much faster. At just 100 iterations of training, it already produces representations that are highly effective for downstream tasks.
  • Sample Efficiency: In low-data regimes (e.g., training a downstream model on only 100 samples), Soft TPRs provided a 93% performance boost over conventional methods.

Future Directions

While highly effective, the current model relies on "weak supervision" (match-pairing images to align features with ground-truth semantics). Moving toward fully unsupervised learning is a key next step. Additionally, the authors aim to extend this "flat" compositionality to hierarchical structures, where fillers can themselves be decomposed into smaller role-filler bindings, further bridging the gap between connectionist learning and classical symbolic AI.

Summary updated

BibTeX
@inproceedings{sun2024fully,
  author = {Bethia Sun and Maurice Pagnucco and Yang Song},
  title = {{Fully Distributed, Flexible Compositional Visual Representations via Soft Tensor Products}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=oEVsxVdush},
}
Figure