加载中…
加载中…
This is the 2D variant of the NCS-model, a seismic foundation model trained on a large share of full-stack seismic cubes from the Norwegian Continental Shelf (NCS) available through the public DISKOS database. This model has been developed by the Norwegian Computing Center (NR) in collaboration with the industry partners Equinor ASA and AkerBP ASA.
NCS-v1-2d-base uses the standard ViT-MAE approach applied to seismic data. It processes individual seismic slices (inline or crossline sections) and uses standard 2D sine-cosine positional encodings.
NCS-v1-2d-base has been designed to produce features that can be used for fine-tuning on dowsntream tasks such as seismic facies classification, salt body segmentation, geological structure detection (e.g., injectites, faults), content-based seismic image retrieval, horizon and event tracking.
3D context can be incorporated during inference via late fusion: inline and crossline embeddings are computed separately by the NCS encoder and concatenated at each patch location.
Install the NCS package from this repository before running the example below. The standalone
ViTModel loading example only requires transformers.
from transformers import ViTModel
model = ViTModel.from_pretrained("NorskRegnesentralSTI/NCS-v1-2d-base", add_pooling_layer=False)
import torch
# Input: batch of 3-channel (1 channel repeated) seismic crops, normalized by cube std and clamped to 3σ
pixel_values = torch.randn(1, 3, 224, 224)
with torch.no_grad():
outputs = model(pixel_values=pixel_values)
# CLS token (image-level feature)
cls_features = outputs.last_hidden_state[:, 0, :] # shape: (B, 768)
# Patch-level features
patch_features = outputs.last_hidden_state[:, 1:, :] # shape: (B, 196, 768)
For running inference over full seismic volumes (SEG-Y / SGZ), use the NCS inference pipeline:
uv run scripts/inference.py \
--model-path NorskRegnesentralSTI/NCS-v1-2d-base \
--input-path /path/to/volume.segy \
--output-path ./features_2d.zarr \
--direction dir0 \
--densify 1 \
--num-overlap-patches 7 \
--overlap-filter ramp \
--batch-size 32 \
--device cuda:0 \
--dtype float16
The model was pretrained on seismic reflection data from the Norwegian Continental Shelf (NCS), sourced from the DISKOS national data repository. The training corpus consists of 829 full-stack time and depth migrated 3D seismic cubes (~27 TB), spanning diverse geological settings, acquisition vintages, and processing generations across the NCS.
Representations are evaluated with a frozen backbone using a k-nearest-neighbor (kNN, k=5) classifier on patch-level embeddings. Four interpretation benchmarks were used: salt segmentation, package segmentation, injectite mapping, and flatspot mapping, measured by mean Intersection-over-Union (mIoU). Only 100 labeled points per class are used (or a single labeled line for injectites).
The model code and inference pipeline are available at: https://github.com/NorskRegnesentral/NCS_models
If you use this model, please cite:
@article{ordonez2025ncsmodel,
title={The {NCS}-model: A seismic foundation model trained on the Norwegian repository of public seismic data},
author={Ordo{\~n}ez, Alba and Forgaard, Theodor Johannes Line and Wade, David and Bugge, Aina Juell and Nese, H{\aa}kon and Waldeland, Anders Ueland},
journal={arXiv preprint arXiv:2603.23211},
year={2025}
}
This work is funded by The Research Council of Norway through the SFI Visual Intelligence (Centre for Research-based Innovation), grant no. 309439, and the industry partners Equinor ASA and AkerBP ASA. We also thank Equinor and AkerBP for providing access to the seismic data used in the evaluation.