Abstract
Natural microfractures are critical to shale pore and fracture systems, influencing reservoir storage and fluid flow. However, slender geometries, varied trace patterns, and complex mineral backgrounds hinder accurate identification of fracture traces and junctions, limiting quantitative characterization across lithofacies. Here, 14 shale samples from the Wufeng–Longmaxi, Qiongzhusi, and Shanxi formations were analyzed using X-ray diffraction, scanning electron microscopy, and energy-dispersive X-ray spectroscopy. A UNet++ model integrating multiscale features, a Transformer, and edge guidance was developed for microfracture identification. On held-out images from the sampled specimens, the model achieved a mean intersection over union, skeleton F1 score, and boundary F1 score of 76.16%, 66.72%, and 72.04%, respectively, outperforming the UNet++ baseline by 2.08, 4.37, and 4.10 percentage points while improving trace continuity and boundary localization for narrow fractures. Based on endpoints, branching nodes, and closed loops of connected objects, 3329 identified microfractures were classified into linear fractures (64.19%), branched fractures (13.55%), and complex connected fracture networks (22.26%). Physical scale calibration and skeleton analysis were used to extract geometric, connectivity, and orientation parameters across lithofacies. Siliceous shale had the highest mean fracture intensity (0.30 μm−1). Clay-rich shale had the highest mean fracture density (0.25 μm−2) and length-weighted orientation concentration (0.59). Complex connected fracture networks accounted for 27–44% of fracture objects per sample in siliceous shale, compared with 8–12% in clay-rich shale and 12–17% in mixed shale. These results quantify lithofacies-related differences in natural microfracture abundance, orientation, and local connectivity in two-dimensional SEM sections.