Update README.md
Browse files1234567891011121314151617181920212223242526272829303132333435363738392 unmodified lines42434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148---license: otherpretty_name: Lithology Sequence Identification Benchmarktask_categories:- othertags:- geology- geoscience- well-logs- petrophysics- lithology- LAS- benchmarkconfigs:- config_name: logsdata_files:- split: trainpath: data/logs/train.parquet- split: validationpath: data/logs/validation.parquet- split: testpath: data/logs/test.parquet- config_name: wellsdata_files:- split: trainpath: data/wells.parquet---<div align="center"># Lithology Sequence Identification Benchmark**Evaluation-only benchmark: predict the lithological sequence of a whole well from raw wireline logs**[](https://github.com/Nora-Research-Lab)[](https://huggingface.co/NoraResearchLab)[](https://www.linkedin.com/company/nora-research-lab)[](https://x.com/noraresearchlab)[](https://noraresearchlab.site)2 unmodified lines---## TaskGiven **one complete well log** (curves sampled every 0.5 ft), output the **ordered list of continuouslithological intervals** across depth:```json[{"top_depth_ft": 2150.0, "base_depth_ft": 2191.5, "lithology": "SHALE"},{"top_depth_ft": 2191.5, "base_depth_ft": 2230.0, "lithology": "LIMESTONE"},{"top_depth_ft": 2230.0, "base_depth_ft": 2246.5, "lithology": "UNKNOWN/MIXED"}]```Intervals must be contiguous and cover the logged interval. Classes: `SHALE`, `SANDSTONE`, `LIMESTONE`, `DOLOMITE`, `ANHYDRITE`, `SALT`, `COAL`, `UNKNOWN/MIXED`.`UNKNOWN/MIXED` marks depths where the available logs do not support a reliable single-lithology call.> **Labels are withheld.** The public release contains only the QC'd logs and well metadata. Reference intervals are retained privately by the maintainers for offline scoring of submitted predictions.| | ||---|---|| Wells | 245 (train 166 / validation 25 / test 54 — split by well) || Depth samples | 1,963,283 || Reference intervals | 49,830 || Label-quality tiers | A: 167, B: 78 || Config fingerprint | `7b440d013c0a08a1` || Reference fingerprint | `92e77d413b4c86d4` |## Files / configs| Config | Content | Role ||---|---|---|| `logs` | `well_id, depth_ft, GR, RHOB, NPHI, PEF, DT, RT, CALI` (QC'd, `NaN` = curve absent) | **model input** || `logs` | `well_id, depth_ft, GR, RHOB, NPHI, PEF, DT, RT, CALI` (QC'd, `NaN` = curve absent) | **model input** || `wells` | one row per well: split, tier, curves present, baselines, interval count | metadata || `intervals` / `depthwise` | **withheld** – private reference held by maintainers | evaluation only |`label_config.json` holds every threshold used; `curve_specs.json` the mnemonic rules; `manifest.json` versions and hashes.## How the reference labels are produced (deterministic, no randomness, no machine learning)1. **Curve detection** — each LAS curve is matched to a standard curve by mnemonic alias → regex → description keywords → unit, so`RHOZ`, `DEN`, `RHOB` all become `RHOB`, `ILD`/`LLD`/`AT90`/conductivity become `RT`, etc. Ties are broken by data coverage then name.2. **Unit standardisation** — metres→feet, kg/m³���g/cc, %→fraction, µs/m→µs/ft, mm→in, conductivity→resistivity.3. **Quality control** — sentinel/null masking, physical-range masking, flat-line (dead tool) masking, Hampel spike removal, resampling to afixed grid (bin-mean for fine logs, gap-limited interpolation for coarse), low-coverage curve rejection, caliper-based washout flag thatdown-weights density/neutron/PEF/sonic evidence.4. **Multi-log fuzzy scoring** — per depth, each lithology is scored from every *available* feature (gamma index normalised per well,RHOB, limestone-scale NPHI, PEF, DT, log resistivity, neutron–density separation) through trapezoidal membership functions andconfigurable weights. Missing curves reduce evidence; they never crash the method. Contradicted lithologies are penalised.5. **UNKNOWN/MIXED gate** — assigned when available-evidence weight, best score, or the margin over the runner-up falls below configured limits.6. **Segmentation** — depth-wise calls are median/mean smoothed, then runs thinner than the minimum bed thickness are iteratively absorbedinto the better-fitting neighbour and equal neighbours merged, yielding geological intervals instead of log noise.Lithology plateau ranges used (full trapezoids in `label_config.json`):| Lithology | GRI | RHOB | NPHI | PEF | DT | LOGRT | ND_SEP ||---|---|---|---|---|---|---|---|| SHALE | 0.65 – 2.5 | 2.2 – 2.65 | 0.25 – 0.45 | 2.5 – 3.8 | 85 – 140 | -0.2 – 0.7 | 0.05 – 0.22 || SANDSTONE | -1 – 0.25 | 2.15 – 2.65 | -0.04 – 0.18 | 1.6 – 2.3 | 52 – 90 | 0 – 2.2 | -0.12 – -0.02 || LIMESTONE | -1 – 0.25 | 2.35 – 2.72 | -0.01 – 0.18 | 4.7 – 5.5 | 46 – 72 | 0.9 – 3 | -0.02 – 0.03 || DOLOMITE | -1 – 0.28 | 2.65 – 2.9 | 0.02 – 0.2 | 2.9 – 3.5 | 43 – 65 | 0.8 – 3 | 0.06 – 0.16 || ANHYDRITE | -1 – 0.12 | 2.92 – 3 | -0.04 – 0.03 | 4.8 – 5.4 | 48 – 53 | 2.6 – 5 | 0.12 – 0.22 || SALT | -1 – 0.12 | 2 – 2.15 | -0.04 – 0.04 | 4.4 – 4.9 | 65 – 70 | 2.6 – 5 | -0.45 – -0.25 || COAL | -1 – 0.55 | 1.2 – 1.7 | 0.45 – 0.85 | 0.2 – 1.5 | 110 – 160 | 1.3 – 3.5 | -0.25 – 0.25 |## Evaluation```pythonfrom datasets import load_datasetimport pandas as pdlogs = pd.concat([load_dataset("NoraResearchLab/Lithology-Sequence-Benchmark", "logs", split=s).to_pandas() for s in ["test"]])ref = pd.concat([load_dataset("NoraResearchLab/Lithology-Sequence-Benchmark", "intervals", split=s).to_pandas() for s in ["test"]])# my_model(well_curves_df) -> DataFrame[top_depth_ft, base_depth_ft, lithology]# summary, per_well = evaluate_model(my_model, logs, ref) # evaluate_model / metrics live in the builder notebook```Reported metrics: pooled **depth macro-F1 / accuracy** (also on confident-reference depths only), **boundary F1** at ±2.5/5/10 ft, and**sequence similarity** (1 − normalised edit distance of the ordered lithology sequence).## Important limitations — please read- **These are rule-derived (silver-standard) labels, not core- or cutting-verified lithology.** They measure agreement with a transparentpetrophysical interpretation of the logs; they are not independent ground truth. A model with access to the same curves can in principlelearn the rules, so strong scores indicate rule recovery, not proven geological accuracy.- Default signatures are generic clean-matrix / textbook ranges, **not calibrated to Kansas**. Boundaries shift by a few feet because of smoothing.- Neutron logs are assumed limestone-scale unless the mnemonic says otherwise. Heavy mud, casing, salt-section washouts and bad tools can mislead any log-only method.- Sandstone-vs-limestone-vs-dolomite separation is weaker when PEF/DT are absent (tier B wells), which increases `UNKNOWN/MIXED`.## Source data & attributionLogs come from the public digital wireline-log archives of the **Kansas Geological Survey (KGS)**, University of Kansas(https://www.kgs.ku.edu/Magellan/Logs/). KGS distributes data "as is" without warranty; consult the KGS terms and disclaimer beforedownstream use. This is an independent derivative work, not endorsed by the KGS.## Maintainer**NORA Research Lab**[](https://github.com/Nora-Research-Lab)[](https://huggingface.co/NoraResearchLab)[](https://www.linkedin.com/company/nora-research-lab)[](https://x.com/noraresearchlab)Quick links: [Website](https://noraresearchlab.site) · [GitHub](https://github.com/Nora-Research-Lab) · [Hugging Face](https://huggingface.co/NoraResearchLab) · [LinkedIn](https://www.linkedin.com/company/nora-research-lab) · [X](https://x.com/noraresearchlab)12345678910111213141516171819202122232425262728293031323334353637383940412 unmodified lines444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160---license: otherpretty_name: "Lithology Sequence Identification Benchmark"task_categories:- othertags:- geology- geoscience- well-logs- petrophysics- lithology- LAS- benchmarkconfigs:- config_name: logsdata_files:- split: trainpath: data/logs/train.parquet- split: validationpath: data/logs/validation.parquet- split: testpath: data/logs/test.parquet- config_name: wellsdata_files:- split: trainpath: data/wells.parquet---<div align="center"># Lithology Sequence Identification Benchmark**Evaluation-only benchmark for reconstructing the lithological sequence of a complete well from raw wireline logs**A fixed-well benchmark for testing whether machine-learning and AI systems can infer continuous lithological intervals from conventional petrophysical measurements.[](https://github.com/Nora-Research-Lab)[](https://huggingface.co/NoraResearchLab)[](https://www.linkedin.com/company/nora-research-lab)[](https://x.com/noraresearchlab)[](https://noraresearchlab.site)2 unmodified lines---## OverviewThe **Lithology Sequence Identification Benchmark** evaluates models on a practical subsurface interpretation problem:> **Given the complete wireline-log suite from a well, can a model reconstruct the ordered sequence of lithological intervals across the logged depth?**Unlike conventional point-wise classification benchmarks, the task is not simply to assign a lithology label to every individual depth sample.The expected prediction is a **geologically meaningful sequence of contiguous depth intervals**, for example:```json[{"top_depth_ft": 2150.0,"base_depth_ft": 2191.5,"lithology": "SHALE"},{"top_depth_ft": 2191.5,"base_depth_ft": 2230.0,"lithology": "LIMESTONE"},{"top_depth_ft": 2230.0,"base_depth_ft": 2246.5,"lithology": "UNKNOWN/MIXED"}]```Predicted intervals must be:* ordered by depth;* contiguous;* non-overlapping;* and collectively cover the logged interval.The benchmark therefore evaluates both **lithology identification** and **boundary placement / sequence reconstruction**.---# Benchmark Statistics| Property | Value || --------------------- | -----------------------------------: || Total wells | **245** || Training wells | **166** || Validation wells | **25** || Test wells | **54** || Depth samples | **1,963,283** || Reference intervals | **49,830** || Label-quality Tier A | **167 wells** || Label-quality Tier B | **78 wells** || Sampling interval | **0.5 ft** || Lithology classes | **8** || Evaluation type | **Well-level / sequence prediction** || Config fingerprint | `7b440d013c0a08a1` || Reference fingerprint | `92e77d413b4c86d4` |The train, validation, and test sets are split **by well**, rather than by individual depth samples.This is important because adjacent samples from the same well are highly correlated. A random depth-level split could allow information from the same geological environment to appear in both training and test data and would therefore produce an overly optimistic estimate of generalisation.---# Task Definition## InputEach benchmark example consists of one complete well log sampled at approximately **0.5 ft**.The standard input curves are:```textGRRHOBNPHIPEFDTRTCALI```Not every well contains every curve.Missing curves are represented as:```textNaN```A model should therefore be capable of operating with incomplete curve suites.---## OutputThe model must return an ordered sequence of lithological intervals:```texttop_depth_ftbase_depth_ftlithology```The permitted lithology classes are:```textSHALESANDSTONELIMESTONEDOLOMITEANHYDRITESALTCOALUNKNOWN/MIXED````UNKNOWN/MIXED` is an explicit class rather than an error state.It represents depths where the available wireline evidence does not provide sufficient support for a reliable single-lithology interpretation.---# Why Sequence Identification?Traditional machine-learning approaches to lithology prediction often formulate the problem as:```textwireline measurements at depth↓lithology class```This produces a label for every depth sample.The present benchmark instead treats the well as a **sequence reconstruction problem**:```textComplete well logs↓depth-wise geological evidence↓lithology transitions↓continuous geological intervals↓ordered lithological sequence```This distinction matters because a useful subsurface interpretation must identify not only **what lithology occurs**, but also:* where an interval begins;* where it ends;* how thick it is;* what lithology occurs above and below it;* and whether the evidence is sufficiently strong to make a confident call.A model that produces correct labels but places boundaries several feet away from the reference intervals can therefore receive different results from a model that accurately reconstructs both lithology and boundaries.---# Lithology ClassesThe benchmark contains eight possible output classes.| Class | Description || --------------- | ------------------------------------------------------------------------------- || `SHALE` | Fine-grained, generally clay-rich sedimentary interval || `SANDSTONE` | Predominantly clastic sand-sized sedimentary interval || `LIMESTONE` | Predominantly carbonate interval dominated by calcite || `DOLOMITE` | Carbonate interval with dolomitic characteristics || `ANHYDRITE` | Evaporite interval dominated by anhydrite || `SALT` | Evaporite interval dominated by halite || `COAL` | Coal-bearing interval || `UNKNOWN/MIXED` | Insufficient or conflicting evidence for a reliable single-class interpretation |The classes are intended for benchmark evaluation and should not be interpreted as exhaustive geological descriptions of every formation or facies present in the source wells.---# Dataset ConfigurationsThe dataset is organised into two principal configurations.| Config | Contents | Purpose || ------- | ----------------------------------------- | ------------------- || `logs` | QC'd depth-indexed wireline measurements | Model input || `wells` | Well-level metadata and split information | Metadata / analysis |The reference lithology intervals are **not publicly released**.They are retained privately by the benchmark maintainers for evaluation.---# Files### `logs`Contains the processed wireline-log observations.Expected fields include:```textwell_iddepth_ftGRRHOBNPHIPEFDTRTCALI```Missing measurements are represented using `NaN`.The data are quality-controlled and standardised so that models can operate on a consistent representation despite differences between the original LAS files.---### `wells`Contains one record per well.The metadata include information such as:```textwell_idsplitlabel_quality_tiercurves_presentbaseline_informationreference_interval_count```This configuration is intended for dataset inspection, stratified analysis, and benchmark bookkeeping.---### Private reference dataThe maintainers retain the reference lithology representation used for scoring.This includes the equivalent of:```textintervalsdepthwise labels```These files are intentionally withheld from the public release.The purpose is to prevent direct optimisation against the evaluation labels.---# Train / Validation / Test SplitThe benchmark uses a **well-level split**:```textTrain: 166 wellsValidation: 25 wellsTest: 54 wells```A well and all of its depth samples belong to exactly one split.This prevents the same well from contributing correlated observations to both training and evaluation.The public benchmark therefore tests whether a model can generalise to **previously unseen wells**, rather than merely interpolate between nearby depth samples from wells it has already observed.---# Reference Label ConstructionThe reference labels are generated through a deterministic petrophysical interpretation pipeline.They are not produced using machine learning.The pipeline is designed to convert heterogeneous raw LAS data into a consistent, reproducible lithological reference representation.The process consists of:```textRaw LAS files↓Curve identification↓Unit standardisation↓Quality control↓Depth-grid standardisation↓Multi-log lithology scoring↓UNKNOWN/MIXED confidence gate↓Sequence smoothing↓Minimum-bed-thickness processing↓Final lithological intervals```No randomness is used in the reference-label generation process.---# Step 1 — Curve DetectionDifferent wells may use different mnemonics for equivalent measurements.The benchmark therefore maps raw LAS curves to standard benchmark channels using a deterministic hierarchy:```textmnemonic alias↓regular-expression matching↓description keywords↓unit information```For example, density curves can appear under names such as:```textRHOBRHOZDEN```and are mapped to:```textRHOB```Likewise, resistivity-related curves may appear under names such as:```textILDLLDAT90```or conductivity representations and are standardised into the benchmark's `RT` representation where appropriate.When multiple candidate curves satisfy the matching rules, ties are resolved using data coverage and then curve naming.The complete mapping logic is defined by:```textcurve_specs.json```---# Step 2 — Unit StandardisationThe source LAS files contain measurements using different units.The preprocessing system converts measurements to consistent benchmark units.Examples include:| Original representation | Standard representation || ----------------------- | ----------------------- || metres | feet || kg/m³ | g/cc || percentage | fraction || µs/m | µs/ft || millimetres | inches || conductivity | resistivity |The objective is to ensure that the downstream interpretation rules operate in a consistent numerical space.---# Step 3 — Quality ControlSeveral quality-control operations are applied before lithology scoring.These include:### Null and sentinel maskingKnown null values and sentinel values are converted to missing observations.### Physical-range filteringMeasurements outside physically plausible ranges are masked.### Flat-line detectionExtended flat-line behaviour is detected as a possible dead-tool or failed-tool condition.Such measurements are prevented from contributing misleading evidence.### Hampel spike filteringIsolated extreme spikes are detected and removed using a Hampel-style robust outlier procedure.### Depth resamplingLogs are resampled onto a common fixed depth grid.Fine-resolution curves use bin averaging.Coarser measurements can use gap-limited interpolation where appropriate.### Coverage filteringCurves with insufficient usable coverage are rejected for that well or interval.### Washout detectionCaliper measurements are used to identify potential borehole washout.When washout is detected, density, neutron, PEF, and sonic evidence can be down-weighted because these measurements may become less representative of the formation.---# Step 4 — Multi-Log Lithology ScoringAt every usable depth, each lithology receives a score based on the available petrophysical evidence.The scoring system can incorporate:* gamma-ray index;* bulk density;* neutron porosity;* photoelectric factor;* sonic travel time;* logarithmic resistivity;* neutron-density separation;* and other configured evidence terms.Each feature contributes through configurable membership functions.The system uses **fuzzy/trapezoidal membership functions** rather than requiring a measurement to fall inside a single hard threshold.This allows gradual transitions between lithological interpretations.For example, a density measurement can provide partial support for multiple lithologies rather than producing an immediate binary decision.---# Missing CurvesThe benchmark explicitly supports incomplete log suites.If a curve is absent:```textNaN```is propagated through the scoring process.Missing data do not automatically invalidate a sample.Instead, the evidence contribution of the missing feature is removed from the total available evidence.This means a well with:```textGRRHOBNPHIRT```can still receive an interpretation even if:```textPEFDTCALI```are unavailable.However, fewer available curves generally produce greater uncertainty.---# Step 5 — UNKNOWN/MIXED GateThe system does not force every depth into one of the seven specific lithology classes.A depth can instead be assigned:```textUNKNOWN/MIXED```when the available evidence is insufficient.The gate considers factors such as:* total available evidence weight;* absolute score of the best lithology;* difference between the best and second-best lithology;* configured confidence thresholds.Conceptually:```textStrong evidence↓Specific lithologyWeak / contradictory evidence↓UNKNOWN/MIXED```This is intended to prevent the benchmark from treating every ambiguous petrophysical response as a confidently identified lithology.---# Step 6 — Sequence SegmentationRaw depth-wise classifications can contain short oscillations caused by measurement noise or borderline scores.The reference-generation process therefore applies controlled smoothing and segmentation.The procedure includes:1. median/mean smoothing of depth-wise calls;2. detection of short runs;3. iterative absorption of intervals below the configured minimum bed thickness;4. assignment of short intervals to the better-fitting neighbouring lithology;5. merging of adjacent intervals with the same lithology.The final output is therefore a sequence of continuous geological intervals rather than a noisy label at every individual sample.---# Lithology Reference SignaturesThe benchmark uses configurable default petrophysical signatures.The principal plateau ranges are:| Lithology | GRI | RHOB | NPHI | PEF | DT | LOGRT | ND_SEP || --------- | -------- | --------- | ---------- | ------- | ------- | -------- | ----------- || SHALE | 0.65–2.5 | 2.2–2.65 | 0.25–0.45 | 2.5–3.8 | 85–140 | -0.2–0.7 | 0.05–0.22 || SANDSTONE | -1–0.25 | 2.15–2.65 | -0.04–0.18 | 1.6–2.3 | 52–90 | 0–2.2 | -0.12–-0.02 || LIMESTONE | -1–0.25 | 2.35–2.72 | -0.01–0.18 | 4.7–5.5 | 46–72 | 0.9–3 | -0.02–0.03 || DOLOMITE | -1–0.28 | 2.65–2.9 | 0.02–0.2 | 2.9–3.5 | 43–65 | 0.8–3 | 0.06–0.16 || ANHYDRITE | -1–0.12 | 2.92–3 | -0.04–0.03 | 4.8–5.4 | 48–53 | 2.6–5 | 0.12–0.22 || SALT | -1–0.12 | 2–2.15 | -0.04–0.04 | 4.4–4.9 | 65–70 | 2.6–5 | -0.45–-0.25 || COAL | -1–0.55 | 1.2–1.7 | 0.45–0.85 | 0.2–1.5 | 110–160 | 1.3–3.5 | -0.25–0.25 |The complete membership functions, thresholds, weights, and other interpretation parameters are stored in:```textlabel_config.json```These ranges should be understood as **generic petrophysical signatures**, not universal geological laws.---# EvaluationThe public test logs do not include their reference lithology labels.Researchers can therefore submit predictions generated from the held-out wells and evaluate them against the private reference set maintained by the benchmark authors.A typical model interface is:```pythondef my_model(well_curves_df):# Return:# top_depth_ft# base_depth_ft# lithology...```The expected output is a DataFrame with:```texttop_depth_ftbase_depth_ftlithology```For example:```pythonprediction = pd.DataFrame([{"top_depth_ft": 2150.0,"base_depth_ft": 2191.5,"lithology": "SHALE"},{"top_depth_ft": 2191.5,"base_depth_ft": 2230.0,"lithology": "LIMESTONE"},{"top_depth_ft": 2230.0,"base_depth_ft": 2246.5,"lithology": "UNKNOWN/MIXED"}])```---# Evaluation MetricsThe benchmark evaluates multiple aspects of model performance.## 1. Depth-weighted / pooled lithology accuracyMeasures the proportion of evaluated depth samples for which the predicted lithology agrees with the reference.This captures overall depth coverage but can be dominated by thick intervals.---## 2. Depth macro-F1Macro-F1 gives greater importance to performance across individual lithology classes rather than allowing the most common lithologies to dominate the score.This is particularly relevant when lithologies have highly unequal thickness distributions.---## 3. Confident-reference evaluationMetrics can additionally be calculated only on reference depths where the underlying reference system has sufficient confidence.This separates:```textperformance against all reference interpretations```from:```textperformance against high-confidence reference interpretations```---# Boundary F1Lithology identification alone does not fully measure sequence reconstruction.A model can correctly identify the lithologies but place boundaries incorrectly.Boundary F1 therefore evaluates whether predicted lithological transitions occur close to reference boundaries.The benchmark reports boundary F1 at:```text±2.5 ft±5 ft±10 ft```A predicted boundary is considered a match when it falls within the corresponding tolerance of a reference boundary.This provides progressively more permissive measures of geological boundary localisation.---# Sequence SimilarityThe benchmark also evaluates the similarity of the ordered lithological sequence.The sequence metric is based on:```text1 − normalised edit distance```between the predicted and reference lithology sequences.For example:```textReference:SHALE → SANDSTONE → LIMESTONE → DOLOMITEPrediction:SHALE → SANDSTONE → LIMESTONE → DOLOMITE```has identical sequence structure.A prediction such as:```textSHALE → LIMESTONE → DOLOMITE```has a different sequence even if the model correctly identifies several of the individual lithologies.This metric therefore captures **sequence-level agreement** rather than simply point-wise classification.---# Recommended Evaluation TableResearchers should report performance separately for the complete test set and, where applicable, high-confidence reference depths.A recommended format is:| Model | Depth Macro-F1 | Accuracy | Boundary F1 ±2.5 ft | Boundary F1 ±5 ft | Boundary F1 ±10 ft | Sequence Similarity || ------- | -------------: | -------: | ------------------: | ----------------: | -----------------: | ------------------: || Model A | — | — | — | — | — | — || Model B | — | — | — | — | — | — |Per-class metrics are also encouraged, particularly for:```textSANDSTONELIMESTONEDOLOMITEANHYDRITESALTCOAL```because these classes can be substantially less frequent than shale.---# BaselinesThe benchmark is designed to support comparison between several classes of approaches, including:* rule-based petrophysical interpretation;* classical machine-learning classifiers;* gradient-boosted models;* recurrent sequence models;* temporal convolutional networks;* Transformer-based sequence models;* hybrid physics/ML approaches;* foundation-model or multimodal approaches.A useful baseline should operate only on information available to the model at inference time and should not use the withheld reference labels.---# Evaluation ExampleA simplified evaluation workflow is:```pythonfrom datasets import load_datasetimport pandas as pdlogs = pd.concat([load_dataset("NoraResearchLab/Lithology-Sequence-Benchmark","logs",split=s).to_pandas()for s in ["test"]])# Reference labels are privately maintained.# Public users submit predictions for scoring.# my_model(well_curves_df) -># DataFrame[# top_depth_ft,# base_depth_ft,# lithology# ]# summary, per_well = evaluate_model(# my_model,# logs,# reference# )```The exact evaluation implementation and private reference data are maintained separately from the public test inputs.---# Data Leakage ConsiderationsThis benchmark is explicitly designed to prevent direct access to the evaluation labels.The public release contains:```textQC'd logs+well metadata```but does not contain:```texttest lithology intervalstest depth-wise labels```Researchers should not attempt to reconstruct the private reference labels from benchmark metadata or implementation details and should not use the private reference representation during model development.Because the reference labels are generated by a deterministic rule-based system, a sufficiently detailed reproduction of the reference pipeline could potentially approximate the scoring target. Researchers using such an approach should clearly disclose that methodology.---# Label QualityThe reference data contain two quality tiers:```textTier A: 167 wellsTier B: 78 wells```The tiers reflect differences in the quality and completeness of the available wireline evidence.Tier A wells generally provide stronger multi-log evidence.Tier B wells may have more limited curve availability, increasing ambiguity in lithology discrimination.This is particularly relevant for distinguishing:```textSANDSTONELIMESTONEDOLOMITE```when PEF or sonic information is unavailable.---# Important Limitations## Silver-standard reference labelsThe benchmark labels are **rule-derived silver-standard labels**.They are not equivalent to independently verified geological ground truth from:* core;* cuttings;* thin sections;* petrographic analysis;* formation-tester measurements;* or a geologist's independent interpretation.The benchmark therefore measures agreement with a transparent, deterministic petrophysical interpretation system.A high score demonstrates that a model can reproduce the benchmark's reference interpretation.It does **not**, by itself, establish that the model has achieved independently verified geological accuracy.---## Generic petrophysical signaturesThe default lithology signatures are based on generic clean-matrix / textbook-style petrophysical ranges.They are not calibrated specifically to every formation represented in the source archive.Formation-specific mineralogy, pore-fluid properties, compaction, diagenesis, borehole conditions, and logging-tool characteristics can shift observed responses.---## Neutron scale assumptionsNeutron measurements are interpreted on a limestone-equivalent scale unless the source mnemonic indicates another interpretation.This can introduce ambiguity when different logging conventions or environmental corrections are present.---## Borehole effectsPoor hole conditions can affect:* density;* neutron;* PEF;* sonic;* and other measurements.Caliper-based washout detection reduces the contribution of affected curves, but it cannot completely eliminate borehole-related uncertainty.---## Missing curvesNot every well contains the complete curve suite.The benchmark therefore evaluates models under realistic missing-feature conditions.A model that requires every possible curve will have limited applicability across the complete benchmark.---## Synthetic / rule-derived interpretationAlthough the source measurements are real wireline logs, the reference lithology sequence is produced algorithmically.The benchmark should therefore be regarded as an evaluation of:```textwireline logs → benchmark lithology sequence```rather than:```textwireline logs → independently verified geological truth```---# Source DataThe underlying wireline logs originate from the public digital wireline-log archives of the:**Kansas Geological Survey (KGS), University of Kansas**Source:https://www.kgs.ku.edu/Magellan/Logs/The benchmark is an independent derivative work and is **not endorsed by the Kansas Geological Survey or the University of Kansas**.Users should review the applicable KGS terms, disclaimers, and conditions before using the underlying data or derivative products in downstream commercial or research applications.---# Reproducibility and VersioningSeveral files are used to make the benchmark pipeline auditable and reproducible.### `label_config.json`Contains the lithology membership functions, scoring weights, confidence thresholds, segmentation parameters, and other reference-generation settings.### `curve_specs.json`Contains the curve mnemonic aliases, matching rules, unit rules, and standardisation logic.### `manifest.json`Contains dataset version information, file manifests, and cryptographic hashes.### Configuration fingerprint```text7b440d013c0a08a1```### Reference fingerprint```text92e77d413b4c86d4```These fingerprints allow benchmark users to identify the exact configuration and reference version associated with a reported result.---# Reproducibility PrinciplesFor meaningful comparisons, researchers should:1. Use the fixed test wells.2. Do not modify the public test inputs.3. Do not train on the withheld reference labels.4. Report the benchmark version/configuration.5. Report preprocessing performed by the model.6. Report how missing curves are handled.7. Report whether depth-wise predictions are post-processed into intervals.8. Report the exact model checkpoint used for evaluation.---# Intended UsesThe benchmark is intended for:* lithology classification research;* automated well-log interpretation;* sequence modelling;* petrophysical machine learning;* geological boundary detection;* formation evaluation research;* benchmarking missing-log robustness;* comparing classical ML and deep-learning approaches;* evaluating AI systems for subsurface interpretation.It can also serve as a controlled test case for research into models that combine numerical sequence understanding with geological reasoning.---# Not Intended ForThe benchmark should not be used as the sole basis for:* drilling decisions;* reservoir development decisions;* formation abandonment decisions;* commercial reserve estimation;* safety-critical geological interpretation;* regulatory reporting;* or independent confirmation of geological conditions.Any operational subsurface application should use appropriately qualified geological and petrophysical review and independently validated reference data.---# Recommended Research QuestionsThe benchmark can support research questions such as:**Can sequence models outperform independent depth-wise classifiers?**A model may exploit geological continuity and neighbouring depth information to produce more coherent intervals.**How much does missing-log robustness affect performance?**Researchers can compare models across wells with different available curve suites.**Can models identify thin beds without producing excessive segmentation noise?**Boundary F1 and sequence similarity provide complementary measures for this problem.**Can machine-learning models outperform generic petrophysical rules?**Because the reference labels are generated by a transparent rule system, this question should be interpreted carefully: performance improvements indicate better agreement with the reference construction, not necessarily independently verified geological superiority.**How well do models generalise across unseen wells?**The well-level split makes this a central benchmark property.---# CitationIf you use the **Lithology Sequence Identification Benchmark** in research, publications, model evaluations, or derivative work, please cite this benchmark and acknowledge the underlying Kansas Geological Survey data source.### Benchmark```bibtex@misc{nora_lithology_sequence_benchmark_2026,title = {Lithology Sequence Identification Benchmark},author = {{NORA Research Lab}},year = {2026},publisher = {NORA Research Lab},note = {Evaluation benchmark for lithological sequence identification from wireline logs}}```### Source DataThe underlying wireline logs originate from the public Kansas Geological Survey digital wireline-log archive.Please consult the source archive and applicable KGS terms for the appropriate attribution and data-use requirements.---# Maintainer**NORA Research Lab**NORA Research Lab develops datasets, benchmarks, models, and tools for artificial intelligence applied to scientific and real-world domains.[](https://github.com/Nora-Research-Lab)[](https://huggingface.co/NoraResearchLab)[](https://www.linkedin.com/company/nora-research-lab)[](https://x.com/noraresearchlab)### Quick Links[Website](https://noraresearchlab.site) · [GitHub](https://github.com/Nora-Research-Lab) · [Hugging Face](https://huggingface.co/NoraResearchLab) · [LinkedIn](https://www.linkedin.com/company/nora-research-lab) · [X](https://x.com/noraresearchlab)---# SummaryThe **Lithology Sequence Identification Benchmark** contains **245 wells and approximately 1.96 million depth samples** for evaluating AI and machine-learning systems that infer lithological sequences from wireline logs.The central task is:```textComplete wireline logs↓Lithology sequence↓Contiguous depth intervals```The benchmark contains eight possible lithology classes and explicitly supports `UNKNOWN/MIXED` predictions where the available evidence is insufficient.Unlike a conventional random sample classification dataset, the benchmark is split by **complete wells** and evaluates models at both the **depth level** and the **geological sequence level**.The withheld reference labels, deterministic reference-generation pipeline, configuration fingerprints, and multiple evaluation metrics are intended to provide a reproducible framework for comparing automated lithology interpretation systems.
README.md+1118-106