--- 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.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/`](https://huggingface.co/datasets/sambal/WellLogBench/tree/main/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: ```bash 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: ```bash hf download sambal/WellLogBench --repo-type dataset --include "wells/*" --local-dir . ``` To read the questions directly: ```python 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](https://welllogbench.com/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: ```python 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: ```python 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](https://creativecommons.org/licenses/by/4.0/). The well logs and tables in [`wells/`](https://huggingface.co/datasets/sambal/WellLogBench/tree/main/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](https://welllogbench.com/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 () for providing the North Sea well logs and lithology interpretations, released through the MalenoV repository (Rutherford Ildstad and Bormann, 2017, ) under the Norwegian Licence for Open Government Data ([NLOD 2.0](https://data.norge.no/nlod/en/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](https://doi.org/10.1016/j.cageo.2024.105789); processed datasets, [doi:10.5281/zenodo.10987946](https://doi.org/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](https://factpages.sodir.no/)), 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](https://doi.org/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](https://doi.org/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](https://eng.geus.dk/products-services-facilities/data-and-maps/subsurface-data-denmark/) portal, used under GEUS's [terms for free Danish subsurface data](https://data.geus.dk/ugdata2d3d/terms_20230919.pdf). 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](https://doi.org/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. ```bibtex @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} } ```