arXiv:2610.01204cs.LGOct 2026

Manuscript Offprint

arXiv:2610.01204

Autoregressive Drillhole Modelling Under Distribution Shift

Yihao Ding, Daniel Yitian Su, Yiran Zhang, Christopher M. Gonzalez, Wei Liu

ABSTRACT

Autoregressive modelling has achieved remarkable success in language and sequence tasks by learning to predict future states from previous observation. Mineral-exploration drillholes provide a natural but largely unexplored setting for this paradigm: as drilling proceeds, lithology is revealed sequentially from shallow to deep, making prediction of deeper strata inherently autoregressive. Existing drillhole modelling, however, is dominated by spatial interpolation and reconstruction, or largely rely on masked modelling, leaving strictly autoregressive prediction largely underexplored. We introduce DrillBench, a benchmark of 49,671 Western Australian drillholes for next-layer prediction and autoregressive stratigraphic generation across a graded transfer spectrum, from local prediction through spatial shift to cross geological province transfer. Benchmarking classical, geostatistical, and neural models reveals a clear transfer boundary: spatial and geochemical conditioning provides large local gains but deteriorates sharply under stronger shift, whereas lithology-sequence autoregressive models transfer more robustly. Guided by this finding, we develop a backbone-agnostic recipe combining large-scale pretraining on historical drillholes with spatial retrieval of neighbouring lithology. Retrieval is most effective in weathered cover, when local spatial continuity remains informative, whereas pretraining contributes more strongly in bedrock and under broader geological shift. Together, they retain strong local performance while improving generalisation under spatial and cross-province shift, most markedly on the most distant splits. The benchmark and code are available at https://github.com/yihaoding/drillbench.

1 INTRODUCTION

Autoregressive modelling has expanded beyond language (Achiam et al., 2023; Brown et al., 2020) to scientific sequences such as proteins (Madani et al., 2023), genomes (Nguyen et al., 2024), and general time series (Garza et al., 2023). By repeatedly predicting the next state from the observed sequence, autoregressive models can learn recurring structural dependencies that support both next-step prediction and free-running generation. Such dependencies may also transfer across settings when similar underlying structure persists. Meanwhile, the machine-learning community has shown growing interest in geoscience, particularly through remote sensing (Bai et al., 2026; Ji et al., 2026) and Earth observation (Danish et al., 2026). However, most of this progress focuses on surface and near-surface observations, while subsurface geological sequences, including large drillhole archives, remain comparatively underexplored by modern sequence modelling.

The drilling process naturally induces an autoregressive prediction setting (Figure 1). As drilling progresses downwards, lithology is revealed layer by layer, so at any stage only the strata already encountered above the drill bit are available, while deeper formations remain unknown. This makes it natural to predict the next stratum from the sequence observed so far and recursively extend the hole to deeper. More importantly, autoregressive modelling can learn recurring stratigraphic dependencies within a hole, for example, a weathering profile progressing from laterite to saprolite and then to

*Corresponding author: wei.liu@uwa.edu.au fresher bedrock, rather than relying entirely on nearby observations. Existing mineral-drillhole modelling, however, is dominated by interpolation, simulation, and 3D reconstruction (Strebelle, 2002; Ren et al., 2025; Li et al., 2026a), which primarily exploit spatial relationships between observations. Petroleum well-log studies retain the depth sequence but largely focus on masked representation learning or point-wise classification (Qi et al., 2025; Sun et al., 2023; Carvalho et al., 2026). Neither setting directly evaluates whether a model can use the observed stratigraphic sequence to roll a partially drilled hole forward from its own predictions, leaving autoregressive subsurface generation without a public benchmark or shared evaluation protocol.

Thus, we introduce DrillBench, a public benchmark of 49,671 mineral-exploration drillholes, together with about 112k-hole pretraining archive (WA-DASC-full) spanning several tectonic provinces in Western Australia. DrillBench evaluates two tasks: next-layer prediction, which predicts the next lithology from the ground-truth history above it, and free-running generation, which recursively generates the remaining lithology from an observed prefix. Both tasks are evaluated across progressively larger spatial and geological shifts, from in-distribution prediction through increasing spatial shift to cross-province transfer. Benchmarking a broad range of classical, geostatistical, and neural methods reveals a clear advantage of sequence-only autoregressive modelling: it provides a better balance between in-distribution accuracy and transfer. By relying on the observed sequence rather than location-specific signals, these models degrade more gradually as spatial and geological shift increases. In contrast, direct spatial and geochemical conditioning improves local accuracy but can become harmful under stronger shift, exposing a clear transfer boundary.

Building on this transfer-safe autoregressive foundation, we further develop a backbone-agnostic training-and-inference recipe that introduces additional geological information. (i) Large-scale pretraining strengthens transferable stratigraphic structure using historical drillholes, with sparse geochemistry used only as auxiliary supervision. (ii) Spatial retrieval then introduces neighbouring lithology at inference without directly exposing absolute coordinates at test time. The two mechanisms complement the autoregressive model in different geological regimes. Retrieval is most effective in weathered cover within the source province but adds little across provinces. Pretraining shows the opposite trend: it contributes little in-distribution but becomes more valuable in bedrock and under broader geological transfer. Together, these results show how the three components complement each other: autoregressive sequence modelling provides the transferable foundation, retrieval strengthens prediction where local continuity is reliable, particularly in weathered cover, and pretraining becomes more important in bedrock and under broader geological transfer.

Our contributions are: i) Formulation. We formulate drillhole modelling as generative next-stratum prediction: the model uses only the strata already observed to predict the unseen geology below. We evaluate this through next-stratum prediction and free-running generation with a unified protocol. ii) The transfer boundary. Coordinates and assays improve local accuracy but degrade sharply under spatial and geological shift, whereas sequence-based models transfer more robustly. iii) Pretraining and retrieval. We extend autoregressive models with large-scale pretraining on large-scale drillholes and retrieval of neighbouring lithology, without directly conditioning on absolute coordinates or assays. Retrieval is most useful for local continuity in weathered cover, while pretraining contributes more in bedrock and cross-province transfer. iv) Resources. We release DrillBench with 49,671 drillholes, the WA-DASC-full pretraining corpus, pretrained checkpoints, and evaluation code.