Learning a Maximum Entropy Model for Visual Textures using Diffusion
Xinyuan Zhao, Eero P Simoncelli
NeurIPS 2026
TL;DR. We develop the first principled method for unsupervised learning of a set of statistics that are used to constrain a maximum entropy probability model, and demonstrate its use in learning a representation for visual texture.
Abstract. Visual textures -- spatially homogeneous image regions containing repeated elements (e.g. a field of grass, the bark of a tree) -- are ubiquitous in visual scenes and provide important cues for recognizing and analyzing materials, surface geometry and objects. A number of existing texture models extract essential statistics from a single texture image, and can then generate high-quality samples that are visually similar to the original by matching these statistics. However, their statistics are either hand-designed or based on a network pretrained for another purpose (e.g., object recognition). Here, we develop a principled method for unsupervised learning of a set of statistics that are used to constrain a maximum entropy probability model for texture. We leverage methods developed for generative diffusion models to derive training and sampling procedures, and compare these to the traditional method of sampling via matching the statistics. Despite the compactness of our trained model (512 statistics), it generates texture images whose quality is as good as or better than the current state-of-the-art model (~177k statistics), both visually and by quantitative perceptual scoring using DreamSim. Finally, we show that images generated from parameters lying along a line between the parameter vectors corresponding to two different reference textures are homogeneous textures with features that smoothly transition between those of the two references.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes a maximum entropy model for texture synthesis that achieves similar quality to existing methods but with far fewer statistics.
Strengths:
- A novel mathematical connection between texture synthesis and diffusion
- The idea of learning a representation for texture synthesis rather than picking from exemplars is novel
The reviewers reservations revolve around the following main items:
Method:
- Why have the authors chosen to curate a special dataset when numerous texture datasets exist?
Evaluation:
- Are there additional metrics that can be used in addition to FID (e.g. LPIPS, DreamSIM, etc)
- Are there additional datasets that can be used for evaluation?
- Can the authors provide more qualitative results on more varied data? A human study could also be useful in this vein.
- The authors are encouraged to provide ablations for their architectural choices.
Exposition:
- The authors are encouraged to expand on the motivation behind their methodological choices.
- Missing related work discussion:
- ‘Infinite Texture’ by Wang et al. 2024
- GramStatTexNet DuTell et al., 2024
- TexSliders’ by Guerrero-Viu et al., 2024
- The authors are encouraged to clean up the mathematical derivation and make sure all variables are properly defined. The current submission is written for an audience that is well familiar with the related work and the derivations of the maximum entropy density model, but this leads to a missed opportunity in the current manuscript to explain the concepts in a clear way to new readers. In general, sections 2.1 and 2.2 could provide more motivation (e.g. why does it makes sense to arrive at f via denoising), clear definitions, and derivation details, or one could add these to the supplementary.
Initial Meta Reviewer Recommendation:
While the proposed method is clearly novel and interesting, the current exposition does not do it justice and misses an opportunity to explain the motivation and the principles behind the approach to new readers to the field. This results in a high disagreement between reviewers. The authors are encouraged to consider the questions raised by reviewers in their rebuttal, in particular the ones mentioned in this meta review, in order to aid in the post-rebuttal discussion phase.
Additionally, the authors are encouraged to include in the introduction of the manuscript the motivation behind using the maximum entropy density model. This motivation may be found in prior work, but would be beneficial for the reader of the current manuscript in order to make it more self-contained. In particular, an expansion on the following sentence [L 40] could be useful to the reader: “Images of a given texture class are samples drawn from the maximum entropy density [Jaynes, 1957] subject to the values of the chosen statistics.” Including this motivation in the rebuttal would be beneficial to the post-rebuttal discussion.
Final justification
The authors' rebuttal alleviated the AC's concerns and most of the reviewers' concerns. The remaining concerns revolve around SOTA claims and a missing failure-mode analysis on a standard texture dataset that was promised for the camera ready but not provided for the rebuttal. The AC is under the opinion that the remaining concerns do not outweigh the benefits of publishing this work due to its novelty and potential influence on the field.
Per SOTA claims, the authors are strongly encouraged to scope their claims. It should be clear to the reader that these results are not SOTA within the general field of texture synthesis. The authors should only make claims within the narrower field of low dimensional, parametric, unconditional models of homogeneous textures, and other qualifiers that the authors deem useful. Current graphics practitioners may not find the results in this manuscript competitive for their use cases, and therefore it should be made clear that the contribution here is a novel mathematical formulation rather than a tool for practitioners.
Per results on standard texture datasets, the AC notes that reporting performance fairly is an important part of clarifying both failure modes and model limitations. The authors are encouraged to follow up on their promise to "include results the standard texture datasets (DTD, ALOT, OpenSurfaces) that contain inhomogeneous textures (which we do not consider as proper textures), and other more out-of-distribution datasets like CelebA, etc."
The authors are further encouraged to provide results from a human perceptual study comparing their method to Gatys.
Finally, the authors are strongly encouraged to rewrite their introduction and method sections such that the paper is self-contained and accessible to a novice reader to the field, as discussed above and acknowledged in the author rebuttal.
Read meta-review
Meta-review
This paper proposes a maximum entropy model for texture synthesis that achieves similar quality to existing methods but with far fewer statistics.
Strengths:
- A novel mathematical connection between texture synthesis and diffusion
- The idea of learning a representation for texture synthesis rather than picking from exemplars is novel
The reviewers reservations revolve around the following main items:
Method:
- Why have the authors chosen to curate a special dataset when numerous texture datasets exist?
Evaluation:
- Are there additional metrics that can be used in addition to FID (e.g. LPIPS, DreamSIM, etc)
- Are there additional datasets that can be used for evaluation?
- Can the authors provide more qualitative results on more varied data? A human study could also be useful in this vein.
- The authors are encouraged to provide ablations for their architectural choices.
Exposition:
- The authors are encouraged to expand on the motivation behind their methodological choices.
- Missing related work discussion:
- ‘Infinite Texture’ by Wang et al. 2024
- GramStatTexNet DuTell et al., 2024
- TexSliders’ by Guerrero-Viu et al., 2024
- The authors are encouraged to clean up the mathematical derivation and make sure all variables are properly defined. The current submission is written for an audience that is well familiar with the related work and the derivations of the maximum entropy density model, but this leads to a missed opportunity in the current manuscript to explain the concepts in a clear way to new readers. In general, sections 2.1 and 2.2 could provide more motivation (e.g. why does it makes sense to arrive at f via denoising), clear definitions, and derivation details, or one could add these to the supplementary.
Initial Meta Reviewer Recommendation:
While the proposed method is clearly novel and interesting, the current exposition does not do it justice and misses an opportunity to explain the motivation and the principles behind the approach to new readers to the field. This results in a high disagreement between reviewers. The authors are encouraged to consider the questions raised by reviewers in their rebuttal, in particular the ones mentioned in this meta review, in order to aid in the post-rebuttal discussion phase.
Additionally, the authors are encouraged to include in the introduction of the manuscript the motivation behind using the maximum entropy density model. This motivation may be found in prior work, but would be beneficial for the reader of the current manuscript in order to make it more self-contained. In particular, an expansion on the following sentence [L 40] could be useful to the reader: “Images of a given texture class are samples drawn from the maximum entropy density [Jaynes, 1957] subject to the values of the chosen statistics.” Including this motivation in the rebuttal would be beneficial to the post-rebuttal discussion.
Final justification
The authors' rebuttal alleviated the AC's concerns and most of the reviewers' concerns. The remaining concerns revolve around SOTA claims and a missing failure-mode analysis on a standard texture dataset that was promised for the camera ready but not provided for the rebuttal. The AC is under the opinion that the remaining concerns do not outweigh the benefits of publishing this work due to its novelty and potential influence on the field.
Per SOTA claims, the authors are strongly encouraged to scope their claims. It should be clear to the reader that these results are not SOTA within the general field of texture synthesis. The authors should only make claims within the narrower field of low dimensional, parametric, unconditional models of homogeneous textures, and other qualifiers that the authors deem useful. Current graphics practitioners may not find the results in this manuscript competitive for their use cases, and therefore it should be made clear that the contribution here is a novel mathematical formulation rather than a tool for practitioners.
Per results on standard texture datasets, the AC notes that reporting performance fairly is an important part of clarifying both failure modes and model limitations. The authors are encouraged to follow up on their promise to "include results the standard texture datasets (DTD, ALOT, OpenSurfaces) that contain inhomogeneous textures (which we do not consider as proper textures), and other more out-of-distribution datasets like CelebA, etc."
The authors are further encouraged to provide results from a human perceptual study comparing their method to Gatys.
Finally, the authors are strongly encouraged to rewrite their introduction and method sections such that the paper is self-contained and accessible to a novice reader to the field, as discussed above and acknowledged in the author rebuttal.
2 comments
Follow-up Comment
During the rebuttal period, we have provided a new quantitative analysis using three perceptual quality measures (as requested by reviewers). Tables have been provided in response to reviewer FF1U (Part 1/3). The DreamSim comparisons, in particular, provide additional quantitative support for our conclusions (which were previously reliant on FID comparisons on a set of 9 test images, along with visual inspection of a set of test examples provided in figures).
We have also performed two new ablation experiments (response to reviewer FF1U, Part 2/3).
Revised summary of significant contributions:
- We formulate a parametric representation of homogeneous visual textures in terms of maximum entropy (maxEnt) probability distributions, develop an architecture for estimating parameters and sampling, and train the model (unsupervised, based on a denoising loss) on a large dataset of homogenous crops taken from ImageNet. While maxEnt models are a well-established methodology in the literature, this is the first maxEnt model to learn the statistical representation from data.
- To develop and test our model, we have created a new training dataset of one million homogeneous texture patches, and a hand-curated set of 80 high-quality texture images. Both datasets will be released upon publication.
- Synthesized textures compare favorably (in terms of visual appearance, FID score, and the DreamSim quality measure) to the current SoTA parametric model for homogeneous texture representation/synthesis (Gatys et al., 2015), despite the fact that the representation space of our model is far lower in dimensionality (512 vs. ~177k).
- The formulation allows two different methods of sampling: one using the diffusion generative procedure consistent with the training and architecture, and the other by back-propagating statistical matching errors (as done in many previous texture models). This provides a novel link and comparison between the old and new (diffusion-style) sampling methodologies.
- In addition, continuous interpolation between parameter vectors of two example textures the parameter space allows generation of homogenous textures with continuously interpolated features, as opposed to the spatial “oil-and-water” mixtures that are seen in previous models (e.g., Portilla and Simoncelli, 2000; Gatys et al., 2015). The ability to move within the representation space, synthesizing corresponding novel textures, offers a useful substrate for experimental studies of visual perception and neurobiology.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper presents an approach (likely the first) to learn statistics that constrain a maximum entropy probability model of textures. This is in contrast to existing work that either learns a model or borrows from a recognition network. The model produces high quality textures trained on approximately 1 million imageNet-21k patches, in a space with lower dimensionality than existing models that can allow for neural responses to be characterized in the representation space (and with mostly better FID).
Strengths and weaknesses
Quality: The quality of this work feels quite high. All of the mathematics and derivations seem to be correct (as far as I can tell) and also seem thorough and relatively easy to follow. The parameter efficiency results seem quite important as well and I like how this connects back to the classic Portilla and Simoncelli results. Overall, this provides a very nice story and also results that are convincing.
Clarity: The overall composition of the paper, the story it tells, the connections to classic and recent work are all strong. The discussion is convincing and the mathematical developments seem to be sound (although I wouldn't assert 100% confidence in certifying they are all correct since checking them completely and exhaustively would be a significant task for the theoretical results in the paper)
Significance: This seems important to texture modelling, perhaps as stimulus generation in psychophysics, and may also generalize to other patterns. If I had to point to any weakness, it would likely be the FID results. The authors make a good case that these are limited in what they say, but the alternative is a qualitative judgment (albeit one that remains convincing).
Originality: This work seems quite original in that the strategy that is used to produce this model seems to develop from a completely different angle than existing models. The way that the work connects classic texture modelling and diffusion in a principled way and that falls naturally out of the theoretical assumptions is very convincing.
Questions
-
Is there any other metric that could be applied in addition to the current evaluation, possibly over more classes?
-
How sensitive are the results to the dimensionality? Is there anything more about this story worth including in the paper?
Limitations
yes
Final justification
I have carefully reviewed the concerns of the other reviewers, and the responses of the authors. My own complaints were minor, with some of the other reviewers having more significant concerns. At this stage, there seems to be one reviewer with a relatively negative valence, but I think the authors have done a good job in providing an explanation for some of the concerns they have raised. For this reason, my original opinion of the work stands.
Formatting concerns
No concerns
2 comments
Rebuttal
Thank you for your valuable questions and suggestions, and thank you for your appreciation of our work! For your questions regarding additional metrics, please see the FID and alternative metrics section of our rebuttal to reviewer FF1U.
Regarding sensitivity of the results to the dimensionality, we did not perform a systematic sweep, but we settled on 512 by comparing several variants. We tested 1024 dimensions and did not see any noticeable improvement.
Follow-up Response
We have new updates to your first question (“Is there any other metric that could be applied in addition to the current evaluation, possibly over more classes?”). We have now computed {LPIPS, DISTS, DreamSim} distances between original texture samples and synthetic samples from all three models {Gatys, Ours-statistics-matching, ours-diffusion-sampling}, over the large-image dataset used for the FID comparisons in Table 1. See our follow-up response to reviewer FF1U (Part 1/3). We find that DreamSim considers the difference between two random crops of the original texture image to be lower than the difference between a crop and a generated image, consistent with our visual perception. The DreamSim scores provide additional quantitative support for our visual assessment that samples from our model using statistics matching are generally better than samples using diffusion and samples from the Gatys model.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Texture synthesis is a long standing problem in computer vision, with strong connections to human perceptual studies and image-based rendering techniques. Prior work such as the Portilla and Simoncelli model closely follows findings in visual neuroscience but relies on matching handpicked image statistics. More recent work from Gatys improved upon this by instead using pretrained image classifiers, but this results in a highly overparameterized statistics set. To address the issue of finding a rich yet compact set of statistics without explicit supervision, the paper proposes a maximum entropy conditioned diffusion model to learn a good representation space for texture synthesis. Compared to the classic methods, Protilla and Smoncelli and Gatys, the learned statistics consistently achieves similar quality using far fewer statistics (~2.5 orders of magnitude). The learned statistics generate good textures, both when matched directly and when sampled from the trained diffusion model. Not only is the quality comparable, but the learned feature space can be used for texture mixing, suggesting that the model learned useful structure. Overall, the contributions consist of (1) mathematically developing a maximum entropy conditioned diffusion approach for texture statistics selection for synthesis, and (2) training a texture synthesis model that achieves strong quality with a useful representation space.
Strengths and weaknesses
Strengths: The method achieves qualitatively good synthesis results given the reduced statistic set. While there is some prior work on diffusion for texture synthesis (‘Infinite Texture’ by Wang et al. 2024), this is the first work I’ve seen making mathematically connecting the texture synthesis process to diffusion. This is a notable strength because it allows for the exploration of different sampling/synthesis approaches. It is also the first work to explicitly try to learn a texture representation for synthesis rather than select from handpicked sets (GramStatTexNet DuTell et al., 2024) or repurpose statistics from other models. The ability to mix texture using the learned representation is a nice demonstration beyond raw quality that the statics are useful. There is prior texture mixing in diffusion (‘TexSliders’ by Guerrero-Viu et al., 2024), but this method is unique in that it does not need an auxiliary model.
Weaknesses: While promising, the results and comparison baselines presented are fairly minimal. FID is the only metric quality metric that is measured, which even the work itself acknowledges is a flawed metric for their purposes. The work could be made stronger by adding more perceptually aligned metrics such as LPIPS and DreamSim. Evaluating on additional dataset would also strengthen the results as it appears right now the evaluation is only done on one closed collection of images. The competitive adversarial comparison is also a bit hard to interpret without quantitative measure or a human study. Comparing column (b) and (d) of Figure 2, both Gatys and the proposed model lead to fairly noticeable artifacts that are hard to judge which are definitively worse. Finally the papers I cited in the strengths above are all missing from related work, and could be considered also as baselines to compare to.
Questions
Can the authors provide more qualitative and quantitative synthesis results? This is my main question that would address the weakness discussed earlier. The following questions are around clarification.
Why did you choose to train on texture-like patches of Imagenet rather than directly a texture dataset? Would your method still work if you trained on an actual texture dataset such as Describable Textures?
In the statistics matching approach, are you simply iteratively matching a noise seed to the representation learned by your model?
Are you able to measure any quantitative efficiency gains due your smaller representation space?
Limitations
The method is well motivated, but currently there are limited quantitative analyses (in terms of datasets and metrics). If the authors are able to address this point, I would be happy to raise my score.
Final justification
Overall, while I would have liked to see more evaluations (either a human study or bigger dataset), I feel the authors have given a reasonable explanation for why they do not do so. I will raise my score to 4.
Formatting concerns
none
3 comments
Rebuttal
Thank you for your valuable questions and suggestions! Regarding additional metrics and dataset, please see the Dataset and FID and alternative metrics sections of our rebuttal to reviewer FF1U.
Thank you for mentioning related works that we were not aware of. Both ‘Infinite Texture’ by Wang et al. (2024) and ‘TexSliders’ by Guerrero-Viu et al. (2024) use text prompts to generate or manipulate textures, rather than parameters extracted from a reference image. Therefore, they are not directly comparable to our model. 'GramStatTexNet' by DuTell et al. (2024) is a parametric texture model that can synthesize textures based on a reference image, and is comparable to our model. However, their model is much higher-dimensional than ours (30k vs 512), is designed rather than learned, and is shown to perform worse than the Gatys model in their paper (Figure 2 of openreview ICLR 2026 submission). We will add these citations in the final paper (if accepted).
Answers to your other questions:
In the statistics matching approach, are you simply iteratively matching a noise seed to the representation learned by your model?
Yes, it is a simple gradient-descent procedure. The image is initialized with noise, and is then iteratively updated (using the Adam optimizer) to minimize the loss $ \Vert f(x) - \mu \Vert^2 $. The optimization process is done by PyTorch and the image is its only learnable parameter. At the end of optimization, will match .
Are you able to measure any quantitative efficiency gains due your smaller representation space?
Low dimensionality itself can be considered as a form of efficiency in the sense that it is a more compact description, as with a good compression algorithm. If you mean computational efficiency for the generative process, we do not think dimensionality of the representation plays a significant role.
thanks for clarifications
Thank you to the authors for clarifying choices around training and evaluation datasets, evaluation metrics, architecture, and efficiency.
My concern around the source and size of the training dataset is addressed (using Imagenet crops is reasonable if existing texture datasets are too small for the scale of training your model needs). Similarly on the chosen evaluation dataset, it makes sense that for computing FID it needs many samples of a single texture family and that is easier to accomplish using a small set of very high resolution images that get cropped. If it is possible at all to quantify the diversity or other axes of quality that the authors found important when subjectively selecting the evaluation dataset, I believe this would strengthen the work.
Regarding evaluation metric and design, thank you for running LPIPS and DISTS. If the authors have the scores even for one reference texture I would be curious to see the actual numbers for real crop, P&S, Gatys, and your method in a table even if they do not meaningfully separate. Given the limitations of evaluation metrics (either not appropriately distinguishing textures as the authors report with LPIPS or FID constraining range of data can be used for evaluation), I think this work would greatly benefit from a small human study to better understand their results.
Thank you for adding ablations of architecture, clarifying my question on efficiency, and for commenting on the other baselines. I do not have additional questions on these points.
Overall, while I would have liked to see more evaluations (either a human study or bigger dataset), I feel the authors have given a reasonable explanation for why they do not do so. I will raise my score to 4.
Follow-up Response
Thank you for your reply, and for upgrading your score.
In response to your request, and that of reviewer FF1U, we have now computed numerical distances between pairs of original/synthetic textures using {LPIPS, DISTS, DreamSim}, as shown in our follow-up response to reviewer FF1U (Part 1/3). As we had previously reported, LPIPS and DISTS did not offer much distinction between original and synthetic textures (for any of the models), but we were surprised to find that DreamSim does: it considers the difference between two random crops of the original texture image to be lower than the difference between a crop and a generated image, consistent with our visual perception. The DreamSim scores provide additional quantitative support for our visual assessment that samples from our model using statistics matching are generally better than samples using diffusion and samples from the Gatys model.
Thank you also for the encouragement to run a human perceptual study to more precisely quantify the visual capabilities of our model against others. We do think this would be worthwhile, but for the current paper, we will simply increase the number (and diversity) of examples shown in the appendix so readers can assess for themselves the visual quality.
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 1/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors present a mathematical analysis and experimental model for texture representation synthesis that uses the same maximum entropy denoising objective to synthesize textures using statistical matching to target textures both though iterative optimization, as well as via diffusion. A maximum entropy model is derived mathematically, and used in practice to synthesis texture images from a curated dataset. The presented syntheses achieve good quality both qualitatively and quantitatively, doing so with a small number of parameters (512), which is substantially smaller than the Gatys model.
Strengths and weaknesses
Strengths:
- Texture representation and synthesis, especially as stimuli for psychophysics and neuroscience is an important area of study, and the authors present a novel approach to synthesizing texture images.
- The authors present a thorough mathematical exploration and derivation of denoising objective and then in turn utilize it in practice to synthesize new images.
- It is interesting demonstrating the mathematically derived objectives applied and evaluated in both statistical matching through optimization, as well as in diffusion.
- The authors show a limited number of examples that achieve comparable/better visual quality with fewer parameters than Gatys.
Weaknesses:
- The paper needs better motivation for choices of architectures, datasets, analysis. The discussion attempts to motivate the work at a very high level (applications as neuroscience stimuli), but it is unclear why most of the architectural and parameter choices were made. - In the same vein there are no ablation experiments, or even justification for model architectures or training parameters. For example the authors state that 512 is the parameter choice because 1024 did not yield better results but this is not shown or explored.
- The mathematical analysis is not well setup in particular with variables not defined explicitly (though lambda is discussed more extensively in the supplemental). This lack of context makes it difficult to follow.
- The authors claim that Gatys is SOTA for texture representation and generation (189). This is not true in 2026 especially in the context of diffusion models generally. The authors contradict themselves later stating that both Gatys and this work is not SOTA (224).
- There are strong claims in the discussion around the paper’s generality and applications in other domains such as audio, but these claims are completely unsubstantiated or explored. Such claims need to be softened, further justified, and/or proof of concept demonstrated.
- The interpolation demonstration is interesting but interpolation is well established in diffusion models and it is unclear the benefit of the ability to interpolate in this context.
- Figure 6 appears to struggle with artifacts of optimization failure that are not discussed.
Questions
- What is the motivation for a maximum entropy model over other possible models?
- Why did the authors curate their own dataset from ImageNet when there are many existing texture datasets available including DTD, ALOT, OpenSurfaces Textures, etc. Is this a need for larger scale perhaps? If the dataset is a novel contribution (which would need motivation), please evaluate the span and variability of this novel texture dataset, define a train/val/test split, and use the dataset to evaluate the model on the validation split (or a subset of it much larger >9 textures). The authors say that training is expensive (25 hours on 4x A100s), but inference (even the optimization based statistical matching) is much less expensive than this, and can be parallelized and scaled to a larger dataset than 9 images.
- Why were these architectures chosen? Please motivate these choices, and include a diagram of multi-architecture setup (decomposed UNet, ConVeXNet, Pyramid) which would be helpful in understanding the larger picture. Relatedly, the authors derive a denoising objective but what is the training objective for the two UNet and ConvNeXt-T models?
- Why do the FID scores vary so greatly between textures? Please evaluate additional metrics, especially given the discussion of FID being problematic. Consider including a small user study to evaluate human perception on the synthesized textures.
- What do the authors mean by ‘With a much smaller size (512 statistics in the current setting), our model offers the possibility of characterizing neural responses in the representation space` Is this an interpretability claim?
Limitations
Some limitations of the method are mentioned in passing but having a complete set of these listed together explicitly in the conclusion would be helpful to the reader.
Final justification
In light of the rebuttal which included a portion of the experiments requested by reviewers, I raise my score, but only to a 3 as I still do not recommend acceptance given the disconnect between the SOTA claims and the limited evaluation experiments presented in the rebuttal.
Formatting concerns
none
7 comments
Rebuttal
Thank you for your valuable questions and suggestions! We agree that some aspects of the work were not explained with sufficient clarity. We will incorporate much of the following response in the final paper (if accepted), especially the rationale for our choices of mathematical framework, network architecture and dataset.
Maximum entropy framework
We had moved much of the technical description of the maximum entropy framework to the appendices, but from your comments (and others) we realize we were too brief in the overview and motivation given in the introduction. The main idea behind this framework is: there are many densities matching a given set of statistical constraints; among these one should choose the one with highest diversity (quantified by entropy), i.e., the “maximum entropy density”. This framework is widely adopted in previous literature [Zhu et al (1998), Portilla et al (2000) and others], but all previous examples used hand-selected statistics. We believe the current paper is the first to learn the statistics from data. For this endeavor, there are two additional justifications for use of the maximum entropy framework:
- In combination with Tweedie's formula, the mathematical form of the maximum entropy model (exponential of a weighted sum of the statistics) gives us a simple prescription for the overall model architecture.
- The duality of and (as explained in Appendix A) gives us two representation spaces for textures, each having different geometry. We explored this difference in the interpolation examples (Figure 3).
The maximum entropy formalism is simple to derive, but not so intuitive on first encounter (as is also true of the Tweedie’s formula for denoising that underlies diffusion models). Consider the simplest example: Suppose is a scalar random variable, and one chooses to constrain the density using two statistics (i.e., the first and second moments). Then the maximum entropy distribution is:
The parameters and must be chosen to satisfy the constraints and . In general, cannot be written analytically as a function of , but in this case we see that the density is an exponential of a quadratic form, and thus a Gaussian distribution. So we can solve directly, giving:
Note that is the variance (second moment minus squared first moment). The mapping between and is one-to-one, and either can serve as a parametrization of the family of Gaussian distributions.
Datasets
We were unable to use existing datasets (DTD, ALOT, OpenSurfaces) as our training set for two reasons:
- Many of the images in these dataset are substantially inhomogeneous in luminance, color, orientation, scale and other features, due to perspective, lighting and inherently inhomogeneous structure (e.g. a single large vein on a leaf). Our model (as most texture models) assumes homogeneity.
- These datasets generally are not large enough (DTD: 5640 images of 47 classes; ALOT: ~27500 images of 250 classes; OpenSurfaces: 27796 texture regions contained in bigger images). Our training set contains one million homogenous image patches extracted automatically from ImageNet (Sec 2.2, and appendix D).
Our test examples are not held out images from the training set, since many ImageNet images are not of high quality (e.g. containing JPG block artifacts). Instead, for our visual examples, we used 80 custom images for evaluating sampling quality by visual inspection (12 of which are shown in Figure 1 and 5). These images are selected from a private collection according to our subjective evaluation of their homogeneity and diversity, and we believe that they cover adequate diversity for testing purposes. This selection had been done before the model was built, trained and iterated.
The nine texture images used in computing FID are required to be very high resolution with a large number of repeating units, in order to generate 10,000 different crops needed for reliable FID estimation. It is not easy to find such images.
Architecture justification and ablation study
The overall architecture, which computes the gradient of the inner product of an network and a network, is dictated by the maximum entropy framework. Importantly, the parameters in both networks are all learned by minimizing the denoising objective in equation (9). There is no other objective. We have a diagram for the model and will include it in the final paper (if accepted).
The ConvNeXt architecture of the network is relatively standard for image-to-vector mapping, but our network has a two-stream half-UNet architecture with multi-scale output, which is non-standard and (we agree) we should have provided justification. Our initial attempt was to use an identical ConvNeXt for the network, but this completely failed. We reasoned that we needed to build a network whose gradient resembles a UNet, which is known to perform well in denoising, as used in diffusion models. Specifically, a stream on the fine scale needs to pass through without downsampling. To satisfy this, we tried using the first half of a UNet architecture, computing output by taking the spatial average of each scale, which resulted in our first working model. Later we improved performance by using two identical half-UNet architectures and taking the inner product between corresponding channels along the spatial dimensions.
We have now performed ablation studies that confirm that using either a standard ConvNeXt architecture or a single-stream half-UNet for network generates significantly worse images than the current setting. We will include these in the finalized paper.
FID and alternative metrics
FID evaluates the distance between two distributions, capturing some aspect of both quality and diversity. For alternative metrics, reviewer PjLt suggests LPIPS and DreamSim. Both of these methods measure distance between two individual images, rather than between two distributions (like FID), so they are generally not good metrics for evaluating generative models, because individual generated images are not paired with individual images in the test set. Nevertheless, we computed LPIPS on crops from the nine images on which FID was computed, and find that the LPIPS distance between two crops from the same texture is indistinguishable from the LPIPS distance between a crop and an image generated by either our method or the Gatys model. This does not match our perception experience, in which two crops are more similar. This implies that LPIPS is not a good approximation for human perception of texture images. We also tested DISTS (Ding et al., 2020), another perceptual metric that is specifically optimized for textures, and find that it behaves similarly. We did not test DreamSim but believe that it will also behave similarly.
We acknowledge the utility of human psychophysics experiments, especially since existing metrics are all unsatisfactory. However, performing such experiments is well beyond the scope of this paper, and we believe the qualitative examples we’ve shown in the figures do provide an honest (i.e, not cherry-picked) depiction of the model behaviors.
Miscellaneous clarifications
- On lines 224-226, we meant to say that for other datasets that are typical in the literature (ImageNet, LSUN bedroom, CelebA, etc), the FID score of SoTA generative models is usually much lower (below 10). And then we point out that “FID scores are not directly comparable across datasets”. So this does not contradict the claim that our model is SoTA among parametric texture models.
- The purpose of performing interpolation experiments is to explore the structure of the learned representation space (see above description of two representations arising from maxEnt). We understand that there are other methods for interpolation based on diffusion models, but they serve a different purpose.
- In the paragraph starting from line 288, we point out the fact that our framework is general and not limited to images as inputs, and list several data modalities that we think are suitable for modeling with a maximum entropy framework. We do not know whether applying our framework to those modalities will be as successful, but we are optimistic. Auditory texture models based on hand-chosen statistics have been highly successful (e.g., Mcdermott et al 2013).
- On lines 286-287, we did not mean to make a claim about semantic interpretability. We intended to express the general idea that a smaller dimensionality parameterization (512 vs ~177k) is advantageous for neuroscience or perceptual experiments. For example, a very small dimensionality may enable us to characterize the tuning curve of neurons/fMRI voxels to specific dimensions. We acknowledge that we do not have a specific proposal, and that 512 dimensions may still be too big for such purposes, so we will soften our claims in this regard.
Response to Rebuttal pt1
I thank the authors for the detailed and thoughtful rebuttal. While there are some areas this improved my understanding and clarity, many aspects remain open, including several points also raised by other reviewers, and I welcome the author’s response on the following. I remain open to updating my assessment if the authors can address a portion of these.
Addressed
Mathematical Derivation The Gaussian example and the lambda/mu explanation are key improvements to the clarity of the mathematical derivation, and directly address a request by the AC as well as NmxF's and a portion of my clarity concerns. This demonstrated updates to the manuscript, and I consider the clarity of the mathematical derivation largely addressed provided it is incorporated as promised.
Architecture Rationale The rationale for the architecture with two-stream half-UNet (needing a network whose gradient resembles a UNet) is a satisfying justification that was absent from the submission, the promised figure will likely improve clarity, and satisfies this question also provided it is incorporated.
Still Open
While the authors gave responses to many of the concerns raised, the rebuttal largely responded to the evaluation concerns with argument (ie why the requested metrics and datasets are not applicable) rather than with new results. I am specifically asking for additional evaluations to substantiate the claims in the paper. Explanations of why they are difficult or may yield poor results does not address the underlying gap (this seems reasonable as I and other reviewers are asking primarily for further evaluations, not model re-training which I understand may be intractable).
New quantitative evaluations The AC asked for additional metrics and datasets; PjLt asked for more metrics, more datasets, and a quantitative basis for the adversarial comparison; NmxF asked for metrics over more classes; I asked for alternative metrics and a possible user study. Notably, PjLt stated they would raise their score if the limited quantitative analyses were addressed. The initial rebuttal adds no new dataset, LPIPS/DISTS only on the same 9 images (using them to argue against metrics rather than to evaluate the model, and not reporting the quantitative results), and declined a human study.
Metrics I remain unconvinced by the argument regarding evaluation metrics. If no automated metric adequately measures texture quality (FID and LPIPS/DISTS, flawed, DreamSim expected flawed), then the comparative claim rests entirely on subjective inspection of a hand-selected set. This is exactly when a perceptual study becomes necessary. The authors cannot argue every metric is inadequate and that the study which would address the inadequate metrics is out of scope (I understand the time frame of a perceptual study may be difficult during the rebuttal period). Even if the metrics demonstrate the model performing poorly, could the authors evaluate on all the metrics suggested by the reviewers and present this quantitative data as a table in the rebuttal?
Response part 2
Evaluation Dataset Bias Relatedly, I remain unconvinced by the dataset portion of the evaluation. The authors explain why they chose a private, hand-picked collection of highly homogeneous textures, but the fact that these images were selected before the model was developed addresses only test-set leakage, which is not my primary concern. Rather, a privately curated dataset is not reproducible (the 80-image set is not released), cannot be independently verified, and produces results that are difficult to compare against prior or future work.
More fundamentally, both the 9 FID textures and the larger qualitative collection are deliberately selected to satisfy the model's stationarity assumption by exhibiting little or no large-scale structure. Can the model simply not be evaluated on textures that violate this assumption? Even if performance degrades substantially, understanding how and where the model fails would be scientifically valuable and should be transparently explored.
This relates to multiple reviewers concerns regarding the decision not to train/evaluate on community-standard datasets such as DTD, ALOT, or OpenSurfaces. The field's standard datasets suggested by multiple reviewers contain non-homogeneous, in-the-wild textures, but these datasets are dismissed here specifically because they contain structure the model may not be able to represent. If the contribution is intended to be a general texture model, as suggested by the abstract, the broad discussion of applicability, and the manuscript's SOTA positioning (see below), then evaluation should include these more challenging textures, even if the results are poor. Conversely, if the contribution is specifically a model for stationary textures, the claims and comparisons should be scoped accordingly. As written, the paper makes broad claims while evaluating only the subset of textures most favorable to its performance.
Would the authors report qualitative and quantitative results on a standard benchmark (or even a randomly sampled subset of one), with a discussion of the model's failure modes on non-stationary textures? Even if these results are substantially worse, they would provide a much clearer characterization of the scope and limitations of the proposed method. I understand the authors may not be able to provide qualitative results as figures during the rebuttal but could include tables with quantitative results.
I also remain confused by the rationale for avoiding a held-out ImageNet evaluation (and defining a train/val/test split if the dataset is a contribution). The model is trained on ImageNet-derived patches despite JPEG artifacts, yet those same artifacts are presented as the reason not to evaluate on held-out ImageNet images. It would help to clarify whether (i) the ImageNet-derived dataset itself is intended as a contribution, (ii) why JPEG artifacts are acceptable during training but not evaluation, and (iii) whether a held-out ImageNet evaluation is impossible during the rebuttal period because the full dataset was already used for training or simply not performed.
Ablations Ablations were requested by the AC and by me, and while I appreciate the author's rebuttal reports this as incorporated, the only description of the outcome is "significantly worse images". There are no figures, numbers, or metrics describing the outcome, deferring everything to the camera-ready. Could the authors show the actual ablation results during the discussion period? I again understand authors may be unable to provide qualitative comparisons as images through the comments, but a table with some quantitative metrics describing this could substantiate the additional experiments reported.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Reply to initial metareview
Thank you for your summary of the reviews and advice for the rebuttal. We agree that we could have better explained the motivation and rationale behind many of our choices. We address listed points in your metareview in our detailed rebuttal to reviewer FF1U, including separate sections for the mathematical framework, datasets, network architecture (with new ablation experiments) and metrics. We also discuss additional references mentioned by reviewer PjLt.