betaFeedback

WorksComputer Science

From Sparse AFM Observations to Probabilistic Macroscale Mechanics: A Generative-Physics Framework for Plant Cell Walls

Abstract

Nanoscale imaging of developing plant cell walls is expensive, and a limited number of atomic force microscopy (AFM) scans cannot capture the full structural variability of the wall. We present a generative-physics workflow that links sparse AFM observations of cotton (Gossypium hirsutum) fiber cell walls at 8 days post-anthesis (DPA) to distributions of effective elastic properties and a larger-scale mechanical response. We adapt a Stable Diffusion model with Low-Rank Adaptation (LoRA) to expand the experimental scans into an ensemble of AFM-like microstructures and assess the synthetic structures using microfibril crossover count and crossover angle. Each microstructure is mapped to spatially varying Young's modulus and Poisson's ratio fields and analyzed using strain-controlled finite element homogenization. Repeating this process across the image ensemble and a prescribed sweep of matrix-to-fibril stiffness ratios produces distributions of effective Young's modulus and Poisson's ratio. A single constitutive pair cannot capture this variation. The resulting distributions depend strongly on the matrix-to-fibril stiffness ratio and, in several cases, exhibit apparent multimodality. We further propagate the paired effective properties into 20 stochastic realizations of a tensile simulation of a larger specimen, yielding a distribution of macroscale stress response. The framework provides a probabilistic link between sparse nanoscale observations and continuum-scale mechanics while retaining variability across scales. The present results establish the computational workflow, while calibration of the intensity-to-property mapping against nanomechanical measurements remains necessary for quantitative prediction at the fiber scale.

paperV6.pdf

Email addresses: [email protected] (Samundra Karki), [email protected] (Angona Biswas), [email protected] (Nabila Masud), [email protected] (Md Hasibul Hasan Hasib), [email protected] (Anwesha Sarkar), [email protected] (Baskar Ganapathysubramanian)

Introduction

The mechanical behavior of a plant cell wall emerges from its organization across multiple length scales. In developing cotton fibers, the nanoscale arrangement of cellulose microfibrils within the pectin- and hemicellulose-rich matrix governs the effective response observed at the fiber scale (Kim and Triplett, 2001; Haigler et al., 2012). Atomic force microscopy (AFM) can resolve this nanoscale morphology, together with the local mechanical behavior that accompanies it, at high spatial resolution (Paeceull et al., 2011; Masud et al., 2024b; Hasib et al., 2026). In primary walls, AFM has resolved individual cellulose microfibrils, their lamellar organization within the matrix, and their movements under applied stretch (Zhang et al., 2014, 2016, 2017). The principal limitation is sampling. Specimen preparation, scanning, and analysis restrict the number of high-quality observations that can be collected, so a small AFM dataset captures only a limited portion of an intrinsically variable microstructure. This creates a central challenge for multiscale mechanics: how can a small number of nanoscale observations be used to characterize the range of mechanical responses that may emerge at larger scales?

One route to this question is computational homogenization, which connects nanoscale structure to effective material behavior (Zohdi and Wriggers, 2008; Geers et al., 2010). The underlying idea is that a macroscale material (for example, a plant fiber or a stalk) is composed of heterogeneous microstructures. We select representative microstructures and subject them to prescribed mechanical loading instead of resolving every variation across the full macroscale domain. Their responses are averaged to obtain effective material properties, which are then upscaled and used to describe the behavior of the larger structure. In plant materials, multiscale micromechanics models informed by microimaging have predicted the macroscopic stiffness and strength of bamboo culms and oat stems (Gangwar and Schillinger, 2019; Gangwar et al., 2021). Such approaches, however, require a structural description that adequately represents the underlying material. When only a small number of microscopy observations are available, a single observed microstructure may not capture the variability needed for reliable homogenization. The challenge is therefore to connect scales and to construct a sufficiently rich ensemble of plausible microstructures from limited experimental observations.

Machine learning has broadened what can be done with limited AFM data, including automated experiment control (Kalinin et al., 2021), cell detection and probe navigation (Rade et al., 2022), defect classification (Biswas et al., 2025), and image segmentation and property prediction (Masud et al., 2024a). Synthetic data have become an important part of this toolbox. Millan-Solsona et al. (2026) developed SimuScan, which generates synthetic AFM images with ground-truth masks and AFM-like artifacts for segmentation and targeted imaging, reducing dependence on manually annotated datasets. Huang et al. (2025) used unpaired style translation to close the gap between simulated and experimental AFM images. Pacheco et al. (2024) synthesized nanoindentation force-distance curves from contact theory to train a neural network for Young’s modulus prediction. These studies establish synthetic data as a practical strategy for addressing scarce AFM observations. However, they do not address whether generated microstructures preserve the structural features relevant to mechanical response, nor do they propagate image-level variability into distributions of homogenized mechanical properties. Diffusion-based generation of AFM microstructures also remains unexplored for plant cell walls.

The unresolved challenge is therefore broader than image augmentation. Structural and compositional variability in a heterogeneous material implies that sparse observations should lead to a distribution of plausible effective properties (Torquato, 2002; Ghanem and Spanos, 2003). This distribution should capture variability arising from the observed microstructure while also exposing uncertainty introduced by the assumptions required to translate that microstructure into mechanical properties. This issue is particularly important in a developing primary wall, where matrix stiffness depends on composition, crosslinking, and hydration and is not directly measurable at the scale of the AFM scan (Cosgrove, 2005). Mesoscale simulations of epidermal walls further show that tensile response depends on how the cellulose microfibril network and matrix polysaccharides are organized and interact (Zhang et al., 2021). A multiscale framework for sparse AFM data should therefore retain variability across microstructures, propagate uncertainty in constituent properties, and carry both sources of variation into the effective mechanical response.

We address this problem with a generative-physics workflow that links sparse AFM observations of 8 DPA (days post-anthesis) cotton fibers to an ensemble of effective mechanical responses Figure 1. Generative modeling first expands the available AFM scans into an ensemble of candidate microstructures (Bostanabad et al., 2018). We then map these microstructures to spatially varying elastic fields while systematically varying the uncertain matrix-to-fibril stiffness ratio. Strain-controlled finite element homogenization converts each mapped microstructure into effective properties (Eeff,νeffE_{\mathrm{eff}}, \nu_{\mathrm{eff}}), producing an ensemble of constitutive pairs. We finally propagate the paired effective-property ensemble to a larger-scale mechanical simulation. The workflow is designed to preserve variability across scales. It does not collapse sparse nanoscale observations into a single deterministic material description. In this work, we make three contributions.

Figure 1. Overview of the generative-physics workflow. Limited AFM scans of 8 DPA cotton fibers (§ 2.1) seed a LoRA-adapted diffusion model that produces an ensemble of candidate synthetic microstructures (§ 2.1.2). The microstructures are mapped to spatially varying elastic property fields (E(x)E(\mathbf{x}), ν(x)\nu(\mathbf{x})) (§ 2.1.4) and homogenized to effective properties (EeffE_{\mathrm{eff}}, νeff\nu_{\mathrm{eff}}) over a sweep of matrix stiffness values (§ 2.1.5). The resulting paired-property ensemble is sampled in a larger-scale tensile simulation (§ 2.1.6). The five stages carry the variability seen in the AFM scans through to the macroscale response. Thumbnails are representative images and results from this study.

  • We adapt a latent diffusion model using Low-Rank Adaptation (LoRA), with text and image conditioning, to expand a limited AFM dataset of developing cotton fiber walls into a diverse microstructure ensemble.

  • We build a high-throughput image-to-property and homogenization pipeline that converts the ensemble into distributions of effective elastic properties and exposes their sensitivity to the uncertain matrix stiffness.

  • We develop a stochastic upscaling procedure that carries the paired effective properties into a larger-scale simulation while retaining the variability obtained from the microscale ensemble.

Materials and Methods

Plant Material, AFM Imaging, and Nanomechanical Measurements

We adapted the sample preparation and nanoscale characterization procedures from our previous nano-omics study of developing cotton fibers ((Hasib et al., 2026)). The present study focuses on Gossypium hirsutum (cultivar TM-1) at 8 days post-anthesis (DPA). Cotton plants were cultivated in a growth chamber (Conviron E-15, Controlled Environments Inc., Pembina, ND, USA) maintained at 28 °C. Flowers were self-pollinated, tagged on the day of anthesis, and harvested at 8 DPA. Bolls were collected at mid-day and stored at −80 °C prior to experimentation to preserve the native structural integrity of the fibers. The experimental dataset comprised six raw AFM images obtained across three biological replicates.

For AFM sample preparation, frozen bolls were equilibrated to room temperature before dissection. The boll wall was removed with fine-tipped tweezers (Cole-Parmer, Straight Fine Tips, Serrated, 101 mm) to isolate individual fibers while minimizing mechanical deformation. Fibers were incubated in 0.5 M potassium hydroxide (KOH) at room temperature for 30 min to remove loosely bound surface contaminants and non-cellulosic residues, followed by a gentle rinse in deionized water for approximately 3 min to neutralize residual alkali. Cleaned fibers were mounted on glass microscope slides (Fisherbrand Double Frosted, 25 × 75 × 1.0 mm) and air dried for 10 min at room temperature to ensure stable adhesion during imaging.

AFM experiments were conducted with a BioScope Resolve atomic force microscope (Bruker) operating in PeakForce Quantitative Nanomechanical Mapping (PeakForce QNM) air mode for simultaneous topographical and nanomechanical characterization. We used a Bruker SNL-10 cantilever with a nominal spring constant of approximately 0.35 N/m and a tip radius of 2 nm. Deflection sensitivity and spring constant were calibrated before each experiment. Imaging was performed inside a vibration and acoustic isolation chamber at a scan rate of 0.450 Hz, a PeakForce frequency of 1 kHz, a PeakForce amplitude of 250 nm, and a PeakForce setpoint of approximately 750 pN. Each raw AFM scan spanned 1.05 μm × 1.05 μm. PNG images exported from NanoScope Analysis and used for downstream image processing were 576 × 576 pixels.

We quantified microfibril organization using crossover count and crossover angle. Crossover count was determined from the number of visible intersections between neighboring microfibrils within selected scan regions. Crossover angles were measured from the intersection geometry of adjacent microfibrils using NanoScope Analysis software 3.00. Young’s modulus was obtained from force-distance curve analysis with a Hertz model fit (Kontomaris, 2018) at selected points on microfibrils from independent scan regions. The line-profile data shown in Supplementary Figure S1 contain 40 measurements (17, 12, and 11 points across three images).

Matrix-to-Fibril Stiffness Ratio as an Uncertain Model Input

The primary cell wall at 8 DPA contains pectin, hemicellulose, and nascent cellulose, and its local elastic response depends on composition, crosslinking, hydration, and structural organization (Kim and Triplett, 2001; Haigler et al., 2012). Constituent fractions alone therefore do not uniquely determine the matrix elastic constants (EmE_m, νm\nu_m). Direct measurements of the isolated matrix phase are also unavailable at this developmental stage in the present dataset. The microfibrils, in contrast, have a measured modulus. AFM nanomechanical mapping of 8 DPA G. hirsutum fibers gives a mean microfibril Young’s modulus of Ef=55.1E_f = 55.1 MPa (Hasib et al., 2026).

