Motivation
Object-centric representation learning trains models, such as Slot Attention, to describe an image of a scene as a set of slots, one latent vector per object. These models are often successful in practice, but there was no account of when such a decomposition can be recovered from unlabelled images. Brady, Zimmermann, Sharma, Schölkopf, von Kügelgen and Brendel (ICML 2023) give one. They propose two structural assumptions on the process that renders scenes, compositionality and irreducibility. Under these assumptions, any invertible inference model with a compositional inverse recovers the ground-truth slots up to a permutation and slot-wise reparametrisations. The result needs no assumption on the distribution of the latents, which may be arbitrarily dependent.
This mission formalizes the identifiability theory of Section 3 and Appendix A of the paper.
Setting
A scene with K objects has latent representation z=(z1,…,zK)∈Z=(RM)K, with one slot zk∈RM per object. An image with N pixels is x=f(z), where the generator f is a diffeomorphism from Z onto the observation space X⊆RN. Pixel n depends on slot k at z if ∂fn/∂zk(z)=0, and Ik(z) is the set of such pixels.
- f is compositional if no pixel depends on two slots: Ik(z)∩Ij(z)=∅ for k=j.
- The mechanism of slot k is the submatrix JfIk(z) of the Jacobian formed by the rows in Ik(z). f is irreducible if no mechanism splits into independent parts. For every partition of Ik(z) into nonempty S1,S2,
rankJfS1∪S2(z)<rankJfS1(z)+rankJfS2(z).
- An inference model g^:X→Z slot-identifies z if every ground-truth slot k is matched to a unique inferred slot j by a diffeomorphism hk with g^(f(z))j=hk(zk) for all z.
- The compositional contrast Ccomp(f,z)=∑n∑k<j∥∂fn/∂zk(z)∥∥∂fn/∂zj(z)∥ is zero at every point exactly when the map is compositional (Lemma 5); the paper does not show it is a quantitative distance to compositionality.
Formalization targets
Goal: slot identifiability (Theorem 1)
Let f:Z→X be a compositional diffeomorphism with irreducible mechanisms. If an inference model g^:X→Z is a diffeomorphism whose inverse f^ is compositional, then g^ slot-identifies z.
Milestones
- Lemma 1: sub-mechanisms of distinct mechanisms are independent.
- Lemma 3: every mechanism JfIk(z) has rank M.
- Lemma 4: rankJfS(z)=rankJf^S(z^) for every nonempty set of pixels S, where z^=g^(f(z)).
- Proposition 1: every ground-truth slot affects at least one inferred slot.
- Proposition 2: every inferred slot generates pixels of exactly one ground-truth slot.
- Corollary 1: every ground-truth slot generates pixels of exactly one inferred slot.
- Proposition 3: every ground-truth slot affects at most one inferred slot.
- Lemma 5: a differentiable map is compositional if and only if its compositional contrast vanishes everywhere.
- Theorem 2: an encoder–decoder pair with zero expected reconstruction error plus λ>0 times the compositional contrast slot-identifies z.
Significance
Earlier identifiability results in nonlinear independent component analysis relied on assumptions about the distribution of the latents, such as independence or auxiliary variables. Theorem 1 replaces them with structure on the generator, a local sparsity pattern of its Jacobian. This matches auto-encoding object-centric models, which also place no structure on the latent distribution. Theorem 2 turns the identifiability conditions into an objective (reconstruction loss plus compositional contrast), which the paper uses to evaluate existing object-centric models.
Difficulty
- Lemmas 1, 3, 4: linear algebra of Jacobian submatrices (ranks of matrices with disjoint column supports, and invariance of rank under multiplication by an invertible matrix) together with the chain rule.
- Propositions 2 and 3, Corollary 1: combinatorial case analyses on the index sets, driven by rank counting.
- Theorem 1: turns the pointwise block-permutation structure of J(g^∘f) into a global one. A continuity argument shows that the permutation does not depend on z. Then z^j depends on zk only, and the slot-wise maps are diffeomorphisms.
- Theorem 2: passes from an expectation equal to zero to pointwise identities using full support of the latent law, and shows that the encoder is a diffeomorphism onto Z.
Formalization scope
- Spaces: Z is
Fin K → Fin M → ℝ, with slot k of z equal to z k, and pixels live in Fin N → ℝ. The observation space X is a subset of RN. The slot dimension satisfies M≥1, which the paper takes for granted.
- Regularity: "diffeomorphism" and "differentiable" are read as C1. A diffeomorphism f:Z→X is a C1 map onto X with a left inverse that is C1 relative to X.
- Partial derivatives come from the Fréchet derivative. Every statement assumes the differentiability it needs, so these derivatives are never junk values.
- Theorem 2: the latent law pz is a probability measure with full support (the standing assumption of Section 2). The expectation is an integral in [0,∞] taken over z∼pz at x=f(z). The decoder maps into X.
Not included:
- Lemma 2 (the rank of a sub-mechanism is at most M): a one-line support lemma whose content is contained in the proof of Lemma 3.
- The empirical results (Sections 5 and B-C) and the slot identifiability score, which are not mathematical statements.
- The conjectured converse in Section 6 ("compositionality and invertibility are also necessary"), which the paper does not prove.
Selected references
- J. Brady, R. S. Zimmermann, Y. Sharma, B. Schölkopf, J. von Kügelgen and W. Brendel, Provably Learning Object-Centric Representations, ICML 2023, arXiv:2305.14229. https://arxiv.org/abs/2305.14229
- F. Locatello et al., Object-Centric Learning with Slot Attention, NeurIPS 2020. https://arxiv.org/abs/2006.15055
- A. Hyvärinen and P. Pajunen, Nonlinear independent component analysis: Existence and uniqueness results, Neural Networks 12 (1999). https://doi.org/10.1016/S0893-6080(98)00140-3
- L. Gresele, J. von Kügelgen, V. Stimper, B. Schölkopf and M. Besserve, Independent mechanism analysis, a new concept?, NeurIPS 2021. https://arxiv.org/abs/2106.05200