Scaling Non-Parametric Sampling with Representation

Vincent Lu, Aaron Truong, Zeyu Yun, Yubei ChenarXiv 2025 · DOI

Abstract

Modern generative modeling is dominated by complex "black-box" architectures like Diffusion models and GANs. This paper explores a "white-box" alternative: a training-free, non-parametric generative model that synthesizes high-fidelity images by sampling and stitching patches from a dataset. By integrating low-level texture matching, spatial locality constraints, and high-level semantic embeddings, the authors demonstrate that sophisticated "part-whole generalization" can be achieved without parametric learning of abstract distributions.

Introduction

While current generative models produce photorealistic outputs, the mechanism by which they generalize remains opaque. It is often unclear whether these models are learning a true underlying distribution or simply performing complex interpolation of training data. This research seeks a "minimal theory" of natural image structure by stripping away neural complexity in favor of an interpretable, non-parametric approach.

The authors identify three essential pillars for coherent image generation:

  1. Spatial Non-Stationarity: Ensuring elements appear in appropriate global positions.
  2. Low-Level Regularities: Maintaining local consistency in textures and edges.
  3. High-Level Semantics: Ensuring global structural coherence across distant parts of an image.

Methodology

The proposed model revisits classic texture synthesis techniques, scaling them using modern representation learning. The process is autoregressive, growing an image pixel-by-pixel from a small seed. For every new pixel, the model examines a local "context window" and retrieves a pool of candidate patches from the training dataset.

Overview of the non-parametric sampling pipeline, showing how image patches and context are encoded to find matches in the training set.

Similarity is determined by three distinct metrics:

  • Sum of Squared Differences (SSD): A Gaussian-weighted low-level match for local edges.
  • Locality Constraint: Restricting patch retrieval to similar spatial coordinates in the source data to preserve global layout.
  • Self-Supervised Learning (SSL) Encodings: Utilizing a pre-trained encoder (e.g., SimCLR) to ensure semantic consistency between the retrieved patch and the overall image context.

Key Results and Ablation Studies

The model was evaluated on MNIST and CIFAR-10. On CIFAR-10, it achieved an Inception Score (IS) of 5.903 and an FID of 60.357, outperforming early parametric models like PixelCNN despite being training-free.

Ablation studies confirmed that all three pillars are necessary for successful generation. Without locality, digits appear off-center; without SSL, global structure collapses into incoherent textures; and without SSD, images lack fine-grained detail.

Ablation studies on MNIST showing the progression from stationary low-level statistics to the full model incorporating non-stationary high-level statistics.

Discussion: Part-Whole Generalization

A significant advantage of this non-parametric approach is its inherent interpretability. Through "source-tracing," the authors can identify exactly which training image contributed to every pixel of a generated output. They found that the model generates novel instances by recombining parts—such as taking a leg from one source image and a torso from another—while maintaining semantic coherence. This suggests that the "magic" of generative AI may largely stem from the interaction between local texture matching and global semantic constraints, rather than the internal weights of a black-box model alone.

Conclusion and Future Work

While the model faces a retrieval bottleneck due to the cost of searching large datasets, it serves as a powerful working hypothesis for how massive transformers might function. Future work includes optimizing search via attention-like mechanisms and exploring the use of a dictionary of "atomic" image parts to further improve efficiency and generalization.

Summary updated

BibTeX
@misc{lu2025scaling,
  author = {Vincent Lu and Aaron Truong and Zeyu Yun and Yubei Chen},
  title = {{Scaling Non-Parametric Sampling with Representation}},
  year = {2025},
  eprint = {2510.22196},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.22196},
}
Figure