We therefore anchor the fibril phase at this measured value and treat the matrix stiffness relative to it, the ratio Em/EfE_m/E_f, as the uncertain model input. We select four ratios, Em/Ef∈{0.18,0.91,1.45,1.81}E_m/E_f \in\{0.18, 0.91, 1.45, 1.81\}, corresponding to Em∈{10,50,80,100}E_m \in\{10, 50, 80, 100\} MPa. These ratios span a matrix that is much more compliant than the fibrils, one of nearly equal stiffness, and two that are stiffer than the fibrils. Sampling on both sides of Em/Ef=1E_m/E_f = 1 lets us examine how the effective response changes as the fibrils shift from the stiffer phase to the more compliant phase, without committing to a single unverified matrix modulus. In all cases the matrix is treated as nearly incompressible with νm=0.49\nu_m = 0.49. Each ratio is propagated through the same homogenization ensemble, so its influence on the resulting effective-property distributions can be evaluated directly, and we use Em/EfE_m/E_f to label those distributions throughout.

Generative Augmentation of the AFM Dataset

The generative stage expands the limited 8 DPA AFM dataset into a larger ensemble of candidate microstructures for subsequent mechanical analysis. AFM images can contain artifacts associated with tip condition, multiple contacts, contamination, optical interference, tracking errors, high-frequency ranging, and bow effects (Biswas et al., 2025). The augmentation procedure therefore seeks to preserve domain-specific fibrillar morphology while generating structural variation suitable for ensemble analysis.

We first evaluated the single-image generative adversarial network SinGAN (Shaham et al., [7]). The generated images exhibited insufficient morphological diversity, consistent with the model’s dependence on patch statistics from a single training image (Wang et al., [9]). We therefore use a text-and-image conditioned latent diffusion model (Rombach et al., [6]), which performs denoising in a compressed latent space and supports controllable image synthesis (Osorio et al., 2024).

Stable Diffusion v1.5 provides a generative prior learned from natural images, whereas AFM micrographs of cellulose contain domain-specific fibrillar morphology and contrast. We adapt the pretrained model using Low-Rank Adaptation (LoRA) (Hu et al., (2022); Wang et al. [10]). LoRA keeps the pretrained base weights frozen and trains low-rank update matrices with rank r=4r = 4 and scale α=4\alpha= 4 in the cross-attention projections of the U-Net. The governing equations for latent diffusion, attention, and the LoRA update are provided in Supplementary Section S1.

Before training, we removed bow artifacts and scanning drift using plane-flattening in NanoScope Analysis (Bruker Corporation, 2024). Each of the six 576 × 576 exported AFM images was divided into a 3 × 3 grid of nine non-overlapping 192 × 192 patches, giving 54 original patches. Each patch was augmented using horizontal flipping, vertical flipping, and combined horizontal and vertical flipping. Including the original patch, this produced 216 candidate images. Nineteen images that did not contain microfibrils were excluded, leaving 197 images in the final training dataset. The retained patches were supplied to Stable Diffusion v1.5 at its 512 × 512 input resolution. Assuming that the exported square spans the full 1.05 μ\mum scan without borders or additional cropping, the nominal exported-image spacing is 1050/576 ≈ 1.823 nm per pixel and each training patch spans 350 × 350 nm. Resizing such a patch to 512 × 512 gives a nominal spacing of 350/512 ≈ 0.684 nm per pixel; this resampling does not improve the AFM instrument resolution. These dimensions describe the training patches and do not establish the physical size of the separately selected homogenization images. We fine-tuned the LoRA adapter for 12,000 iterations with AdamW, a learning rate of 1×10−41 \times10^{-4}, cosine annealing, and bf16 mixed precision (Supplementary Table S1).

For inference, the trained LoRA adapter was loaded into the frozen Stable Diffusion backbone. We conditioned the image-to-image pipeline on a reference experimental AFM image and the text prompt reported in Supplementary Section S1. The generation used a denoising strength of 0.6, a classifier-free guidance scale of 6 (Ho and Salimans, 2022), and 50 inference steps (Figure 2; Supplementary Algorithm S1). Synthetic variants were generated with different random seeds. The supplied code draws an integer seed uniformly from 0 to 999999 for each variant. We treat the resulting images as candidate microstructures, and not as direct replacements for experimental observations, and assess their structural characteristics before using them in the homogenization ensemble.

Figure 2. Diffusion pipeline using Stable Diffusion with Low-Rank Adaptation (LoRA) to generate synthetic AFM micrographs of cotton fibers. A frozen variational autoencoder (VAE) encoder maps an AFM image patch to a latent representation. Noise is progressively added to this latent, and a U-Net denoises it under the embeddings of an input text prompt through LoRA-augmented cross-attention. A frozen VAE decoder reconstructs the denoised latent into an image. The LoRA weights are the only trained parameters in the pipeline.

Structural Comparison of Real and Synthetic Images

Because the synthetic images are subsequently used as inputs to the mechanical analysis, we assess whether they preserve selected descriptors of microfibril organization observed in the experimental AFM images. We use two descriptors that can be measured directly from AFM topography: microfibril crossover count and crossover angle. These descriptors capture structural features that prior work links to the mechanical response of primary walls. Fibril-fibril contacts act as junctions that carry and relax wall stress (Park and Cosgrove, 2012; Zhang et al., 2021), and the net alignment angle of microfibrils sets the anisotropy of wall stiffness and extensibility (Baskin, 2005; Zhang et al., 2021).

Three real AFM images were used for this comparison. Eight synthetic variants were evaluated for Image 1, eight for Image 2, and seven for Image 3, giving 23 synthetic images. Real and LoRA-generated images were analyzed with a semi-automated MATLAB routine that identified and counted microfibril crossover events. For each identified junction, we measured the acute angle between the two intersecting microfibril trajectories and computed the mean crossover angle for each image. We report the crossover count per analyzed image. The supplied measurements do not establish whether the validation images are full scans or cropped patches, so an area-normalized density is not reported.

For each real image, the corresponding synthetic descriptor was summarized as the unweighted mean across its variants. The comparison therefore contains three image-level pairs. We recomputed two-sided paired tt-tests on synthetic-minus-real differences, with two degrees of freedom, and report paired standardized effects dz=dˉ/sdd_z = \bar{d}/s_d. The 23 synthetic variants are nested within the three conditioning images and are not treated as 23 independent experimental replicates. Descriptive group means and sample standard deviations give equal weight to the three images. 2 Individual measurements and the paired analysis are provided in Supplementary Section S1.

Image-to-Property Mapping

To connect image-level structural variability to mechanics, we convert each real or synthetic AFM image into a spatially varying elastic material field. Normalized image intensity I(x)∈[0,1]I(\mathbf{x}) \in[0,1] is mapped to local Young’s modulus according to

E(x)=Em+I(x)(Ef−Em),(1)E(\mathbf{x}) = E_m + I(\mathbf{x})(E_f - E_m), \tag*{(1)}

where EmE_m and EfE_f denote the matrix-side and fibril-side endpoint values. The fibril-side modulus Ef=55.1E_f = 55.1 MPa is the mean Young’s modulus of cellulose microfibrils in 8 DPA G. hirsutum fibers, obtained from Hertz-model fits of PeakForce QNM force curves on 50 randomly selected microfibrils (Hasib et al., 2026). Note that this 50-microfibril dataset from the cited study is separate from the 40 line-profile measurements shown in Supplementary Figure S1. It is held fixed across all four stiffness-ratio cases of § 2.1.1, so only the matrix-side endpoint EmE_m changes between cases. Poisson’s ratio is mapped using the same phase endpoints,

Young's modulus measurements from three AFM images

Figure S1. Young’s modulus measurements obtained along one-dimensional line segments extracted from three AFM images of 8 DPA cotton fibers. Each series gives the measured modulus, in MPa, at successive sampling points along one line segment; the series contain 17, 12, and 11 points, respectively (40 plotted measurements).

ν(x)=νm+I(x)(νf−νm),νm=0.49.(2)\nu(\mathbf{x}) = \nu_m + I(\mathbf{x})(\nu_f - \nu_m), \qquad\nu_m = 0.49. \tag*{(2)}

We take νf=0.30\nu_f = 0.30, the value assigned to cellulose microfibrils in homogenization models of plant cell walls (Ptashnyk and Seguin, 2016), which lies within the range of 0.30 to 0.46 measured for crystalline cellulose by X-ray diffraction (Nakamura et al., 2004). Thus I=0I = 0 corresponds to the matrix-side endpoint and I=1I = 1 to the fibril-side endpoint. When νf<νm\nu_f < \nu_m, Poisson’s ratio decreases with intensity. The endpoint notation does not assume that the fibril-side modulus exceeds the matrix-side modulus in every prescribed stiffness case.

Grayscale intensity serves only as a proxy variable in this mapping. It does not directly measure local composition or modulus. This linear intensity-to-modulus assignment follows the practice of image-based finite-element modeling, where local image intensity is mapped continuously to local stiffness (Gangwar and Schillinger, 2019; Zannoni et al., 1998). Calibrated intensity-to-modulus relations in that literature are typically power-law (Helgason et al., 2008); we adopt linear endpoint interpolation as a simple, uncalibrated form that propagates structural variability into the homogenization. We use continuous interpolation instead of threshold-based segmentation because Young’s modulus measured along line segments in the AFM scans varies continuously, with substantial local fluctuation and no clear binary separation into two phases (Supplementary Figures S1 and S2). A hard threshold would replace this continuous variation with discrete material regions. All results reported in the main text therefore use the continuous mapping.

Computational Homogenization and Simulation Ensemble

Each mapped image defines a two-dimensional computational cell with spatially varying (E(x),ν(x))(E(\mathbf{x}), \nu(\mathbf{x})). We retain the term representative volume element (RVE) for these computational cells, but statistical representativeness has not been established by a correlation-length or window-size study. We model each cell as a heterogeneous linear elastic material under an imposed plane-strain assumption and compute its apparent effective response using strain-controlled numerical homogenization.

We impose three linearly independent macroscopic strain states through affine displacement boundary conditions on a unit RVE: unit longitudinal strain, unit transverse strain, and unit engineering shear. The resulting stress fields are volume averaged for each load case, and the three averaged stress vectors form the columns of the effective stiffness matrix CeffC_{\mathrm{eff}}. In-plane isotropy requires equality of the normal stiffnesses, negligible normal-shear coupling, and the isotropic shear identity. Matrix symmetry alone is insufficient. We screen every run for approximate isotropy with a 1% tolerance on reciprocity (C12C_{12} versus C21C_{21}), on the normal-stiffness mismatch between C11C_{11} and C22C_{22}, and on the normal-shear coupling terms C13C_{13} and C23C_{23} relative to C11C_{11} (Supplementary Section S3). The screen does not test the isotropic shear identity, so passing it indicates approximate, not complete, in-plane isotropy. When the response is treated as approximately isotropic, the effective Young’s modulus and Poisson’s ratio are obtained from the plane-strain identities νeff=C12/(C11+C12)\nu_{\mathrm{eff}} = C_{12}/(C_{11} + C_{12}) and Eeff=2C33(1+νeff)E_{\mathrm{eff}} = 2C_{33}(1 + \nu_{\mathrm{eff}}). The complete homogenization formulation is given in Supplementary § 7.2.

