In Section 3.15 (Biasing the Current Frame) of the DLSS SDK (DLSS/doc/DLSS_Programming_Guide_Release.pdf at main · NVIDIA/DLSS · GitHub) is maybe a solution:
[…] produce a “ghost” or trail behind a moving feature. This can occur on:
- Small particles (like snow or dust particles).
- Objects that display an animated/scrolling texture.
[…] If a problematic asset is discovered during testing, one option is to instruct DLSS to bias the incoming color buffer over the colors from previous frames. To do so, create a 2D binary mask that flags the non-occluded pixels that represent the problematic asset and send it to the DLSS evaluate call as the BiasCurrentColor parameter. The DLSS model then uses an alternate technique for pixels flagged by the mask. […]
I also want to highlight that the HUD of the F/A 18 does not have any ghosting at all.