WellLogBench / README.md
sambal's picture
Where the formations come from: the NPD picks workbook, and how the contexts are written
cb64c64 verified
|
Raw History Blame Contribute Delete
12.9 kB
metadata
license: cc-by-4.0
pretty_name: WellLogBench
language:
  - en
task_categories:
  - question-answering
  - text-generation
tags:
  - petrophysics
  - well-logs
  - geoscience
  - subsurface
  - benchmark
  - long-context
size_categories:
  - 1K<n<10K
configs:
  - config_name: default
    data_files:
      - split: test
        path: data/benchmark.jsonl

WellLogBench

An expert-reviewed benchmark for subsurface well-log interpretation.

Website & leaderboard · Code · Paper: Expert-Reviewed Benchmark and Domain-Specialized LLM for Subsurface Well-Log Interpretation

WellLogBench contains 1,075 expert-reviewed question–answer pairs built from 40 public LAS wells in three basins. The questions cover six petrophysical categories at three reasoning levels. Each question comes with the structured, lithology-aware context a model reads to answer it. The contexts are produced from the raw logs by the Petrophys library.

Basins GeoLink (North Sea, mixed clastic–carbonate; 667 pairs, 20 wells) · COSTA (Middle Eastern carbonate; 271 pairs, 15 wells) · Danish (mostly Upper Cretaceous–Danian chalk; 137 pairs, 5 wells)
Categories hydrocarbon, lithology, numerical, permeability, porosity, saturation
Reasoning levels Single-Formation (347) · Multi-Well (424) · Cross-Formation (304)
Splits public60: 646 questions with reference answers · private40: 429 questions, reference answers held out for the leaderboard

Leaderboard splits

The public60 split is for development and reporting. Its reference answers are included, so you can score your system locally with the evaluation code.

The private40 split is the held-out leaderboard set. Its questions and contexts are released, but its reference answers are not. To get a private score, run your system on all questions and submit the answers on welllogbench.com.

Files

Path Content
data/benchmark.jsonl One row per question: qa_id, basin, question_type, category, sub_category, split, question, well_name, formations, reference_answer (null for private40)
data/benchmark/ The same questions grouped by basin, question type and category, in the record format the evaluation harness reads
data/benchmark/splits.csv The public60 / private40 assignment of every question
data/contexts_archives/<basin>.tar.gz The context JSONs the prompts are built from (per well, formation and lithology group), plus SHA256SUMS
data/assets/ Frozen prompt templates used by the post-trained WellLog-LLM models
wells/ The 40 benchmark wells themselves, by basin: the LAS files, the formation tables and the lithology codes the contexts were computed from, with each supplier's terms in wells/README.md

Usage

The evaluation code downloads and unpacks everything:

pip install -e .                 # in a clone of the GitHub repository
welllogbench download            # fetches this dataset and unpacks the contexts

To get the well logs and their tables (84 MB), which welllogbench download does not fetch:

hf download sambal/WellLogBench --repo-type dataset --include "wells/*" --local-dir .

To read the questions directly:

from datasets import load_dataset
ds = load_dataset("sambal/WellLogBench", split="test")
public = ds.filter(lambda r: r["split"] == "public60")

The derived logs

The contexts are statistics of logs that Petrophys derives from each well's LAS file: clay volume, total and effective porosity, mineral volumes, water saturation, permeability, the net-reservoir and net-pay flags. To get those derived logs for a benchmark well, interpret its LAS file from wells/ with petrophys.interpret and the basin's context profile:

import petrophys as pp                      # pip install "petrophys>=3.0.0"

r = pp.interpret("wells/geolink/las/30_6-5.las", context_profile="geolink")
r = pp.interpret("wells/costa/las/HW-3.las", context_profile="costa")
r = pp.interpret("wells/danish/las/elin-1.las", context_profile="danish",
                 formations="wells/danish/formation_tops.xlsx")

logs = r.well.to_dataframe()                # the measured and the derived curves, one row per depth
r.well.to_las("elin-1_interpreted.las")     # or as a LAS file
Basin context_profile Also pass
GeoLink "geolink" nothing
COSTA "costa" nothing
Danish "danish" formations= the Danish tops workbook, wells/danish/formation_tops.xlsx

The profile fixes every setting of the interpretation, so the logs are the ones the contexts were computed from: the statistics of r.well over a context group's depths are that group's context statistics. A profile takes the LAS file as it is in wells/ and accepts no other setting.

The formations

petrophys.interpret with a profile attaches no formations: it returns the logs of the whole well. The formations come in when the contexts are written, from each basin's formation table:

Basin The formations come from Passed as
GeoLink the Norwegian Offshore Directorate's stratigraphic picks: wells/geolink/NPD stratigraphic picks north sea.xlsx, the workbook of the GeoLink release formations=
COSTA Petrophys itself: one reservoir interval per well, KHARAIB-2 (the same intervals are in wells/costa/formations.csv) nothing
Danish wells/danish/formation_tops.xlsx formations=

For a GeoLink well, Petrophys takes the well's picks that name a group, a formation or a member (GP., FM., MB.), orders them by depth, and lets each run from its own top to the next deeper pick. The formation names of the contexts are the names of the picks: in 30/6-5, for example, BAAT GP. TOP, NESS FM. TOP and ETIVE FM. TOP. Inside a formation, the lithology groups come from the LAS file's LITHOLOGY_GEOLINK curve, named with the codebook wells/lithology_codes.xlsx. Petrophys does not write GeoLink or Danish contexts without these two tables.

To write a basin's contexts from its files:

pp.export_context("wells/geolink/las", "contexts/geolink", layout="package", context_profile="geolink",
                  formations="wells/geolink/NPD stratigraphic picks north sea.xlsx",
                  lithology_codes="wells/lithology_codes.xlsx")