Each image is represented on a 512×512512 \times512 element grid. Material properties are evaluated at the finite element quadrature points using 3×33 \times3 Gauss points per element. The local image intensity at each Gauss point determines the corresponding EE and ν\nu used in the stiffness assembly. We solve the heterogeneous linear-elastic system for each load case with a direct solver in an octree-based finite element framework (Saurabh et al., 2021; Shadkhah et al., 2025), at a cost of approximately 12 minutes per RVE.

The intended continuous-interpolation ensemble contains 200 microstructures for each of the four prescribed stiffness ratios. The supplied result files contain 798 completed homogenization runs: 200 for Em=10E_m = 10 MPa, 199 for Em=50E_m = 50 MPa, 199 for Em=80E_m = 80 MPa, and 200 for Em=100E_m = 100 MPa. The two runs missing from the 800 intended, one each at Em=50E_m = 50 and Em=80E_m = 80 MPa, failed without a stored homogenization summary (Supplementary Table S5). The result paths are organized under five parent images, with 40 entries per parent in the complete cases. The resulting database of paired (Eeff,νeff)(E_{\mathrm{eff}}, \nu_{\mathrm{eff}}) values is summarized using Gaussian kernel density estimation with Scott’s bandwidth rule (Scott, 1992; Silverman, 2018) and subsequently used for stochastic material assignment in the larger-scale simulation.

Stochastic Upscaling to a Larger-Scale Simulation

The final stage tests how the ensemble of homogenized effective properties can be propagated into a larger-scale mechanics calculation without collapsing it to a single constitutive pair. This stage addresses the question posed in the introduction: how a small number of nanoscale observations can characterize the range of mechanical responses that emerge at larger scales. The homogenization database contains NsN_s paired effective properties {(Eeff(j),νeff(j))}j=1Ns\{(E_{\mathrm{eff}}^{(j)}, \nu_{\mathrm{eff}}^{(j)})\}_{j=1}^{N_s}, which define an empirical joint distribution. We sample the two properties jointly because EeffE_{\mathrm{eff}} and νeff\nu_{\mathrm{eff}} may be statistically dependent. Independent sampling from their marginal distributions could produce property combinations that are absent from the homogenization ensemble.

For each Gauss point xgx_g of the larger-scale mesh, we draw an index JgJ_g uniformly from the homogenization database and assign the corresponding paired properties,

(E(xg),ν(xg))=(Eeff(Jg),νeff(Jg)),Jg∼U{1,…,Ns},(3)\left(E(x_g), \nu(x_g)\right) = \left(E_{\mathrm{eff}}^{(J_g)}, \nu_{\mathrm{eff}}^{(J_g)}\right), \qquad J_g \sim\mathcal{U}\{1,\ldots,N_s\}, \tag*{(3)}

which is equivalent to sampling directly from the empirical joint distribution. We construct the local constitutive tensor from the sampled pair at each Gauss point and assemble the macroscale linear-elasticity weak form using these Gauss-point-dependent tensors (Supplementary Section S4).

Samples are drawn independently across Gauss points. The resulting material field therefore preserves the one-point joint distribution of the homogenized properties but does not impose a spatial correlation length. Spatially correlated sampling can be naturally incorporated once information about the macroscale correlation structure becomes available (and this structure is larger than the distance between Gauss points).

The demonstration uses a non-dimensional, gently curved fiber of circular cross-section with diameter D=0.03D = 0.03, spanning 0≤x≤L0 \le x \le L with L=1L = 1 (centerline length 1.01, L/D≈34L/D \approx34). The centerline bends in the xx-yy plane with a lateral offset of 0.155 between its ends, its inclination to the xx-axis increasing from about 3∘3^\circ to 15∘15^\circ, and it has a small out-of-plane waviness of about ±0.008\pm0.008. The specimen is discretized with an adaptive octree mesh of linear (first-order) finite elements, using base refinement level 6 with two additional refinement levels near the STL surface (level 8 at the boundary). The resulting mesh has 365,872 elements, and each solve is distributed across 10 MPI ranks. The end face at x=0x = 0 is fixed, an axial displacement ux=10−2u_x = 10^{-2} is prescribed on the opposite end face, and the lateral surface is traction-free. Because lengths and displacements share the same unit, the prescribed end displacement corresponds to a nominal axial strain of 10−210^{-2}. Note that the nominal strain is defined on the axial span L=1L = 1, and the strain along the curved centerline (length 1.01) is about 1% smaller. The sampled moduli are in pascals, so the computed stresses are in pascals as well and we report them in MPa. The stochastic material input is the paired ensemble from the Em=50E_m = 50 MPa (Em/Ef=0.91E_m/E_f = 0.91) microscale case. Because each macroscale run is computationally expensive, we demonstrate the procedure for this single representative stiffness ratio; it applies unchanged to the other ratios. To quantify how the sampled material field propagates into macroscale observables, we repeat the simulation for 20 independent realizations. Geometry, mesh, and loading are identical across realizations; only the per Gauss-point assignment of Equation (3) is redrawn, using sampling seeds 12345, . . . , 12364. For each realization we record the maximum element-averaged von Mises stress and summarize its distribution across realizations with a Gaussian KDE (Scott’s bandwidth rule). This completes the workflow, and we now report what each of its stages produces.

Results

We present the results in the order of the workflow. We first assess the structural validity of the synthetic images, then examine the mapped property fields and their homogenization. We next report the effective-property distributions and the extremal microstructures that bound them. Finally, we report the propagation of the effective-property ensemble to a macroscale specimen.

Crossover Count and Crossover Angle in Real and Synthetic Images

Figure 3 compares the crossover descriptors measured from the three real images and their LoRA-generated variants. Real crossover counts were 30, 26, and 27 per analyzed image (mean ±\pm sample SD: 27.67 ±\pm 2.08). Synthetic per-image means were 22.625, 28.250, and 23.000, based on eight, eight, and seven variants, respectively (24.63 ±\pm 3.14 across the three means). The mean paired difference (synthetic minus real) was −3.04-3.04 counts, with a 95% confidence interval of [−15.17-15.17, 9.09] counts (t(2)=−1.08t(2) = -1.08, p=0.393p = 0.393, dz=−0.62d_z = -0.62). This small comparison does not detect a count difference, but the wide interval does not establish equivalence.

Figure 3. Crossover descriptors for three real AFM images and their image-conditioned synthetic variants. (a) Crossover angle and (b) crossover count. Blue diamonds denote real-image values, gray circles denote individual synthetic values, black bars denote the synthetic mean for each conditioning image, and dotted lines connect each real value to its synthetic mean. Images 1 and 2 each have eight variants and Image 3 has seven; synthetic values are spread horizontally for visibility. The paired analysis compares each real value with its corresponding synthetic mean. The data indicates that the generative approach produces synthetic images well aligned with the experimental images.

Real mean crossover angles were 49.27∘49.27^{\circ}, 51.38∘51.38^{\circ}, and 45.52∘45.52^{\circ} (48.72∘±2.97∘48.72^{\circ} \pm2.97^{\circ}). The corresponding synthetic per-image means were 53.90∘53.90^{\circ}, 56.19∘56.19^{\circ}, and 53.66∘53.66^{\circ} (54.58∘±1.40∘54.58^{\circ} \pm1.40^{\circ}). The mean paired difference was 5.86∘5.86^{\circ}, with a 95% confidence interval of [0.95∘0.95^{\circ}, 10.77∘10.77^{\circ}] (t(2)=5.14t(2) = 5.14, p=0.036p = 0.036, dz=2.97d_z = 2.97). These exploratory, unadjusted tests use three image-level pairs; the reported group SDs describe variability across image-level means, not across all synthetic variants.

Mapped Property Fields and Homogenized Response

Figure 4 shows the Young’s modulus and Poisson’s ratio fields obtained from a representative AFM image with the mapping of § 2.1.4. Grayscale variation produces spatial contrasts in the assigned elastic properties across the RVE. These fields are model inputs derived from the intensity proxy, and we do not measure the cellulose-rich and pectin-dominated phase composition directly. Under the three macroscopic load cases, the property heterogeneity drives substantial fluctuations in the microscale displacement fields even though the imposed strain is uniform (Supplementary Figure S3). The finite element solution resolves these fluctuations, and the fluctuations enter the volume-averaged stresses from which CeffC_{\mathrm{eff}} and the effective constants are extracted. A mesh-refinement study on one representative image (Em=10E_m = 10 MPa, uniform Q1 meshes from 25×252^5 \times2^5 to 29×292^9 \times2^9 elements) shows that these volume-averaged constants are insensitive to resolution (Supplementary § 7.5, Table S6 and Figure S5). The EeffE_{\mathrm{eff}} difference from the finest mesh decreases from 1.57% to 0.076% between levels 5 and 8, and νeff\nu_{\mathrm{eff}} varies by less than 0.15% over all levels.

Young’s modulus field

(a) Young’s modulus field E(x)E(\mathbf{x}).

Poisson’s ratio field

(b) Poisson’s ratio field ν(x)\nu(\mathbf{x}).

Figure 4. Spatially varying elastic property fields mapped from a representative AFM image using linear intensity interpolation. The fields encode spatial variability under the adopted intensity-to-property mapping. They are model inputs derived from the normalized AFM intensity proxy.

LLElementsNodesEeffE_{\mathrm{eff}} (MPa)νeff\nu_{\mathrm{eff}}ΔEeff\Delta E_{\mathrm{eff}} (%)Δνeff\Delta\nu_{\mathrm{eff}} (%)
51024108921.37000.4450981.56750.1427
64096422521.23010.4451790.90260.1245
7163841664121.10800.4454890.32220.0550
8655366604921.05620.4456620.07600.0162
926214426316921.04020.445734——

Table S6. Mesh convergence of the homogenized constants for one representative image with Em=10E_m = 10 MPa. Differences are relative to the L=9L = 9 mesh.

Mesh convergence of the homogenized constants for one representative image

Figure S5. Mesh convergence of the homogenized constants for one representative image (Em=10E_{\mathrm{m}} = 10 MPa). (a) EeffE_{\mathrm{eff}} (left axis, solid) and νeff\nu_{\mathrm{eff}} (right axis, dashed) versus refinement level LL, with element size h=2−Lh = 2^{-L}. (b) Relative difference from the L=9L = 9 reference on a logarithmic scale. The L=9L = 9 point is omitted from (b) because its difference is zero by definition.

Panel (a): homogenized constants versus refinement level

(a)

Panel (b): relative difference from the L = 9 reference

(b)

