Exploring the Application of Large Language Models Based AI Agents in Leakage Detection of Natural Gas Valve Chambers

Leakage problems occur from time to time due to the large number of equipment and complex processes during oil and gas production and transportation. The traditional detection methods highly depend on manpower with large workload and are prone to missed and false alarms, which seriously affects the...

Full description

Saved in:
Bibliographic Details
Main Authors: Qian Wei, Hongjun Sun, Yin Xu, Zisheng Pang, Feixiang Gao
Format: Article
Language:English
Published: MDPI AG 2024-11-01
Series:Energies
Subjects:
Online Access:https://www.mdpi.com/1996-1073/17/22/5633
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850145501757833216
author Qian Wei
Hongjun Sun
Yin Xu
Zisheng Pang
Feixiang Gao
author_facet Qian Wei
Hongjun Sun
Yin Xu
Zisheng Pang
Feixiang Gao
author_sort Qian Wei
collection DOAJ
description Leakage problems occur from time to time due to the large number of equipment and complex processes during oil and gas production and transportation. The traditional detection methods highly depend on manpower with large workload and are prone to missed and false alarms, which seriously affects the efficiency and safety of oil and gas production and transportation. With the continuous improvement of information technology and the rapid advancement of artificial intelligence (AI), the research on leakage detection technology based on AI methods has attracted more and more attention. This paper discusses the application scenarios of an AI agent based on the recently emerged large language model (LLM) technology in oil and gas production leakage detection: (1) Compared with the traditional leakage detection methods, this paper innovatively employs a combination of AI-based diagnostics and infrared temperature measurement technologies to develop a specialized small model for oil and gas leakage detection, which has been proven to significantly improve the accuracy of detecting industrial venting events in natural gas valve chambers; (2) By employing retrieval-augmented generation (RAG) technology, a knowledge vector library is constructed, utilizing a series of leakage-related documents, assisting the LLM to carry out knowledge questioning and inference. Compared with the traditional SimBERT, the accuracy can be improved by about 15% in the Q&A search ability test. The correct rate is about 70% higher than the SimBERT in the Chinese complex reasoning quiz. Also, it can still remain stable under high load conditions, with the interruption rate of retrieval closing to zero. (3) By combining the specialized small model and the knowledge Q&A tool, the natural gas valve chambers’ leakage detection AI agent based on the open-source LLM model was designed and developed, which preliminarily achieved the leakage detection based on the specialized small model, and the automatic processing of the retrieval reasoning process based on the knowledge Q&A tool and the intelligent generation of corresponding leakage disposal scheme. The effectiveness of the method has been verified by actual project data. This article conducts preliminary explorations into the in-depth applications of AI agents based on LLMs in the oil and gas energy industry, demonstrating certain positive outcomes.
format Article
id doaj-art-38e59e94980c49b5893787dffffc3ef7
institution OA Journals
issn 1996-1073
language English
publishDate 2024-11-01
publisher MDPI AG
record_format Article
series Energies
spelling doaj-art-38e59e94980c49b5893787dffffc3ef72025-08-20T02:28:05ZengMDPI AGEnergies1996-10732024-11-011722563310.3390/en17225633Exploring the Application of Large Language Models Based AI Agents in Leakage Detection of Natural Gas Valve ChambersQian Wei0Hongjun Sun1Yin Xu2Zisheng Pang3Feixiang Gao4Department of Intelligent Science and Technology, College of Artificial Intelligence, China University of Petroleum (Beijing), Beijing 102249, ChinaDepartment of Intelligent Science and Technology, College of Artificial Intelligence, China University of Petroleum (Beijing), Beijing 102249, ChinaKunlun Digital Intelligence Technology Company, Beijing 102266, ChinaKunlun Digital Intelligence Technology Company, Beijing 102266, ChinaKunlun Digital Intelligence Technology Company, Beijing 102266, ChinaLeakage problems occur from time to time due to the large number of equipment and complex processes during oil and gas production and transportation. The traditional detection methods highly depend on manpower with large workload and are prone to missed and false alarms, which seriously affects the efficiency and safety of oil and gas production and transportation. With the continuous improvement of information technology and the rapid advancement of artificial intelligence (AI), the research on leakage detection technology based on AI methods has attracted more and more attention. This paper discusses the application scenarios of an AI agent based on the recently emerged large language model (LLM) technology in oil and gas production leakage detection: (1) Compared with the traditional leakage detection methods, this paper innovatively employs a combination of AI-based diagnostics and infrared temperature measurement technologies to develop a specialized small model for oil and gas leakage detection, which has been proven to significantly improve the accuracy of detecting industrial venting events in natural gas valve chambers; (2) By employing retrieval-augmented generation (RAG) technology, a knowledge vector library is constructed, utilizing a series of leakage-related documents, assisting the LLM to carry out knowledge questioning and inference. Compared with the traditional SimBERT, the accuracy can be improved by about 15% in the Q&A search ability test. The correct rate is about 70% higher than the SimBERT in the Chinese complex reasoning quiz. Also, it can still remain stable under high load conditions, with the interruption rate of retrieval closing to zero. (3) By combining the specialized small model and the knowledge Q&A tool, the natural gas valve chambers’ leakage detection AI agent based on the open-source LLM model was designed and developed, which preliminarily achieved the leakage detection based on the specialized small model, and the automatic processing of the retrieval reasoning process based on the knowledge Q&A tool and the intelligent generation of corresponding leakage disposal scheme. The effectiveness of the method has been verified by actual project data. This article conducts preliminary explorations into the in-depth applications of AI agents based on LLMs in the oil and gas energy industry, demonstrating certain positive outcomes.https://www.mdpi.com/1996-1073/17/22/5633large language modelAI agentnatural gas valve chamberleakage detection
spellingShingle Qian Wei
Hongjun Sun
Yin Xu
Zisheng Pang
Feixiang Gao
Exploring the Application of Large Language Models Based AI Agents in Leakage Detection of Natural Gas Valve Chambers
Energies
large language model
AI agent
natural gas valve chamber
leakage detection
title Exploring the Application of Large Language Models Based AI Agents in Leakage Detection of Natural Gas Valve Chambers
title_full Exploring the Application of Large Language Models Based AI Agents in Leakage Detection of Natural Gas Valve Chambers
title_fullStr Exploring the Application of Large Language Models Based AI Agents in Leakage Detection of Natural Gas Valve Chambers
title_full_unstemmed Exploring the Application of Large Language Models Based AI Agents in Leakage Detection of Natural Gas Valve Chambers
title_short Exploring the Application of Large Language Models Based AI Agents in Leakage Detection of Natural Gas Valve Chambers
title_sort exploring the application of large language models based ai agents in leakage detection of natural gas valve chambers
topic large language model
AI agent
natural gas valve chamber
leakage detection
url https://www.mdpi.com/1996-1073/17/22/5633
work_keys_str_mv AT qianwei exploringtheapplicationoflargelanguagemodelsbasedaiagentsinleakagedetectionofnaturalgasvalvechambers
AT hongjunsun exploringtheapplicationoflargelanguagemodelsbasedaiagentsinleakagedetectionofnaturalgasvalvechambers
AT yinxu exploringtheapplicationoflargelanguagemodelsbasedaiagentsinleakagedetectionofnaturalgasvalvechambers
AT zishengpang exploringtheapplicationoflargelanguagemodelsbasedaiagentsinleakagedetectionofnaturalgasvalvechambers
AT feixianggao exploringtheapplicationoflargelanguagemodelsbasedaiagentsinleakagedetectionofnaturalgasvalvechambers