GramStatTexNet: Efficient, Interpretable, and Neuro-Inspired Texture Analysis-by-Synthesis
Organizations: MIT CSAIL · UC Berkeley · Spectacular Labs · NVIDIA
Abstract
Deep networks achieve high realism in texture synthesis but often rely on opaque, over-parameterized representations that have limited direct connection to biological vision. Neuroscience-informed pyramid models are interpretable, compact, and biologically inspired, but rely on small, hand-curated statistics sets that are difficult to generalize or extend. We introduce GramStatTexNet, a hybrid analysis-by-synthesis framework that combines the multi-scale Gabor filter structure of classical models with the flexibility of Gramian-based correlations, organized into structured filter families. This structured representation enables analyses that are challenging for deep-feature methods: each statistic carries a named filter-family identity, allowing us to decompose synthesis fidelity into per-family contributions and to learn an interpretable, low-dimensional embedding that preserves perceptual texture content. We compare our framework to classical and deep texture-synthesis baselines across diverse texture categories, and on multiple perceptual metrics, highlighting the compactness and interpretability advantages of this hybrid representation, alongside competitive synthesis quality. This same framework extends naturally to peripheral textures via spatial pooling, and to dynamic textures using a spatiotemporal filter bank. GramStatTexNet provides a unified, interpretable framework for analyzing and modeling visual information with natural extensions across space, time, and eccentricity. Project page: https://vdutell.github.io/gstn
Figures & tables
| Name | Code | Shared | Varies | Correlations | # |
| Non-sub-band | |||||
| Marginal † | marginal | – | – | Per-color pixel mean, variance, std (appended) | 9 |
| Highpass † | highpass | – | – | Highpass residuals across three color channels | 6 |
| Lowpass † | lowpass | – | – | Two lowpass channels differing in S, C, both, or neither | 231 |
| Non-oriented band | pass_multi | – | – | Highpass or lowpass statistic with any sub-band channel | 5,247 |
| Sub-band | |||||
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Texture | DISTS | LPIPS | DrmSim | FSIM | SSIM | VIF | GMSD | HaarPSI | PSD-L2 |
|---|---|---|---|---|---|---|---|---|---|
| pleated_0136 | 0.231 0.005 | 0.332 0.005 | 0.086 0.018 | 0.639 0.004 | 0.078 0.019 | 0.032 0.003 | 0.263 0.001 | 0.434 0.003 | 1.481 0.009 |
| cracked_0056 | 0.243 0.008 | 0.587 0.010 | 0.317 0.024 | 0.615 0.005 | 0.098 0.005 | 0.007 0.001 | 0.251 0.004 | 0.374 0.008 | 1.740 0.006 |
| striped_0050 | 0.246 0.020 | 0.633 0.099 | 0.215 0.028 | 0.663 0.032 | 0.171 0.031 | 0.021 0.005 | 0.240 0.012 | 0.314 0.033 | 1.386 0.025 |
| fibrous_0112 | 0.269 0.008 | 0.524 0.005 | 0.167 0.002 | 0.698 0.002 | 0.102 0.008 | 0.009 0.001 | 0.208 0.001 | 0.439 0.002 | 1.677 0.003 |
| bumpy_0077 | 0.283 0.008 | 0.568 0.012 | 0.282 0.024 | 0.669 0.010 | 0.061 0.011 | 0.009 0.002 | 0.231 0.006 | 0.377 0.013 | 1.709 0.005 |
| lacelike_0004 | 0.307 0.005 | 0.513 0.008 | 0.252 0.009 | 0.620 0.007 | 0.015 0.008 | 0.005 0.001 | 0.254 0.004 | 0.382 0.006 | 1.766 0.002 |
| Method | # Stats | DISTS | LPIPS | DrmSim | FSIM | SSIM | VIF | GMSD | HaarPSI | PSD-L2 |
|---|---|---|---|---|---|---|---|---|---|---|
| GSTN-zpad | 28,929 | 0.29 (0.28) | 0.53 (0.54) | 0.22 (0.23) | 0.63 ( 0.64 ) | 0.12 (0.10) | 0.02 ( 0.02 ) | 0.24 ( 0.25 ) | 0.38 ( 0.37 ) | 1.88 (1.81) |
| GSTN-wrap | 28,929 | 0.34 (0.32) | 0.60 (0.60) | 0.26 (0.27) | 0.61 (0.61) | 0.08 (0.07) | 0.01 (0.01) | 0.25 (0.26) | 0.34 (0.34) | 1.95 (1.87) |
| P&S [ 43 ] | 8,400 | 0.36 (0.35) | 0.63 (0.63) | 0.30 (0.31) | 0.62 (0.62) | 0.08 (0.07) | 0.01 (0.01) | 0.26 (0.26) | 0.34 (0.35) | 1.83 (1.82) |
| Ustyuzh. [ 56 ] | 524,800 | 0.25 (0.25) | 0.49 (0.52) | 0.15 ( 0.16 ) | 0.63 (0.62) | 0.15 (0.10) | 0.03 (0.01) | 0.25 (0.26) | 0.38 (0.35) | 1.57 ( 1.60 ) |
| Gatys [ 22 ] | 852k | 0.21 ( 0.20 ) | 0.51 ( 0.51 ) | 0.15 ( 0.16 ) | 0.59 (0.60) | 0.05 (0.04) | 0.01 (0.01) | 0.26 (0.26) | 0.33 (0.34) | 2.05 (1.96) |
| NCA [ 36 ] | 588 | 0.41 (0.39) | 0.64 (0.63) | 0.39 (0.35) | 0.53 (0.55) | 0.15 ( 0.14 ) | 0.02 ( 0.02 ) | 0.30 (0.29) | 0.28 (0.30) | 3.00 (3.04) |
| Method | Statistic size (reduced) | Inference ms/eval | Synthesis / image (non-parallel) | Peak GPU memory | Parallelizable? |
| GSTN-zpad (Prodigy) | 28,929 (10k) | 13.9 | 4.6 min | 0.37 GB | yes (GPU batch) |
| GSTN-wrap (Prodigy) | 28,929 (10k) | 13.3 | 4.4 min | 0.30 GB | yes (GPU batch) |
| GSTN-zpad (L-BFGS) | 28,929 (10k) | 17.9 | 3.7 min | 0.53 GB | no (L-BFGS) |
| GSTN-wrap (L-BFGS) | 28,929 (10k) | 16.5 | 2.2 min | 0.46 GB | no (L-BFGS) |
| P&S | 8k | 700 | 34.8 s | n/a (CPU) | yes (MATLAB) |
| Ustyuzhaninov | 525k | 114.4 | 8.3 min | 1.42 GB | no (L-BFGS) |
| Resolution | Image size ( ) | Values per stat. | DISTS | LPIPS | FSIM | GMSD | HaarPSI | VIF | Wall-clock / synthesis |
|---|---|---|---|---|---|---|---|---|---|
| 768 | 0.027 | 0.101 | 0.093 | 0.851 | 0.101 | 0.747 | n/a | 96 s | |
| 3,072 | 0.106 | 0.165 | 0.213 | 0.770 | 0.136 | 0.627 | n/a | 103 s | |
| 12,288 | 0.425 | 0.212 | 0.322 | 0.719 | 0.199 | 0.526 | 0.049 | 154 s | |
| 49,152 | 1.699 | 0.305 | 0.483 | 0.629 | 0.232 | 0.401 | 0.021 | 248 s | |
| 196,608 | 6.796 | 0.356 | 0.578 | 0.581 | 0.253 | 0.328 | 0.015 | 313 s | |
| 786,432 | 27.185 | 0.321 | 0.603 | 0.579 | 0.282 | 0.270 | 0.016 | 670 s |
| Group | Cross (varies) | Same (fixed) | #Stats | |
| Special families | ||||
| AUTO | Auto-correlations (Gram diagonal) | 1,212 | ||
| LPS | Spatial low-pass correlations | 7,233 | ||
| LPT | Temporal low-pass correlations | 7,233 | ||
| One attribute varies | ||||
| C | color | orientation, spatial, temporal, phase | 1,200 | |
| Video | Method | LP-A | LP-V | DISTS | SSIM | FID | CMMD | MSE | PSNR | Spec | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| grass | GSTN | 0.287 | 0.463 | 0.318 | 0.016 | 160 | 2.030 | 0.045 | 13.4 | 0.196 | 0.057 | 8.7 |
| DyNCA | 0.124 | 0.281 | 0.205 | 0.054 | 75 | 0.664 | 0.046 | 13.4 | 0.786 | 0.013 | 20.2 | |
| fire | GSTN | 0.557 | 0.602 | 0.347 | 0.398 | 120 | 2.156 | 0.014 | 18.7 | 0.152 | 0.117 | 8.2 |
| DyNCA | 0.140 | 0.334 | 0.182 | 0.356 | 31 | 1.696 | 0.013 | 18.8 | 0.902 | 0.090 | 3.9 | |
| fence | GSTN | 0.265 | 0.548 | 0.360 | 0.047 | 378 | 3.737 | 0.054 | 12.7 | 0.253 | 0.043 | 18.1 |
| DyNCA | 0.152 | 0.309 | 0.187 | 0.044 | 174 | 1.609 | 0.052 | 12.8 | 0.453 | 0.034 | 21.0 |
Texture Synthesis
Texture synthesis creates and edits realistic visual patterns and surface materials, from image patches to coherent, view-consistent 3D assets.
See all 36 papers