The mesh study and the isotropy screen are the two validity checks that allow the extraction of effective constants from each RVE. The isotropy screen supports the isotropic reduction used to extract (Eeff,νeff)(E_{\mathrm{eff}}, \nu_{\mathrm{eff}}) for most of the ensemble (Supplementary Table S5). All 798 completed runs satisfy reciprocity, and every run at Em/Ef=0.91E_m/E_f = 0.91, 1.45, and 1.81 passes all criteria, with normal-stiffness mismatch between C11C_{11} and C22C_{22} of at most 0.77%. At Em/Ef=0.18E_m/E_f = 0.18, 24 of 200 runs (12%) exceed the 1% normal-stiffness tolerance, with a maximum mismatch of 1.30%; these runs come from three of the five parent images. Across all ratios, 24 of 798 runs (3.0%) are flagged, and the median mismatch is 0.33%. The mismatch is smallest when the two phases have comparable stiffness and grows with the stiffness contrast, so the scalar constants are least exact for the most compliant matrix. Because the screen omits the isotropic shear identity, these results establish small directional normal-stiffness mismatch and negligible normal-shear coupling, not full isotropy.

Effective Property Distributions Depend Strongly on the Matrix-to-Fibril Stiffness Ratio

Figure 5 shows the distributions of EeffE_{\mathrm{eff}} and νeff\nu_{\mathrm{eff}} for each of the four stiffness ratios. The mean EeffE_{\mathrm{eff}} values are 22.40, 51.61, 72.65, and 86.55 MPa (Eeff/Ef=0.41E_{\mathrm{eff}}/E_f = 0.41, 0.94, 1.32, and 1.57) for Em/Ef=0.18E_m/E_f = 0.18, 0.91, 1.45, and 1.81, respectively. The relative spread is nonmonotonic across the stiffness-ratio sweep: the coefficients of variation of EeffE_{\mathrm{eff}} are 4.95%, 0.24%, 0.73%, and 1.10%, respectively. The corresponding mean νeff\nu_{\mathrm{eff}} values are 0.440, 0.437, 0.436, and 0.435, with standard deviations of 0.0045, 0.0040, 0.0039, and 0.0038. Thus, changing the prescribed stiffness ratio shifts the effective-property distributions and also changes their spread within the adopted image-to-property model.

Figure 5. Distributions of normalized effective Young’s modulus Eeff/EfE_{\mathrm{eff}}/E_f and Poisson’s ratio νeff\nu_{\mathrm{eff}} across the RVE ensemble for matrix-to-fibril stiffness ratios Em/Ef=0.18E_m/E_f = 0.18, 0.910.91, 1.451.45, and 1.811.81 (Em=10E_m = 10, 5050, 8080, and 100100 MPa with Ef=55.1E_f = 55.1 MPa). Increasing Em/EfE_m/E_f shifts the effective-modulus distribution upward, while the relative spread varies nonmonotonically and is smallest for Em/Ef=0.91E_m/E_f = 0.91.

Figure 6 shows the joint behavior of the two effective constants as a scatter of EeffE_{\mathrm{eff}} against νeff\nu_{\mathrm{eff}}. For Em/Ef=0.18E_m/E_f = 0.18 and 0.91 (Em=10E_m = 10 and 50 MPa) the relationship is negative, and for Em/Ef=1.45E_m/E_f = 1.45 and 1.81 (Em=80E_m = 80 and 100 MPa) it is positive. A first-order explanation follows from the sign of the stiffness contrast. Across microstructures, higher microfibril content moves both local fields toward the fibril-side endpoints. Because νf<νm\nu_f < \nu_m in all cases, νeff\nu_{\mathrm{eff}} decreases with increasing fibril content. The effect on EeffE_{\mathrm{eff}} depends on the contrast: for Em/Ef<1E_m/E_f < 1 the fibrils are the stiffer phase and EeffE_{\mathrm{eff}} increases with content, and for Em/Ef>1E_m/E_f > 1 the matrix is stiffer and EeffE_{\mathrm{eff}} decreases. This predicts a negative joint trend below Em/Ef=1E_m/E_f = 1 and a positive trend above it, consistent with the observed sign change. Confirming that fibril content is the dominant source of variation requires linking each point to quantitative microstructural descriptors, such as the mean image intensity. This is left as future work.

Figure 6. Normalized effective Young’s modulus Eeff/EfE_{\mathrm{eff}}/E_f versus effective Poisson’s ratio νeff\nu_{\mathrm{eff}} (dimensionless) across the RVE ensemble for each stiffness ratio Em/EfE_m/E_f. The sign of the correlation between the two effective constants changes with Em/EfE_m/E_f. The correlation is negative for Em/Ef=0.18E_m/E_f = 0.18 and 0.910.91, and positive for Em/Ef=1.45E_m/E_f = 1.45 and 1.811.81.

Several of the EeffE_{\mathrm{eff}} distributions appear bimodal, and we summarize the ensemble with kernel density estimates (KDEs). Figure 7 overlays the estimated marginal densities of EeffE_{\mathrm{eff}} and νeff\nu_{\mathrm{eff}} for the four stiffness ratios. The modulus densities shift rightward as Em/EfE_m/E_f increases, while their widths vary nonmonotonically across the stiffness-ratio sweep. Several of the curves contain more than one local peak. The Em/Ef=1.45E_m/E_f = 1.45 case (Em=80E_m = 80 MPa), for example, shows two peaks separated by a lower-density region (Supplementary Figure S4). The multiple peaks describe the sampled ensemble, whose entries are grouped under five parent images. Parent-image differences, finite sampling, and the KDE bandwidth can all contribute to the apparent modes; repeated variants from a small number of parents do not establish population-level multimodality. Note that two visible modes do not establish two distinct physical classes of microstructure. They do motivate sampling from the full empirical distribution in the upscaling step.

Figure 7. Kernel density estimates of normalized effective Young’s modulus Eeff/EfE_{\mathrm{eff}}/E_f and Poisson’s ratio νeff\nu_{\mathrm{eff}} for Em/Ef=0.18E_m/E_f = 0.18, 0.910.91, 1.451.45, and 1.811.81. The modulus densities shift rightward as Em/EfE_m/E_f increases, while their widths vary nonmonotonically. Visible peaks can reflect parent-image grouping and bandwidth choice as well as variation within the sampled ensemble.

Figure S4. Marginal kernel density estimates of Eeff/EfE_{\mathrm{eff}}/E_f and νeff\nu_{\mathrm{eff}} for Em/Ef=1.45E_m/E_f = 1.45 (Em=80E_m = 80 MPa). The effective-modulus density contains two visible peaks separated by a lower-density region. Parent-image grouping and KDE bandwidth require assessment before interpreting these peaks as distinct physical populations.

Extremal Microstructures

We examine the extremal microstructures to show the microstructural spread that underlies the ensemble variability and motivates sampling from the full distribution. Figure 8 shows three RVEs from the Em/Ef=1.45E_m/E_f = 1.45 (Em=80E_m = 80 MPa) ensemble: the one with the lowest EeffE_{\mathrm{eff}}, the one closest to the ensemble mean, and the one with the highest EeffE_{\mathrm{eff}}. The three examples show visible differences in the organization of high- and low-stiffness regions. These examples illustrate variability within the mapped fields. Quantitative attribution of the stiffness ranking requires the corresponding image intensities, property endpoints, and effective tensors. Visual differences alone do not establish the cause of the density shape. This spread is carried into the macroscale response through the stochastic upscaling step reported next.

Extremal microstructures

Figure 8. Extremal microstructures from the Em/Ef=1.45E_m/E_f = 1.45 (Em=80E_m = 80 MPa) ensemble: the RVE associated with the minimum (left), value closest to the ensemble mean (center), and maximum (right) effective Young’s modulus EeffE_{\mathrm{eff}}. The examples show the spatial organization of the mapped property fields at the extremes and near the mean of the effective-stiffness ensemble.

Propagation to a Macroscale Tensile Specimen

This final stage realizes the third contribution: the stochastic upscaling of the paired effective properties to a larger-scale simulation. We carry the sparse set of nanoscale observations into a distribution of larger-scale mechanical response while retaining the microscale variability. We assign a jointly sampled elastic-property pair from the Em/Ef=0.91E_m/E_f = 0.91 (Em=50E_m = 50 MPa) ensemble to each quadrature point of the curved fiber specimen described in § 2.1.6. This creates a heterogeneous constitutive field whose one-point distribution is inherited from the homogenization results. Figure 9 shows the displacement components and von Mises stress for one of the 20 stochastic realizations. The axial displacement follows the imposed tensile loading. Because the specimen centerline is curved, axial loading also partially straightens the fiber, so the transverse displacements (up to about 6×10−26 \times10^{-2}, several times the imposed axial displacement) are dominated by this geometric effect, and not by lateral contraction. The resulting bending superposes on the axial tension, and together with the end constraints it produces the spatial gradient in von Mises stress. This gradient therefore cannot be attributed solely to random material assignment. Note that this larger-scale calculation is primarily to demonstrate uncertainty propagation.

Figure 9. Macroscale tensile simulation of a non-dimensional curved fiber specimen with axial span L=1L = 1 and diameter D=0.03D = 0.03. The end face at x=0x = 0 is fixed and the opposite end face is prescribed an axial displacement ux=10−2u_x = 10^{-2}. Displacements are non-dimensional (in units of LL) and the von Mises stress is in MPa. Elastic properties at each quadrature point are sampled from the Em/Ef=0.91E_m/E_f = 0.91 (Em=50E_m = 50 MPa) homogenized effective-property distribution; one of the 20 realizations summarized in Figure 10 is shown.

Figure 10 summarizes the 20 realizations. The maximum element-averaged von Mises stress has a mean of 0.561 MPa and a standard deviation of 0.003 MPa (coefficient of variation 0.52%), ranging from 0.556 to 0.566 MPa. For comparison, the nominal axial stress Eˉeffϵ=51.61 MPa×10−2=0.516 MPa\bar{E}_{\mathrm{eff}} \epsilon= 51.61\ \mathrm{MPa} \times10^{-2} = 0.516\ \mathrm{MPa}, so the peak von Mises stress exceeds it by about 9%, reflecting curvature-induced bending, the end constraints, and the local heterogeneity. The maximum axial stress magnitude max⁡∣σxx∣\max|\sigma_{xx}| (mean 0.81 MPa) varies more, with a coefficient of variation of 3.3%. The maximum displacement magnitude is essentially unchanged across realizations (coefficient of variation below 10−3%10^{-3}\%) because it is governed by the prescribed kinematics. The microscale variability therefore reaches the macroscale observables, but in attenuated form: with properties drawn independently at each Gauss point, local fluctuations average out over each element and over the specimen cross-section. The narrow spread is thus a lower bound conditional on the absence of spatial correlation; a correlated material field with a correlation length comparable to the specimen diameter would average less and widen these distributions. Together with the homogenization ensemble, these realizations close the loop from AFM-derived microstructures to a distribution of macroscale structural responses.

Figure 10. Kernel density estimate of the maximum element-averaged von Mises stress across 20 macroscale realizations (Em/Ef=0.91E_m/E_f = 0.91, Em=50E_m = 50 MPa). Geometry and loading are fixed; only the Gauss-point material assignment is redrawn. Vertical ticks mark the individual realizations and the dashed line marks their mean; Gaussian kernel with Scott’s bandwidth (0.0016 MPa).

Discussion

