Almost Uniform Sampling From Neural Networks
Changlong Wu, Narayana Prasad Santhanam

TL;DR
This paper presents algorithms for approximately uniform sampling of neural network labelings, with guarantees on probability and efficiency, including an exact sampling method for single neurons.
Contribution
It introduces a polynomial-time algorithm for nearly uniform sampling of labelings in neural networks with fixed architecture and provides an exact sampling method for single neurons.
Findings
Algorithm runs in polynomial time in sample size and network weights.
Probability of any labeling appearing is at least (W/2ekn)^W.
Exact uniform sampling achieved for single neuron case.
Abstract
Given a length sample from and a neural network with a fixed architecture with weights, neurons, linear threshold activation functions, and binary outputs on each neuron, we study the problem of uniformly sampling from all possible labelings on the sample corresponding to different choices of weights. We provide an algorithm that runs in time polynomial both in and such that any labeling appears with probability at least for . For a single neuron, we also provide a random walk based algorithm that samples exactly uniformly.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning and Algorithms · Neural Networks and Applications · Markov Chains and Monte Carlo Methods
