Deep learning anti-aliasing

From HandWiki
Short description: Computer Graphics Anti-Aliasing Algorithm

Deep learning anti-aliasing (DLAA) is a form of spatial anti-aliasing created by Nvidia.[1] DLAA depends on and requires Tensor Cores available in Nvidia RTX cards.[1]

DLAA is similar to deep learning super sampling (DLSS) in its anti-aliasing method,[2] with one important differentiation being that DLSS's goal is to increase performance at the cost of image quality,[3] where the main priority of DLAA is improving image quality at the cost of performance, irrelevant of resolution upscaling or downscaling. DLAA is similar to temporal anti-aliasing (TAA) in that they're both spatial anti-aliasing solutions relying on past frame data.[3][4] Compared to TAA, DLAA is substantially better when it comes to shimmering, flickering, and handling small meshes like wires.[5]

DLAA collects game rendering data such as raw low-resolution input, motion vectors, depth buffers, and exposure / brightness information. This Information is then used by DLAA to improve upon its anti-aliasing, with the aim of reducing temporal instability.

Differences between TAA and DLAA

TAA is used in many modern video games and game engines,[6] however all previous implementations have used some form of manually written heuristics to prevent temporal artifacts such as ghosting and flickering. One example of this is neighborhood clamping which forcefully prevents samples collected in previous frames from deviating too much compared to nearby pixels in newer frames. This helps to identify and fix many temporal artifacts, but deliberately removing fine details in this way is analogous to applying a blur filter, and thus the final image can appear blurry when using this method.[7]

DLAA uses a convolutional auto-encoder neural network[8] trained to identify and fix temporal artifacts, instead of manually programmed heuristics as mentioned above. Because of this, DLAA can generally resolve detail better than other TAA and TAAU implementations, while also removing most temporal artifacts.

Differences between DLSS and DLAA

DLSS handles upscaling with a focus on performance, DLAA handles anti-aliasing with a focus on visual quality. DLAA runs at the given screen resolution with no upscaling or downscaling functionality.

DLSS and DLAA share the same AI-driven anti-aliasing method.[9] As such, DLAA functions like DLSS without the upscaling part. Both are made by Nvidia and require Tensor Cores.

See also

References

  1. 1.0 1.1 Kostovic, Aleksandar (2021-09-20). "Nvidia Readies Deep Learning Anti-Aliasing Debut with The Elder Scrolls Online Update". https://www.tomshardware.com/news/nvidia-brings-dlaa-technology-to-the-elder-scrolls-online. 
  2. Hruska, Joel (2021-09-21). "Nvidia’s DLAA Could Be a Huge Step Forward for Anti-Aliasing". https://www.extremetech.com/gaming/327256-nvidias-dlaa-could-be-a-huge-step-forward-for-anti-aliasing. 
  3. 3.0 3.1 Liu, Edward (2020-03-23). "DLSS 2.0 – Image Reconstruction for Real-Time Rendering With Deep Learning". http://behindthepixels.io/assets/files/DLSS2.0.pdf. 
  4. Yang, Lei; Liu, Shiqiu; Salvi, Marco. "A Survey of Temporal Antialiasing Techniques". Computer Graphics Forum 39 (2): 607–621. doi:10.1111/cgf.14018. http://behindthepixels.io/assets/files/TemporalAA.pdf. 
  5. De Meo, Francesco (2021-09-23). "The Elder Scrolls Online DLAA vs DLSS vs TAA Comparison Video Highlights DLAA Superior Image Quality". https://wccftech.com/the-elder-scrolls-online-dlaa-vs-dlss-vs-taa/. 
  6. Karis, Brian. "High Quality Temporal Supersamplin". https://de45xmedrsdbp.cloudfront.net/Resources/files/TemporalAA_small-59732822.pdf. 
  7. "GTC 2020: DLSS 2.0 - Image Reconstruction for Real-time Rendering with Deep Learning" (in en). 2020-06-09. https://developer.nvidia.com/gtc/2020/video/s22698-vid. 
  8. "NVIDIA DLSS 2.0: A Big Leap In AI Rendering" (in en-us). https://www.nvidia.com/en-us/geforce/news/nvidia-dlss-2-0-a-big-leap-in-ai-rendering/. 
  9. Archer, James (2022-06-27). "Nvidia DLAA: How it works, supported games and performance vs DLSS" (in en). Rock, Paper, Shotgun. https://www.rockpapershotgun.com/nvidia-dlaa-how-it-works-supported-games-and-performance-vs-dlss.