Sparse AFM observations of a developing cell wall yield a distribution of effective properties whose shape and joint structure depend strongly on the matrix-to-fibril stiffness ratio, and a single nominal constitutive pair does not encode this information. The workflow presented here produces that distribution and carries it into a larger-scale mechanics calculation. The generative model expands the set of candidate microstructures, the image-to-property map converts those structures into heterogeneous elastic fields, and ensemble homogenization produces paired effective properties. The homogenization results show that the effective-property distributions shift with the prescribed matrix-to-fibril stiffness ratio, and the joint relationship between EeffE_{\mathrm{eff}} and νeff\nu_{\mathrm{eff}} changes sign across the stiffness-ratio cases. Several estimated densities also appear multimodal.

For developing cotton fibers at 8 DPA, local wall mechanics may vary across the observed microstructure, and a multiscale model should retain that variability when the data support it. The same workflow applies to AFM scans from other developmental stages, genotypes, or growth conditions. It offers a route for asking how changes in wall organization during fiber development translate into changes in the distribution of effective wall mechanics.

Several limitations currently bound the quantitative use of these results. One limitation of this study is the generative stage, which is bounded by the experimental images used for training and validation. The paired comparison does not detect a crossover-count difference, but its wide confidence interval does not establish agreement. The crossover-angle comparison shows an exploratory difference at the unadjusted 0.05 level. The 197 training images derive from only six raw scans through patch extraction and flipping; they do not represent 197 independent experimental observations. The training membership and biological-replicate identities of the three validation images are unreported, so this comparison is not established as an independent held-out test. Full biological and distributional fidelity remains to be established. Additional descriptors (for example microfibril width, spacing, and orientation distributions), a larger independent experimental validation set, and tests that compare real and synthetic distributions would strengthen the use of the generative ensemble as a quantitative surrogate for experimental sampling.

A second limitation is the image-to-property mapping, in which normalized AFM grayscale intensity serves as a proxy for spatially varying elastic properties and gives heterogeneous fields that are useful for testing the multiscale pipeline. Intensity is not itself a composition or modulus measurement. Co-registered PeakForce QNM modulus and topography data, if retained for the same fields, would provide a starting point for calibrating the mapping, alongside independent composition measurements. Until such a calibration is performed, the mapped fields should not be read as quantitatively resolved constituent mechanics.

A third limitation is the set of mechanical idealizations used in the homogenization. The reduction to (Eeff,νeff)(E_{\mathrm{eff}}, \nu_{\mathrm{eff}}) assumes isotropy, although the AFM microstructures contain oriented fibrillar features. The isotropy screen finds normal-stiffness mismatch below 1.3% in every run and flags only 3% of runs, all at the most compliant matrix, but it does not test the isotropic shear identity, and the complete effective tensors were not stored. Plane strain is an imposed modeling assumption; the surface images alone do not establish the out-of-plane constraint. The mesh study in Supplementary Section S5 covers a single image and stiffness ratio; correlation-length, window-size, boundary-condition, and locking checks, and mesh checks across the ensemble, are also needed to establish the reliability of the apparent effective properties. Storing the complete CeffC_{\mathrm{eff}} for every run, testing the shear identity, and retaining an orthotropic effective tensor where isotropy is not supported would make the mechanical interpretation more defensible, particularly at low Em/EfE_m/E_f. The apparent modes in the effective-modulus densities require a bandwidth-sensitivity analysis and quantitative links between structural descriptors and mode membership before they can be read as distinct physical microstructure classes.

Finally, the homogenization uses two-dimensional microstructures and linear elasticity, whereas a cotton fiber wall is three-dimensional and may exhibit nonlinear, viscoelastic, poroelastic, or moisture-dependent behavior. We assign the macroscale material samples independently at Gauss points. The larger-scale field thus preserves the one-point joint distribution without a measured spatial correlation length, and the narrow spread of the 20 macroscale realizations reflects this independent sampling; 20 realizations also limit the resolution of the tails of the response distribution.

The next calibration steps are to establish whether co-registered modulus data are available and to expand the independent structural validation of the synthetic images. A complete anisotropy assessment that includes the shear identity and a robustness analysis of the apparent multimodality would complete this set. We anticipate that these steps will turn the workflow into a quantitatively predictive material model for developing plant cell walls.

Conclusions

We presented a generative-physics workflow that links sparse AFM observations of 8 DPA cotton fiber cell walls to an ensemble of effective elastic properties and propagates that ensemble to a larger-scale mechanics calculation. The workflow combines LoRA-adapted image generation, an explicit image-to-property mapping, finite element homogenization, empirical probability estimation, and stochastic upscaling. The homogenization study shows that EeffE_{\mathrm{eff}} and νeff\nu_{\mathrm{eff}} vary across the microstructure ensemble and depend strongly on the prescribed matrix-to-fibril stiffness ratio. The tensile example shows that these paired properties can be sampled directly in a continuum simulation, and its 20 realizations give a distribution of the macroscale peak stress whose narrow spread reflects spatially independent material sampling. Quantitative predictive use will require experimental calibration of the intensity-to-property mapping and a larger structural validation of the synthetic images, among the directions detailed in the discussion. With these limitations made explicit, the paper provides a computational template for uncertainty-aware multiscale characterization of plant cell walls from limited microscopy data. It offers one route to the question posed at the outset, namely how a small number of nanoscale observations can characterize the range of mechanical responses that emerge at larger scales. We believe that this template will help connect measurements of wall organization during fiber development to the distribution of effective wall mechanics.

Data Availability Statement

The AFM images, synthetic image ensemble, LoRA adapter weights, homogenization outputs, and analysis code supporting the conclusions of this article will be made available by the authors upon reasonable request.

Author Contributions

SK: computational homogenization, upscaling simulations, analysis, and writing. AB: generative model development, training, and writing. NM and MHH: cotton fiber preparation, AFM imaging, nanomechanical measurements, and crossover analysis. AS and BG: conceptualization, supervision, funding acquisition, and writing. All authors reviewed and approved the final manuscript.

Funding

This work was partially supported by the AI Institute for Resilient Agriculture (USDA-NIFA 2021-67021-35329), NSF 2412929, Iowa State University’s Plant Science Institute, and DOE GENESIS Phase I project.

Acknowledgments

Computing support from ISU HPC and TACC Frontera through NAIRR is acknowledged.

Conflict of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Supplementary Material

The Supplementary Material for this article contains five sections. Section S1 collects the generative model equations, hyperparameters, algorithm, individual crossover measurements, and paired statistical analysis. Section S2 reports the AFM line-profile measurements that motivate the continuous mapping. Section S3 gives the full homogenization formulation and the isotropy screen of the effective stiffness tensors, Section S4 the macroscale assembly, and Section S5 additional results, including the displacement fields of the homogenization load cases, the single-stiffness effective-modulus density, and the mesh-convergence study.

paperV6_suplemental.pdf

Generative Model Details

Single-Image GAN Baseline

SinGAN (Shaham et al., [7]) learns a coarse-to-fine hierarchy of conditional distributions from a single image,

p(x0)=p(xN)∏n=0N−1p(xn∣xn+1),(4)p(x_0) = p(x_N) \prod_{n=0}^{N-1} p(x_n \mid x_{n+1}), \tag*{(4)}

in which each conditional p(xn∣xn+1)p(x_n \mid x_{n+1}) generates a finer-scale image from the preceding coarser scale. Its outputs showed insufficient morphological diversity for the present application. The model is constrained by patch-level statistics from a single training image (Wang et al., [9]).

Latent Diffusion

Latent diffusion models (Rombach et al., [6]) move the diffusion process from pixel space to a compressed latent representation. A pretrained variational autoencoder (VAE) maps an input image xx to z=E(x)z = \mathcal{E}(x), where E\mathcal{E} and D\mathcal{D} denote the encoder and decoder. The forward process (Ho et al., 2020) adds noise to the latent representation as

zt=αˉtz0+1−αˉt ϵ,ϵ∼N(0,I),(5)z_t = \sqrt{\bar{\alpha}_t}z_0 + \sqrt{1-\bar{\alpha}_t}\,\epsilon,\quad\epsilon\sim\mathcal{N}(0,I), \tag*{(5)}

and the denoising network learns the reverse process by predicting the noise at each timestep with the training objective

L=Ez,ϵ,t[∥ϵ−ϵθ(zt,t,c)∥2],(6)\mathcal{L} = \mathbb{E}_{z,\epsilon,t}\left[\left\lVert\epsilon-\epsilon_\theta(z_t,t,c)\right\rVert^2\right], \tag*{(6)}

where ϵθ\epsilon_\theta is the denoising U-Net and cc is the conditioning signal. Stable Diffusion (Rombach et al., [6]; Oorloff et al. [4]) combines a VAE, a latent-space denoising U-Net, and a text encoder based on CLIP (Radford et al., [5]). The CLIP encoder maps the text prompt to an embedding that conditions the U-Net through cross-attention using the scaled dot-product attention of Vaswani et al. [8],

Attention⁡(Q,K,V)=softmax⁡(QKTd)V,(7)\operatorname{Attention}(Q,K,V) = \operatorname{softmax}\left(\frac{QK^{\mathsf{T}}}{\sqrt{d}}\right)V, \tag*{(7)}

where QQ, KK, and VV are query, key, and value projections. Self-attention draws these projections from the same sequence. Cross-attention uses latent image features as queries and text embeddings as keys and values. Multi-head attention evaluates these relations across multiple learned subspaces.

Low-Rank Adaptation

For a pretrained attention weight matrix W0W_0, LoRA (Hu et al., (2022); Wang et al. [10]) writes the adapted weight as

W′=W0+αrBA,(8)W' = W_0 + \frac{\alpha}{r}BA, \tag*{(8)}

and the forward mapping becomes

h=W0x+αrBAx,(9)h = W_0x + \frac{\alpha}{r}BAx, \tag*{(9)}

where B∈Rd×rB \in\mathbb{R}^{d \times r} and A∈Rr×kA \in\mathbb{R}^{r \times k}. The rank satisfies r≪min⁡(d,k)r \ll\min(d,k) and sets the capacity of the adaptation, xx is the input feature representation, and α\alpha regulates the adaptation strength. We train only AA and BB and keep the base Stable Diffusion parameters frozen. We apply the update to the U-Net cross-attention projections (to_k, to_q, to_v, to_out.0).

Data Preparation, Hyperparameters, and Algorithm

The AFM data preparation is described in § 2.1.2 of the main text. In brief, six exported AFM images (576 × 576 pixels, 1.05 μm × 1.05 μm fields, three biological replicates) were each split into a 3 × 3 grid of 192 × 192 patches, augmented with horizontal, vertical, and combined flips, and filtered to retain training images containing microfibrils. Table S1 lists the training and inference settings, and Algorithm S1 gives the corresponding computational workflow.

