Lian Liu , Bo Yang , Yi Zhang , Yixian Xu , Zhong Peng , Dikun Yang
{"title":"Calculating sensitivity or gradient for geophysical inverse problems using automatic and implicit differentiation","authors":"Lian Liu , Bo Yang , Yi Zhang , Yixian Xu , Zhong Peng , Dikun Yang","doi":"10.1016/j.cageo.2024.105736","DOIUrl":null,"url":null,"abstract":"<div><div>Automatic differentiation (AD) is a valuable computing technique that can automatically calculate the derivative of a function. Using the chain rule and algebraic manipulations, AD can save significant human effort by eliminating the need for theoretical derivations, coding, and debugging. Most importantly, it guarantees accurate derivatives, making it a popular choice for many non-linear optimization problems. However, its use in the geophysical inversion has been limited due to difficulties in differentiating the linear-equations solution, which cannot be explicitly defined as an elementary function. To address this issue, we employ an improved AD scheme using implicit differentiation (ADID) that creates a new AD operator that customizes the standard AD scheme to function more efficiently. We demonstrate the effectiveness and validity of ADID using a toy example and compare it with the widely used adjoint equation (AE) approach in a synthetic 2D magnetotelluric (MT) problem. ADID is highly versatile and compatible and can be easily implemented for similar geophysical problems. Finally, we show how ADID can be integrated into 3D MT and 3D direct current resistivity (DC) inversions.</div></div>","PeriodicalId":55221,"journal":{"name":"Computers & Geosciences","volume":null,"pages":null},"PeriodicalIF":4.2000,"publicationDate":"2024-09-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Geosciences","FirstCategoryId":"89","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S009830042400219X","RegionNum":2,"RegionCategory":"地球科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
Automatic differentiation (AD) is a valuable computing technique that can automatically calculate the derivative of a function. Using the chain rule and algebraic manipulations, AD can save significant human effort by eliminating the need for theoretical derivations, coding, and debugging. Most importantly, it guarantees accurate derivatives, making it a popular choice for many non-linear optimization problems. However, its use in the geophysical inversion has been limited due to difficulties in differentiating the linear-equations solution, which cannot be explicitly defined as an elementary function. To address this issue, we employ an improved AD scheme using implicit differentiation (ADID) that creates a new AD operator that customizes the standard AD scheme to function more efficiently. We demonstrate the effectiveness and validity of ADID using a toy example and compare it with the widely used adjoint equation (AE) approach in a synthetic 2D magnetotelluric (MT) problem. ADID is highly versatile and compatible and can be easily implemented for similar geophysical problems. Finally, we show how ADID can be integrated into 3D MT and 3D direct current resistivity (DC) inversions.
期刊介绍:
Computers & Geosciences publishes high impact, original research at the interface between Computer Sciences and Geosciences. Publications should apply modern computer science paradigms, whether computational or informatics-based, to address problems in the geosciences.