pp.export_context("wells/costa/las", "contexts/costa", layout="package", context_profile="costa")
pp.export_context("wells/danish/las", "contexts/danish", layout="package", context_profile="danish",
                  formations="wells/danish/formation_tops.xlsx", lithology_codes="wells/lithology_codes.xlsx")

Checked with Petrophys 3.0.0 on GeoLink well 30/6-5: its 1,092 single-formation context files come out as the benchmark's, file for file, except the statistics of the ELECTROFACIES curve in the 182 files of the numerical category.

Scoring

A GPT-5 reference judge scores each answer against the expert reference. A Qwen3-Next-80B-A3B numerical judge checks the numbers against the context statistics. Scores are grouped into Response Adequacy (RA), Trust, Style and Reasoning Quality (RQ), and Overall = 0.4·RA + 0.2·Trust + 0.2·Style + 0.2·RQ (0–100). See the code repository for details.

License and data sources

The questions, reference answers and contexts are released under CC BY 4.0. The well logs and tables in wells/ are their suppliers' data, passed on under the terms below.

They were built from public well data, which keeps its suppliers' terms and attributions: CC BY 4.0 does not replace them, and it grants no rights that the suppliers have not granted. Keep the statements below when you redistribute the benchmark or anything derived from it. None of the suppliers endorses WellLogBench or its interpretations.

Basin Wells Questions Supplier of the well data Terms of the well data
GeoLink (North Sea) 20 667 GEOLINK; Norwegian Offshore Directorate Norwegian Licence for Open Government Data (NLOD) 2.0
COSTA (Middle East) 15 271 Costa Gomes, Geiger and Arnold, Heriot-Watt University CC BY
Danish 5 137 Geological Survey of Denmark and Greenland (GEUS) GEUS's terms for free Danish subsurface data; formation tops CC BY 4.0

What WellLogBench changed. It converted and resampled the logs, derived petrophysical curves from them with Petrophys, computed the statistics in the contexts, and built its questions and reference answers on top of them. The contexts and the answers are interpretations by the WellLogBench authors, not the suppliers' measurements, and the suppliers are not responsible for them.

GeoLink. Contains data under the Norwegian licence for Open Government data (NLOD) distributed by GEOLINK and by the Norwegian Offshore Directorate. WellLogBench has changed the information as described above. We thank GEOLINK (https://www.geolink-s2.com/) for providing the North Sea well logs and lithology interpretations, released through the MalenoV repository (Rutherford Ildstad and Bormann, 2017, https://github.com/bolgebrygg/MalenoV) under the Norwegian Licence for Open Government Data (NLOD 2.0). We obtained them through the well-log imputation benchmark of Gama et al. ("Imputation in Well Log Data: A Benchmark for Machine Learning Methods", Computers & Geosciences, 2025, doi:10.1016/j.cageo.2024.105789; processed datasets, doi:10.5281/zenodo.10987946, CC BY 4.0). The formation tops are the stratigraphic picks of the Norwegian Offshore Directorate, formerly the Norwegian Petroleum Directorate (FactPages), under NLOD. The release's licence file asks every publication that uses the data to cite the MalenoV repository and the licence, and to attribute and acknowledge GEOLINK for providing the data.

COSTA. We thank Jorge Costa Gomes, Sebastian Geiger and Daniel Arnold (Heriot-Watt University) for the COSTA model: COSTA MODEL: Hierarchical carbonate reservoir benchmarking case study, Heriot-Watt University, doi:10.17861/6e36e28d-50d9-4e31-9790-18db4bce6e5d, licensed CC BY on the publisher's record; described in "The Design of an Open-Source Carbonate Reservoir Model", Petroleum Geoscience, 2022, doi:10.1144/petgeo2021-067.

Danish. Source of the well data: the Geological Survey of Denmark and Greenland (GEUS). The well data are released data from GEUS's Subsurface Data Denmark portal, used under GEUS's terms for free Danish subsurface data. Under these terms GEUS keeps all ownership, copyright and other rights to the data, and interpretations and other products derived from the data may be passed on. GEUS's rights must be respected in accordance with those terms. GEUS takes no responsibility for the quality, reliability or accuracy of the data, or for their fitness for any purpose. The formation tops are from GEUS, Formation tops for deep exploration wells drilled in Denmark, version 1.4, doi:10.22008/FK2/RJ35BW, CC BY 4.0.

We thank the domain experts from ThinkOnward for their contributions to defining the problem scope and validating the benchmark requirements.

Citation

Expert-Reviewed Benchmark and Domain-Specialized LLM for Subsurface Well-Log Interpretation. Sambal Shikhar, Lee Ming Xiang, Zhaksylyk Kabashev, Jean Lahoud, Sandesh Bharadwaj, Sunil Kumar Sahu, Onkar Pandit, Martin Takáč, Rao Muhammad Anwer, Federico Castanedo and Hisham Cholakkal (Mohamed bin Zayed University of Artificial Intelligence; Inception42). Under review, 2026.

@misc{shikhar2026welllogbench,
  title  = {Expert-Reviewed Benchmark and Domain-Specialized {LLM} for Subsurface Well-Log Interpretation},
  author = {Shikhar, Sambal and Lee, Ming Xiang and Kabashev, Zhaksylyk and Lahoud, Jean and Bharadwaj, Sandesh and
            Sahu, Sunil Kumar and Pandit, Onkar and Tak{\'a}{\v{c}}, Martin and Anwer, Rao Muhammad and
            Castanedo, Federico and Cholakkal, Hisham},
  year   = {2026},
  note   = {Under review}
}