CategoryParameterValueEffect / Justification
Base ModelArchitectureStable Diffusion v1.5Latent diffusion backbone
Base ModelInput resolution512×512512 \times512 pxInput size used for Stable Diffusion v1.5
Base ModelPrecisionbf16Reduced memory; numerically stable gradients
LoRA AdapterRank (rr)4Low-rank adaptation
LoRA AdapterAlpha (α\alpha)4Scaling ratio α/r=1.0\alpha/r = 1.0
LoRA AdapterTarget layersto_k, to_q, to_v, to_out.0U-Net cross-attention projections
TrainingOptimizerAdamWWeight-decoupled adaptive gradient descent
Trainingβ1,β2\beta_1, \beta_20.9, 0.999Momentum and variance estimates
TrainingWeight decay0.01L2 regularization
TrainingLearning rate1×10−41 \times10^{-4}LoRA fine-tuning learning rate
TrainingLR scheduleCosine decayLearning-rate schedule
TrainingGradient clip1.0Gradient clipping
DataRaw AFM images6Three biological replicates
DataExported image size576×576576 \times576 pxNanoScope Analysis PNG output
DataField size1.05 μm×1.05 μm1.05\ \mu\mathrm{m} \times1.05\ \mu\mathrm{m}Same physical field size for all raw images
DataPatch grid3×33 \times3 per imageNine non-overlapping patches per raw image
DataPatch size192×192192 \times192 px54 original patches across six images
DataAugmentationsH, V, and HV flipsOriginal plus three flipped variants
DataCandidate images21654 patches ×\times 4 versions
DataFinal images19719 images without microfibrils excluded
OptimizationEffective batch4 (batch 1 ×\times grad. accum. 4)Effective batch size used in training
OptimizationTotal steps12,000Fine-tuning iterations
InferencePipelineStableDiffusionImg2ImgPipelineImage and text conditioning
InferenceDenoising strength0.6Image-to-image denoising strength
InferenceGuidance scale6Classifier-free guidance scale
InferenceInference steps50Denoising steps
ResourcesTraining time∼\sim10 hoursSingle GPU run (bf16 mixed precision)
ResourcesSeedRandom per generated variantDifferent seeds generate image variants

Table S1. Hyperparameter configuration for LoRA fine-tuning and image-to-image inference with Stable Diffusion v1.5 on AFM cotton fiber imagery.

Generation prompt and inference settings

The image-to-image generation used the following positive prompt:

“Atomic force microscopy of cotton fiber, linear scratch-like microfibrils, straight thin fibrils, aligned at ∼78∘\sim78^\circ, moderate crossover density (≈37\approx37), no curvature, no web-like net, nanoscale AFM texture, high contrast, sepia AFM imaging”

and the following negative prompt:

“curved microfibrils, wavy microfibrils, tangled net, circular blobs, thick fibers, clumps, noisy background, blurry, distorted”

Generation used a denoising strength of 0.6, a classifier-free guidance scale of 6 ((Ho and Salimans, 2022)), and 50 inference steps. Different CUDA random seeds were used to generate multiple variants. The supplied generation code draws the seed as an integer between 0 and 999999 using random.randint(0,999999) and initializes a CUDA generator with that value. The example loop has three iterations; it is not a record of the complete generation batches, and per-image seeds for the validation and mechanics ensembles were not supplied.

Algorithm S1 Synthetic AFM Cotton Fiber Image Generation via LoRA-Adapted Stable Diffusion

Require: six exported AFM images I\mathcal{I} of size 576×576576 \times576; SD v1.5 (ϵθ,E,D,τϕ)(\epsilon_\theta, \mathcal{E}, \mathcal{D}, \tau_\phi); LoRA rank r=4r = 4, scale α=4\alpha= 4; target projections; training settings from Table S1; conditioning image xinitx_{\mathrm{init}}; positive/negative prompts c+,c−c_+, c_-

Ensure: synthetic image x^\hat{x}

  1. Data Preparation

  2. Initialize patch collection P←∅\mathcal{P} \leftarrow\varnothing

  3. for each Ik∈II_k \in\mathcal{I} do

  4. Split IkI_k into nine non-overlapping 192×192192 \times192 patches

  5. Append these patches to P\mathcal{P}

  6. end for

  7. Paug←{P,HFlip⁡(P),VFlip⁡(P),HVFlip⁡(P)∣P∈P}\mathcal{P}_{\mathrm{aug}} \leftarrow\{ \mathcal{P}, \operatorname{HFlip}(\mathcal{P}), \operatorname{VFlip}(\mathcal{P}), \operatorname{HVFlip}(\mathcal{P}) \mid\mathcal{P} \in\mathcal{P} \}

  8. Remove 19 images without microfibrils from the 216 candidates

  9. Pkeep←\mathcal{P}_{\mathrm{keep}} \leftarrow the 197 retained images

  10. T←{(Resize⁡512(P),Caption⁡(P))∣P∈Pkeep}\mathcal{T} \leftarrow\{(\operatorname{Resize}_{512}(\mathcal{P}), \operatorname{Caption}(\mathcal{P})) \mid\mathcal{P} \in\mathcal{P}_{\mathrm{keep}}\}

  11. LoRA Training

  12. Freeze the base U-Net, VAE, and text-encoder weights

  13. Initialize trainable LoRA matrices A,BA, B with the training implementation

  14. Minimize Eq. (6) on T\mathcal{T} using AdamW and the LoRA updates

  15. Retain the reported 12,000-iteration budget; optimizer-update convention requires confirmation

  16. Inference (Img2Img)

  17. Load trained LoRA updates W′=W0+(α/r)BAW' = W_0 + (\alpha/r)BA into the target projections

  18. xinit←Resize⁡512(xinit)x_{\mathrm{init}} \leftarrow\operatorname{Resize}_{512}(x_{\mathrm{init}})

  19. Draw seed q←RandomInteger⁡(0,999999)q \leftarrow\operatorname{RandomInteger}(0, 999999)

  20. Initialize the CUDA random generator with qq

  21. x^←Img2Img⁡(xinit,c+,c−,s=0.6,w=6,Tinf=50,q)\hat{x} \leftarrow\operatorname{Img2Img}(x_{\mathrm{init}}, c_+, c_-, s = 0.6, w = 6, T_{\mathrm{inf}} = 50, q)

  22. return x^\hat{x}

Crossover Validation Measurements

Three real AFM images were compared with image-conditioned synthetic variants. Images 1 and 2 each had eight variants, while Image 3 had seven, for 23 synthetic images. Table S2 and Table S3 reproduce the supplied image-level measurements. Each angle entry is the mean intersection angle measured within that image. Counts are per analyzed image, not counts per square micrometer; the crop area for these specific validation images was not supplied. Synthetic means weight the variants equally within each conditioning image.

MeasurementImage 1Image 2Image 3
Real image49.266751.384645.5185
Variant 149.095254.193552.0370
Variant 259.961560.903249.3913
Variant 347.087048.481554.0952
Variant 462.842151.800052.1000
Variant 550.652254.384658.5833
Variant 652.550069.400056.5000
Variant 751.920059.896652.9000
Variant 857.083350.5000–
Synthetic mean53.898956.194953.6581

Table S2. Mean crossover angle in degrees for each real image and synthetic variant. Values are displayed to four decimal places; calculations use the full supplied precision. A dash denotes the absent eighth variant for Image 3.

MeasurementImage 1Image 2Image 3
Real image302627
Variant 1213127
Variant 2263123
Variant 3232721
Variant 4193020
Variant 5232624
Variant 6202526
Variant 7253020
Variant 82426–
Synthetic mean22.62528.25023.000

Table S3. Crossover counts for each real image and synthetic variant. A dash denotes the absent eighth variant for Image 3.

Paired image-level analysis

Let rjr_j be the real-image descriptor and sjks_{jk} the corresponding descriptor for variant kk of image jj, with nj=8,8,7n_j = 8, 8, 7. We define

sˉj=1nj∑k=1njsjk,dj=sˉj−rj,t=dˉsd/3,dz=dˉsd,(10)\bar{s}_j = \frac{1}{n_j}\sum_{k=1}^{n_j}s_{jk}, \qquad d_j = \bar{s}_j-r_j, \qquad t = \frac{\bar{d}}{s_d/\sqrt{3}}, \qquad d_z = \frac{\bar{d}}{s_d}, \tag*{(10)}

where sds_d is the sample standard deviation of the three paired differences. Table S4 reports two-sided paired tt-tests with two degrees of freedom and 95% confidence intervals dˉ±t0.975,2sd/3\bar{d} \pm t_{0.975,2}s_d/\sqrt{3}. These are a reanalysis of the supplied measurements. The tests are exploratory and unadjusted for the two descriptors; neither the normality of the differences nor the biological independence of the three conditioning images can be assessed from the supplied data. In particular, a nonsignificant count test is not evidence of equivalence.

DescriptorMean difference95% intervalt(2)t(2)ppdzd_z
Angle (°)5.86[0.95, 10.77]5.140.0362.97
Count−3.04[−15.17, 9.09]−1.080.393−0.62

Table S4. Paired comparison of the synthetic per-image mean with its conditioning real image. Differences are synthetic minus real. Both tests have n=3n = 3 image pairs and two degrees of freedom.

Across the three real images, angle and count are 48.72±2.97∘48.72 \pm2.97^\circ and 27.67±2.0827.67 \pm2.08, respectively (mean ±\pm sample SD). Across the three synthetic per-image means, they are 54.58±1.40∘54.58 \pm1.40^\circ and 24.63±3.1424.63 \pm3.14. The angle SDs among synthetic variants within Images 1 to 3 are 5.51∘5.51^\circ, 6.85∘6.85^\circ, and 3.06∘3.06^\circ; the corresponding count SDs are 2.452.45, 2.492.49, and 2.832.83. Thus, the SD across synthetic per-image means must not be interpreted as the variability among individual synthetic images.

AFM Line-Profile Measurements Motivating Continuous Mapping

Young’s modulus was measured along one-dimensional line segments extracted from three AFM images (Figure S1). The plotted dataset contains 40 modulus measurements: 17, 12, and 11 points in Images 1 to 3. These data show substantial spatial heterogeneity across the sampled locations and no obvious binary separation into two phases. They do not establish a complete sampling count beyond the plotted series. The continuous interpolation mapping of the main text retains continuous image-intensity variation in the assigned material field (Figure S2). We also implemented a threshold-based mapping, in which an intensity threshold segments the image into distinct material regions and each region is assigned a representative property. The reported results use only the continuous mapping. The threshold-based mapping replaces the measured grayscale variability with artificially discrete regions. Note that retaining the continuous field does not by itself validate the physical calibration between AFM intensity and local modulus.

Spatial variation of Young’s modulus along representative line segments extracted from three AFM images

Figure S2. Spatial variation of Young’s modulus along representative line segments extracted from three AFM images after applying the continuous interpolation mapping. The profiles are plotted against normalized arc length along the sampled line, and they retain the pointwise heterogeneity of the AFM-derived material fields.

Homogenization Formulation

Governing Equations

Let u:Ω→R2\mathbf{u}:\Omega\to\mathbb{R}^{2} denote the displacement field on the computational cell domain Ω\Omega. The boundary-value problem of heterogeneous linear elasticity reads

