r/GraphicsProgramming • • Aug 29 '26

A different take on DLSS5, from a current graphics hardware standpoint

Post image
655 Upvotes

104 comments sorted by

View all comments

Show parent comment

23

u/gmueckl Aug 30 '26

The difference between the traditional shading and lighting approximations and AI is thst rhe former is fairly deterministic while it's almost impossible tonfigure out when and why a neural network messes up.

0

u/[deleted] Sep 02 '26

[deleted] — view deleted comment

2

u/gmueckl Sep 02 '26

I may have been a bit too imprecise in my choice of words. The computational steps taken in a machine learning algorithm can be be made to be exactly reproducible and in this sense, the output for a fixed input is deterministic. This is correct, but besides the point. The path by which an ML model arrives at a certain result is unexplainable in that the model itself is unstructured as it is simply the result of an optimization process that only enforces the approximation of the training input, but which does not lend itself to any meaningful decomposition that makes the cause of a bad output traceable. Worse, if you start with randomly initialized model parameters, you can get models that perform similarly on the the same test and validation datasets, but their parameters do not follow any common patterns once the model size is past a very low threshold.

A "traditional" rendering pipeline is built around a model of optics that is crafted in such a way that each term in the model is responsible for a very specific contribution to the final image and has a physical explanation. Thus, when the final image is in some ways unexpected or undesired, it is quite easy to trace the cause back to a very specific and well-defined property of the model.

To put it plainly; one of these methods is a black box, the other one is an extremely well defined set of extensively studied and thoroughly understood physical models and approximations.

0

u/[deleted] Sep 03 '26

[deleted] — view deleted comment

1

u/gmueckl Sep 03 '26

You just pointed out the weakness: one thing is the model. The other thing is a poorly defined, ridiculously high dimensional approximation of the model that cannot be reasoned about. 

Think about that again the next time an artist comes to you complaining e.g. about a blurry looking texture or a misbehaving specular highlight.

0

u/[deleted] Sep 03 '26

[deleted] — view deleted comment

1

u/gmueckl Sep 03 '26

With machine learning, this is too much of a binary works/doesn't work distinction with almost no middle ground  and no properly discoverable / explainable solution strategies if it doesn't. I have had too many people tell me they don't know when amd why their models break.

0

u/[deleted] Sep 03 '26

[deleted] — view deleted comment

1

u/gmueckl Sep 03 '26

This has happend in more situations than I can count, not just a single one.

0

u/[deleted] Sep 03 '26

[deleted] — view deleted comment

→ More replies

-11

u/juanchob04 Aug 30 '26

Traditional shading and lighting messes up all the time, I mean, they are not very precise in the final frame.

12

u/gmueckl Aug 30 '26

But as a developer you can precisely say why that is. That is my point. You can then use that knowledge to improve the renderer or find workarounds (e.g  rework the scene). 

With AI you have to take shots in the dark until it works. When someone retrains the model from scratch later on, all bets are off whether the artifacts and workarounds are still the same.

6

u/blackrack Aug 30 '26

Open the dictionary and search for what deterministic means

0

u/RecursiveServitor Aug 30 '26

AI is also deterministic. It's still just math running on a computer.

gmueckl was confusing deterministic and chaotic.

2

u/psioniclizard Aug 30 '26

Just being "maths" doesnt make something deterministic. For example what about the order of operations.

2

u/RecursiveServitor Aug 30 '26

What about them?