Soft Anisotropic Diagrams for Differentiable Image Representation

Laki Iinbor, Zhiyang Dou, Wojciech MatusikarXiv 2026

TL;DR

Soft Anisotropic Diagrams (SAD) introduce a novel way to represent images using a learnable, soft Voronoi partition instead of overlapping Gaussian kernels or implicit neural networks. By restricting pixel rendering to a localized, efficiently propagated top-$K$ subset of geometric "sites," SAD achieves a massive 4–19× end-to-end training speedup over state-of-the-art methods while delivering superior reconstruction quality and sharp, content-aligned boundaries.

What Problem Does This Paper Address?

In coordinate-based computer vision, representing an image efficiently and differentiably is a balancing act.

Implicit Neural Representations (INRs), like Instant-NGP, are highly flexible but lack explicit spatial structure, making localized editing or direct budget control difficult. On the flip side, explicit splatting methods (like Image-GS) use overlapping 2D Gaussian kernels. While splatting offers explicit structure, the kernel overlap blurs boundaries and creates massive computational bottlenecks on the GPU due to sorting pipelines and heavy atomic contention during backpropagation.

The authors address this gap by proposing a representation that provides explicit spatial ownership and sharp boundaries without the overhead of kernel sorting or global acceleration structures.

Methods

SAD replaces kernel overlap with a learnable, soft partition of the 2D image plane based on an additively weighted anisotropic Voronoi construction (also known as an Apollonius diagram).

[Input Image] ➔ [Gradient-Weighted Initialization] ➔ [Top-K Propagation (JFA)] ➔ [Softmax Blend Rendering] ➔ [Loss & Localized Optimization]

Key technical components include:

  • Site Representation: The image is parameterized by $N$ adaptive "sites." Each site possesses a position, color, an anisotropic metric (controlling directional stretch and orientation), an additive radius (defining its zone of influence), and a learnable temperature parameter ($\tau$).
  • Soft Apollonius Rendering: Instead of a hard nearest-neighbor assignment, pixel colors are computed via a temperature-controlled softmax blend over a small, localized top-$K$ subset ($K=8$) of competitive sites. The learnable temperature allows boundaries to transition smoothly from soft to razor-sharp during optimization.
  • Top-$K$ Propagation Algorithm: Evaluating all $N$ sites for every pixel is too expensive. SAD maintains per-pixel top-$K$ lists using a GPU-friendly scheme inspired by the Jump Flooding Algorithm (JFA). It combines temporal reuse, spatial propagation from immediate neighbors, and random global probing to ensure coverage without expensive global sorting.
  • Tiled Threadgroup Hash Reduction: To eliminate the global atomic contention that plagues backpropagation in splatting methods, the authors implement a localized hash table within the GPU threadgroup memory to accumulate gradients before flushing them to global memory.

Datasets

The authors evaluated SAD against standard benchmarks in the differentiable imaging space:

  • Image-GS Benchmark: A dataset consisting of 45 images used to evaluate rate-distortion performance.
  • Kodak Dataset: 24 lossless true-color images used to benchmark reconstruction quality against encoding time.
  • DIV2K Validation Set: 100 high-resolution images used to test variable resolution and bitrate performance.
  • CLIC Validation Set: 41 images used for further cross-validation of compression performance.

No new datasets were introduced in this paper.

Key Insights and Ideas

  • Soft-to-Sharp Transitions: By treating the Voronoi partition as a soft relaxation that sharpens via learnable per-site temperatures, the optimization pipeline can utilize dense, informative gradients early on, eventually locking into crisp, content-aligned edges.
  • Locality as a GPU First-Class Citizen: Restricting computation to a fixed-size top-$K$ neighborhood turns a potentially unbounded global search into a highly regular, bandwidth-efficient local operation.
  • Hardware-Software Co-Design: The paper demonstrates that representation choices dictate hardware efficiency. Eliminating kernel overlap allows the use of tiled threadgroup reductions, bypassing the atomic memory bottlenecks that slow down alternative splatting methods.

Key Results

  • Substantial Speedups: On the Kodak dataset with 50,000 primitives, SAD achieved 46.00 dB PSNR in just 2.2 seconds, compared to 28 seconds for Image-GS (a ~13× speedup) and 8.2 seconds for Instant-NGP.
  • Superior Rate-Distortion: At matched bitrates, SAD consistently outperformed baselines, showing a +2.55–3.29 dB gain over Image-GS on its own benchmark.
  • Downstream Versatility: Because SAD provides explicit spatial ownership and adjacency graphs, it can easily enforce hard constraints. The authors demonstrated this by using SAD to solve 2D Poisson partial differential equations (PDEs) on irregular domains simply by freezing boundary sites.

Limitations and Future Work

  • Top-$K$ Dependency: The quality of the representation relies heavily on maintaining accurate top-$K$ candidate lists. If parameters change too abruptly or during aggressive pruning phases, stale lists can degrade image quality.
  • Resolution Changes: While rendering from a cached top-$K$ list is incredibly fast, changing the rendering resolution requires rebuilding or heavily refreshing the candidate map, which can dominate end-to-end render times.
  • Fine Textures: Highly stochastic or irregular natural microtextures can still cause visible oversmoothing unless granted a significantly larger site budget.
  • Future Directions: The authors point toward exploring hierarchical candidate maintenance, richer per-site appearance models (beyond constant colors), and extending the soft anisotropic diagram framework into 3D volumes and surfaces.

Summary updated

Abstract

We introduce Soft Anisotropic Diagrams (SAD), an explicit and differentiable image representation parameterized by a set of adaptive sites in the image plane. In SAD, each site specifies an anisotropic metric and an additively weighted distance score, and we compute pixel colors as a softmax blend over a small per-pixel top-K subset of sites. We induce a soft anisotropic additively weighted Voronoi partition (i.e., an Apollonius diagram) with learnable per-site temperatures, preserving informative gradients while allowing clear, content-aligned boundaries and explicit ownership. Such a formulation enables efficient rendering by maintaining a per-query top-K map that approximates nearest neighbors under the same shading score, allowing GPU-friendly, fixed-size local computation. We update this list using our top-K propagation scheme inspired by jump flooding, augmented with stochastic injection to provide probabilistic global coverage. Training follows a GPU-first pipeline with gradient-weighted initialization, Adam optimization, and adaptive budget control through densification and pruning. Across standard benchmarks, SAD consistently outperforms Image-GS and Instant-NGP at matched bitrate. On Kodak, SAD reaches 46.0 dB PSNR with 2.2 s encoding time (vs. 28 s for Image-GS), and delivers 4-19 times end-to-end training speedups over state-of-the-art baselines. We demonstrate the effectiveness of SAD by showcasing the seamless integration with differentiable pipelines for forward and inverse problems, efficiency of fast random access, and compact storage.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
KodakImage-GSPSNR36.90 dBbpp=approximately 16.0 · primitives=50000
Source quote
L559: Image-GS~\cite{imagegs2025}^\dagger │ 36.90 │ 0.9521 │ 0.0272 │ 28
BibTeX
@misc{iinbor2026soft,
  author = {Laki Iinbor and Zhiyang Dou and Wojciech Matusik},
  title = {{Soft Anisotropic Diagrams for Differentiable Image Representation}},
  year = {2026},
  eprint = {2604.21984},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.21984},
}
Figure