−∇⋅σ(u,x)=0in Ω,(11)-\nabla\cdot\boldsymbol{\sigma}(\mathbf{u},\mathbf{x}) = 0 \quad\text{in }\Omega, \tag*{(11)}
σ(u,x)=C(x):ε(u),(12)\boldsymbol{\sigma}(\mathbf{u},\mathbf{x}) = \mathbf{C}(\mathbf{x}):\boldsymbol{\varepsilon}(\mathbf{u}), \tag*{(12)}
ε(u)=12(∇u+∇uT).(13)\boldsymbol{\varepsilon}(\mathbf{u}) = \frac{1}{2}\left(\nabla\mathbf{u}+\nabla\mathbf{u}^{T}\right). \tag*{(13)}

We assemble the spatially varying stiffness tensor C(x)\mathbf{C}(\mathbf{x}) at each Gauss point from the image-derived fields E(x)E(\mathbf{x}) and ν(x)\nu(\mathbf{x}). We assume plane strain throughout. The term RVE denotes this computational cell; its statistical representativeness has not been established.

Voigt Notation and Plane-Strain Stiffness

In two dimensions we adopt the standard Voigt (engineering-shear) convention for the strain and stress vectors,

εV(u)=[εxxεyyγxy]=[ux,xuy,yux,y+uy,x],σV=[σxxσyyτxy],(14)\boldsymbol{\varepsilon}^{V}(\mathbf{u}) = \begin{bmatrix} \varepsilon_{xx}\\ \varepsilon_{yy}\\ \gamma_{xy} \end{bmatrix} = \begin{bmatrix} u_{x,x}\\ u_{y,y}\\ u_{x,y}+u_{y,x} \end{bmatrix}, \qquad \boldsymbol{\sigma}^{V} = \begin{bmatrix} \sigma_{xx}\\ \sigma_{yy}\\ \tau_{xy} \end{bmatrix}, \tag*{(14)}

and the constitutive relation at each point becomes σV(x)=C(x)εV(x)\boldsymbol{\sigma}^{V}(\mathbf{x})=\mathbf{C}(\mathbf{x})\boldsymbol{\varepsilon}^{V}(\mathbf{x}), with C(x)∈R3×3\mathbf{C}(\mathbf{x})\in\mathbb{R}^{3\times3}. For an isotropic material under plane strain the local stiffness matrix is

Cpe=[E(1−ν)(1+ν)(1−2ν)Eν(1+ν)(1−2ν)0Eν(1+ν)(1−2ν)E(1−ν)(1+ν)(1−2ν)000E2(1+ν)].(15)\mathbf{C}_{\mathrm{pe}} = \begin{bmatrix} \frac{E(1-\nu)}{(1+\nu)(1-2\nu)} & \frac{E\nu}{(1+\nu)(1-2\nu)} & 0\\ \frac{E\nu}{(1+\nu)(1-2\nu)} & \frac{E(1-\nu)}{(1+\nu)(1-2\nu)} & 0\\ 0 & 0 & \frac{E}{2(1+\nu)} \end{bmatrix}. \tag*{(15)}

Macroscopic Load Cases and Boundary Conditions

We prescribe three linearly independent macroscopic strain states to identify all columns of the effective stiffness,

εˉ(A)=[100],εˉ(B)=[010],εˉ(C)=[001],(16)\bar{\boldsymbol{\varepsilon}}^{(A)} = \begin{bmatrix} 1\\ 0\\ 0 \end{bmatrix}, \qquad \bar{\boldsymbol{\varepsilon}}^{(B)} = \begin{bmatrix} 0\\ 1\\ 0 \end{bmatrix}, \qquad \bar{\boldsymbol{\varepsilon}}^{(C)} = \begin{bmatrix} 0\\ 0\\ 1 \end{bmatrix}, \tag*{(16)}

corresponding to unit longitudinal strain εxx\varepsilon_{xx}, unit transverse strain εyy\varepsilon_{yy}, and unit engineering shear γxy\gamma_{xy}. We enforce each load case through affine displacement boundary conditions on ∂Ω\partial\Omega,

u(k)(x)=εˉ(k)xon ∂Ω,k∈{A,B,C},(17)\mathbf{u}^{(k)}(\mathbf{x})=\bar{\boldsymbol{\varepsilon}}^{(k)}\mathbf{x} \quad\text{on }\partial\Omega,\quad k\in\{A,B,C\}, \tag*{(17)}

where εˉ(k)\bar{\boldsymbol{\varepsilon}}^{(k)} is the 2×22\times2 strain tensor corresponding to the engineering-strain vector in Equation (16),

εˉ(k)=[εˉxx(k)γˉxy(k)/2γˉxy(k)/2εˉyy(k)].(18)\bar{\boldsymbol{\varepsilon}}^{(k)} = \begin{bmatrix} \bar{\varepsilon}_{xx}^{(k)} & \bar{\gamma}_{xy}^{(k)}/2\\ \bar{\gamma}_{xy}^{(k)}/2 & \bar{\varepsilon}_{yy}^{(k)} \end{bmatrix}. \tag*{(18)}

We use the normalized coordinates x^=(x−x0)/Lx\hat{x}=(x-x_{0})/L_{x} and y^=(y−y0)/Ly\hat{y}=(y-y_{0})/L_{y} in the implementation. This keeps all boundary displacements of order one. We perform all homogenization on a unit RVE (Lx=Ly=1L_{x}=L_{y}=1) in non-dimensional units. The normalized coordinates then coincide with the computational coordinates, and each load case imposes a strain of unit magnitude. This unit-domain calculation does not establish the physical size or representativeness of the image window. The explicit forms are

Case A: ux=x^u_{x}=\hat{x}, uy=0\quad u_{y}=0,

Case B: ux=0u_{x}=0, uy=y^\quad u_{y}=\hat{y},

Case C: ux=12y^u_{x}=\frac{1}{2}\hat{y}, uy=12x^\quad u_{y}=\frac{1}{2}\hat{x}.

Volume-Averaged Stress and Effective Stiffness

After solving each sub-problem, we compute the volume-averaged (macroscopic) stress as

⟨σV⟩(k):=1∣Ω∣∫ΩσV(u(k)(x),x) dΩ,∣Ω∣=∫Ω1 dΩ,(19)\langle\sigma^{V} \rangle^{(k)} := \frac{1}{|\Omega|} \int_{\Omega} \sigma^{V}(u^{(k)}(\mathbf{x}),\mathbf{x})\,\mathrm{d}\Omega,\qquad|\Omega| = \int_{\Omega} 1\,\mathrm{d}\Omega, \tag*{(19)}

evaluated in the finite element setting by summing over all elements ee and Gauss points gg,

⟨σV⟩(k)≈∑e∑gσegVweg∑e∑gweg,weg=det⁡Jegwgquad,(20)\langle\sigma^{V} \rangle^{(k)} \approx\frac{\sum_{e}\sum_{g}\sigma_{eg}^{V}w_{eg}}{\sum_{e}\sum_{g}w_{eg}},\qquad w_{eg}=\det J_{eg}w_{g}^{\mathrm{quad}}, \tag*{(20)}

where JegJ_{eg} is the Jacobian of the isoparametric mapping and wgquadw_{g}^{\mathrm{quad}} are the quadrature weights. The homogenized constitutive law is ⟨σV⟩=Ceff εˉ\langle\sigma^{V}\rangle=C_{\mathrm{eff}}\,\bar{\varepsilon}. The three unit load cases in Equation (16) form the identity matrix. The columns of CeffC_{\mathrm{eff}} then follow immediately,

Ceff=[⟨σxx⟩(A)⟨σxx⟩(B)⟨σxx⟩(C)⟨σyy⟩(A)⟨σyy⟩(B)⟨σyy⟩(C)⟨τxy⟩(A)⟨τxy⟩(B)⟨τxy⟩(C)].(21)C_{\mathrm{eff}}= \begin{bmatrix} \langle\sigma_{xx}\rangle^{(A)} & \langle\sigma_{xx}\rangle^{(B)} & \langle\sigma_{xx}\rangle^{(C)}\\ \langle\sigma_{yy}\rangle^{(A)} & \langle\sigma_{yy}\rangle^{(B)} & \langle\sigma_{yy}\rangle^{(C)}\\ \langle\tau_{xy}\rangle^{(A)} & \langle\tau_{xy}\rangle^{(B)} & \langle\tau_{xy}\rangle^{(C)} \end{bmatrix}. \tag*{(21)}

When we apply a load case with amplitude ε0\varepsilon_0 (or γ0\gamma_0) instead of unity, we divide the corresponding column of Equation (21) by that amplitude.

Isotropy Check and Extraction of Effective Constants

An in-plane isotropic effective stiffness must satisfy

C11≈C22,C13≈C23≈0,2C33≈C11−C12.(22)C_{11}\approx C_{22},\qquad C_{13}\approx C_{23}\approx0,\qquad2C_{33}\approx C_{11}-C_{12}. \tag*{(22)}

Reciprocity also requires Cij≈CjiC_{ij}\approx C_{ji}, but this symmetry alone does not establish isotropy.

Isotropy screen applied to the ensemble

After assembling CeffC_{\mathrm{eff}}, the solver screens every run for approximate isotropy. With the relative difference

r(a,b)=∣a−b∣max⁡(1,∣a∣,∣b∣),(23)r(a,b)=\frac{\lvert a-b\rvert}{\max(1,\lvert a\rvert,\lvert b\rvert)}, \tag*{(23)}

where the unit floor in the denominator is a numerical safeguard that is negligible at the stiffness magnitudes of this study, a run is labeled approximately isotropic only if all four inequalities hold,

r(C12,C21)<0.01,r(C11,C22)<0.01,∣C13∣<0.01∣C11∣,∣C23∣<0.01∣C11∣,(24)r(C_{12},C_{21})<0.01,\qquad r(C_{11},C_{22})<0.01,\qquad\lvert C_{13}\rvert<0.01\lvert C_{11}\rvert,\qquad\lvert C_{23}\rvert<0.01\lvert C_{11}\rvert, \tag*{(24)}

and anisotropic otherwise. The first inequality tests reciprocity, whose failure would indicate a numerical or consistency problem, not physical anisotropy. The second tests equality of the normal stiffnesses along the image axes, and the last two bound the normal-shear coupling. We report the normal-stiffness criterion as the continuous directional mismatch

AN=100 r(C11,C22)  (%),(25)A_N=100\,r(C_{11},C_{22})\;(\%), \tag*{(25)}

which the screen requires to be below 1%. ANA_N measures directional normal-stiffness mismatch only and is not a complete anisotropy index.

Table S5 summarizes the screen over the 798 completed homogenization runs. All runs pass the reciprocity check. Every run at Em/Ef=0.91E_m/E_f=0.91, 1.45, and 1.81 passes all four criteria. At Em/Ef=0.18E_m/E_f=0.18, 24 of 200 runs (12.0%) are labeled anisotropic, and all 24 fail the normal-stiffness criterion, with ANA_N up to 1.30%. These cases are concentrated in three of the five parent images, which contribute 11, 11, and 2 of their 40 variants, while the other two parent images contribute none. The saved logs do not establish whether any of these 24 runs also fail a coupling criterion. Pooled over all four ratios, 24 of 798 runs (3.0%) are labeled anisotropic, with median AN=0.33%A_N=0.33\% and maximum AN=1.30%A_N=1.30\%. Because the same microstructures recur at every stiffness ratio, the pooled percentage is a run-level description, not a sample of independent microstructures. The mean mismatch is smallest when matrix and fibril stiffnesses are comparable (Em/Ef=0.91E_m/E_f = 0.91 and 1.451.45) and increases with the stiffness contrast between the phases, reaching its largest value for the most compliant matrix (Em/Ef=0.18E_m/E_f = 0.18).

