In-Context Learning for Seismic Data Processing

Fabian Fuchs, Mario Ruben Fernandez, Norman Ettrich, Janis KeuperarXiv 2025 · DOI

Abstract

Researchers have introduced ContextSeisNet, the first application of In-Context Learning (ICL) to seismic data processing. By conditioning predictions on a "support set" of neighboring data examples, the model achieves superior spatial consistency and matches the performance of standard deep learning models while using 90% less training data.

Introduction

In seismic imaging, "multiples"—unwanted echoes that bounce between rock layers or the water surface—clutter subsurface images and lead to false interpretations. Removing them, a process known as demultiple processing, is a cornerstone of geophysics. Traditional methods, such as the Radon transform, require tedious manual parameter tuning by experts. While standard Deep Learning (DL) models like U-Nets can automate this, they often suffer from lateral inconsistency, processing each data point in isolation and resulting in "jittery" images that break geological continuity. Furthermore, standard DL models act as "black boxes," offering users little control over the output without expensive retraining.

Example of a seismic gather (a) containing curved multiples and the corresponding target label (b) after demultiple processing.

Methodology: ContextSeisNet

The authors propose ContextSeisNet, based on the UniverSeg architecture originally designed for medical imaging. The core innovation is the transition from standard supervised learning to In-Context Learning (ICL).

Unlike standard models that receive only one input, ContextSeisNet is fed a "support set" consisting of a few neighboring gathers and their corresponding processed labels. The architecture utilizes "CrossBlocks" instead of standard convolutional blocks to perform cross-convolutions between the query data and the support set. This allows the model to dynamically learn from the provided context at inference time, applying the logic of the support set to the new data. To ensure robust learning, the authors implemented Identity Mapping Regularization, occasionally requiring the model to output the input unchanged to prevent simple memorization and force the utilization of the provided context.

Comparison between (a) standard supervised machine learning and (b) the proposed in-context learning framework using a support set.

Data Efficiency and Experimental Setup

The model was evaluated using both synthetic and field datasets:

  • Synthetic Dataset: 15,000 seismic lines were generated, each containing 21 spatially related Common-Depth Point (CDP) gathers. These simulate realistic lateral variations in reflection coefficients and velocities, providing a more rigorous test than independent gathers.
  • Field Data: Post-migration data from a North Sea field, characterized by weak-amplitude, high-frequency parabolic multiples and significant linear noise.

A key finding was the model's extreme data efficiency. ContextSeisNet achieved comparable performance on field data to a U-Net trained on 100,000 gathers, despite being trained on only 10,500. This 90% reduction in training data suggests that the provided context effectively replaces the need for the model to memorize every possible geological variation during training.

Key Results and Discussion

ContextSeisNet demonstrated quantitative superiority on synthetic tests, consistently outperforming U-Net baselines in Peak Signal-to-Noise Ratio (PSNR). Qualitatively, the model showed significantly better removal of multiples at "near-offsets" (traces closest to the source), an area where both standard U-Nets and traditional Radon transforms often struggle.

Crucially, the model maintained high spatial awareness. Because it references neighbors to process the current gather, the results are naturally smoother and more geologically plausible. This framework also allows for a "human-in-the-loop" approach: if a geophysicist approves the processing of a specific area, those results can be used as a prompt to guide the AI across the remainder of the survey.

Conclusion and Future Work

While ContextSeisNet represents a significant leap forward, challenges remain. The use of a support set increases memory usage, currently limiting the model to fixed-size sets. Additionally, output quality is highly dependent on prompt selection. Future work may explore "active learning" to automatically identify optimal prompts or address error propagation issues observed when using the model's own previous outputs as prompts. Nevertheless, the success of ICL in this domain opens new avenues for efficient, user-steerable seismic data processing.

Summary updated

BibTeX
@misc{fuchs2025context,
  author = {Fabian Fuchs and Mario Ruben Fernandez and Norman Ettrich and Janis Keuper},
  title = {{In-Context Learning for Seismic Data Processing}},
  year = {2025},
  eprint = {2512.11575},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.11575},
}
Figure