In-context learning enables continental-scale subsurface temperature prediction from sparse local observations
Daniel O'Malley, Christopher W. Johnson, Javier E. Santos, Pablo Lara, Sandro Malus\`a, Bharat Srikishan, John Kath, Arnab Mazumder, Mohamed Mehana, David Coblentz, Nathan DeBardeleben, Earl Lawrence, Hari Viswanathan

TL;DR
This paper introduces In-Context Earth, a transformer-based model that predicts subsurface temperature fields at continental scale using sparse borehole data, outperforming traditional models and adapting to new regions without retraining.
Contribution
The work demonstrates that in-context learning with transformers can effectively utilize sparse geological observations for large-scale subsurface temperature prediction, with calibrated uncertainty and interpretability.
Findings
Achieves a mean absolute error of 4.7°C in the US, outperforming existing models.
Maintains high accuracy in new regions with minimal local observations.
Learns internal representations of subsurface properties without direct observation.
Abstract
Continental-scale knowledge of subsurface temperature is limited by the cost and sparsity of borehole measurements, but such information is essential for geothermal resource assessment and for understanding heat transport in the shallow crust. The thermal field reflects the interaction between lithology, crustal structure, radiogenic heat production, and advective fluid flow, sometimes producing sharp anomalies that are smoothed by conventional interpolation or difficult to capture with physical models. Here we introduce In-Context Earth, a transformer-based model that uses sparse local borehole observations as geological context to predict continuous temperature-at-depth fields with calibrated uncertainty. In the contiguous United States, the model achieves a mean absolute error of 4.7 {\deg}C, outperforming the physics-informed Stanford Thermal Model, a model based on AlphaEarth…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
