Papers › Fully Distributed, Flexible Compositional Visual Representations via Soft Tensor Products

Fully Distributed, Flexible Compositional Visual Representations via Soft Tensor Products

5 Dec 2024arXiv:2412.04671archive 2025-07-28

Bethia Sun, Maurice Pagnucco, Yang song

Since the inception of the classicalist vs. connectionist debate, it has been argued that the ability to systematically combine symbol-like entities into compositional representations is crucial for human intelligence. In connectionist systems, the field of disentanglement has gained prominence for its ability to produce explicitly compositional representations; however, it relies on a fundamentally symbolic, concatenative representation of compositional structure that clashes with the continuous, distributed foundations of deep learning. To resolve this tension, we extend Smolensky's Tensor Product Representation (TPR) and introduce Soft TPR, a representational form that encodes compositional structure in an inherently distributed, flexible manner, along with Soft TPR Autoencoder, a theoretically-principled architecture designed specifically to learn Soft TPRs. Comprehensive evaluations in the visual representation learning domain demonstrate that the Soft TPR framework consistently outperforms conventional disentanglement alternatives -- achieving state-of-the-art disentanglement, boosting representation learner convergence, and delivering superior sample efficiency and low-sample regime performance in downstream tasks. These findings highlight the promise of a distributed and flexible approach to representing compositional structure by potentially enhancing alignment with the core principles of deep learning over the conventional symbolic approach.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2412.04671")

Code

Syntology Ran 1 of 12 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 12 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

gomb0c/soft_tpr officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 1 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
11unverified

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from gomb0c/soft_tpr. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

nearest_embed gomb0c/soft_tpr/src/repn_learners/soft_tpr_ae/model/vq_vae.py official repository ran · our draft was wrong no licence file found · pointer only · 34f0bd8890d57785 · report
bce_recon_loss_fn gomb0c/soft_tpr/src/repn_learners/soft_tpr_ae/optim/loss.py official repository unverified no licence file found · pointer only · 00ba486ea1f7537e · report
gaussian_kls gomb0c/soft_tpr/src/repn_learners/soft_tpr_ae/utils.py official repository unverified no licence file found · pointer only · 406c6e802e6ba500 · report
get_activation_name gomb0c/soft_tpr/src/repn_learners/soft_tpr_ae/utils.py official repository unverified no licence file found · pointer only · a9ef158cd6f83f6d · report
get_most_recent_dir gomb0c/soft_tpr/src/logger/load.py official repository unverified no licence file found · pointer only · 343bea31ec8dd2f5 · report
get_n_layers gomb0c/soft_tpr/src/repn_learners/soft_tpr_ae/utils.py official repository unverified no licence file found · pointer only · 0ed038365cbe2dc0 · report
get_result_from_summary_json gomb0c/soft_tpr/src/vis_results/plot_results_final-tpr_comparison.py official repository unverified no licence file found · pointer only · 4217eff3614e5a21 · report
get_save_path gomb0c/soft_tpr/src/logger/load.py official repository unverified no licence file found · pointer only · 76111b30fc874b16 · report
is_incorrect_run gomb0c/soft_tpr/src/vis_results/plot_results_final-tpr_comparison.py official repository unverified no licence file found · pointer only · 2445492633b2e3e7 · report
mse_recon_loss_fn gomb0c/soft_tpr/src/repn_learners/soft_tpr_ae/optim/loss.py official repository unverified no licence file found · pointer only · 58f2f3e8317316ec · report
nearest_embed gomb0c/soft_tpr/src/repn_learners/soft_tpr_ae/model/nearest_embed.py official repository unverified no licence file found · pointer only · 663b284fc8ed7db2 · report
parse_results_from_wandb_logs gomb0c/soft_tpr/src/vis_results/plot_results_final-tpr_comparison.py official repository unverified no licence file found · pointer only · b2d4cc7bb63548ca · report

Tasks

DisentanglementRepresentation Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGN

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections