Construction of end-to-end machine learning surrogate model and its application in detonation driving problem
-
摘要: 人工智能/机器学习方法能够发现数据中隐藏的物理规律,构建状态参数与动态结果之间端到端的代理模型,可高效解决强耦合、非线性、多物理等复杂工程问题。在高度非线性的爆炸与冲击动力学领域,选择了一个经典的爆轰驱动问题作为研究对象,以数值模拟结果作为机器学习代理模型的训练数据,将正向模拟与逆向设计有机结合起来,基于深度神经网络技术,构建了特征位置速度剖面、材料动态变形与工程因素之间端到端的代理模型,给出了代理模型的计算精确度,验证了代理模型从速度剖面反演工程因素的能力。结果表明:端到端代理模型具有较高的预测能力,其预测的速度剖面与工程因素估计的相对误差均小于1%,可用于高度非线性的爆炸与冲击动力学问题的快速设计、高精度预测和敏捷迭代。Abstract: Artificial intelligence/machine learning methods can discover hidden physical patterns in data. By constructing an end-to-end surrogate model between state parameters and dynamic results, many complex engineering problems such as strong coupling, nonlinearity, and multiphysics can be efficiently solved. In the field of highly nonlinear explosion and shock dynamics, a classic detonation driving problem was chosen as the research object. Using numerical simulation results as training data for machine learning surrogate models, and combining forward simulation and reverse design organically. Based on deep neural network technology, an end-to-end surrogate model was constructed between feature position velocity profiles, material dynamic deformation, and engineering factors. And the calculation accuracy of the surrogate model was provided, verifying the ability to invert engineering factors from velocity profiles. The research results indicate that the end-to-end surrogate model has high predictive ability, with relative errors of less than 1% in both velocity profile prediction and engineering factor estimation. It can be applied to the rapid design, high-precision prediction, and agile iteration of highly nonlinear explosion and impact dynamics problems.
-
表 1 不同神经网络结构对代理模型的计算效果分析
Table 1. Analysis of calculation effect of surrogate model with different neural network structures
组合序号 dh wh 标准误差 0 10 20 3.8845 ×10−31 15 20 3.4626 ×10−32 10 15 4.4272 ×10−33 10 25 3.3092 ×10−34 5 15 2.3908 ×10−35 15 25 1.0031 ×10−2表 2 训练点上速度剖面代理模型计算的相对误差
Table 2. Relative errors of velocity surrogate model calculation at training points
h/mm 相对误差/% P1 P2 0 0.0034 0.0040 1 0.0078 0.0094 2 0.0063 0.0036 3 0.0057 0.0014 4 0.0027 0.0094 5 0.0035 0.0067 表 3 预测点上速度剖面代理模型计算的相对误差
Table 3. Relative errors calculated by velocity surrogate model at prediction points
h/mm 相对误差/% P1 P2 0.5 0.0571 0.6665 1.5 0.0524 0.8081 2.5 0.0034 0.4332 3.2 0.0116 0.1963 4.7 0.0129 0.1669 表 4
$t $ =25 µs时训练点上流场中材料动态时空分布代理模型计算的标准差和相对误差Table 4. Standard and relative errors calculated by the material distribution surrogate model at training points at t=25 μs
h/mm 标准差 相对误差/% 0 5.99×10−2 0.3953 1 5.81×10−2 0.2721 2 5.95×10−2 0.0955 3 6.15×10−2 0.3082 4 6.30×10−2 0.3415 5 6.39×10−2 0.2211 -
[1] 杨凯, 吕文泉, 闫胜斌. 智能化时代的作战方式变革 [J]. 军事文摘, 2022(1): 7–11.YANG K, LYU W Q, YAN S B. Reform of combat methods in the era of intelligence [J]. Military Digest, 2022(1): 7–11. [2] 中国国防科技信息中心. DARPA成功完成“海上猎手”无人水面艇项目 [R/OL]. (2018-02-02)[2024-04-07]. https://www.sohu.com/a/220477417_313834.China National Defense Science and Technology Information Center. DARPA successfully completed the Sea Hunter unmanned surface vehicle project [R/OL]. (2018-02-02)[2024-04-07]. https://www.sohu.com/a/220477417_313834. [3] DATTELBAUM A M. Materials dynamics: LA-UR-22-25248 [R]. Los Alamos: Los Alamos National Laboratory, 2022. [4] SHALEV-SHWARTZ S, SHAMMAH S, SHASHUA A. Safe, multi-agent, reinforcement learning for autonomous driving [EB/OL]. arXiv: 1610.03295. (2016-11-11)[2024-04-10]. https://arxiv.org/abs/1610.03295. DOI: 10.48550/arXiv.1610.03295. [5] CHAR D S, SHAH N H, MAGNUS D. Implementing machine learning in health care—addressing ethical challenges [J]. The New England Journal of Medicine, 2018, 378(11): 981–983. DOI: 10.1056/NEJMp1714229. [6] LIN W Y, HU Y H, TSAI C F. Machine learning in financial crisis prediction: a survey [J]. IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), 2012, 42(4): 421–436. DOI: 10.1109/TSMCC.2011.2170420. [7] LIPSON H, POLLACK J B. Automatic design and manufacture of robotic lifeforms [J]. Nature, 2000, 406(6799): 974–978. DOI: 10.1038/35023115. [8] BERRAL J L, GOIRI Í, NOU R, et al. Towards energy-aware scheduling in data centers using machine learning [C]//Proceedings of the 1st International Conference on Energy-Efficient Computing and Networking. Passau: ACM, 2010: 215–224. DOI: 10.1145/1791314.1791349. [9] ENGEL A, VAN DEN BROECK C. Statistical mechanics of learning [M]. Cambridge: Cambridge University Press, 2001. [10] CARLEO G, TROYER M. Solving the quantum many-body problem with artificial neural networks [J]. Science, 2017, 355(6325): 602–606. DOI: 10.1126/science.aag2302. [11] SCHAFER N P, KIM B L, ZHENG W H, et al. Learning to fold proteins using energy landscape theory [J]. Israel Journal of Chemistry, 2014, 54(8/9): 1311–1337. DOI: 10.1002/ijch.201300145. [12] VANDERPLAS J, CONNOLLY A J, IVEZIĆ Ž, et al. Introduction to astroML: machine learning for astrophysics [C]//Proceedings of 2012 Conference on Intelligent Data Understanding. Boulder: IEEE, 2012: 47–54. DOI: 10.1109/CIDU.2012.6382200. [13] BLASCHKE D N, NGUYEN T, NITOL M, et al. Machine learning based approach to predict ductile damage model parameters for polycrystalline metals [J]. Computational Materials Science, 2023, 229: 112382. DOI: 10.1016/j.commatsci.2023.112382. [14] FERNÁNDEZ-GODINO M G, PANDA N, O’MALLEY D, et al. Accelerating high-strain continuum-scale brittle fracture simulations with machine learning [J]. Computational Materials Science, 2021, 186: 109959. DOI: 10.1016/j.commatsci.2020.109959. [15] 杨寓翔, 李炜, 申建民, 等. 机器学习在相变中的应用 [J]. 中国科学: 物理学 力学 天文学, 2023, 53(9): 290011. DOI: 10.1360/SSPMA-2023-0130.YANG Y X, LI W, SHEN J M, et al. Machine learning applications in phase transitions [J]. Scientia Sinica Physica, Mechanica & Astronomica, 2023, 53(9): 290011. DOI: 10.1360/SSPMA-2023-0130. [16] 刘泮宏. 基于机器学习的湍流建模应用研究 [D]. 哈尔滨: 哈尔滨工业大学, 2021. DOI: 10.27061/d.cnki.ghgdu.2021.001683.LIU P H. Application of turbulence modeling based on machine learning [D]. Harbin: Harbin Institute of Technology, 2021. DOI: 10.27061/d.cnki.ghgdu.2021.001683. [17] 刘永泽. 水下爆炸载荷下板架结构毁伤特性的机器学习方法及应用研究 [D]. 哈尔滨: 哈尔滨工程大学, 2022. DOI: 10.27060/d.cnki.ghbcu.2022.001951.LIU Y Z. Research on the machine learning method and its application in damage assessment of plate frame subjected to underwater explosion [D]. Harbin: Harbin Engineering University, 2022. DOI: 10.27060/d.cnki.ghbcu.2022.001951. [18] 张筱迪. 混凝土楼板火灾及冲击作用下力学性能数值仿真研究 [D]. 抚顺: 辽宁石油化工大学, 2021. DOI: 10.27023/d.cnki.gfssc.2021.000186.ZHANG X D. Numerical simulation study on mechanical properties of concrete floor under fire and impact [D]. Fushun: Liaoning Shihua University, 2021. DOI: 10.27023/d.cnki.gfssc.2021.000186. [19] BROYDEN C G. The convergence of a class of double-rank minimization algorithms: 2. the new algorithm [J]. IMA Journal of Applied Mathematics, 1970, 6(3): 222–231. DOI: 10.1093/imamat/6.3.222. [20] FLETCHER R. A new approach to variable metric algorithms [J]. The Computer Journal, 1970, 13(3): 317–322. DOI: 10.1093/comjnl/13.3.317. [21] GOLDFARB D. A family of variable-metric methods derived by variational means [J]. Mathematics of Computation, 1970, 24(109): 23–26. DOI: 10.1090/S0025-5718-1970-0258249-6. [22] SHANNO D F. Conditioning of quasi-Newton methods for function minimization [J]. Mathematics of Computation, 1970, 24(111): 647–650. DOI: 10.2307/2004840. [23] KINGMA D P, BA L J. Adam: a method for stochastic optimization [C]//Proceedings of International Conference on Learning Representations. Ithaca: ICLR, 2015. [24] 宁建国, 王成, 马天宝. 爆炸与冲击动力学 [M]. 北京: 国防工业出版社, 2010: 347–364.NING J G, WANG C, MA T B. Explosion and shock dynamics [M]. Beijing: National Defense Industry Press, 2010: 347–364. [25] 童石磊. 多介质界面改进数值模拟方法研究 [D]. 绵阳: 中国工程物理研究院, 2016.TONG S L. Numerical simulation method of multi-media interface [D]. Mianyang: China Academy of Engineering Physics, 2016.