IF 5.4 2区 物理与天体物理 Q1 ASTRONOMY & ASTROPHYSICS Astronomy & Astrophysics Pub Date : 2025-02-24 DOI:10.1051/0004-6361/202452217
Deaglan J. Bartlett, Marco Chiarenza, Ludvig Doeser, Florent Leclercq
{"title":"COmoving Computer Acceleration (COCA): N-body simulations in an emulated frame of reference","authors":"Deaglan J. Bartlett, Marco Chiarenza, Ludvig Doeser, Florent Leclercq","doi":"10.1051/0004-6361/202452217","DOIUrl":null,"url":null,"abstract":"<i>Context.N<i/>-body simulations are computationally expensive and machine learning (ML) based emulation techniques have thus emerged as a way to increase their speed. Surrogate models are indeed fast, however, they are limited in terms of their trustworthiness due to potentially substantial emulation errors that current approaches are not equipped to correct.<i>Aims.<i/> To alleviate this problem, we have introduced COmoving Computer Acceleration (COCA), a hybrid framework interfacing ML algorithm with an <i>N<i/>-body simulator. The correct physical equations of motion are solved in an emulated frame of reference, so that any emulation error is corrected by design. Thus, we are able to find a solution for the perturbation of particle trajectories around the ML solution. This approach is computationally cheaper than obtaining the full solution and it is guaranteed to converge to the truth as the number of force evaluations is increased.<i>Methods.<i/> Even though it is applicable to any ML algorithm and <i>N<i/>-body simulator, we assessed this approach in the particular case of particle-mesh (PM) cosmological simulations in a frame of reference predicted by a convolutional neural network. In such cases, the time dependence is encoded as an additional input parameter to the network.<i>Results.<i/> We find that COCA efficiently reduces emulation errors in particle trajectories, requiring far fewer force evaluations than running the corresponding simulation without ML. As a consequence, we were able to obtain accurate final density and velocity fields for a reduced computational budget. We demonstrate that this method exhibits robustness when applied to examples outside the range of the training data. When compared to the direct emulation of the Lagrangian displacement field using the same training resources, COCA’s ability to correct emulation errors results in more accurate predictions.<i>Conclusions.<i/> Therefore, COCA makes <i>N<i/>-body simulations cheaper by skipping unnecessary force evaluations, while still solving the correct equations of motion and correcting for emulation errors made by ML.","PeriodicalId":8571,"journal":{"name":"Astronomy & Astrophysics","volume":"495 1","pages":""},"PeriodicalIF":5.4000,"publicationDate":"2025-02-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Astronomy & Astrophysics","FirstCategoryId":"101","ListUrlMain":"https://doi.org/10.1051/0004-6361/202452217","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ASTRONOMY & ASTROPHYSICS","Score":null,"Total":0}
引用次数: 0

摘要

N体模拟计算成本高昂,因此基于机器学习(ML)的仿真技术应运而生,成为提高模拟速度的一种方法。代用模型的速度确实很快,但由于目前的方法无法纠正潜在的大量仿真错误,因此在可信度方面受到限制。为了缓解这一问题,我们引入了 COmoving Computer Acceleration (COCA),这是一个将 ML 算法与 N-body 模拟器相结合的混合框架。正确的物理运动方程在仿真参照系中求解,因此任何仿真误差都能通过设计得到纠正。这样,我们就能找到围绕 ML 解法的粒子轨迹扰动解。这种方法的计算成本比获取完整解决方案更低,而且随着受力评估次数的增加,它还能保证收敛到真相。尽管这种方法适用于任何 ML 算法和 N-body 模拟器,我们还是在卷积神经网络预测的参照系中对粒子网格(PM)宇宙学模拟的特殊情况下评估了这种方法。在这种情况下,时间依赖性被编码为网络的附加输入参数。我们发现,COCA 能有效减少粒子轨迹的模拟误差,所需的力评估次数远远少于不使用 ML 的相应模拟。因此,我们能够以较少的计算预算获得精确的最终密度场和速度场。我们证明了这种方法在应用于训练数据范围之外的示例时表现出的鲁棒性。与使用相同训练资源直接模拟拉格朗日位移场相比,COCA 能够纠正模拟误差,从而获得更准确的预测结果。因此,COCA 通过跳过不必要的力评估,同时仍然求解正确的运动方程并纠正 ML 模拟错误,从而降低了 N 体模拟的成本。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
COmoving Computer Acceleration (COCA): N-body simulations in an emulated frame of reference
Context.N-body simulations are computationally expensive and machine learning (ML) based emulation techniques have thus emerged as a way to increase their speed. Surrogate models are indeed fast, however, they are limited in terms of their trustworthiness due to potentially substantial emulation errors that current approaches are not equipped to correct.Aims. To alleviate this problem, we have introduced COmoving Computer Acceleration (COCA), a hybrid framework interfacing ML algorithm with an N-body simulator. The correct physical equations of motion are solved in an emulated frame of reference, so that any emulation error is corrected by design. Thus, we are able to find a solution for the perturbation of particle trajectories around the ML solution. This approach is computationally cheaper than obtaining the full solution and it is guaranteed to converge to the truth as the number of force evaluations is increased.Methods. Even though it is applicable to any ML algorithm and N-body simulator, we assessed this approach in the particular case of particle-mesh (PM) cosmological simulations in a frame of reference predicted by a convolutional neural network. In such cases, the time dependence is encoded as an additional input parameter to the network.Results. We find that COCA efficiently reduces emulation errors in particle trajectories, requiring far fewer force evaluations than running the corresponding simulation without ML. As a consequence, we were able to obtain accurate final density and velocity fields for a reduced computational budget. We demonstrate that this method exhibits robustness when applied to examples outside the range of the training data. When compared to the direct emulation of the Lagrangian displacement field using the same training resources, COCA’s ability to correct emulation errors results in more accurate predictions.Conclusions. Therefore, COCA makes N-body simulations cheaper by skipping unnecessary force evaluations, while still solving the correct equations of motion and correcting for emulation errors made by ML.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Astronomy & Astrophysics
Astronomy & Astrophysics 地学天文-天文与天体物理
CiteScore
10.20
自引率
27.70%
发文量
2105
审稿时长
1-2 weeks
期刊介绍: Astronomy & Astrophysics is an international Journal that publishes papers on all aspects of astronomy and astrophysics (theoretical, observational, and instrumental) independently of the techniques used to obtain the results.
期刊最新文献
25 years of XMM-Newton observations of the Sgr A complex Spatial distribution and clustering properties of the young stellar populations in the Carina Nebula complex and Car OB1 Variable stars in the VVV globular clusters Galaxy cluster matter profiles The variability of DDO68-V1, a unique, extremely metal-poor luminous blue variable
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1