Papers › Discrete Dictionary-based Decomposition Layer for Structured Representation Learning

Discrete Dictionary-based Decomposition Layer for Structured Representation Learning

11 Jun 2024arXiv:2406.06976archive 2025-07-28

Taewon Park, Hyun-Chul Kim, Minho Lee

Neuro-symbolic neural networks have been extensively studied to integrate symbolic operations with neural networks, thereby improving systematic generalization. Specifically, Tensor Product Representation (TPR) framework enables neural networks to perform differentiable symbolic operations by encoding the symbolic structure of data within vector spaces. However, TPR-based neural networks often struggle to decompose unseen data into structured TPR representations, undermining their symbolic operations. To address this decomposition problem, we propose a Discrete Dictionary-based Decomposition (D3) layer designed to enhance the decomposition capabilities of TPR-based models. D3 employs discrete, learnable key-value dictionaries trained to capture symbolic features essential for decomposition operations. It leverages the prior knowledge acquired during training to generate structured TPR representations by mapping input data to pre-learned symbolic features within these dictionaries. D3 is a straightforward drop-in layer that can be seamlessly integrated into any TPR-based model without modifications. Our experimental results demonstrate that D3 significantly improves the systematic generalization of various TPR-based models while requiring fewer additional parameters. Notably, D3 outperforms baseline models on the synthetic task that demands the systematic decomposition of unseen combinatorial data.

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="2406.06976")

Code

Syntology Ran 10 of 14 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · fixture could not drive it; 5 ran with no contract checked.

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

taewonpark/d3 officialmentioned in papermentioned on GitHubpytorchMIT 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

14 samples harvested; 10 ran; 2 honoured the contract we drafted; 4 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.

2ran · honoured contract
3ran · fixture could not drive it
5ran
4unverified

Licence: 0 of the 14 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 taewonpark/d3. “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.

HashingSymbol taewonpark/d3/SARtask/models/D3_wF.py official repository ran MIT (permissive) · 2fb8cf3ccb006b0e · report
build_ood_binary_dataset taewonpark/D3/Sort-of-CLEVR/sort_of_clevr_generator.py official repository ran MIT (permissive) · 42d8383d870245ac · report
center_generate taewonpark/D3/Sort-of-CLEVR/sort_of_clevr_generator.py official repository ran · honoured contract MIT (permissive) · a0bf524db1b20389 · report
elu_p1 taewonpark/D3/WikiText103/src/utils/D3.py official repository ran · fixture could not drive it MIT (permissive) · fa08c36ab5558b55 · report
get_normal_values taewonpark/D3/Sort-of-CLEVR/model.py official repository ran MIT (permissive) · bf45a2b233b0a484 · report
get_positional taewonpark/D3/Sort-of-CLEVR/model.py official repository ran fingerprinted MIT (permissive) · 19b03c9a66c8c81b · report
get_uniform_keys taewonpark/d3/SARtask/models/D3_wF.py official repository ran · honoured contract MIT (permissive) · 2c1c24e4bcbb631d · report
get_uniform_keys taewonpark/D3/Sort-of-CLEVR/model.py official repository ran MIT (permissive) · 98edd8073a8cfd5d · report
sum_norm taewonpark/D3/WikiText103/src/utils/D3.py official repository ran · fixture could not drive it MIT (permissive) · 379d7685e2a746e5 · report
sum_norm_eps taewonpark/D3/WikiText103/src/utils/D3.py official repository ran · fixture could not drive it MIT (permissive) · 90f48cc1487150b9 · report
Decomposition taewonpark/d3/SARtask/models/D3_wF.py official repository unverified MIT (permissive) · 785a6e69eb46dd45 · report
format_log taewonpark/D3/WikiText103/src/eval_sliding_window.py official repository unverified MIT (permissive) · b0a73836f5b2859d · report
scatter taewonpark/D3/WikiText103/src/utils/data_parallel.py official repository unverified MIT (permissive) · 69598ced7806d8c3 · report
scatter_kwargs taewonpark/D3/WikiText103/src/utils/data_parallel.py official repository unverified MIT (permissive) · aa1de448b0528802 · report

Tasks

Representation LearningSystematic Generalization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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