arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.25178cs.CV
收藏

通过XGBoost驱动的查找表实现轻量级实时渲染参数优化

Lightweight Real-Time Rendering Parameter Optimization via XGBoost-Driven Lookup Tables

School of Software, Polytechnic University of Turin(都灵理工学院软件学院)

Baijun Tan, Francesco Moretti

AI总结:

本文提出LUT-Opt框架,通过XGBoost回归器和查找表实现轻量级实时渲染参数优化,有效平衡渲染质量和性能,减少40%次表面散射渲染时间及70%环境光遮蔽渲染时间,仅导致2%图像质量损失。

摘要:

在现代游戏和渲染引擎中,实现渲染质量和实时性能之间的平衡一直是长期挑战,特别是在资源受限的移动设备上。现有自动渲染参数优化方法要么依赖于耗时的每场景预计算,要么受神经网络推理开销的限制,无法实现每帧适应,或者缺乏在异构硬件和多样场景间的通用性。本文提出LUT-Opt,一个轻量且通用的框架,用于自适应的每帧渲染参数优化。我们的方法将渲染时间和图像质量的联合优化分解为可处理的两阶段流程。在离线阶段,我们训练一对XGBoost回归器,从渲染参数、硬件状态和场景复杂度描述符预测渲染时间和图像质量。训练后的集成模型通过系统离散化和两阶段线性搜索转化为紧凑的查找表(LUTs)。在运行时,每帧查询预计算的LUT,实现真正自适应的参数选择,计算开销极低。我们在Unreal Engine 5中实现了两种代表性的渲染技术——次表面散射(SSS)和混合管线环境光遮蔽(AO)。在多个场景和GPU配置上的广泛实验表明,LUT-Opt将次表面散射渲染时间减少了约40%,环境光遮蔽渲染时间减少了约70%,仅导致约2%的图像质量误差,每帧推理延迟低于0.1毫秒。

英文摘要:

Achieving a desirable balance between rendering quality and real-time performance is a long-standing challenge in modern game and rendering engines, particularly on resource-constrained mobile devices such as laptops, tablets, and smartphones. Existing approaches to automatic rendering parameter optimization either depend on exhaustive per-scene pre-computation that spans several days, suffer from the prohibitive inference overhead of neural networks that prevents per-frame adaptation, or lack generalizability across heterogeneous hardware and diverse scenes. In this paper, we propose \textbf{LUT-Opt}, a lightweight, general-purpose framework for adaptive per-frame rendering parameter optimization. Our method decomposes the joint optimization of rendering time and image quality into a tractable two-stage pipeline. In the offline stage, we train a pair of XGBoost regressors to predict rendering time and image quality from rendering parameters, hardware state, and scene complexity descriptors. The trained ensemble models are then distilled into compact lookup tables (LUTs) through systematic discretization and a two-phase linear search that first constrains rendering time and subsequently maximizes structural similarity (SSIM). During runtime, the pre-computed LUT is queried every frame in sub-millisecond time, enabling truly adaptive parameter selection with negligible computational overhead. We validate LUT-Opt on two representative rendering techniques -- subsurface scattering (SSS) and hybrid-pipeline ambient occlusion (AO) -- implemented within Unreal Engine 5. Extensive experiments across multiple scenes and GPU configurations demonstrate that LUT-Opt reduces subsurface scattering rendering time by approximately 40\% and ambient occlusion rendering time by roughly 70\%, while incurring only about 2\% increase in image quality error, with per-frame inference latency below 0.1\ ms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