arXiv:2608.27888cs.CVAug 2026

Manuscript Offprint

arXiv:2608.27888

Thread-Efficient Decoding for Neural Texture Compression

Janarbek Matai, Sho Ikeda, Lukasz Lipski, Takahiro Harada

JANARBEK MATAI, Advanced Micro Devices, Inc., USA

SHO IKEDA, Advanced Micro Devices, Inc., Japan

LUKASZ LIPSKI, Advanced Micro Devices, Inc., Poland

TAKAHIRO HARADA, Advanced Micro Devices, Inc., USA

Neural texture compression (NTC) achieves higher compression ratios than BCn formats but suffers from GPU thread divergence, which significantly reduces runtime performance. In this work, we propose a shared decoder MLP architecture — trained with a gradual decoder freezing schedule — combined with texture clustering to reduce thread divergence by 25%–52% while preserving rendering quality. We evaluate our method on over 500 textures and multiple real rendering scenes, demonstrating up to 8.48×8.48\times speedup on the Radeon RX 9070 XT GPU compared to non-shared baselines. Our key contributions include: (1) a unified shared decoder architecture that reduces divergence by grouping textures; (2) a training recipe with gradual decoder freezing that improves stability and reconstruction accuracy; (3) a semantic clustering strategy using CLIP embeddings that groups similar textures for effective decoder sharing; and (4) comprehensive performance and ablation studies validating our approach.

1 Introduction

Texture quality plays a crucial role in game graphics by adding detail that cannot be represented purely by geometry. As display resolutions have increased, demands on texture quality have grown accordingly, leading to a large memory and storage footprint for texture data. Neural texture compression (NTC) uses neural networks to compress textures and has been shown to achieve higher compression ratios than traditional analytical methods [6,7,13,15][6, 7, 13, 15].

Typical NTC models consist of two parts: an encoder for a latent representation of the texture (e.g., latent pyramids or grids) and a dedicated decoder implemented as a multi-layer perceptron (MLP). While the resulting size reduction is highly beneficial, NTC introduces new challenges for runtime implementation due to the need to query different MLP weights (tensors) during rendering [8]. Tensor operations, unlike traditional GPU arithmetic, must be executed across an entire wave rather than per lane in the GPU's SIMD unit [14]. Modern GPUs are optimized for cases where a single tensor operation or neural network is processed per wave; efficiency drops when many networks must be evaluated within the same wave due to thread divergence. This divergence can occur frequently when neural textures are evaluated in the middle of the rendering pipeline. Designing NTC inference that handles divergent threads efficiently, while remaining easy for developers to use, remains an open problem.

In this work, we propose using a shared decoder for a groups of textures in a rendering scene. The decoder is typically implemented as a multi-layer perceptron (MLP) in texture compression; we use the term “decoder” throughout the paper. Instead of using one decoder per texture set or texture, as in existing NTC methods, we use a single decoder for multiple texture sets. The extreme case is a single decoder for all textures in the scene, which completely eliminates thread divergence but reduces rendering quality, as we show later. The shared decoder approach proposed in this paper, shifts the burden from the decoder to individual encoders. In this paper, we provide a NTC model architecture with a training strategy that reduces the thread divergence significantly, and we provide theoretical and empirical performance analysis that demonstrate that our method speeds up the texture decompression by almost 5X−8X5X - 8X. We also provided empirical analysis how much it reduces the thread divergence in diverse scenarios during rendering.

The main contributions of this paper are as follows:

Matai et al.

Figure

(d)

(e)

Figure

(f)

Figure

(a)

(b)

Figure

(c)

Figure

(h)

Number of unique IDs per block

Fig. 1. Top row: Rendered original scenes for Yokohama, Bistro, and ToyShop using the default textures, middle row: Rendered scenes for Yokohama, Bistro, and ToyShop using the textures generated by Clustered network, bottom row: Heatmap of divergence maps for ToyShop scene. The right side of each graph shows the thread divergence in Baseline network, and left side shows how much improved we are getting to reduce the thread divergence using Clustered-green color indicates less divergence. ToyShop have the highest 6 on divergence values as indicated by colorbar.

• Unified (Shared) decoder ML architecture and its impact on reducing thread divergence

  • Training recipe for the shared decoder NTC model that provides stability to training which in turn resulted better accuracy and stability when share the decoder and critical for success of our method.

  • Comprehensive study of the shared decoder for more than 500 textures and real scenes, and we provided empirical study of how our method reduces thread divergence for three real scenes reconstructions. To our best of knowledge, all existing NTC work used small number of textures (usually less than 20), and we are the first to study more than 600 textures.

  • We further introduce neural network architectures that reduce the number of decoders in the scene by clustering textures into different groups. We evaluate several clustering strategies (baseline, clustered, random) and show that machine learning-based clustering achieves the best results compared to the other approaches.

  • Finally, we provide performance analysis of our method that demonstrated significant speed up, and also provided ablation study of impact of how to train shared decoder and different network sizes.

Figure 1 shows visualizations of the rendered scenes using both the original textures (default) and the textures learned based on our method (e.g., shared decoder with clustered). The top row shows scenes rendered with the original textures—these are the default textures and are not generated using neural texture compression. The middle row shows scenes rendered with textures generated by our shared decoder neural network (in this case: Clustered). The bottom row shows the visual heatmap of how much thread divergence we can reduce from baseline vs. our proposed method in this paper. As the figure illustrates, our method produces rendered scenes whose visual quality is almost indistinguishable from that of the default textures while having less thread divergence or almost 5X−8X5X - 8X faster texture compression.

The primary advantage of neural texture compression is the reduced memory footprint of textures; however, it increases runtime cost, particularly due to thread divergence. These results demonstrate that we can reduce thread divergence by sharing the decoder while still rendering scenes with nearly the same visual quality as the default textures.

Existing approach to reducing thread divergence focus on cooperative vectors (low-level optimization) [8]. All prior NTC work, however, trains neural networks on a per-texture or per-texture-set basis and does not explicitly address thread divergence. To the best of our knowledge, this is the first work to use a shared decoder approach to tackle thread divergence. Moreover, we provide comprehensive study how we share decoder among textures and studied different clustering methods such as machine-learning-based clustering. Our method is orthogonal and applicable to all existing NTC approaches, providing a clear trade-off between accuracy and reduced thread divergence. In the next sections, we define thread divergence, present our approach, and evaluate its benefits on both existing texture datasets and real scenes, and finally we present performance analysis and ablation study.