Patching Up Circuit Learning via Parameter Sharing
Charles Bricout, Gennaro Gala, Viacheslav Borovitskiy, Antonio Vergari
Abstract
Probabilistic circuits (PCs) have emerged as generative models guaranteeing tractable probabilistic inference. However, tractability comes at the price of larger model sizes than in other generative models. As such, to scale PCs to high-dimensional data such as images, previous work has devised several parameter sharing techniques as well as fast evaluation protocols that consider learning PCs on independent image patches. In this work, we revisit this practice to highlight a surprising learnability issue: models that assume independence counterintuitively can yield better likelihoods than models that do not. To break this apparent bottleneck and to scale PCs further, we introduce a recursive parameter sharing construction (RePA) that fosters efficiency without assuming independence. We show empirically that RePA can greatly reduce time and memory consumption while yielding competitive likelihoods. Inspired by these results, we further generalize the approach to data modalities that do not inherently exhibit patch-structure (NoPA), such as tabular data, showing similar efficiency improvements, with marginal changes in likelihoods and sample quality on seven tabular datasets. Code available at https://github.com/april-tools/RePA.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- Accepted at NeurIPS26
Related papers
Byte Patches versus BPE at Matched Data: A Matched-Twin Comparison at 350M Parameters
Shared title terminologycs.LGAsadullah Maliyawala, Andrej Lisal
Beyond Patching: Consistent Circuit Discovery via Gradient Spectral Analysis
Shared title terminologycs.LGYujie Zhang, Tianyi Zhao, Guanghui Min et al.
Anchor Behavior, Not Parameters: Rehearsal-Free Continual Learning with a Single Shared Prompt
Shared title terminologycs.LGDuy-Cuong Bui, Trung-Anh Dang, Vincent Nguyen et al.
How Do Deep Networks Encode and Selectively Use Information? Shared Encoding and Conditional Signed Readout in Vision and Language Models
Shared title terminologycs.LGKaixiang Shu
Rewirable Circuits in Transformers with Loom Attention
Shared title terminologycs.LGDa Xiao, Qingye Meng, Shengping Li et al.
Are Causal Neuron Circuits Unique and Transferable?
Shared title terminologycs.LGÖmer Tekin Yavuz