<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/richard-geldreich-s-blog-neural-block-texture-compression-trained-with-evolution-strategies-es-on-jriizucc5" -->

---
title: Richard Geldreich's Blog: Neural block texture...
description: A self-contained C++/CUDA research testbed trains neural block texture compression using Evolution Strategies (ES) instead of backpropagation or autodiff....
canonical: https://daily.dev/posts/richard-geldreich-s-blog-neural-block-texture-compression-trained-with-evolution-strategies-es-on-jriizucc5
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Richard Geldreich's Blog: Neural block texture compression trained with Evolution Strategies (ES) on GitHub | daily.dev
og:description: A self-contained C++/CUDA research testbed trains neural block texture compression using Evolution Strategies (ES) instead of backpropagation or autodiff....
og:url: https://daily.dev/posts/richard-geldreich-s-blog-neural-block-texture-compression-trained-with-evolution-strategies-es-on-jriizucc5
og:image: https://api.daily.dev/og/posts/jRIiZUcC5.png
og:image:alt: Richard Geldreich's Blog: Neural block texture compression trained with Evolution Strategies (ES) on GitHub
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Richard Geldreich's Blog: Neural block texture compression trained with Evolution Strategies (ES) on GitHub

**[Richard Geldreich's Blog](https://daily.dev/sources/richg42)** · 43 min read · 0 upvotes · 0 comments

## Summary

A self-contained C++/CUDA research testbed trains neural block texture compression using Evolution Strategies (ES) instead of backpropagation or autodiff. Textures are encoded as a shared low-resolution latent plus a tiny MLP decoder, both optimized via antithetic ES with footprint attribution for variance reduction, plus optional finite-difference polishing. The write-up documents extensive experiments: nearest-sampled block latents, in-loop deblocking, a learned per-pixel selector level chosen by exhaustive search (forming a BC-style block format), multi-channel selectors, and a GPU implementation running 20-30x faster than 32 CPU threads on an RTX 5090. Results span single images (kodim23, mario), multi-layer PBR materials, and game textures, with detailed PSNR/bitrate tables comparing configurations against formats like BC1/BC7. The code and a timestamped disclosure of the technique are published on GitHub as prior art.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://richg42.blogspot.com/2026/09/neural-block-texture-compression.html>

## Questions this post answers

### Can you train a neural texture compression decoder without backpropagation or autodiff?

Yes, an entire neural texture compression pipeline can be trained purely with Evolution Strategies and optional numerical finite differences, with no backpropagation or autodiff anywhere. A shared low-resolution latent texture plus a tiny MLP decoder are optimized this way, reaching 32.2 dB PSNR at 4.07 bpp for a 128x128x8 latent on a 512x512 crop, trained in about 150 seconds on a 32-thread CPU.

_daily.dev surfaces derivative-free training approaches like this for engineers weighing alternatives to backprop._

### How does footprint attribution reduce variance in Evolution Strategies when optimizing a large latent texture?

Each pixel's loss difference is credited only to the (up to four) latent texels its bilinear sampling footprint actually reads, rather than averaging noise across all texels affected by a single perturbation. This support-restricted attribution discards loss variation from unrelated texels, making ES practical on a 131k-value latent using only 4 antithetic pairs per training step instead of requiring far more samples.

_daily.dev helps engineers exploring gradient-free optimization tricks like footprint attribution stay current._

### How much does a learned per-pixel selector level improve neural block texture compression compared to a plain block latent?

Adding a per-pixel B-bit selector level chosen by exhaustive search on top of a 128x128x4 block latent raises quality from 26.63 dB at 2.10 bpp (block latent alone) to 30.76 dB at 4.11 bpp with 2-bit selectors, and 33.69 dB at 6.11 bpp with 4-bit selectors, measured on the mario test texture with 8-bit block latent quantization.

_daily.dev keeps graphics engineers evaluating new texture compression formats up to date on results like these._

## Similar posts on daily.dev

- [Richard Geldreich's Blog: Mirror of neural texture compression trained with Evolution Strategies](https://daily.dev/posts/richard-geldreich-s-blog-mirror-of-neural-texture-compression-trained-with-evolution-strategies-htyl7imxo) · Richard Geldreich's Blog · 0 upvotes · 0 comments
- [Richard Geldreich's Blog: Neural GPU block compression](https://daily.dev/posts/richard-geldreich-s-blog-neural-gpu-block-compression-fucycmmwl) · Richard Geldreich's Blog · 0 upvotes · 0 comments
- [Richard Geldreich's Blog: Fitting a neural texture decoder with ES \(no backprop\)](https://daily.dev/posts/richard-geldreich-s-blog-fitting-a-neural-texture-decoder-with-es-no-backprop--wvfyfjz5v) · Richard Geldreich's Blog · 0 upvotes · 0 comments
- [Richard Geldreich's Blog: Neural block texture compression with CUDA](https://daily.dev/posts/richard-geldreich-s-blog-neural-block-texture-compression-with-cuda-9ng8tfvtk) · Richard Geldreich's Blog · 0 upvotes · 0 comments
- [Richard Geldreich's Blog: Fitting Neural Textures and PBR Material Maps with ES \(No Backprop\)](https://daily.dev/posts/richard-geldreich-s-blog-fitting-neural-textures-and-pbr-material-maps-with-es-no-backprop--fwgn8stlt) · Richard Geldreich's Blog · 0 upvotes · 0 comments

---

Tags: [#neural-networks](https://daily.dev/tags/neural-networks), [#graphics-programming](https://daily.dev/tags/graphics-programming), [#cuda](https://daily.dev/tags/cuda)

[View this post on daily.dev](https://daily.dev/posts/richard-geldreich-s-blog-neural-block-texture-compression-trained-with-evolution-strategies-es-on-jriizucc5)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Richard Geldreich's Blog: Neural block texture compression trained with Evolution Strategies (ES) on GitHub","url":"https://daily.dev/posts/richard-geldreich-s-blog-neural-block-texture-compression-trained-with-evolution-strategies-es-on-jriizucc5","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/richard-geldreich-s-blog-neural-block-texture-compression-trained-with-evolution-strategies-es-on-jriizucc5"},"datePublished":"2026-09-05T19:50:08.780Z","dateModified":"2026-09-05T19:50:37.018Z","description":"A self-contained C++/CUDA research testbed trains neural block texture compression using Evolution Strategies (ES) instead of backpropagation or autodiff....","image":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","thumbnailUrl":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","isAccessibleForFree":true,"articleSection":"Richard Geldreich's Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Richard Geldreich's Blog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/c17544cee7eb4611a3d752231aaceeb1","url":"https://daily.dev/sources/richg42"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/richard-geldreich-s-blog-neural-block-texture-compression-trained-with-evolution-strategies-es-on-jriizucc5","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"neural-networks,graphics-programming,cuda","timeRequired":"PT43M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Richard Geldreich's Blog","item":"https://daily.dev/sources/richg42"},{"@type":"ListItem","position":3,"name":"Richard Geldreich's Blog: Neural block texture compression trained with Evolution Strategies (ES) on GitHub"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/richard-geldreich-s-blog-neural-block-texture-compression-trained-with-evolution-strategies-es-on-jriizucc5#faq","mainEntity":[{"@type":"Question","name":"Can you train a neural texture compression decoder without backpropagation or autodiff?","acceptedAnswer":{"@type":"Answer","text":"Yes, an entire neural texture compression pipeline can be trained purely with Evolution Strategies and optional numerical finite differences, with no backpropagation or autodiff anywhere. A shared low-resolution latent texture plus a tiny MLP decoder are optimized this way, reaching 32.2 dB PSNR at 4.07 bpp for a 128x128x8 latent on a 512x512 crop, trained in about 150 seconds on a 32-thread CPU. daily.dev surfaces derivative-free training approaches like this for engineers weighing alternatives to backprop."}},{"@type":"Question","name":"How does footprint attribution reduce variance in Evolution Strategies when optimizing a large latent texture?","acceptedAnswer":{"@type":"Answer","text":"Each pixel's loss difference is credited only to the (up to four) latent texels its bilinear sampling footprint actually reads, rather than averaging noise across all texels affected by a single perturbation. This support-restricted attribution discards loss variation from unrelated texels, making ES practical on a 131k-value latent using only 4 antithetic pairs per training step instead of requiring far more samples. daily.dev helps engineers exploring gradient-free optimization tricks like footprint attribution stay current."}},{"@type":"Question","name":"How much does a learned per-pixel selector level improve neural block texture compression compared to a plain block latent?","acceptedAnswer":{"@type":"Answer","text":"Adding a per-pixel B-bit selector level chosen by exhaustive search on top of a 128x128x4 block latent raises quality from 26.63 dB at 2.10 bpp (block latent alone) to 30.76 dB at 4.11 bpp with 2-bit selectors, and 33.69 dB at 6.11 bpp with 4-bit selectors, measured on the mario test texture with 8-bit block latent quantization. daily.dev keeps graphics engineers evaluating new texture compression formats up to date on results like these."}}]}
```

