Preventing Global Memorization with Local Receptive Fields

21 concepts14 papers

Deep neural networks are notorious overfitters. When tasked with generative modeling or solving inverse problems, they tend to latch onto global layouts, absolute coordinates, and macro-level semantics. While this provides sharp results on in-distribution data, it causes catastrophic failures in two major regimes: learning from a single sample (where the model simply memorizes and replicates the input) and out-of-distribution (OOD) generalization (where mismatched global structures break the model).

A growing body of research addresses this by intentionally blinding the network to the big picture. By restricting the network's receptive field to a small local neighborhood, researchers force models to learn patch-level distributions rather than global geometry.

The Mechanism of Architectural Keyholes

How do we restrict a model's field of view? In standard architectures, downsampling layers (like strided convolutions or pooling) and global self-attention mechanisms expand the receptive field, allowing a single bottleneck pixel to see the entire input. To enforce locality, these elements must be systematically removed or modified.

For instance, in single-image generation, Yaniv Nikankin et al. in SinFusion: Training Diffusion Models on a Single Image or Video replace global attention mechanisms with a sequence of purely convolutional blocks. Similarly, Shiqi Dai et al. in Procedural Level Generation with Diffusion Models from a Single Example eliminate downsampling and upsampling layers entirely, forcing the network to operate strictly on local spatial distributions. In non-deep learning contexts, Nazar Khan et al. achieve a similar effect via "Masked Linear Regression" in Masked Linear Regression for Learning Local Receptive Fields for Facial Expression Synthesis, where output pixels are explicitly constrained to look only at nearby input pixels.

By looking through this architectural keyhole, the network is stripped of its ability to learn global coordinates or macro-noise. It is forced to focus entirely on the relationships between immediate neighbors.

Turning One Sample into a Universe of Patches

Why does this constraint enable models to learn effectively from a single training instance? Consider training a diffusion model on a single image, a single 3D mesh, or a single game level. A standard model would quickly memorize the global layout, resulting in a generator that can only replicate the training sample exactly.

When the receptive field is restricted, however, the model cannot see the global layout. Instead, it views the single training sample as a massive dataset composed of thousands of overlapping local patches. As shown by Vladimir Kulikov et al. in SinDDM: A Single Image Denoising Diffusion Model, this forces the network to learn the internal statistics and local patterns of these patches, allowing it to generate diverse variations of the scene without memorizing the global composition.

This principle generalizes across modalities:

The Universality of Local Textures

Beyond single-sample learning, receptive field restriction acts as a powerful regularizer for out-of-distribution (OOD) generalization and inverse problems. Why? Because global semantic arrangements vary wildly across domains, but local textures are remarkably universal. A natural image, a hand-drawn sketch, and an industrial defect sample look entirely different globally, but they share basic local structures like edges, gradients, and textures.

In On the Out-of-distribution Generalization of Probabilistic Image Modelling, Mingtian Zhang et al. leverage this insight for unsupervised OOD detection. Standard deep generative models often fail at OOD detection because their likelihood scores are dominated by low-level textures shared across datasets. By isolating these local features using a local autoregressive model, they can construct a likelihood ratio that successfully separates global semantics from local textures.

This universality also explains why local models excel at imaging inverse problems (like denoising or deblurring) when the test data distribution shifts. Jason Hu et al. demonstrate in Patch-Based Diffusion Models Beat Whole-Image Models for Mismatched Distribution Inverse Problems that patch-based diffusion models significantly outperform whole-image models when solving inverse problems with mismatched data distributions. By forcing the model to assemble reconstructions from local patterns rather than global memories, it avoids the hallucinations common to standard deep learning models.

This empirical success is grounded theoretically by Minh Hai Nguyen et al. in An analytic theory of convolutional neural network inverse problems solvers, who prove that the twin constraints of locality and translation equivariance shift memorization from the global level to the patch level, explaining why CNNs reconstruct out-of-distribution images so effectively. Similarly, in few-shot industrial settings, Shuai Yang et al. show in Defect Spectrum: A Granular Look of Large-Scale Defect Datasets with Rich Semantics that forcing a network to learn patch-level distributions rather than global geometry prevents overfitting, allowing for the generation of diverse synthetic defect samples from limited data.

The Mathematics of Patch-Based Creativity

If a model can only see and memorize local patches, how does it generate entirely new, coherent global structures? This phenomenon—often framed as AI "creativity" or compositional generalization—can be explained mathematically through the interaction of locality and translation equivariance.

In An analytic theory of creativity in convolutional diffusion models, Mason Kamb et al. derive "Local Score" machines to analyze how convolutional diffusion models operate. They demonstrate that generative novelty is not a magical emergence, but a structural byproduct: because the score function is restricted to a local neighborhood, the network cannot enforce global identity. Instead, it makes updates based purely on local consistency, effectively assembling novel images as mosaics of locally consistent patches drawn from different training examples.

This mechanism is what allows models to compose entirely novel combinations of concepts. Arwen Bradley formalizes this in Local Mechanisms of Compositional Generalization in Conditional Diffusion, proving a mathematical equivalence between compositional structure and local conditional scores. The author demonstrates that compositional generalization is fundamentally driven by locality: when a model learns to treat specific image regions as independent patches conditioned on localized prompt elements, it can successfully tile these patterns to generate novel combinations or higher quantities of objects that it never saw during training.

Key Foundational Work

On the Out-of-distribution Generalization of Probabilistic Image Modelling (2021) — contributed 2 concept elements to this direction.
Masked Linear Regression for Learning Local Receptive Fields for Facial Expression Synthesis (2020) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_receptive_field_restriction_patch_level__dc5bef2e,
  title = {receptive field restriction (patch-level distribution learning)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/receptive-field-restriction-patch-level-distribution-learning/rdr_dc5bef2ecbb344ecb649e8eb94b9efff},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_receptive_field_restriction_patch_level__dc5bef2e_v1,
  title = {receptive field restriction (patch-level distribution learning)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/receptive-field-restriction-patch-level-distribution-learning/rdr_dc5bef2ecbb344ecb649e8eb94b9efff/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}

See something wrong? Report a mistake