Why ML for Geoscience? Problem Framing and Inference

Chapter 1, Welcome, ML for Earth and Subsurface Data

Learning objectives

  • State the forward problem and the inverse problem for well logs, and say which one learning solves
  • Explain how Ogbon-1's build and the book's tool model make the logs from the rock's truth
  • Explain why the nine wells differ, from the field's dip and its level free-water level
  • Compute the number to beat: the share right when every sample is called the larger class

Learning Runs the Forward Model Backward

A forward model goes from the cause to the data: from the rock's porosity, shale volume, water saturation and lithology to the logs a tool would read. Learning goes the other way, from the logs back to the rock, and it is fitted on samples where both are known. This book learns on its own nine wells: Ogbon-1, the Petrophysics book's well, and eight appraisal wells of the same field, 1201 samples each, 10809 in all. They carry the same beds at different depths on a dipping structure, so the same rock holds oil up the dip and brine down it: Ogbon-1 holds 277.0 ft of pay, and Ogbon-8, 484.5 ft down the dip, none. Pay is 5667 of the 10809 samples, so calling every sample pay is right for 0.524 of them: the number any model in this book must beat.

Learning Is The InverseInteractive figure, enable JavaScript to interact.

The Forward Problem

Every log in this book is computed, not measured. Ogbon-1's own build takes the generator's truth at each half foot and computes what a tool would read: density by mixing the pore fluid and the grain, ρb=ϕ ρf+(1βˆ’Ο•) ρma\rho_b = \phi\,\rho_f + (1 - \phi)\,\rho_{ma}; resistivity by Archie's law, Rt=aRw/(Ο•mSwn)R_t = a R_w / (\phi^m S_w^n); gamma ray from the shale volume; and the neutron, sonic and photoelectric logs by the Petrophysics book's own laws. The same build runs on each appraisal well's truth. Then the book's own tool model records each log as a tool would: a running mean over a few feet of rock, and a stated noise. On Ogbon-1 its density departs from the build by 0.026 g/cc and its gamma ray by 8.1 API, as root mean squares. The forward problem has one answer, and the figure draws both of its ends: the truth in (a), the build and the record in (b).

The Inverse Problem

The inverse asks what rock gave these logs. It is hard: different rocks can give nearly the same logs, and the logs carry noise. One road fits a model of the earth to the data through the forward model. Machine learning takes another: it fits a function from the logs to what is wanted, y^=f𝜽(𝐱)\hat y = f_{\boldsymbol\theta}(\mathbf x), on many samples where both are known, and asks it about samples where only the logs are. When the samples carry the answer, such as pay, lithology or porosity, the learning is supervised; when they carry none and the model looks for structure in the logs alone, it is unsupervised. Most of this book is supervised, and its labels are the generator's truth, so every score it prints can be checked.

Resistivity Sees the Fluid

Gamma ray, density, neutron and sonic read the rock; resistivity reads what fills it. In Ogbon-1's pay the tool records a geometric mean of 27.8 ohm.m, and in its wet sand, sandstone too wet to pass the cutoff, 0.69 ohm.m: oil is resistive and brine conducts. That is why the models of Chapter 4 call pay far better with resistivity than without it.

Why the Nine Wells Differ

The book's field dips 15Β° toward 120Β°, every bed a plane through Ogbon-1, with a sealing fault 1320 ft up the dip; the free-water level is level, at 6250 ft. A well up the dip finds the beds higher, and more of its sand above that level; a well down the dip finds them deeper. Ogbon-3, 231.9 ft up the dip, holds 385.5 ft of pay; Ogbon-8, 484.5 ft down it, has its whole log below the free-water level and holds none. The 3D plate (c) shows it: turn the field, and stretch its depths.

The Number to Beat

A model that has learned nothing can still score: it calls every sample the larger class. On the nine wells that class is pay, and the call is right for 0.524 of the samples; well by well it scores from 0.000 in Ogbon-8 to 0.643. Every score in this book is read against 0.524, and against the well it is scored on.

The Book in Sixteen Numbers

Every chapter ends on a number of these nine wells, and read in order the numbers say what the book finds. Chapter 1's is the number to beat, 0.524 (Section 1.1). Deep resistivity in Ogbon-1's net reservoir is skewed, +1.285, so the book works it in log10 (Section 2.1). Gradient descent finds a slope of porosity on density of βˆ’0.520 v/v per g/cc (Section 3.1). With each well held out in turn, logistic regression calls 0.986 of the samples right on pay (Section 4.2), kNN 0.976 (Section 5.2), naive Bayes 0.937 (Section 6.2) and a tree 0.975 (Section 7.2); a forest on the porosity logs alone calls 0.872 out of bag (Section 8.1). A rule on depth learned on Ogbon-1 calls only 0.678 of the other eight wells right (Section 9.2), and a random split of the samples flatters kNN by 0.014 (Section 10.2). The first principal component carries 0.659 of the six logs' variance (Section 11.1), and the pipeline keeps 10707 rows (Section 12.1). A small network calls 0.989 of pay right (Section 13.2), a 1-D CNN 0.993 of the zones (Section 14.1) and a recurrent cell 0.976 (Section 15.1); an autoencoder, with no labels, ranks a planted anomaly above clean log 0.740 of the time (Section 16.2).

The Throughline MapInteractive figure, enable JavaScript to interact.

Figure 1.1b sets the sixteen in order, each with the section that prints it, and sets the seven that are shares of pay called right against the number to beat. Every one is read from the book's kernel or the chapter's own table, as that chapter's figure prints it.

The Data Are the Book's Own

The whole set is synthetic. Ogbon-1 is the Petrophysics book's synthetic well, the appraisal wells are the book's own hypothetical wells in the book's lateral model, and the tool model is the book's own, not any real tool's specification. That is a choice: because the truth is known at every sample, every number in the book can be recomputed, and no label is guessed. Section 1.2 loads the same set in Python.

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.