Nvidia Uses Neural Network for Innovative Texture Compression Method

Nvidia
(Image credit: Nvidia)
13

Nvidia this week introduced its new texture compression method that provides four times higher resolution than traditional Block Truncation Coding (BTC, BC) methods while having similar storage requirements. The core concept of the proposed approach is to compress multiple material textures and their mipmap chains collectively and then decompress them using a neural network that is trained for a particular pattern it decompresses. In theory, the method can even impact future GPU architectures. Yet, for now the method has limitations.

(Image credit: Nvidia)
Anton Shilov
Contributing Writer

Anton Shilov is a contributing writer at Tom’s Hardware. Over the past couple of decades, he has covered everything from CPUs and GPUs to supercomputers and from modern process technologies and latest fab tools to high-tech industry trends.

  • hotaru.hino
    I'm imagining the holy grail of this would be just have the AI procedurally generate a texture.
    Reply
  • TerryLaze
    The gta trilogy remaster was done with AI and it was the terriblestest thing ever.
    Reply
  • From the blog post, it appears that NVIDIA’s algorithm is representing these in three dimensions, tensors like a 3-D matrix . But the only thing that NTC assumes is that each texture has the same size which can be a drawback of this method if not implemented properly.

    That's why the render time is actually higher than BC, and also visual degradation at low bitrates. All the maps need to be the same size before compression, which is bound to complicate workflows, and algorithm's speed.

    But i's an interesting concept nonetheless. NTC seems to employ matrix multiplication techniques, which at least makes it more feasible and versatile due to reduced disk and/or memory limitations.

    And with GPU manufacturers being strict with VRAM even on the newest mainstream/mid-range GPUs, the load is now on software engineers to find a way to squeeze more from the hardware available today. Maybe we can see this as more feasible after 2 or 3 more generations.

    Kind of reminds me of PyTorch implementation.
    Reply
  • hotaru251
    tl;dr NVIDIA wants industry to move towards its specific tech part of market.

    Metal Messiah. said:
    with GPU manufacturers being strict with VRAM even on the newest mainstream/mid-range GPUs,
    only really true of Nvidia. (i mean they gave 60 tier mroe than their 70 tier last gen wand that made completely no sense)

    AMD's been pretty generous with vram on their gpu's.
    Reply
  • hotaru.hino
    hotaru251 said:
    tl;dr NVIDIA wants industry to move towards its specific tech part of market.
    If it does a significantly better job than anything else, then the industry will move to it anyway, licensing fees be damned.
    Reply
  • Sleepy_Hollowed
    While cool, I don't see this being money or time spent by game devs, unless nvidia or someone takes it upon themselves to make it transparent to the developers without causing any issues.
    The schedules for games are already insane, and some huge budget titles either get pushed back a lot, or worse, get released with a lot of issues on different systems (cyberpunk anyone?), so I don't see this being adopted until it's mature or nvidia is willing to bleed money to make it a monopoly, which is always possible.
    Reply
  • derekullo
    hotaru.hino said:
    I'm imagining the holy grail of this would be just have the AI procedurally generate a texture.
    That sounds nice, but the phrase a picture is worth a 1000 words works against us here.

    Without a very specific set of parameters for the AI to follow everyone would get a different texture.

    I can type 99 red balloons into Stable diffusion and get 99 different sets of 99 red balloons, each one slightly different from the last.
    Reply
  • hotaru.hino
    derekullo said:
    That sounds nice, but the phrase a picture is worth a 1000 words works against us here.

    Without a very specific set of parameters for the AI to follow everyone would get a different texture.

    I can type 99 red balloons into Stable diffusion and get 99 different sets of 99 red balloons, each one slightly different from the last.
    And that would be fine for certain things where randomness is expected, like say tree bark, grass, ground clutter, dirt or other general messiness.
    Reply
  • bit_user
    Meanwhile, texturing techniques have not really advanced at a similar pace mostly because texture compression methods essentially remained the same as in the late 1990s, which is why in some cases many objects look blurry in close proximity.
    LOL, wut? Were they even doing texture compression, in the late '90s? If so, whatever they did sure wasn't sophisticated.

    Since then, I think the most advanced method is ASTC, which was only introduced about 10 years ago.

    More to the point, programmable shaders were supposed to solve the problem of blurry textures! I know they can't be used in 100% of cases, but c'mon guys!

    Nvidia claims that NTC textures are decompressed using matrix-multiplication hardware such as tensor cores operating in a SIMD-cooperative manner, which means that the new technology does not require any special purpose hardware and can be used on virtually all modern Nvidia GPUs.
    Uh, well you can implement conventional texture compression using shaders, but it's not very fast or efficient. That's the reason to bake it into the hardware!

    in complex scenes using a fully-featured renderer, the cost of NTC can be partially offset by the simultaneous execution of other tasks
    It's still going to burn power and compete for certain resources. There's no free lunch, here.

    I think they're onto something, but it needs a few more iterations of development and refinement.
    Reply
  • bit_user
    hotaru.hino said:
    I'm imagining the holy grail of this would be just have the AI procedurally generate a texture.
    I joked about this with some co-workers, like 25 years ago. Recently, people have started using neural networks for in-painting, which probably means you might also be able to use it for extrapolation!

    hotaru251 said:
    tl;dr NVIDIA wants industry to move towards its specific tech part of market.
    AI is _really_ good at optimizing, though. I think they're onto something.

    Also, texture compression has been key for mobile gaming, where memory capacity and bandwidth are at a premium. Any improvements in this tech can potentially benefit those on low-end hardware, the most.
    Reply