Generation is Required for Data-Efficient Perception
Jack Brady, Bernhard Schölkopf, Thomas Kipf, Simon Buchholz, Wieland Brendel
TL;DR
The paper questions whether human-like, data-efficient visual perception requires a generative approach. It develops a formal theory comparing generative (decoder-inversion) and non-generative (encoder) methods under a compositional data-generating process, proving that encoders generally cannot be constrained to the necessary biases for OOD generalization, while decoders can be constrained to a class that guarantees it. Empirically, non-generative models struggle on OOD tasks without large-scale pretraining or supervision, whereas generative models achieve substantial compositional generalization by leveraging decoder inductive biases and inference techniques like gradient-based search and generative replay. Across photorealistic PUG datasets, the generative approach yields significant OOD gains without extra data, highlighting a principled pathway toward data-efficient perception via decoder-based inversion. The work suggests future directions for scaling generative-inversion methods and developing rigorous benchmarks for compositional generalization in realistic settings.
Abstract
It has been hypothesized that human-level visual perception requires a generative approach in which internal representations result from inverting a decoder. Yet today's most successful vision models are non-generative, relying on an encoder that maps images to representations without decoder inversion. This raises the question of whether generation is, in fact, necessary for machines to achieve human-level visual perception. To address this, we study whether generative and non-generative methods can achieve compositional generalization, a hallmark of human perception. Under a compositional data generating process, we formalize the inductive biases required to guarantee compositional generalization in decoder-based (generative) and encoder-based (non-generative) methods. We then show theoretically that enforcing these inductive biases on encoders is generally infeasible using regularization or architectural constraints. In contrast, for generative methods, the inductive biases can be enforced straightforwardly, thereby enabling compositional generalization by constraining a decoder and inverting it. We highlight how this inversion can be performed efficiently, either online through gradient-based search or offline through generative replay. We examine the empirical implications of our theory by training a range of generative and non-generative methods on photorealistic image datasets. We find that, without the necessary inductive biases, non-generative methods often fail to generalize compositionally and require large-scale pretraining or added supervision to improve generalization. By comparison, generative methods yield significant improvements in compositional generalization, without requiring additional data, by leveraging suitable inductive biases on a decoder along with search and replay.
