Controlled Latent Diffusion Models for 3 3 D Porous Media Reconstruction

Danilo Naiff, Bernardo P. Schaeffer, Gustavo Pires, Dragan Stojkovic, Thomas Rapstine, Fabio Ramos · 2025

Read Controlled Latent Diffusion Models for 3 3 D Porous Media Reconstruction by Danilo Naiff, Bernardo P. Schaeffer, Gustavo Pires, Dragan Stojkovic, Thomas Rapstine, Fabio Ramos (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-24083.txt.

Introduction

Danilo Naiff and five co-authors present in 2025 a method to rebuild the pore space inside rocks in three dimensions. Good rebuilds must show fine pores yet cover a wide block of rock. That twin demand has long strained past methods.

Their method trains a compact code for rock blocks, then grows new blocks from that code. A twist is to pick target traits first, such as how much open space a block should hold. New blocks are then grown to match those traits. Tests on four rock types show that matching open space alone keeps other traits, such as flow rate, close to true values. Larger blocks than past work allows are also within reach.

Catalog record

CREATORDanilo Naiff, Bernardo P. Schaeffer, Gustavo Pires, Dragan Stojkovic, Thomas Rapstine, Fabio Ramos
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE61 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-24083

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Controlled Latent Diffusion Models for 3 3 D Porous Media Reconstruction Danilo Naiff, Bernardo P. Schaeffer, Gustavo Pires, Dragan Stojkovic, Thomas Rapstine, Fabio Ramos Abstract Note : The final version of this article was published in Computers and Geosciences, Volume 206, January 2026, 106038. DOI: 10.1016/j.cageo.2025.106038 . Readers should refer to the published version for the most up-to-date content. Three-dimensional digital reconstruction of porous media presents a fundamental challenge in geoscience, requiring simultaneous resolution of fine-scale pore structures while capturing representative elementary volumes. We introduce a computational framework that addresses this challenge through latent diffusion models operating within the EDM framework. Our approach reduces dimensionality via a custom Variational Autoencoder trained in binary geological volumes, improving efficiency and also enabling the generation of larger volumes than previously possible with diffusion models. A key innovation is our controlled unconditional sampling methodology, which enhances distribution coverage by first sampling target statistics from their empirical distributions, then generating samples conditioned on these values. Extensive testing on four distinct rock types demonstrates that conditioning on porosity—a readily computable statistic—is sufficient to ensure a consistent representation of multiple complex properties, including permeability, two-point correlation functions, and pore size distributions. The framework achieves better generation quality than pixel-space diffusion while enabling significantly larger volume reconstruction ( 256 3 256^{3} voxels) with substantially reduced computational requirements, establishing a new state-of-the-art for digital rock physics applications. Journal: Computers and Geosciences The final version of this article has been published in Computers and Geosciences, Volume 206, January 2026, 106038. DOI: 10.1016/j.cageo.2025.106038 . Readers should refer to the published version for the most up-to-date content. 1 Introduction Three-dimensional imaging technologies, particularly X-ray computed tomography, have revolutionized our understanding of porous media by enabling direct visualization of both pore structures and fluid distributions within otherwise opaque materials [ 1 , 2 , 5 ] . This breakthrough has found applications in water resources management, fuel cell development, carbon capture/storage, underground hydrogen storage, and hydrocarbon recovery. However, imaging techniques face an inherent trade-off: high resolution is crucial for accurately resolving pore structures, while a sufficiently large field of view is essential for capturing representative volumes that exhibit meaningful macroscopic properties [ 33 , 51 , 42 , 50 ] . Statistical generation of porous space images using numerical methods, particularly generative models, presents a promising solution to this resolution-versus-field-of-view challenge [ 23 , 24 , 25 , 49 ] . Within this domain, diffusion models have emerged as powerful alternatives demonstrating superior resistance to mode collapse and more stable training dynamics [ 24 ] , while showing exceptional promise in capturing multi-scale features inherent in heterogeneous porous media and enabling integration of multiple physical constraints. This work advances the application of diffusion models to porous media generation through two complementary approaches. First, we leverage Latent Diffusion [ 30 , 7 ] , a computationally efficient pipeline that reduces processing requirements while maintaining generation quality. Second, we integrate this with the state-of-the-art EDM framework [ 17 ] , enhancing generation stability and quality. Our approach utilizes a pre-trained Variational Autoencoder (VAE) to encode input data into a compressed latent space where diffusion operates efficiently, with the VAE’s decoder transforming generated latent representations back into the original data space. We extend these frameworks to geological binary volume generation in two key ways. First, we developed a specialized VAE for 3D binary pore-scale geological images—crucial given the scarcity of pre-trained 3D VAEs—optimizing compression efficiency while minimizing information loss. Second, we enhanced our diffusion model with a Transformer conditional layer to process complex statistical inputs such as two-point correlation functions, which can be readily obtained through experimental techniques like small-angle X-ray scattering (SAXS) or nuclear magnetic resonance (NMR). We also introduce a novel sampling methodology, termed controlled unconditional sampling, to enhance the coverage of the target distribution. This approach leverages a conditional generative model by first sampling a target statistic y from its empirical distribution r(y) observed in training data, then generating samples conditioned on this value using our trained conditional model p(x|y) . The marginalization over y , given by \int p(x|y)r(y)dy , approximates the desired unconditional distribution p(x) , ensuring comprehensive coverage provided that the conditional model accurately captures underlying relationships. Remarkably, conditioning on a single, easily computed statistic such as porosity achieves satisfactory coverage across multiple complex characteristics, including permeability, specific surface area, two-point correlation functions, and pore size distributions. When combined with data augmentation through symmetry operations, this technique proves particularly effective where limited training data would typically preclude successful unconditional generation. The efficacy of this approach is visually demonstrated in Figure 1 , which presents generated pore-space structures for four distinct rock types: Bentheimer and Doddington sandstones, and Estaillades and Ketton limestones. (a) Doddington (generated) (b) Estaillades (generated) (c) Bentheimer (generated) (d) Ketton (generated) (e) Doddington (validation) (f) Estaillades (validation) (g) Bentheimer (validation) (h) Ketton (validation) Figure 1 : 3D visualization of the pore-spaces of 256^{3} volumes. Top row: porosity-controlled generated samples. Bottom row: validation samples. The key contributions of this work include: (1) A modern latent diffusion framework based on EDM for generating binary 3D porous media volumes, offering state-of-the-art generation quality; (2) Novel strategies including data augmentation and controlled unconditional sampling to overcome limited dataset limitations; (3) Extended conditioning capabilities to handle functional inputs through a Transformer embedding layer; and (4) A specialized 3D autoencoder optimized for binary porous media volumes, featuring low-regularization tuning for diffusion model applications. Our framework represents a significant advancement in porous media characterization, introducing a computationally efficient pipeline for generating high-resolution, physically realistic samples at scales applicable to industrial and research applications. It establishes robust connections between statistical descriptors and physical structures, enabling unprecedented accuracy in representing complex geological features. Its ability to incorporate diverse conditioning data makes it an invaluable tool for uncertainty quantification in reservoir characterization studies [ 21 ] . 2 State-of-the-art and previous approaches The field of porous media generation has evolved from traditional methods to modern machine-learning approaches. Early methodologies included process-based techniques [ 6 ] , Gaussian field methods [ 37 ] , simulated annealing [ 12 ] , methods capturing spatial statistics or simulating sedimentary processes [ 16 , 4 , 45 , 29 ] , and Sequential Indicator Simulation [ 19 ] . Multiple-point statistics, the previous state-of-the-art, demonstrated three-dimensional pore-space image generation [ 27 ] , though these conventional approaches often struggled to produce structurally diverse samples and fully capture complex porous structures [ 32 ] . Recent breakthroughs in machine learning, particularly generative models, coupled with increased availability of high-quality three-dimensional training data, have transformed the landscape of porous media generation [ 25 , 51 , 23 , 21 , 22 , 47 ] . These modern approaches offer substantial advantages in characterizing complex pore spaces, generating images rapidly, producing diverse outputs, and incorporating physical constraints. The introduction of Generative Adversarial Networks (GANs) marked a significant milestone, with implementations such as DCGAN and WGAN demonstrating the potential of deep learning for porous media generation [ 25 , 46 ] . However, these early GAN models faced inherent challenges in training stability, mode collapse, and particularly in capturing features across multiple spatial scales—critical for complex rocks with wide pore size distributions. A significant advancement was

Read the complete text