Inferring underground porosity and evaluating its spatial distribution is of great significance in a wide range of Earth sciences and engineering, including hydrocarbon reservoir characterization a…