Papers › What Makes Data Suitable for a Locally Connected Neural Network? A Necessary and...

What Makes Data Suitable for a Locally Connected Neural Network? A Necessary and Sufficient Condition Based on Quantum Entanglement

20 Mar 2023arXiv:2303.11249archive 2025-07-28

Yotam Alexander, Nimrod De La Vega, Noam Razin, Nadav Cohen

The question of what makes a data distribution suitable for deep learning is a fundamental open problem. Focusing on locally connected neural networks (a prevalent family of architectures that includes convolutional and recurrent neural networks as well as local self-attention models), we address this problem by adopting theoretical tools from quantum physics. Our main theoretical result states that a certain locally connected neural network is capable of accurate prediction over a data distribution if and only if the data distribution admits low quantum entanglement under certain canonical partitions of features. As a practical application of this result, we derive a preprocessing method for enhancing the suitability of a data distribution to locally connected neural networks. Experiments with widespread models over various datasets demonstrate our findings. We hope that our use of quantum entanglement will encourage further adoption of tools from physics for formally reasoning about the relation between deep learning and real-world 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="2303.11249")

Code

Syntology Ran 6 of 15 code samples harvested from 2 repositories linked to this paper; 9 have no recorded run. Of those that ran: 3 ran · violated contract; 2 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 8 samples from 1 repository, 0 ran; found in paper text by Syntology: 7 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

nmd95/data_suitable_lc_nn_code 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

15 samples harvested; 6 ran; 0 honoured the contract we drafted; 9 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.

3ran · violated contract
2ran · our draft was wrong
1ran
9unverified

Licence: 0 of the 15 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

FeedForward nmd95/data_suitable_lc_nn_code/models/local_attention.py official repository unverified MIT (permissive) · 0d569724bd138801 · report
create_index_map nmd95/data_suitable_lc_nn_code/common/data_utils.py official repository unverified MIT (permissive) · a1046a51a674e467 · report
create_q_multidim nmd95/data_suitable_lc_nn_code/rearrangement_algorithms/igtd.py official repository unverified MIT (permissive) · 10e461943197ec33 · report
get_optimizer_and_scheduler nmd95/data_suitable_lc_nn_code/models/utils.py official repository unverified MIT (permissive) · b0ce87c616f140a4 · report
load_configuration nmd95/data_suitable_lc_nn_code/configs/config_utils.py official repository unverified MIT (permissive) · 19f6a689dc934e45 · report
permute_elements nmd95/data_suitable_lc_nn_code/common/data_utils.py official repository unverified MIT (permissive) · ca019c11c4f8c20a · report
prepare_model nmd95/data_suitable_lc_nn_code/models/utils.py official repository unverified MIT (permissive) · 7109b50374757d1d · report
rearrange_partitions nmd95/data_suitable_lc_nn_code/common/data_utils.py official repository unverified MIT (permissive) · 970d663a0ca4c94d · report
default lucidrains/local-attention/local_attention/transformer.py found in paper text by Syntology ran · violated contract fingerprinted MIT (permissive) · 60fff7c3c400d7ff · report
default lucidrains/local-attention/local_attention/local_attention.py found in paper text by Syntology ran · violated contract MIT (permissive) · b5307f70349f5c27 · report
exists lucidrains/local-attention/local_attention/local_attention.py found in paper text by Syntology ran · violated contract MIT (permissive) · aa5486a3650902d8 · report
l2norm lucidrains/local-attention/local_attention/transformer.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 3eb58dae620046d3 · report
rotate_half lucidrains/local-attention/local_attention/rotary.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 1147383164fd3a66 · report
to lucidrains/local-attention/local_attention/local_attention.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · f092dd8a37a00a6e · report
apply_rotary_pos_emb lucidrains/local-attention/local_attention/rotary.py found in paper text by Syntology unverified MIT (permissive) · 7b83cdd495fff4d9 · report

Tasks

Deep Learning

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