# Patching Up Circuit Learning on Images

*Charles Bricout, Gennaro Gala, Viacheslav, Antonio Vergari*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152498) · [OpenReview](https://openreview.net/forum?id=SgOj0VYeoD) · [Open on the map](../papers.html#p152498)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Diffusion and Flow Generation Optimization](../pgroup/553.md) · Type: new method · Keywords: probabilistic circuits, image modeling, parameter sharing, scalable generative models, tractable inference

## Summary
RePA is a recursive parameter sharing construction that scales probabilistic circuits to images by reducing time and memory consumption while maintaining competitive likelihoods.

## Explained to a 5-year-old
People made a special kind of computer model that can understand pictures without using too much memory. They noticed that breaking pictures into small pieces and treating them as independent sometimes gave better results. To fix this, they created a new way to share parts of the model recursively. This new way helps the model work faster and use less memory while still making good predictions. Now the model can handle bigger pictures more easily.

## Explained to a 5-year-old, longer
A computer model was built to understand pictures while keeping the math simple. These models are called probabilistic circuits and they need a lot of memory. To make them work on big pictures, earlier ideas split the picture into tiny pieces. They treated each tiny piece as if it had nothing to do with the others. Surprisingly, sometimes this independence trick gave better results than using the whole picture. The researchers saw this was a problem that stopped the models from getting even better. They invented a new way to share parts of the model in a recursive fashion. This sharing lets the model use fewer parameters while still learning from the whole image. The new method reduces both the time needed to train and the memory needed to store the model. Even though it uses less memory, the model still makes predictions that are as good as before. This helps the model handle larger images without slowing down too much. In the end, the approach makes picture-understanding models more efficient and easier to use.

## For a technical reader
The paper addresses the challenge of scaling probabilistic circuits-models that can reason about data with guaranteed inference-to high-resolution images, which normally require a lot of memory. Existing solutions split images into independent patches, but this independence assumption can paradoxically improve likelihood while limiting performance. The authors propose a recursive parameter sharing scheme that efficiently reuses model parameters without assuming patch independence. Experiments show the new scheme cuts training time and memory usage dramatically while still delivering competitive likelihood scores. This makes it feasible to apply tractable generative models to larger image datasets on modest hardware.

## Problem
Scaling generative models that guarantee tractable inference to high-dimensional data like images is difficult because they tend to be large. Existing methods that break data into independent patches can lead to models that assume independence and surprisingly achieve better likelihoods, limiting further scaling.

## Method
The approach introduces a recursive parameter sharing construction that enables efficient scaling of tractable generative models without assuming independence across patches. It leverages hierarchical sharing to reduce both time and memory consumption during training and inference. This construction is applied to the model architecture to maintain competitive likelihood performance.

## Results
The approach significantly reduces time and memory consumption while achieving likelihoods comparable to existing methods.

## Contributions
It identifies a learnability issue with independence assumptions in patch-based learning and proposes a recursive parameter sharing construction that addresses this bottleneck. The construction enables efficient scaling of tractable generative models to high-dimensional data.

## Research questions this paper is counted under

- [How can generative models for visual data be scaled to handle high-dimensional inputs while maintaining accurate and controllable predictions?](../q/776.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152498)
