IDEAS home Printed from https://ideas.repec.org/a/eee/energy/v335y2025ics0360544225037387.html
   My bibliography  Save this article

Pipeformer: A multi-channel patching-based transformer method with pyramid cross-attention for leak detection of energy transportation system

Author

Listed:
  • Wang, Junkai
  • Wang, Tianbiao
  • Ma, Dazhong

Abstract

Accurate leak detection in an energy transportation system can effectively reduce the likelihood of a disaster. To enhance detection accuracy and reduce false alarm rate, a multi-channel patching-based transformer method with pyramid cross-attention for pipeline (Pipeformer) in energy transportation system is proposed. First, a transformer encoder-based representation learning framework is presented to tackle the pipeline leak detection task by utilizing unsupervised clustering algorithms. Then, given the interconnections among pressure data in pipeline, a multi-channel patch embedding strategy is proposed to patch the multivariate time series at unequal time steps to capture pressure variation features at different scales. Specifically, within the same scale, it can adequately capture the differences between local and global features by patching the data, as well as consolidate comprehensive feature information through fusion among different scales. Moreover, a pyramid cross-attention mechanism is designed with the help of the feature pyramid structure that has been constructed through patching. Cross-attention between different layers is used to convey feature information, while relying on this structure to capture both short-term fine-grained patterns and long-term coarse-grained trends. The interaction of information among features at different scales enables the model to effectively learn cross-scale dependencies. Finally, leak detection task of energy transportation system is implemented by a clustering algorithm and a series of comparison and ablation experiments are carried out using the collected data. The detection accuracy and false alarm rates can achieve satisfactory results, which verifies the validity of the method.

Suggested Citation

  • Wang, Junkai & Wang, Tianbiao & Ma, Dazhong, 2025. "Pipeformer: A multi-channel patching-based transformer method with pyramid cross-attention for leak detection of energy transportation system," Energy, Elsevier, vol. 335(C).
  • Handle: RePEc:eee:energy:v:335:y:2025:i:c:s0360544225037387
    DOI: 10.1016/j.energy.2025.138096
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0360544225037387
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.energy.2025.138096?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:energy:v:335:y:2025:i:c:s0360544225037387. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/energy .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.