Em/EfE_m/E_fValid runsAnisotropic nnAnisotropic %MeanSDMedianP95Max
0.182002412.00.8200.1560.8241.0731.300
0.9119900.00.2360.0480.2370.3190.362
1.4519900.00.2520.0530.2560.3410.391
1.8120000.00.4940.1050.5010.6630.767
All798243.00.4510.2570.3340.9581.300

Table S5. Isotropy screen of the homogenized stiffness tensors for each matrix-to-fibril stiffness ratio. A run is anisotropic if it fails any criterion in Equation (24). ANA_N is the normal-stiffness mismatch of Equation (25); SD is the sample standard deviation and P95 the 95th percentile. Two failed runs without a homogenization summary are excluded.

The screen has two limitations. First, it does not test the isotropic shear relation 2C33=C11−C122C_{33} = C_{11} - C_{12} of Equation (22), whose residual would be

ηS=∣2C33−(C11−C12)∣∣C11−C12∣(26)\eta_S = \frac{\left|2C_{33} - (C_{11} - C_{12})\right|}{\left|C_{11} - C_{12}\right|} \tag*{(26)}

Passing the screen therefore indicates small normal-stiffness mismatch, reciprocity, and small normal-shear coupling, but does not by itself establish full in-plane isotropy. Second, the solver logs record the relative mismatches and the coupling terms but not the complete tensor, so ηS\eta_S and full-tensor anisotropy indices cannot be recovered for the present ensemble. Saving all entries of CeffC_{\mathrm{eff}} in future runs would remove this limitation. Deviations from isotropy can also reflect finite-window effects or numerical error, and the screen alone cannot identify their cause.

Effective constants

Under an isotropic reduction, the effective Young’s modulus and Poisson’s ratio follow from the plane-strain identities

νeff=C12C11+C12,Eeff=2C33(1+νeff).(27)\nu_{\mathrm{eff}} = \frac{C_{12}}{C_{11} + C_{12}}, \qquad E_{\mathrm{eff}} = 2C_{33}(1+\nu_{\mathrm{eff}}). \tag*{(27)}

These relations follow from inverting the plane-strain stiffness in Equation (15) and are exact for a homogeneous isotropic material. Applied to the heterogeneous effective tensor, they define the scalar approximation used here, whose accuracy depends on the isotropy criteria above. A consistency check is the independently reconstructed normal-stiffness expression

Eeff(11)=C11(1+νeff)(1−2νeff)1−νeff.(28)E_{\mathrm{eff}}^{(11)} = C_{11}\frac{(1+\nu_{\mathrm{eff}})(1-2\nu_{\mathrm{eff}})}{1-\nu_{\mathrm{eff}}}. \tag*{(28)}

It equals 2C33(1+νeff)2C_{33}(1+\nu_{\mathrm{eff}}) only when the relevant isotropic identities hold. No numerical comparison of these expressions is reported here.

Macroscale Assembly with Sampled Properties

The homogenization ensemble provides paired effective properties S={(Eeff(j),νeff(j))}j=1Ns\mathcal{S} = \{(E_{\mathrm{eff}}^{(j)},\nu_{\mathrm{eff}}^{(j)})\}_{j=1}^{N_s}, whose empirical joint density is

p^E,ν(E,ν)=1Ns∑j=1Nsδ(E−Eeff(j))δ(ν−νeff(j)),(29)\widehat{p}_{E,\nu}(E,\nu) = \frac{1}{N_s}\sum_{j=1}^{N_s}\delta(E-E_{\mathrm{eff}}^{(j)})\delta(\nu-\nu_{\mathrm{eff}}^{(j)}), \tag*{(29)}

where δ(⋅)\delta(\cdot) denotes the Dirac delta distribution. We draw an index Jg∼U{1,…,Ns}J_g \sim\mathcal{U}\{1,\ldots,N_s\} at each Gauss point xg\mathbf{x}_g and assign (E(xg),ν(xg))=(Eeff(Jg),νeff(Jg))(E(\mathbf{x}_g),\nu(\mathbf{x}_g)) = (E_{\mathrm{eff}}^{(J_g)},\nu_{\mathrm{eff}}^{(J_g)}). This samples the density directly. The local constitutive tensor C(xg)=C(E(xg),ν(xg))\mathbf{C}(\mathbf{x}_g) = \mathbf{C}(E(\mathbf{x}_g),\nu(\mathbf{x}_g)) then enters the weak form of the macroscale linear-elasticity problem, whose internal virtual work is approximated as

∫Ωε(v):C(x):ε(u) dΩ≈∑e∑gwgJgdetε(vh)(xg):C(xg):ε(uh)(xg),(30)\int_{\Omega} \boldsymbol{\varepsilon}(\mathbf{v}) : \mathbf{C}(\mathbf{x}) : \boldsymbol{\varepsilon}(\mathbf{u})\,\mathrm{d}\Omega\approx\sum_e \sum_g w_g J_g^{\mathrm{det}} \boldsymbol{\varepsilon}(\mathbf{v}_h)(\mathbf{x}_g) : \mathbf{C}(\mathbf{x}_g) : \boldsymbol{\varepsilon}(\mathbf{u}_h)(\mathbf{x}_g), \tag*{(30)}

where wgw_g is the quadrature weight and JgdetJ_g^{\mathrm{det}} denotes the determinant of the element mapping Jacobian at the Gauss point, which is a different quantity from the random sample index JgJ_g.

Additional Results

Displacement Fields from the Homogenization Load Cases

Figure S3 shows the displacement fields uxu_x and uyu_y for each of the three macroscopic load cases applied to a representative RVE. For Case A (unit longitudinal strain), the uxu_x field follows the imposed left-to-right gradient, with local perturbations associated with property heterogeneity. The uyu_y field for the same case contains transverse in-plane displacement arising from the Poisson response and local heterogeneity. Case B (unit transverse strain) produces the complementary pattern, with the primary gradient in uyu_y and the transverse response in uxu_x. Case C (unit engineering shear) produces spatial variation in both displacement components. Even under nominally uniform macroscopic strains, local stiffness contrasts drive substantial fluctuations in the microscale displacement field. These fluctuations enter the volume-averaged stresses used to construct CeffC_{\mathrm{eff}}.

Displacement fields for Cases A, B, and C showing $u_x$ and $u_y$

Figure S3. Displacement fields obtained from the three independent macroscopic strain loading cases used for computational homogenization. Case A corresponds to unit longitudinal strain (εˉ=[1,0,0]T\bar{\varepsilon} = [1, 0, 0]^{T}), Case B corresponds to unit transverse strain (εˉ=[0,1,0]T\bar{\varepsilon} = [0, 1, 0]^{T}), and Case C corresponds to unit engineering shear (εˉ=[0,0,1]T\bar{\varepsilon} = [0, 0, 1]^{T}, γxy=1\gamma_{xy} = 1).

Effective-Modulus Density for a Single Matrix Stiffness

Figure S4 shows the marginal kernel density estimates (KDEs) of the normalized effective modulus Eeff/EfE_{\mathrm{eff}}/E_f and of νeff\nu_{\mathrm{eff}} for Em/Ef=1.45E_m/E_f = 1.45 (Em=80E_m = 80 MPa, Ef=55.1E_f = 55.1 MPa). The modulus marginal is considered here in isolation. The density contains two visible peaks separated by a lower-density region. We have not tested how these apparent modes depend on the KDE bandwidth. This is left as future work.

Mesh Convergence of the Homogenized Constants

We assessed the sensitivity of the homogenized constants to mesh resolution by repeating the homogenization of one representative mapped image at uniform refinement levels L=5L = 5 to 99. The unit-square RVE is discretized with bilinear (Q1) quadrilateral elements of size h=2−Lh = 2^{-L} under plane strain. Only the base refinement level was changed between runs; the image, the continuous mapping (Em=10E_m = 10 MPa, νm=0.49\nu_m = 0.49; Ef=55.1E_f = 55.1 MPa, νf=0.30\nu_f = 0.30), and the direct solver settings (relative tolerance 10−810^{-8}) were held fixed. The effective constants are extracted with νeff=C12/(C11+C12)\nu_{\mathrm{eff}} = C_{12}/(C_{11} + C_{12}) and Eeff=2C33(1+νeff)E_{\mathrm{eff}} = 2C_{33}(1 + \nu_{\mathrm{eff}}) (§ 7.2).

Table S6 and Figure S5 report the results. EeffE_{\mathrm{eff}} decreases monotonically with refinement, and its difference from the L=9L = 9 value falls from 1.57% at L=5L = 5 to 0.076% at L=8L = 8. The Poisson’s ratio changes by less than 0.15% over the full range, and the L=8L = 8 value differs from the L=9L = 9 value by 0.016%. Differences are computed as 100∣QL−Q9∣/∣Q9∣100|Q_L-Q_9|/|Q_9|. The L=9L = 9 mesh is a finite-resolution reference, not an exact solution. These results support mesh stability of the volume-averaged constants over the tested levels; they do not establish convergence of local stress fields.

References

  1. [4]Oorloff, T., Sindagi, V., Bandara, W.G.C., Shafahi, A., Ghiasi, A., Prakash, C., Ardekani, R., 2025. Stable Diffusion models are secretly good at visual in-context learning, in: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 23604–23613.
  2. [5]Radford, A., Kim, J.W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., Krueger, G., Sutskever, I., 2021. Learning transferable visual models from natural language supervision, in: Proceedings of the 38th International Conference on Machine Learning (ICML), PMLR. pp. 8748–8763.arxiv.org/abs/2103.00020
  3. [6]Rombach, R., Blattmann, A., Lorenz, D., Esser, P., Ommer, B., 2022. High-resolution image synthesis with latent diffusion models, in: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 10684–10695. doi:10.1109/CVPR52688.2022.01042.DOI
  4. [7]Shaham, T.R., Dekel, T., Michaeli, T., 2019. SinGAN: Learning a generative model from a single natural image, in: Proceedings of the IEEE/CVF international conference on computer vision, pp. 4570–4580. doi:10.1109/ICCV.2019.00467.DOI
  5. [8]Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., Polosukhin, I., 2017. Attention is all you need, in: Advances in Neural Information Processing Systems (NeurIPS), pp. 5998–6008.arxiv.org/abs/1706.03762
  6. [9]Wang, B., Chen, L., Song, D., Chen, W., Yu, J., 2025. SinGAN-Labeler: An enhanced SinGAN for generating marine oil spill SAR images with labels. Journal of Marine Science and Engineering 13, 422. doi:10.3390/jmse13030422.DOI
  7. [10]Wang, S., Yu, L., Li, J., 2024. LoRA-GA: Low-rank adaptation with gradient approximation, in: Advances in Neural Information Processing Systems (NeurIPS), pp. 54905–54931.arxiv.org/abs/2407.05000

Paper details

vlnc:W_4nkh4e4b
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents