吉林大学学报(理学版) ›› 2026, Vol. 64 ›› Issue (5): 1047-1055.

• • 上一篇    下一篇

 基于神经网络的实时光线追踪降噪

李若泓, 王欣   

  1. 吉林大学 计算机科学与技术学院, 长春 130012
  • 收稿日期:2025-04-23 出版日期:2026-09-26 发布日期:2026-09-26
  • 通讯作者: 王欣 E-mail:w_x@jlu.edu.cn

Real-Time Ray Tracing Denoising Based on Neural Networks

Li Ruohong, Wang Xin   

  1. College of Computer Science and Technology, Jilin University, Changchun 130012, China
  • Received:2025-04-23 Online:2026-09-26 Published:2026-09-26

摘要: 针对现有计算机硬件只支持低采样数的实时光线追踪, Monte Carlo积分在低采样样本情况下噪声明显的问题, 使用神经网络技术, 并权衡其质量和性能, 解决低采样数下的Monte Carlo光线追踪噪声问题. 首先, 通过多尺度空洞卷积模块, 融合图像局部特征细节及全局信息, 在有限参数量下提升降噪质量; 其次, 引入时域的交叉注意力模块, 提升神经网络对时域信息的复用能力, 充分利用已降噪的历史帧, 进一步提升图像当前帧的降噪质量和效率; 最后, 通过组合损失函数进一步增强网络对图像细节特征的提取能力, 以及时域信息的稳定性和复用能力. 在公开数据集BMFR上进行训练和验证的结果表明, 该方法与目前的先进方法相比, 在结构相似性(SSIM)性能保持相当的情况下, 峰值信噪比(PSNR)平均提升3.7%, 均方根误差(RMSE)平均降低23.5%, 且运行时间满足实时性能.

关键词: Monte Carlo光线追踪, 神经网络, 实时光线追踪降噪, 核预测网络

Abstract: Monte Carlo-based ray tracing has been widely adopted in photorealistic rendering due to its physical accuracy, flexibility, and universa
lity. However, existing hardware limitations restrict real-time implementations to low sample-per-pixel rates, where Monte Carlo integration exhibits significant noise under sparse sampling conditions. This paper employs neural network techniques to address the trade-off between quality and performance, effectively resolving noise issues in Monte Carlo ray tracing with low sample counts. The proposed framework incorporates three core innovations: a multi-scale dilated convolution module that  enhances denoising quality by fusing local feature details with global contextual information with minimal parameter overhead; a temporal cross-attention mechanism that improves temporal coherence by adaptively reusing denoised historical frames; and a composite loss function combining reconstruction and temporal consistency terms to strengthen detail preservation and stability. Evaluated on the BMFR benchmark dataset, our method achieved an average 3.7% improvement in peak signal-to-noise ratio (PSNR) and a 23.5% reduction in root mean squared error (RMSE) compared to state-of-the-art approaches while maintaining comparable structure similarity index measure (SSIM) performance. The inference time meets real-time requirements.

Key words: Monte Carlo ray tracing, neural network, real-time ray tracing denoising, kernel prediction network

中图分类号: 

  • TP183