用随机采样提升DeepONet训练效率与泛化能力
Efficient Training of Deep Neural Operator Networks via Randomized Sampling
- 在DeepONet的主干网络输入中引入随机采样,替代均匀网格
- 训练时间大幅缩短,测试误差保持相当或更低
- 适合需高效建模复杂物理系统的科研与工程人员
神经算子(NOs)利用深度神经网络学习无限维函数空间间的映射。DeepONet作为主流的神经算子架构,在多个科学与工程场景中实现了复杂动力学的实时预测。本文提出一种训练时的随机采样技术,用于提升DeepONet的泛化能力并显著降低计算时间。传统方法在每轮迭代中对整个时空域的均匀网格点评估所有输出函数,导致批量大小过大,影响泛化性能并增加内存需求,受限于随机梯度下降(SGD)优化器。通过在主干网络输入上进行随机采样,缓解了上述问题,提升了泛化性并降低了内存占用,带来显著计算收益。三个基准实验验证了该方法的有效性:训练时间显著减少,且测试误差与传统方法相当或更优。结果表明,训练时对主干网络输入引入随机化可增强DeepONet的效率与鲁棒性,为复杂物理系统建模提供了新路径。
原文摘要 · Abstract (English)
Neural operators (NOs) employ deep neural networks to learn mappings between infinite-dimensional function spaces. Deep operator network (DeepONet), a popular NO architecture, has demonstrated success in the real-time prediction of complex dynamics across various scientific and engineering applications. In this work, we introduce a random sampling technique to be adopted during the training of DeepONet, aimed at improving the generalization ability of the model, while significantly reducing the computational time. The proposed approach targets the trunk network of the DeepONet model that outputs the basis functions corresponding to the spatiotemporal locations of the bounded domain on which the physical system is defined. While constructing the loss function, DeepONet training traditionally considers a uniform grid of spatiotemporal points at which all the output functions are evaluated for each iteration. This approach leads to a larger batch size, resulting in poor generalization and increased memory demands, due to the limitations of the stochastic gradient descent (SGD) optimizer. The proposed random sampling over the inputs of the trunk net mitigates these challenges, improving generalization and reducing memory requirements during training, resulting in significant computational gains. We validate our hypothesis through three benchmark examples, demonstrating substantial reductions in training time while achieving comparable or lower overall test errors relative to the traditional training approach. Our results indicate that incorporating randomization in the trunk network inputs during training enhances the efficiency and robustness of DeepONet, offering a promising avenue for improving the framework's performance in modeling complex physical systems.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。