ZMZhiwei Ma

Zhiwei Ma

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Zhiwei Ma has a total of 59 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Synthetic Training Enables Deployment on Raw Drone Data: An Attention-Based Framework for Detecting Orphan Wells

    by Agnese Marcato, Roman Colman, Damien Milazzo, Eric Guiltinan, Zhiwei Ma, Daniel O’Malley, Hari Viswanathan, Javier E. Santos

    Undocumented orphan wells present challenges for subsurface characterization and environmental management due to their unknown locations and varied physical conditions. Magnetic surveys offer a promising pathway for identifying these wells by detecting the magnetic anomalies associated with steel casings. However, magnetometer data are typically high-volume, noisy, and complex, making them difficult to process efficiently with conventional methods. Existing processing methods require heavy preprocessing and achieve unsatisfactory recall scores. In this study, we propose a transformer-based deep learning framework designed to efficiently process hyper-resolute data without extensive downsampling. This is achieved through novel on-the-fly techniques as well as the use of sinusoidal positional encoders to allow the model relative positional awareness. Tests on purely synthetic data show that our model achieves F1-scores of over 90% for line spacings between successive flight paths up to 140 m, enabling surveys to take much sparser flight paths, resulting in more efficient coverage. When applied to real-life data, our model achieves a recall of 70%. This flexible and scalable framework enables the detection of orphan wells from drone data and can be readily adapted to other remote sensing applications.

  • Efficient Approximations of Effective Permeability of Fractured Porous Media Using Machine Learning: A Computational Geometry Approach

    by Zhiwei Ma, Aleksandra A. Pachalieva, Matthew R. Sweeney, Bailian Chen, Hari Viswanathan, Jeffrey D. Hyman


  • CO2 Transport Infrastructure Outlook in the United States

    by Usdoe National Nuclear Security Administration (Nnsa), Moises Velasco Lozano, USDOE Office of Fossil Energy and Carbon Management (FECM), Los Alamos Los Alamos National Laboratory (Lanl), Zhiwei Ma, Rajesh Pawar, Bailian Chen

  • Open Access

    Information extraction from historical well records using a large language model

    by Zhiwei Ma, Javier E. Santos, Greg Lackey, Hari Viswanathan, Daniel O’mAlley

    To reduce environmental risks and impacts from orphaned wells (abandoned oil and gas wells), it is essential to first locate and then plug these wells. Manual reading and digitizing of information from historical documents is not feasible, given the large number of wells. Here, we propose a new computational approach for rapidly and cost-effectively characterizing these wells. Specifically, we leverage the advanced capabilities of large language models (LLMs) to extract vital information including well location and depth from historical records of orphaned wells. In this paper, we present an information extraction workflow based on open-source Llama 2 models and test it on a dataset of 160 well documents. The developed workflow achieves an overall accuracy of 100%, accounting for both text conversion and LLM analysis when applied to clean, PDF-based reports. However, it struggles with unstructured image-based well records, where accuracy drops to 70%. The workflow provides significant benefits over manual human digitization, because it reduces labor and increases automation. Additionally, more detailed prompting leads to improved information extraction, and LLMs with more parameters typically perform better. Given that a vast amount of geoscientific information is locked up in old documents, this work demonstrates that recent breakthroughs in LLMs allow us to access and utilize this information more effectively.


  • Open Access

    Information Extraction from Historical Well Records Using A Large Language Model

    by Zhiwei Ma, Javier E. Santo, Greg Lackey, Hari Viswanathan, Daniel O'Malley

    To reduce environmental risks and impacts from orphaned wells (abandoned oil and gas wells), it is essential to first locate and then plug these wells. Although some historical documents are available, they are often unstructured, not cleaned, and outdated. Additionally, they vary widely by state and type. Manual reading and digitizing this information from historical documents are not feasible, given the high number of wells. Here, we propose a new computational approach for rapidly and cost-effectively locating these wells. Specifically, we leverage the advanced capabilities of large language models (LLMs) to extract vital information including well location and depth from historical records of orphaned wells. In this paper, we present an information extraction workflow based on open-source Llama 2 models and test them on a dataset of 160 well documents. Our results show that the developed workflow achieves excellent accuracy in extracting location and depth from clean, PDF-based reports, with a 100% accuracy rate. However, it struggles with unstructured image-based well records, where accuracy drops to 70%. The workflow provides significant benefits over manual human digitization, including reduced labor and increased automation. In general, more detailed prompting leads to improved information extraction, and those LLMs with more parameters typically perform better. We provided a detailed discussion of the current challenges and the corresponding opportunities/approaches to address them. Additionally, a vast amount of geoscientific information is locked up in old documents, and this work demonstrates that recent breakthroughs in LLMs enable us to unlock this information more broadly.

  • Open Access

    SimCCS3.0 User GUIDE

    by Zhiwei Ma, Bulbul Ahmmed, Mohamed Zakaria Saad Mehana, Wenfeng Li, Richard Dean Pratt, Moises Velasco Lozano, Meng Meng, Rajesh Pawar, Bailian Chen

    The U.S. Department of Energy's Office of Scientific and Technical Information

  • Open Access

    CO2 Pipeline Analysis for Existing Coal-Fired Power Plants

    by Bailian Chen, Xiaoming Sun, Zhiwei Ma, Moises Velasco Lozano, Mark de Figueiredo, Paul Donohoo-Vallett

    The U.S. Department of Energy's Office of Scientific and Technical Information


  • Assimilation of Geophysics-Derived Spatial Data for Model Calibration in Geologic CO2 Sequestration

    by Bailian Chen, Misael M. Morales, Zhiwei Ma, Qinjun Kang, Rajesh J. Pawar

    Summary: Uncertainty in geological models usually leads to large uncertainty in the predictions of risk-related system properties and/or risk metrics (e.g., CO2 plumes and CO2/brine leakage rates) at a geologic CO2 storage site. Different types of data (e.g., point measurements from monitoring wells and spatial data from 4D seismic surveys) can be leveraged or assimilated to reduce the risk predictions. In this work, we develop a novel framework for spatial data assimilation and risk forecasting. Under the U.S. Department of Energy’s National Risk Assessment Partnership (NRAP), we have developed a framework using an ensemble-based data assimilation approach for spatial data assimilation and forecasting. In particular, we took CO2 saturation maps interpreted from 4D seismic surveys as inputs for spatial data assimilation. Three seismic surveys at Years 1, 3, and 5 were considered in this study. Accordingly, three saturation maps were generated for data assimilation. The impact from the level of data noise was also investigated in this work. Our results show increased similarity between the updated reservoir models and the “ground-truth” model with the increased number of seismic surveys. Predictive accuracy in CO2 saturation plume increases with the increased number of seismic surveys as well. We also observed that with the increase in the level of data noise from 1% to 10%, the difference between the updated models and the ground truth does not increase significantly. Similar observations were made for the prediction of CO2 plume distribution at the end of the CO2 injection period by increasing the data noise.