arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.02596cs.LGcs.AI
收藏

超越平方误差:探索用于生成流网络增强训练的损失设计

Beyond Squared Error: Exploring Loss Design for Enhanced Training of Generative Flow Networks

IIIS, Tsinghua University(清华大学交叉信息研究院)

Rui Hu, Yifan Zhang, Zhuoran Li, Longbo Huang

AI总结:

研究生成流网络训练中回归损失选择问题,通过理论证明不同回归损失对应特定散度度量,提出三种新回归损失,经实验验证其与多数现有算法兼容,能显著提升算法在收敛速度、样本多样性和鲁棒性方面的性能。

摘要:

生成流网络(GFlowNets)是一类旨在从未归一化分布中采样的新型生成模型,在各种重要任务中有应用,其训练算法备受关注。通常,GFlowNets通过使前向流与采样训练对象上的后向流拟合来训练。先前工作聚焦于训练对象、参数化、采样和重采样策略以及后向策略的选择。然而,回归损失的选择被忽视,多数算法用二次回归损失。本文严格证明不同回归损失对应特定散度度量,据此提出三种新回归损失并在三个基准测试中评估。结果表明新损失与多数现有训练算法兼容,显著提升算法在收敛速度、样本多样性和鲁棒性方面的性能。

英文摘要:

Generative Flow Networks (GFlowNets) are a novel class of generative models designed to sample from unnormalized distributions and have found applications in various important tasks, attracting great research interest in their training algorithms. In general, GFlowNets are trained by fitting the forward flow to the backward flow on sampled training objects. Prior work focused on the choice of training objects, parameterizations, sampling and resampling strategies, and backward policies, aiming to enhance credit assignment, exploration, or exploitation of the training process. However, the choice of regression loss, which can highly influence the exploration and exploitation behavior of the under-training policy, has been overlooked. Due to the lack of theoretical understanding for choosing an appropriate regression loss, most existing algorithms train the flow network by minimizing the squared error of the forward and backward flows in log-space, i.e., using the quadratic regression loss. In this work, we rigorously prove that distinct regression losses correspond to specific divergence measures, enabling us to design and analyze regression losses according to the desired properties of the corresponding divergence measures. Specifically, we examine two key properties: zero-forcing and zero-avoiding, where the former promotes exploitation and higher rewards, and the latter encourages exploration and enhances diversity. Based on our theoretical framework, we propose three novel regression losses, namely, Shifted-Cosh, Linex(1/2), and Linex(1). We evaluate them across three benchmarks: hyper-grid, bit-sequence generation, and molecule generation. Our proposed losses are compatible with most existing training algorithms, and significantly improve the performances of the algorithms concerning convergence speed, sample diversity, and robustness.

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

↑