Efficient Seismic Data Interpolation via Sparse Attention Transformer and Diffusion Model

Xiaoli Wei, Chunxia Zhang, Baisong Jiang, Anxiang Di, Deng Xiong, Jiangshe Zhang, Mingming GongarXiv 2025 · DOI

Abstract

Seismic data interpolation is a critical pre-processing step for improving seismic imaging quality and remains a focus of academic innovation. To address the computational inefficiencies caused by extensive iterative resampling in current plug-and-play diffusion interpolation methods, we propose the diffusion-enhanced sparse attention transformer (Diff-spaformer), a novel deep learning framework. Our model integrates transformer architectures and diffusion models via a Seismic Prior Extraction Network (SPEN), which serves as a bridge module. Full-layer sparse multi-head attention and feed-forward propagation capture global information distributions, while the diffusion model provides robust prior guidance. To mitigate the computational burden of high-dimensional representations, self-attention is computed along the channel rather than the spatial dimension. We show that using negative squared Euclidean distance to compute sparse affinity matrices better suits seismic data modeling, enabling broader contribution from amplitude feature nodes. An adaptive ReLU function further discards low or irrelevant self-attention values. We conduct training within a single-stage optimization framework, requiring only a few reverse diffusion sampling steps during inference. Extensive experiments demonstrate improved interpolation fidelity and computational efficiency for both random and continuous missing data, offering a new paradigm for high-efficiency seismic data reconstruction under complex geological conditions.

Introduction

Seismic surveys are essential for subsurface imaging, yet they often suffer from missing data due to economic constraints or geographic obstacles. These "missing traces" degrade the quality of subsequent imaging and interpretation. While deep learning methods like U-Nets and GANs have improved interpolation speed, they often struggle with large, continuous gaps in data because they lack global contextual awareness. Generative Diffusion Models offer high-fidelity reconstruction but are typically hindered by extreme computational costs due to their iterative denoising nature.

The Diff-spaformer framework addresses these challenges by merging the global reasoning capabilities of Transformers with the generative power of Diffusion Models. By operating in a latent space and utilizing sparse attention mechanisms, it achieves state-of-the-art accuracy with significantly reduced inference times.

Methods

The Diff-spaformer architecture is built upon three integrated components designed for efficiency and accuracy.

The Diff-spaformer architecture integrates the Seismic Prior Extraction Network (SPEN), a latent diffusion process, and the Spaformer reconstruction module.

1. Seismic Prior Extraction Network (SPEN)

The SPEN acts as a bridge between the raw seismic data and the diffusion process. It compresses high-dimensional seismic data into a compact, low-dimensional "latent space." By running the diffusion process on these latent features rather than the full-resolution image, the model avoids the heavy computational burden of standard pixel-space diffusion.

2. Diffusion-Enhanced Guidance

The model employs a simplified diffusion process to provide robust prior guidance. Operating in the latent space allows the model to generate high-quality reconstructions with only 4 sampling steps during inference, a massive improvement over the hundreds of steps required by traditional diffusion-based interpolation methods.

3. Sparse Attention (SPA) Module

To overcome the memory limitations of standard Transformers, the authors introduced a Sparse Attention module.

The Sparse Attention (SPA) module utilizes channel-wise attention and L2 similarity to capture global seismic features efficiently.

Key innovations include:

  • Channel-wise Attention: Attention is computed along the channel dimension instead of the spatial dimension, drastically reducing memory usage while effectively capturing global feature relationships.
  • L2 Similarity: Unlike the standard Cosine Similarity which ignores vector magnitude, Diff-spaformer uses Negative Squared Euclidean Distance. This choice is motivated by the fact that seismic amplitude (magnitude) carries critical information about subsurface properties.
  • Adaptive ReLU: An adaptive ReLU function is applied to the attention maps to zero out low-correlation values, focusing the model on the most relevant features and ignoring noise.

Results and Discussion

The model was evaluated on synthetic datasets (Model94, SEG C3) and real-world field data (MAVO).

Performance and Fidelity

On the SEG C3 dataset with random missing traces, Diff-spaformer achieved a Signal-to-Noise Ratio (SNR) of 38.29 dB, outperforming existing diffusion models by over 1 dB. In scenarios with continuous missing data (35% block loss), the model maintained superior waveform continuity, avoiding the artifacts and blurring common in U-Net or GAN-based approaches.

Computational Efficiency

The most significant advantage of Diff-spaformer is its speed. By reducing the diffusion process to just 4 steps, it achieves inference times comparable to non-generative models while maintaining the superior "hallucination" capabilities of diffusion models for filling complex textures.

Limitations and Future Work

While highly effective for 2D data, scaling the Sparse Attention mechanism to 3D seismic volumes remains a challenge for future work. Additionally, improving domain generalization—ensuring models trained on synthetic data perform perfectly across diverse real-world geological basins—is an ongoing research priority.

Conclusion

Diff-spaformer represents a significant step forward in seismic data reconstruction. By combining latent diffusion with channel-wise sparse attention, it offers a high-fidelity, computationally efficient solution for filling gaps in seismic surveys, even under complex geological conditions.

Summary updated

BibTeX
@misc{wei2025efficient,
  author = {Xiaoli Wei and Chunxia Zhang and Baisong Jiang and Anxiang Di and Deng Xiong and Jiangshe Zhang and Mingming Gong},
  title = {{Efficient Seismic Data Interpolation via Sparse Attention Transformer and Diffusion Model}},
  year = {2025},
  eprint = {2506.07923},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.07923},
  howpublished = {arXiv},
}
Figure