Summary
This paper investigates, on a very simple toy dataset, how conditional diffusion models learn factorized representations of the data, and the extent to which they can compositionally generalize out of distribution. Additionally, the authors make a connection to percolation theory in physics.
Weaknesses
Main high-level weaknesses:
- This paper takes a promising approach to a crucial research question, but to me it does not deliver. Although using toy data allows for broader experimentation, the evaluation is overall quite limited. For this reason, though the authors make an effort to clarify the relevance of their results for realistic settings (Sec. 4.1), this still sounds unconvincing.
- Clarity, especially in the presentation and discussion of the results. I found the results and conclusions significantly more difficult to parse than would be expected from toy experiments.
---
Expanding on the above:
- In general, the design and motivation for the experimental study is a bit lacking. I appreciate toy experiments, but they should reflect more realistic cases as much as possible, and in this case we are assuming that the model observes basically all information necessary to reproduce the data (as opposed to typical cases where the conditioning signal has significantly less information than the data itself). The authors should provide a solid justification for this choice, and more in general argue how such a toy scenario may be informative for more complex settings. The most natural next step would be to include a dataset that comes significantly closer to realistic settings, although of course some investigations will probably be impossible in that case. The trade-off between relevance and controllability is a hard one, and the current paper seems to be heavily on the latter side.
- Even sticking to the current toy data, a broader evaluation would be possible and useful. There are several degrees of freedom that can be explored further, e.g., the UNet input noise level at evaluation time, the mutual information between condition and data (which could range from perfect - the current unrealistic case - to zero - the unconditional case), different compositionality patterns (as done in some references in the paper), the layer of the UNet at which representations are extracted.
- The abstract states "paving the way for future research aimed at enhancing factorization and compositional generalization". This may be an overstatement, given my point above. What are concretely actionable insights from these experiments?
- The experiments here investigate the representations in the last layer of a UNet. Why this choice? Representations in diffusion models could also be considered to be the activations at different layers, especially the bottleneck, which has been investigated in the literature. Another representation can be the latent variable deterministically corresponding to the data using the probability flow ODE.
- The bottleneck idea is mentioned only in Appendix A.1, and in a negative way. This reinforces my belief that this toy scenario is too far from realistic settings, where the bottleneck is widely used as representation in diffusion models. However, let me still point out that I find the toy scenario a very interesting and promising direction.
- As far as I can tell, there is no mention of the noise schedule for training DDPM.
- When evaluating the representations in the UNet, what is the noise level in the input? I would expect this to significantly affect the representation (especially since you're using the last UNet layer and the UNet is trained to predict noise -- but this is just a hunch).
- The models here are basically trained to convert the $(\mu_x,\mu_y)$ conditioning pair to an image that is deterministically determined from such a pair. I would be a lot more interested in investigating the representations of an *unsupervised* model trained on such data, where the labels are inaccessible but can be used for evaluation -- similarly to how e.g. disentanglement is evaluated.
- Alternatively, to mimic real-world conditional (e.g. text-to-image) generation, there could be some stochasticity involved, such that the observed data is not trivially obtained from the conditioning signal.
- To make the experiments and results fully understable and accessible to a wider range of researchers, I would strongly recommend including a quick introduction to the relevant concepts from geometry/topology.
- In addition, the individual results subsections seem to lack a clear structure, which makes them not particularly easy to follow. Some more intuitive explanation, as well as highlighting the main takeaways from each experiment, might help.
A few minor or more detailed comments:
- In the contributions: "differing values of the same feature are also treated similarly" - what does this mean?
- In Section 3.1 there's mention of $x$ and $y$: are these actually $\mu_x$ and $\mu_y$, since these are the ground-truth generative factors of the data?
- At the beginning of the results section, the dataset is modified to have a torus topology. Why not define the dataset like this in the first place?
- Line 124. "If the model were to parameterize x and y independently with two ring manifolds, we expect to see a Clifford torus in the neural activations, rather than a different geometry such as the 3D torus." What does it mean exactly that the model *parameterizes* x and y? My interpretation is that, when generating data conditional on $x$ and $y$ (which I take to be the means), we can observe how the activations in the pre-determined UNet layer change, as we change $x$ and $y$.
- Line 127 and following: "we first confirm that the model indeed learns a torus representation of the dataset". What would the model alternatively learn? Since we're considering such simple toy datasets, I think it's expected that we can get a full intuition of what is going on. In my opinion, this is not the case. The following lines also involve technical terms from topology that are not properly introduced.
- It's unclear what exactly effective dimensionality is, why it is important here, and what we can learn from it.
- The conclusions drawn in the last paragraph of page 4 are not very clear. For example: "These results suggest that x and y are independently encoded in pairwise orthogonal subspaces, but different values of x’s and values of y’s respectively are not encoded in the same way, i.e. in parallel subspaces".
- line 170: "compositionally generalizing out of the training distribution as well as its ability to spatially interpolate in a single variable alone". What is the precise difference between these two scenarios? In general, interpolation and composition don't seem to be accurately defined (although they can be implicitly inferred e.g. by lines 172-179).