원시데이터 수집 시스템
선정목록으로

Foundation model for composite microstructures: Reconstruction, stiffness, and nonlinear behavior prediction

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (9) 타이어코드(10) 아라미드(21) 에폭시수지

기본 정보

저자
  1. Ting-Ju Wei — Department of Civil Engineering, National Taiwan University, Room 205, No. 1, Sec. 4, Roosevelt Road, Taipei, 10617, Taiwan
  2. Chuin‐Shan Chen — Department of Civil Engineering, National Taiwan University, Room 205, No. 1, Sec. 4, Roosevelt Road, Taipei, 10617, Taiwan|||Department of Materials Science and Engineering, National Taiwan University, No. 1, Sec. 4, Roosevelt Road, Taipei, 10617, Taiwan
DOI
10.1016/j.matdes.2025.114397
저널
Materials & Design
발행년도
2025
발행기관
Elsevier BV
피인용수
4
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.matdes.2025.114397
토픽
Composite Material Mechanics
OpenAlex ID
W4413267822

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(9) 타이어코드, (10) 아라미드, (21) 에폭시수지
R&D 측면
분석·모델링
확신도
0.80
근거 용어
composite microstructures, stiffness prediction, nonlinear behavior, short-fiber composite, material design
판단 근거
이 논문은 복합재료의 미세구조 이미지를 기반으로 강성(stiffness)과 비선형 거동을 예측하는 AI 파운데이션 모델(MMAE)을 다룹니다. 이는 코오롱인더스트리의 엔지니어링 플라스틱(23) 및 타이어코드(9), 아라미드(10) 등 섬유 강화 복합소재의 물성 설계 및 해석 공정에 응용 가능한 연구입니다.
R&D 활용 포인트
섬유 강화 복합소재(CFRP, GFRP 등)의 미세구조 데이터를 활용하여, 실제 시편 제작 전 AI 모델로 기계적 물성을 빠르게 예측함으로써 신소재 개발 기간을 단축하고 최적의 배합 설계를 지원할 수 있습니다.
평가 입력
본문 73,521자 중 30,032자 발췌

초록

We present the Material Masked Autoencoder (MMAE), a self-supervised Vision Transformer pretrained on a large corpus of short-fiber composite images via masked image reconstruction. The pretrained MMAE learns latent representations that capture essential microstructural features and are broadly transferable across tasks. We demonstrate two key applications: (i) predicting homogenized stiffness components through fine-tuning on limited data, and (ii) inferring physically interpretable parameters by coupling MMAE with an interaction-based material network (IMN), thereby enabling extrapolation of nonlinear stress–strain responses. These results highlight the promise of microstructure foundation models and lay the groundwork for future extensions to more complex systems, such as 3D composites and experimental datasets. • Developed a foundation model for composites by pre-training on short-fiber data to learn transferable features. • Reconstructed composite microstructures to validate the representational capacity of the learned latent space. • Achieved R 2 of 0.959 in stiffness prediction via transfer learning with limited data. • Enabled nonlinear behavior extrapolation by transferring learned features to an interaction-based material network.

본문 73,521자

본문 펼치기
#### FOUNDATION MODEL FOR COMPOSITE MICROSTRUCTURES: RECONSTRUCTION, STIFFNESS, AND NONLINEAR BEHAVIOR PREDICTION Ting-Ju Wei Department of Civil Engineering National Taiwan University Taipei, Taiwan Chuin-Shan Chen <sup>_∗_</sup> Department of Civil Engineering Department of Materials Science and Engineering National Taiwan University Taipei, Taiwan September 25, 2025 ABSTRACT We present the Material Masked Autoencoder (MMAE), a self-supervised Vision Transformer pretrained on a large corpus of short-fiber composite images via masked image reconstruction. The pretrained MMAE learns latent representations that capture essential microstructural features and are broadly transferable across tasks. We demonstrate two key applications: (i) predicting homogenized stiffness components through fine-tuning on limited data, and (ii) inferring physically interpretable parameters by coupling MMAE with an interaction-based material network (IMN), thereby enabling extrapolation of nonlinear stress–strain responses. These results highlight the promise of microstructure foundation models and lay the groundwork for future extensions to more complex systems, such as 3D composites and experimental datasets. _K_ eywords Foundation model _·_ Composite material _·_ Transfer learning _·_ Self-supervised learning _·_ Masked autoencoder 1 Introduction The mechanical performance of composite materials is intrinsically governed by their underlying microstructural architecture. Accurately predicting material properties based on microstructural information is therefore critical for designing high-performance composites. In recent years, machine learning (ML) has emerged as a powerful tool for modeling microstructure–property relationships, enabling rapid property prediction and accelerating the materials design process. For instance, convolutional neural networks (CNNs) have been employed to estimate the effective elastic properties of two-dimensional (2D) checkerboard composites [1]. U-Net architectures have been used to predict stress fields in polycrystalline materials, demonstrating the ability to capture spatially complex mechanical responses [2]. Graph neural networks (GNNs) have been integrated into deep material networks for modeling nonlinear composite behavior [3]. More recently, transformer-based models have been explored, where pre-trained Vision Transformers were used to capture elastoplastic responses under varied loading conditions [4]. However, despite these successes, most existing ML approaches in materials science are constrained by their reliance on supervised learning with large labeled datasets. Acquiring extensive, high-quality labeled data—whether from experiments or high-fidelity simulations—is expensive and time-consuming. Furthermore, models trained on one type of microstructure or property often fail to generalize to different material systems, especially when faced with unseen microstructural patterns or out-of-distribution cases, which limits their broader applicability [5]. In contrast, self-supervised learning techniques have revolutionized fields like natural language processing (NLP) and computer vision by greatly reducing the need for labeled data. Transformer-based language models such as BERT (Bidirectional _∗_ Corresponding author. Email: `dchen@ntu.edu.tw` A PREPRINT - SEPTEMBER 25, 2025 Encoder Representations from Transformers) and GPT (Generative Pre-trained Transformer) leverage self-supervised objectives (e.g., masked word prediction or next-word prediction) to learn rich representations from massive unlabeled text corpora [6, 7]. Building upon the success of self-supervised learning, the concept of foundation models has emerged. A foundation model is typically pre-trained on a vast and diverse dataset to learn general-purpose representations that can be adapted to a wide range of downstream tasks [8, 9]. In essence, such models serve as broad, domain-general feature extractors that can be fine-tuned for different problems, marking a shift toward more versatile learning architectures that consolidate knowledge across domains. This paradigm has also been applied to computer vision, for example, through masked autoencoders (MAEs) for image data. In an MAE, a transformer-based encoder–decoder model is trained to reconstruct images from which a significant portion of the content has been masked out. Notably, the masked autoencoder introduced by He et al. [10] employs a Vision Transformer backbone with a lightweight decoder and has achieved performance on par with or even exceeding that of contrastive self-supervised learning methods for image recognition. Such results highlight the potential of MAEs as foundation models in the visual domain. Despite recent advances in other domains, the application of foundation models in materials science remains at an early stage. We posit that bringing self-supervised foundation model techniques into the materials domain can help address the data scarcity and generalization challenges outlined above. Motivated by this opportunity, we introduce a foundation model specifically designed for composite microstructures, termed the Material Masked Autoencoder (MMAE). The MMAE is pretrained in a self-supervised fashion on a large corpus of synthetic microstructure images by reconstructing partially masked inputs. This masked reconstruction task enables the model to learn latent representations that encode critical geometric and morphological features of the microstructures. To evaluate the utility and generalizability of these learned representations, we consider two downstream tasks. First, we predict the homogenized stiffness components of composite representative volume elements (RVEs) by applying transfer learning to the pretrained MMAE using three strategies: linear probing, partial fine-tuning, and end-to-end fine-tuning. These approaches yield accurate predictions even in data-scarce scenarios. Second, we integrate the pretrained MMAE with a physics-informed surrogate model, the Interaction-based Material Network (IMN), which decouples microstructural geometry from the constitutive behavior of individual phases. Originally developed for composites [11] and later extended to porous media [12] and polycrystalline materials [13], the IMN is grounded in homogenization theory, allowing it to incorporate arbitrary nonlinear constitutive models during online prediction. Its computational efficiency and predictive accuracy have been further validated in recent studies [14]. The MMAE is end-to-end fine-tuned using only linear elastic data, and its latent features are used to predict IMN parameters. We retain the IMN architecture throughout transfer learning to preserve its theoretical decoupling of geometry and material response. As a result, the trained framework is capable of extrapolating from linear elastic training data to accurately predict nonlinear stress–strain behavior under complex loading conditions. Through these case studies, we demonstrate that the MMAE learns rich and transferable representations of composite microstructures, enabling both linear property prediction and nonlinear behavior modeling. To our knowledge, this work represents the first application of a foundation model in composite material modeling, where pretrained encoders are leveraged for two distinct downstream tasks: direct stiffness prediction and the parameterization of a physics-informed surrogate model. This approach underscores the versatility of pretrained representations in materials modeling, enabling diverse predictive tasks with improved data efficiency and robust generalization. The remainder of the paper is organized as follows. Section 2 describes the methodology, including the data generation process and the MMAE model architecture. Section 3 presents the results and discussion. Section 4 offers concluding remarks and outlines potential directions for future work. 2 Methods 2.1 Self-supervised pre-training using masked autoencoders The MMAE framework proposed in this work adopted a self-supervised architecture inspired by the MAE introduced by He et al. [15]. As illustrated in Fig. 1, the MMAE consists of an encoder-decoder structure. The encoder is based on a Vision Transformer (ViT), parameterized by the patch size _P_, embedding dimension _De_, number of transformer blocks _Ne_, and number of attention heads per block _He_ [10]. A linear projection layer is used to align the encoder’s output dimension with the decoder’s input. The decoder shares a similar architecture but with its own parameters: 2 A PREPRINT - SEPTEMBER 25, 2025 embedding dimension _Dd_, number of transformer blocks _Nd_, and number of attention heads _Hd_ . The specific configuration used in this study was: _P_ = 16, _De_ = 256, _Ne_ = 12, _He_ = 4; _Dd_ = 128, _Nd_ = 8, _Hd_ = 16. Each microstructure was represented as an input image I _∈_ R <sup>_H×W ×C_</sup> . We used grayscale images ( _C_ = 1) with spatial resolution _H_ = _W_ = 224, where each pixel was a binary indicator (0 or 1) representing the phase (e.g., matrix - _<u>H</u>_ or inclusion). Each image was partitioned into _Np_ = _P_ �2 = 196 non-overlapping patches, where each patch had - _<u>H</u>_ or inclusion). Each image was partitioned into _Np_ = _P_ �2 = 196 non-overlapping patches, where each patch had dimensions of _P_ _× P_ = 16 _×_ 16. These patches were then individually embedded via a convolutional layer and processed by the transformer encoder. To inject spatial information into the transformer encoder, we employed 2D sinusoidal positional encodings (PE) for both the encoder and decoder inputs. As the self-attention mechanism in transformers is inherently permutationinvariant, such positional encodings are essential to preserve the relative order and layout of image patches. We adopted the fixed 2D extension of the original 1D sinusoidal encoding [16], as commonly used in MAE-based architectures [10]. Specifically, for a patch grid of size _G × G_ (with _G_ = - _Np_ = 14 in our case), each spatial coordinate ( _x, y_ ) was independently encoded using sine and cosine functions at multiple frequencies. For _i_ = 0 _,_ 1 _, . . ., De/_ 2 _−_ 1, the encoding is defined as: - _<u>H</u>_ _P_ To inject spatial information into the transformer encoder, we employed 2D sinusoidal positional encodings (PE) for both the encoder and decoder inputs. As the self-attention mechanism in transformers is inherently permutationinvariant, such positional encodings are essential to preserve the relative order and layout of image patches. We adopted the fixed 2D extension of the original 1D sinusoidal encoding [16], as commonly used in MAE-based architectures [10]. Specifically, for a patch grid of size _G × G_ (with _G_ = - _Np_ = 14 in our case), each spatial coordinate _,_ _,_ (1) - _<u>x</u>_ 10000 <sup>2</sup> <sup>_i/De_</sup> PE <sup>(2</sup> _x_ <sup>_i_</sup> <sup>)</sup> ( _x_ ) = sin - _<u>x</u>_ 10000 <sup>2</sup> <sup>_i/De_</sup> _,_ PE <sup>(2</sup> _x_ <sup>_i_</sup> <sup>+1)</sup> ( _x_ ) = cos _,_ PE <sup>(2</sup> _x_ <sup>_i_</sup> <sup>+1)</sup> - _<u>x</u>_ 10000 <sup>2</sup> <sup>_i/De_</sup> - _<u>y</u>_ 10000 <sup>2</sup> <sup>_i/De_</sup> PE <sup>(2</sup> _y_ <sup>_i_</sup> <sup>)</sup> ( _y_ ) = sin - _<u>x</u>_ 10000 <sup>2</sup> <sup>_i/De_</sup> - _<u>y</u>_ 10000 <sup>2</sup> <sup>_i/De_</sup> _,_ PE <sup>(2</sup> _y_ <sup>_i_</sup> <sup>+1)</sup> ( _y_ ) = cos _,_ PE <sup>(2</sup> _y_ <sup>_i_</sup> <sup>+1)</sup> where PE _x_ ( _x_ ) _,_ PE _y_ ( _y_ ) _∈_ R <sup>_De/_</sup> <sup>2</sup> represent the positional embeddings for the horizontal and vertical coordinates, respectively. In the encoder, we additionally prepended a learnable [CLS] token to the input sequence, following the standard ViT. This [CLS] token is a trainable vector that is initialized randomly and optimized during pre-training. Its role is to serve as a global representation of the input microstructure, capturing holistic spatial characteristics through self-attention. Since the transformer encoder permits full pairwise attention among all tokens, the [CLS] token attends to every visible patch token, and each patch token similarly attends to the [CLS] token. This bidirectional interaction allows the [CLS] token to aggregate contextual information from the entire set of visible patches, effectively forming a compact latent descriptor of the global microstructural geometry. Consequently, this descriptor can be directly utilized for various downstream prediction tasks. The positional embedding assigned to the [CLS] token is a zero vector: PE[CLS] = 0 _∈_ R <sup>_De_</sup> _._ (2) The complete positional embedding matrix for the encoder was constructed by stacking all patch embeddings and the [CLS] embedding: PE encoder = stack (PE[CLS] _,_ _{_ concat (PE _x_ ( _x_ ) _,_ PE _y_ ( _y_ )) _|_ ( _x, y_ ) _∈G × G}_ ) _∈_ R <sup>(1+</sup> <sup>_Np_</sup> <sup>)</sup> <sup>_×De_</sup> (3) The transformer decoder, responsible for reconstructing the full image, including masked patches, used the same 2D sinusoidal positional encodings for all patch tokens. While the encoding formulation remained identical, the embeddings were projected into the decoder’s latent space with dimension _Dd_ . These positional embeddings provide essential spatial context, enabling the decoder to accurately localize and reconstruct the masked regions. To implement self-supervised learning, we adopted a random masking strategy. Given a masking ratio _r_ _∈_ [0 _,_ 1], _r · Np_ patches were randomly selected and masked, while the remaining served as visible inputs. The encoder processes only the visible patches and produces latent representations that are expected to capture intrinsic morphological characteristics of the input microstructure image, such as fiber volume fraction, aspect ratio, and spatial distribution. These embeddings were then passed to the decoder to reconstruct the pixel values of the masked regions. The MMAE was trained by minimizing the mean squared error (MSE) between reconstructed and ground-truth pixel values in the masked regions. Specifically, let I <sup>(</sup> masked <sup>_i_</sup> <sup>)</sup> <sup>and ˆ</sup> <sup>I</sup> <sup>(</sup> masked <sup>_i_</sup> <sup>)</sup> <sup>represent</sup> <sup>ground-truth</sup> <sup>and</sup> <sup>reconstructed</sup> <sup>pixels</sup> <sup>of</sup> the _i_ -th masked patch, respectively, each of length _d_ = _P_ _× P_ _× C_ . The loss function is defined as <u>1</u> _L_ MMAE = _|M|_ _i∈M_ 2 (4) ���2 <sup>_,_</sup> ���22 <u>1</u> _d_ 3 ���ˆ I masked( _i_ ) <sup>_−_</sup> <sup>I</sup> masked <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ���ˆ I masked( _i_ ) <sup>_−_</sup> <sup>I</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> A PREPRINT - SEPTEMBER 25, 2025 encoder position embedding ... masking Conv2d ... ... ... ... ... ... ... ... ... + shuffle Transformer Encoder ... ... ... ... ... Input [CLS] token ~~...~~ [mask] token decoder position embedding ... [mask] token decoder position embedding Transformer ... ... reshape reconstructed microstructure Transformer Decoder ... ... ... ... ... ... ... ... ... ... Linear ... ... ... ... unshuffle + + MLP Norm + Multi-Head Attention Norm Embedding ... ... ... ... ... ... ... ... ... ... ... Figure 1: Self-supervised pre-training architecture of the MMAE. The encoder extracts latent features from visible microstructure patches, while the decoder reconstructs the original microstructure image using these extracted embeddings and positional encodings. Light blue regions indicate trainable components; grey blocks are frozen modules; green arrows represent data flow. where _M_ denotes the set of masked patch indices and _∥·∥_ 2 is the Euclidean norm. By leveraging unlabeled microstructure data, this reconstruction-based objective encourages the encoder to learn intrinsic spatial patterns and morphological features, including phase volume fraction, inclusion shape, aspect ratio, and spatial distribution. These representations serve as a transferable basis for downstream tasks such as stiffness prediction and surrogate modeling. 2.2 Transfer learning for homogenized stiffness prediction We evaluated the effectiveness of latent embeddings obtained from the MMAE encoder for predicting homogenized stiffness components. The encoder’s [CLS] token embedding, representing global microstructural information, was passed into a linear prediction head (fully connected layer) to estimate homogenized stiffness values. Two transfer learning approaches, illustrated in Fig. 2, were investigated: - linear probing: The encoder weights are frozen, and only the linear regression head parameters are trained. This strategy assesses the intrinsic quality of pre-trained features without adapting the encoder. - Fine-tuning: Both encoder and linear head parameters are jointly trained, allowing the encoder’s representations to adapt specifically to the stiffness prediction task. 2.2.1 Linear probing In linear probing, the MMAE encoder remains entirely frozen, and only the newly introduced linear regression layer (linear head) is trained. This linear head directly uses the encoder-generated [CLS] token embedding to predict homogenized stiffness components ( _C_ <sup>¯</sup> 1111, _C_ <sup>¯</sup> 2222, _C_ <sup>¯</sup> 1212). The objective function used is the MSE loss. Linear probing thus isolates and tests the intrinsic predictive power of the MMAE embeddings. 4 a b Input Input ... ... encoder position embedding ... A PREPRINT - SEPTEMBER 25, 2025 ... ... encoder position embedding ~~...~~ ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... Transformer Encoder (frozen) [CLS] Linear Head (trainable) + ... ... Conv2d (frozen) [CLS] token Conv2d (trainable) [CLS] token ... ... ... ... Output Output Linear Head + ... ... ... ... Transformer Encoder (trainable) (trainable) [CLS] ... ... Figure 2: Transfer learning strategies utilizing MMAE embeddings: (a) Linear probing with frozen encoder; (b) Finetuning with trainable encoder and prediction head. Grey blocks indicate frozen parameters; light blue blocks indicate trainable parameters; green arrows depict data flow. 2.2.2 Fine-tuning In fine-tuning, parameters of both the MMAE encoder and linear head are optimized together. Two fine-tuning approaches were explored: - End-to-end fine-tuning: All MMAE encoder parameters are trainable, allowing complete adaptation of the pre-trained model. - Partial fine-tuning: Only the last few transformer blocks of the encoder are updated, while earlier layers remain frozen, providing a more computationally efficient approach that retains general features learned during pre-training. 2.3 Transfer learning for nonlinear behavior prediction In addition to predicting linear elastic stiffness, we extend the use of the pretrained MMAE to model the nonlinear mechanical response of composite materials. This is achieved by coupling the MMAE with the IMN, a physicsinformed model derived from homogenization theory [12]. The IMN satisfies essential physical constraints, including the Hill–Mandel condition and classical averaging theorems, allowing it to be trained exclusively on linear elastic data while remaining applicable to nonlinear regimes during the online prediction stage [12]. Conventional IMNs are tailored to fixed RVE geometries and require retraining when the microstructure changes. Recent developments in the Deep Material Networks (DMNs), which share a similar architecture to IMN, have addressed this limitation by incorporating handcrafted microstructure descriptors. These include second-order fiber orientation tensors, which enable generalization across different fiber shapes and distributions [17, 18]. Wei et al. further demonstrated the scalability of this approach in large-scale SFRC simulations using LS-DYNA [19]. In this work, we propose a complementary paradigm based on foundation models, where microstructures are directly represented as 2D images rather than engineered descriptors. This image-based formulation enables self-supervised pretraining on large unlabeled datasets, allowing the model to learn generalizable latent representations of microstruc 5 A PREPRINT - SEPTEMBER 25, 2025 tural geometry. The pretrained MMAE encoder is then used to infer IMN parameters. Specifically, the MMAE encoder is fine-tuned end-to-end along with a lightweight linear projection head that maps latent embeddings from microstructure images to a set of IMN parameters. These parameters encode the geometric structure of the input RVE and are used to parameterize the IMN for nonlinear mechanical prediction during the online prediction stage. This MMAE-IMN framework leverages the complementary strengths of both components: the MMAE provides microstructure-aware representations that generalize across diverse geometries, while the IMN enforces physical consistency and enables accurate prediction of nonlinear mechanical responses. 2.3.1 Overview of IMN The IMN approximates the heterogeneous response of a composite RVE by decomposing it into a limited number of predefined material nodes, each corresponding to distinct subdomains, such as matrix or inclusions. Each material node is associated with a parameter _wi_ representing the subdomain’s relative contribution (e.g., volume fraction) to the overall mechanical response. These predefined material nodes are interconnected through interaction nodes, which enforce mechanical compatibility and equilibrium between pairs of subregions. Each interaction node functions as a mechanical interaction mechanism that ensures stress and strain fields satisfy the Hill–Mandel condition for energy consistency. Notably, each interaction node is characterized by an interface direction parameter _θj_, indicating the orientation along which mechanical equilibrium is enforced between its predefined child subdomains. By hierarchically aggregating subdomains through these interaction nodes in a binary-tree structure, the IMN constructs a complete material network capable of accurately predicting the homogenized mechanical behavior of composites. Consequently, for an IMN of depth _N_, the set of all trainable parameters in the 2D formulation is given by: _F_ IMN = - _wi_ _| i_ = 1 _, . . .,_ 2 <sup>_N_</sup> <sup>�</sup> _∪_ - _θj_ _| j_ = 1 _, . . .,_ 2 <sup>_N_</sup> _−_ 1� _,_ with _|F_ IMN _|_ = 2 <sup>_N_</sup> <sup>+1</sup> _−_ 1 _._ (5) Here, _wi_ represents the volume fraction associated with each leaf material node, and _θj_ encodes the in-plane orientation of the interface at each interaction node. This parameterization is specific to 2D RVEs under plane strain assumptions. To extend the IMN to 3D microstructures, this formulation must be generalized to accommodate additional geometric degrees of freedom. In particular, each interaction interface would require two angular parameters (e.g., _θ_ and _φ_ ) to define the orientation of its normal vector in three-dimensional space. Given a pair of constituent stiffness tensors ( C <sup>_p_</sup> <sup>1</sup> _,_ C <sup>_p_</sup> <sup>2</sup> ), the IMN performs a closed-form homogenization to compute the effective stiffness tensor C <sup>¯</sup> as: ( C <sup>_p_</sup> <sup>1</sup> _,_ C <sup>_p_</sup> <sup>2</sup> ) _�−−−→_ _F_ IMN C ¯ _._ (6) The detailed formulation of this homogenization process can be found in [11, 12]. During the offline training phase, the goal is to learn the optimal IMN parameters _F_ IMN such that the homogenized stiffness prediction C <sup>¯</sup> closely matches the ground-truth stiffness tensor C <sup>¯</sup> <sup>DNS</sup> computed from direct numerical simulations (DNS). Given a dataset of constituent stiffness pairs ( C <sup>_p_</sup> <sup>1</sup> _,_ C <sup>_p_</sup> <sup>2</sup> ) and corresponding target homogenized stiffness tensors C <sup>¯</sup> <sup>DNS</sup>, the IMN is trained via gradient-based optimization to minimize the following relative Frobenius norm loss: _<u>s</u>_ <u>(</u> <u>C</u> <sup>_p_</sup> _<u>s</u>_ <sup>1</sup> <sup>_<u>,</u>_</sup> <sup><u>C</u></sup> <sup>_p_</sup> _<u>s</u>_ <sup>2</sup> <sup>_<u>|F</u>_</sup> <sup><u>IMN)</u></sup> <sup>_<u>∥</u>_</sup> <sup><u>F</u></sup> _∥_ C <sup><u>¯</u></sup> <sup>DNS</sup> _s_ _∥_ F <sup>_p_</sup> _<u>s</u>_ <sup>1</sup> <sup>_<u>,</u>_</sup> <sup><u>C</u></sup> <sup>_p_</sup> _<u>s</u>_ <sup>2</sup> _,_ (7) <u>1</u> _L_ IMN = _N_ dataset _N_ dataset _s_ =1 _<u>∥</u>_ <u>C</u> <sup>¯</sup> <sup>DNS</sup> _<u>s</u>_ <sup>DNS</sup> _<u>s</u>_ _<u>−</u>_ <u>C</u> <sup>¯</sup> _<u>s</u>_ <u>(</u> <u>C</u> <sup>_p_</sup> _<u>s</u>_ <sup>1</sup> where _N_ dataset is the total number of training samples, and _∥·∥_ F denotes the Frobenius norm. 2.3.2 Offline end-to-end fine-tuning Traditionally, IMN parameters _F_ IMN are individually optimized for each microstructure through offline training. Here, we propose a novel approach where the IMN parameters are directly inferred from the microstructure image using MMAE embeddings, significantly improving efficiency and generalizability. 6 A PREPRINT - SEPTEMBER 25, 2025 As illustrated in Fig. 3, the proposed framework integrates the pretrained MMAE encoder with the IMN. The process begins by encoding an input microstructure image I with MMAE, from which the latent representation is extracted via the [CLS] token. A lightweight linear projection head then maps this embedding to a predicted parameter set _F_ IMN( I ). Crucially, we preserve the original IMN architecture and enforce a strict one-to-one correspondence between the projection outputs and the IMN parameters defined in Eq. (5). This ensures that the inferred parameters remain physically interpretable and fully compatible with the underlying homogenization theory, including the Hill–Mandel condition and averaging theorems. The predicted parameter set _F_ IMN( I ), together with the stiffness tensors of the constituent phases ( C <sup>_p_</sup> <sup>1</sup> _,_ C <sup>_p_</sup> <sup>2</sup> ), is then passed to the IMN to compute the homogenized stiffness tensor C <sup>¯</sup> . This mapping can be succinctly expressed as: ( I _,_ C <sup>_p_</sup> <sup>1</sup> _,_ C <sup>_p_</sup> <sup>2</sup> ) _�−−−−→_ _F_ IMN( I ) C ¯ _._ (8) The entire MMAE-IMN framework is trained end-to-end by minimizing the discrepancy between the IMN-predicted stiffness C <sup>¯</sup> and ground truth stiffness C <sup>¯</sup> <sup>DNS</sup> : <u>C</u> <sup>_p_</sup> _<u>s</u>_ <sup>1</sup> <sup>_<u>,</u>_</sup> <sup><u>C</u></sup> <sup>_p_</sup> _<u>s</u>_ <sup>2</sup> <sup>_<u>|F</u>_</sup> <sup><u>IMN(</u></sup> <sup><u>I</u></sup> <sup>_<u>s</u>_</sup> <sup><u>))</u></sup> <sup>_<u>∥</u>_</sup> <sup><u>F</u></sup> _∥_ C <sup><u>¯</u></sup> <sup>DNS</sup> _s_ _∥_ F <sup>_p_</sup> _<u>s</u>_ <sup>1</sup> <sup>_<u>,</u>_</sup> <sup><u>C</u></sup> <sup>_p_</sup> _<u>s</u>_ <sup>2</sup> <u>1</u> _L_ MMAE-IMN = _N_ dataset _N_ dataset _s_ =1 _<u>∥</u>_ <u>C</u> <sup>¯</sup> <sup>DNS</sup> _<u>s</u>_ <sup>DNS</sup> _<u>s</u>_ _<u>−</u>_ <u>C</u> <sup>¯</sup> _<u>s</u>_ <u>(</u> <u>C</u> <sup>_p_</sup> _<u>s</u>_ <sup>1</sup> encoder position embedding ... ... ... Conv2d (trainable) ... Transformer Encoder ... + ... (trainable) _,_ (9) ... ... ... ... Transformer Encoder + ... I _p2_ ... _p1_ _p2_ DNS { I,C,C ; _p1_ _p2_ <u>C</u> DNS } [CLS] token ... ... ... ... ... ... ... ... ... ... ... ... Inputs Output IMN architecture ... ... Linear Head (trainable) parameters one-to-one mapping [CLS] IMN parameters ###### C ###### C ###### p1 C _p2_ Figure 3: End-to-end transfer learning framework from MMAE to IMN. Each input microstructure image I is encoded by the pre-trained MMAE, and its [CLS] token serves as a latent representation. A linear projection head maps this embedding to predict the IMN parameter set _F_ IMN( I ). The IMN then uses these parameters, along with the stiffness matrices of phase 1 and phase 2 ( C <sup>_p_</sup> <sup>1</sup>, C <sup>_p_</sup> <sup>2</sup> ), to compute the predicted homogenized stiffness tensor C <sup>¯</sup> . Grey blocks indicate frozen (non-trainable) modules, light blue blocks denote trainable components, and green arrows represent the data flow throughout the pipeline. 2.3.3 Online nonlinear prediction using inferred IMN After completing offline training, the MMAE-IMN framework enables efficient online prediction of nonlinear mechanical responses for previously unseen microstructures. Given a new microstructure image I, the MMAE encoder and its 7 A PREPRINT - SEPTEMBER 25, 2025 linear projection head jointly infer the IMN parameter set _F_ IMN( I ) through a single forward pass. The inferred IMN, fully parameterized by these predicted values, acts as a surrogate model that captures the microstructure-dependent geometry, as shown in Fig. 4(a). The inferred IMN can be used as a standalone material surrogate model, independent of the MMAE encoder. Nonlinear mechanical behavior is simulated by assigning constitutive models, such as elasticity or plasticity, to the constituent phases at the material node level, as shown in Fig. 4(b). By leveraging the MMAE to extract geometry-aware representations from microstructure images and using the IMN to simulate nonlinear mechanical responses at the RVE scale, the framework enables accurate predictions for previously unseen microstructures and loading conditions without requiring additional retraining. The algorithm of the IMN for nonlinear response prediction is detailed in [11, 12]. a Inferred IMN Transformer Encoder Linear Head parameters one-to-one mapping Constituent phase material behaviour Plasticity Elasticity b Unseen microstructure Inferred IMN [CLS] IMN parameters <u>Macroscale FE</u> Inferred IMN (microscale) Figure 4: Schematic of online nonlinear prediction using the inferred IMN. (a) A previously unseen microstructure image is encoded by the MMAE and projected to a set of IMN parameters. (b) The inferred IMN, when combined with phase-specific constitutive models (e.g., elasticity or plasticity), enables nonlinear response prediction. 2.4 Dataset generation 2.4.1 Generation of microstructure Synthetic microstructures were generated for both MMAE pre-training and downstream tasks using the random sequential adsorption (RSA) method [20]. RSA is a stochastic algorithm that sequentially places particles into a domain without overlap, enabling the creation of composite microstructures with diverse inclusion counts, shapes, sizes, and orientations. This method captures the inherent randomness of real-world material systems and facilitates the creation of statistically representative RVEs. A detailed pseudocode outlining this generation process is provided in A. For short-fiber composites, each RVE contains elliptical inclusions randomly embedded within a matrix. The geometry of each microstructure is defined by three independent descriptors: 1. Number of Particles ( _Np_ ): Number of inclusions per RVE, sampled uniformly between 15 and 35. 2. Aspect Ratio ( _Ar_ ): Ratio of the major to minor axes of each elliptical inclusion, ranging from 1 to 4. 3. Volume Fraction ( _vf_ ): Volume percentage of inclusions, sampled between 10% and 40%. 8 A PREPRINT - SEPTEMBER 25, 2025 To ensure broad coverage of the design space, we applied Latin Hypercube Sampling (LHS) across the ( _Np, Ar, vf_ ) space [21]. For each sampled triplet, the semi-axes ( _a, b_ ) of the ellipses were analytically computed to satisfy the target volume fraction given the number and aspect ratio of inclusions. All fibers within a single RVE share the same shape and size, while their positions and orientations are assigned independently. Specifically, positions are sampled via uniform random placement and orientation angles are drawn from a uniform distribution over [0 _, π_ ). The fiber size was determined by _Np_ and _vf_, and their orientations were assigned randomly to reflect stochastic microstructural variability. We constructed three datasets using this procedure: 1. Pre-training dataset: 100,000 grayscale images of short-fiber microstructures for self-supervised MMAE pretraining. This dataset spans a wide variety of inclusion geometries and distributions, enabling robust feature learning. 2. Homogenized stiffness dataset: 5,000 short-fiber microstructures paired with DNS-derived components of the homogenized stiffness matrix ( _C_ <sup>¯</sup> 1111, _C_ <sup>¯</sup> 2222, _C_ <sup>¯</sup> 1212). This dataset is used for supervised training in the downstream task of predicting linear stiffness components. 3. IMN dataset: 300 short-fiber microstructures, each paired with 300 distinct combinations of phase stiffness matrices ( C <sup>_p_</sup> _s_ <sup>1</sup> <sup>_,_</sup> <sup>C</sup> <sup>_p_</sup> _s_ <sup>2), resulting in a total of 90,000 DNS simulations.</sup> <sup>Each simulation yields a homogenized</sup> <sup>_p_</sup> _s_ <sup>1</sup> <sup>_,_</sup> <sup>C</sup> <sup>_p_</sup> _s_ <sup>2</sup> matrices ( C <sup>_p_</sup> _s_ <sup>1</sup> <sup>_,_</sup> <sup>C</sup> <sup>_p_</sup> _s_ <sup>2), resulting in a total of 90,000 DNS simulations.</sup> <sup>Each simulation yields a homogenized</sup> stiffness matrix C <sup>¯</sup> <sup>DNS</sup> _s_ . This dataset is used for supervised training in the downstream task, where the model learns to predict the parameters of the IMN. These parameters are subsequently used for nonlinear behavior prediction during online prediction stage. To assess generalization across different inclusion geometries, we additionally generated a 4th dataset of 5,000 RVEs containing circular inclusions, with volume fractions _vf_ uniformly sampled between 10% and 40%. 2.4.2 Dataset for homogenized stiffness prediction To support transfer learning from MMAE for predicting individual components of the homogenized stiffness matrix ( _C_ <sup>¯</sup> 1111, _C_ <sup>¯</sup> 2222, _C_ <sup>¯</sup> 1212), we constructed a dataset comprising 5,000 distinct short-fiber RVEs with varying inclusion geometries. Each RVE was simulated under a fixed material configuration, where the following linear elastic properties were uniformly assigned to the matrix and inclusion phases: - Matrix: Young’s modulus _E_ = 100, Poisson’s ratio _ν_ = 0 _._ 30. - Inclusions: Young’s modulus _E_ = 500, Poisson’s ratio _ν_ = 0 _._ 19. DNS was performed using the RVE module in LS-DYNA, employing the `*RVE` ~~`A`~~ `NALYSIS` ~~`F`~~ `EM` keyword to impose periodic boundary conditions and compute the effective mechanical response [22]. For each RVE, the three stiffness components were extracted from the resulting stress–strain curves and used as targets for supervised regression. The final dataset comprises 5,000 labeled instances, each pairing a unique microstructure with its corresponding stiffness values. The data were randomly split into 80% for training and 20% for validation. 2.4.3 Dataset for IMN transfer learning To support transfer learning from MMAE to IMN, we constructed a dataset that enables the IMN to learn the mapping from microstructure images and constituent phase stiffness matrices to homogenized stiffness matrices. The dataset consists of 300 short-fiber RVEs, each paired with 300 distinct combinations of phase stiffness matrices ( C <sup>_p_</sup> _s_ <sup>1</sup> <sup>_,_</sup> <sup>C</sup> <sup>_p_</sup> _s_ <sup>2)</sup> for the matrix and inclusion phases. These combinations were generated using the sampling strategy proposed in our previous work, designed to ensure broad coverage of phase contrast variability [3]. More specifically, both constituent phases are modeled as isotropic linear elastic materials characterized by Young’s modulus _E_ and Poisson’s ratio _ν_ . To balance numerical stability with contrast diversity, we fixed the matrix stiffness to ln( _E_ 1) = 0 and defined the sampling space for the inclusion stiffness as ln( _E_ 2) _∈_ [ _−_ 5 _,_ 5]. This corresponds to a stiffness contrast of up to approximately two orders of magnitude ( _∼_ 148×), covering the range commonly encountered in engineering composites. The Poisson’s ratios _ν_ 1 and _ν_ 2 were independently sampled from [0 _,_ 0 _._ 5] to capture a broad spectrum of material compressibility. Each RVE–material pair is then simulated using the DNS setup described in Section 2.4.2, which includes periodic displacement boundary conditions. Specifically, we impose small prescribed macroscopic displacement gradients along the _x_, _y_, and shear directions (each with a magnitude of 1 _._ 0 _×_ 10 <sup>_−_</sup> <sup>8</sup> ). The resulting stress–strain responses are used to compute the homogenized stiffness matrix C <sup>¯</sup> <sup>DNS</sup> _s_, which serves as the supervised learning target. 9 A PREPRINT - SEPTEMBER 25, 2025 This procedure yields a total of 90,000 labeled instances. The dataset is partitioned at the RVE level, with 240 RVEs used for training and the remaining 60 RVEs reserved for validation. 3 Results and Discussion This section comprehensively evaluates the proposed MMAE framework across tasks of increasing complexity. We assess reconstruction quality under different masking ratios to analyze the learned latent representations. We then assess the transferability of these representations for predicting homogenized stiffness components using linear probing, partial fine-tuning, and end-to-end fine-tuning. We further examine the effects of masking ratios, dataset size, and microstructural morphology. Finally, we demonstrate the model’s ability to predict nonlinear mechanical behavior by fine-tuning it to infer IMN parameters, enabling physics-informed extrapolation under arbitrary loading conditions. Collectively, these results highlight the MMAE’s effectiveness as a generalizable foundation model for microstructureinformed materials modeling. 3.1 Pre-trained MMAE reconstruction performance To qualitatively assess the representational capacity of the pre-trained MMAE model, we examine its reconstruction performance under different pretraining conditions. As the masking ratio during pretraining may influence downstream task performance, we first evaluate how well the MMAE can reconstruct composite microstructures under challenging masking scenarios before proceeding to downstream analyses. Specifically, we focus on high masking ratios of 75% and 85%, which impose more demanding reconstruction conditions and better reflect the MMAE’s capacity for feature learning. We randomly select four training instances from the pretraining dataset, each exhibiting distinct morphological characteristics in terms of aspect ratio, volume fraction, and inclusion count, as described in Section 2.4.1. These examples are denoted as Instance #1 to #4 and presented in Fig. 5(a)–(d). Despite the high masking ratios, the reconstructed microstructures visually resemble their original configurations. In this context, we refer to the reconstructions as semantically plausible, meaning that the predicted inclusion shapes and sizes are consistent with those observed in the visible patches, and the overall morphology appears realistic and coherent. Additionally, to further examine the MMAE’s ability to capture geometric variability within the training distribution, we design four synthetic circular-inclusion composites that represent a geometric special case of the short-fiber morphology. Although such circular configurations are not explicitly present in the pretraining dataset, they are geometrically consistent with the short-fiber design space, corresponding to an aspect ratio of one and uniform inclusion size. By varying the number of inclusions, we generate instances with different volume fractions while preserving shape and scale. These examples, labeled as Instance #5 to #8 in Fig. 6(a)–(d), also yield semantically plausible reconstructions, even under the more challenging 85% masking ratio. This indicates that the MMAE effectively learns to reconstruct structurally reasonable microstructures based on partial observations, even for geometries not explicitly seen during pretraining. 10 A PREPRINT - SEPTEMBER 25, 2025 a b c d Figure 5: Microstructure reconstruction results using the pretrained MMAE under two masking ratios. Each row ((a)–(d)) corresponds to a randomly selected microstructure from the pretraining dataset, differing in key morphological descriptors such as aspect ratio, volume fraction, and number of inclusions. From left to right: original image, masked input, and reconstruction under 75% masking; followed by masked input and reconstruction under 85% masking. 11 A PREPRINT - SEPTEMBER 25, 2025 a b c d Figure 6: Microstructure reconstruction results using the pretrained MMAE under two masking ratios. Each row ((a)–(d)) corresponds to a circular-inclusion composite with a distinct volume fraction, achieved by varying the number of inclusions while keeping their size constant. From left to right: original image, masked input, and reconstruction under 75% masking; followed by masked input and reconstruction under 85% masking. 3.2 Transfer learning for homogenized stiffness components We evaluated the effectiveness of the learned latent representations for predicting homogenized stiffness components ( _C_ <sup>¯</sup> 1111, _C_ <sup>¯</sup> 2222, _C_ <sup>¯</sup> 1212) using both short-fiber and circular-inclusion composite datasets. We employed three strategies: linear probing, end-to-end fine-tuning, and partial fine-tuning. 3.2.1 Linear probing To evaluate the representational quality of the pretrained encoder, we conducted linear probing using the [CLS] token output from MMAE. A lightweight linear regressor with 257 trainable parameters was trained on top of the frozen embeddings to predict the homogenized stiffness components. Since the regressor lacks the capacity to adapt or refine the latent features, its performance directly reflects the quality and transferability of the representations learned during self-supervised pretraining. Fig. 7 presents the results on the short-fiber composite dataset. The validation R <sup>2</sup> scores drop significantly as the masking ratio decreases from 30% to 10%, while higher masking ratios yield improved performance, peaking at R <sup>2</sup> = 0 _._ 94 under 80% masking. This trend reflects the impact of masking on representational learning: when too few patches are masked, the reconstruction task becomes overly simple, enabling the model to rely on visible patch interpolation rather than learning abstract and microstructurally informative features. Consequently, the resulting representations exhibit limited generalization, which is particularly evident in linear probing. 12 A PREPRINT - SEPTEMBER 25, 2025 a Average R2 Score of ~~C~~ <u>1111,</u> ~~C~~ <u>2222,</u> ~~C~~ <u>1212</u> 0.94 0.92 0.90 0.88 0.86 0.84 10 20 30 40 50 60 70 80 90 Mask Ratio (%) b R2 Score for ~~C~~ <u>1111,</u> ~~C~~ <u>2222,</u> ~~C~~ <u>1212</u> 0.94 0.92 0.90 0.88 0.86 0.84 0.82 ~~<u>C1111</u>~~ <u>C2222</u> <u>C1212</u> 10 20 30 40 50 60 70 80 90 Mask Ratio (%) Figure 7: Linear probing performance on the short-fiber composite dataset. (a) Average validation R <sup>2</sup> scores across all stiffness components vs. masking ratios. (b) R <sup>2</sup> scores for each individual stiffness component vs. masking ratios. Fig. 8 shows the results for the circular-inclusion dataset. While this morphology was not explicitly included during pretraining, it can be regarded as a geometric special case within the short-fiber composite family. The model maintains high performance (R <sup>2</sup> _>_ 0 _._ 975) across most masking ratios, with only a slight dip at 75%. These results indicate that the learned representations remain effective for this specific configuration. In summary, higher masking ratios during self-supervised pretraining facilitate the learning of more abstract and transferable representations by enforcing stronger representational constraints. This effect is consistent with observations reported in both computer vision and scientific domains [15, 23, 24]. 3.2.2 End-to-end fine-tuning To further explore the MMAE’s representational capacity, we performed end-to-end fine-tuning on both datasets. Unlike linear probing, this approach updates all encoder and prediction head parameters, allowing full adaptation to the downstream task. As shown in Fig. 9, fine-tuning on the short-fiber dataset achieves consistently high R <sup>2</sup> scores, largely insensitive to the pre-training masking ratios. The performance remains largely insensitive to the masking ratio, with the best configuration achieving R <sup>2</sup> _>_ 0 _._ 959. This robustness indicates that the model can effectively adapt to the target task by compensating for suboptimal pre-training through joint parameter optimization. Similar trends are observed on the circular-inclusion dataset (Fig. 10). Despite being trained on different morphologies, the fine-tuned model achieves R <sup>2</sup> scores exceeding 0.999 across all masking ratios, confirming the adaptability of the pre-trained MMAE to diverse geometries. These results demonstrate that, although the choice of masking ratio plays a critical role in linear probing, its impact is substantially reduced in end-to-end fine-tuning. By jointly updating the encoder and prediction head, the model can refine its representations and compensate for differences in pretraining conditions, thereby achieving consistently high predictive accuracy across masking ratios. 13 A PREPRINT - SEPTEMBER 25, 2025 a Average R2 Score of ~~C~~ <u>1111,</u> ~~C~~ <u>2222,</u> ~~C~~ <u>1212</u> 0.98 0.96 0.94 0.92 0.90 0.88 0.86 0.84 0.82 20 30 40 50 60 70 80 90 Mask Ratio (%) b R2 Score for ~~C~~ <u>1111,</u> ~~C~~ <u>2222,</u> ~~C~~ <u>1212</u> 1.00 0.95 0.90 0.85 0.80 0.75 <u>C1111</u> <u>C2222</u> <u>C1212</u> 20 30 40 50 60 70 80 90 Mask Ratio (%) Figure 8: Linear probing performance on the circular-inclusion composite dataset. (a) Average validation R <sup>2</sup> scores vs. masking ratios. (b) R <sup>2</sup> scores for each stiffness component vs. masking ratios. 3.2.3 Partial fine-tuning To explore the trade-off between model capacity and training efficiency, we conducted partial fine-tuning experiments. Only the last few transformer blocks of the MMAE encoder were updated, while the early blocks remained frozen. As shown in Fig. 11, performance steadily improves as more blocks are fine-tuned. Updating just the final two blocks yields a substantial performance gain, approaching that of full fine-tuning. This suggests that the early transformer blocks capture general-purpose microstructural features, whereas the later blocks are primarily responsible for taskspecific adaptation. These findings indicate that the mapping from microstructure to homogenized stiffness exhibits relatively low complexity, such that adapting only a small subset of parameters suffices to achieve high accuracy. This property is desirable for foundation models, as it enables efficient transfer with reduced risk of overfitting and lower computational cost. To quantify the efficiency–performance trade-off across different transfer learning strategies, we compared the training costs associated with linear probing, partial fine-tuning (with varying numbers of transformer blocks), and end-toend fine-tuning. The results are summarized in Table 1, which reports the number of trainable parameters and the corresponding training time for each configuration. All experiments were conducted on the short-fiber composite dataset using 5,000 training instances to predict the homogenized stiffness component _C_ <sup>¯</sup> 1111, with a batch size of 50 and a total of 600 training epochs on an NVIDIA V100 GPU (32 GB). An important observation from these results relates to computational efficiency. Although the number of trainable parameters increases significantly as more transformer blocks are fine-tuned, the training times remain remarkably similar across different configurations. This consistency arises because the batch size was fixed, and the GPU memory (32 GB) was not fully utilized in any of the tested scenarios. Consequently, the wall-clock training time was primarily limited by data loading and per-epoch overhead rather than GPU-bound computation. 14 A PREPRINT - SEPTEMBER 25, 2025 a Average R2 Score of ~~C~~ <u>1111,</u> ~~C~~ <u>2222,</u> ~~C~~ <u>1212</u> 0.9600 0.9595 0.9590 0.9585 0.9580 0.9575 10 20 30 40 50 60 70 80 90 Mask Ratio (%) b R2 Score for ~~C~~ <u>1111,</u> ~~C~~ <u>2222,</u> ~~C~~ <u>1212</u> 0.963 0.962 0.961 0.960 0.959 0.958 0.957 0.956 <u>C1111</u> <u>C2222</u> ~~<u>C1212</u>~~ 10 20 30 40 50 60 70 80 90 Mask Ratio (%) Figure 9: End-to-end fine-tuning performance on the short-fiber composite dataset. (a) Average validation R <sup>2</sup> scores across all stiffness components vs. masking ratios. (b) R <sup>2</sup> scores for each individual stiffness component vs. masking ratios. Table 1: Training cost comparison across different transfer learning strategies. Configuration Trainable parameters Training time Linear probing 257 1h 30m 40s 1 block fine-tuned 790,017 2h 44m 25s 2 blocks fine-tuned 1,579,777 2h 45m 28s 4 blocks fine-tuned 3,159,297 2h 45m 45s 8 blocks fine-tuned 6,318,337 2h 46m 29s End-to-end fine-tuning 9,594,369 2h 52m 43s 3.2.4 Impact of dataset size in transfer learning To assess the model’s data efficiency, we evaluated performance as a function of dataset size using the short-fiber composite dataset and an MMAE pre-trained at an 85% masking ratio. In these experiments, we adopted an end-toend fine-tuning strategy, where both the MMAE encoder and the linear prediction head were jointly optimized using the target data. As shown in Figure 12, performance improves as dataset size increases, but with diminishing returns. Notably, even with just 1,000 samples, the model achieves an R <sup>2</sup> score above 0.91. Beyond 2,500 samples, the performance plateaus, suggesting that relatively small datasets suffice for high-fidelity property prediction. This data efficiency is particularly important for applications in materials science, where labeled data is often expensive or difficult to obtain. The MMAE’s ability to perform well in low-data regimes makes it a practical and scalable solution for microstructure-informed modeling. 15 A PREPRINT - SEPTEMBER 25, 2025 a Average R2 Score of ~~C~~ <u>1111,</u> ~~C~~ <u>2222,</u> ~~C~~ <u>1212</u> 0.9998 0.9996 0.9994 0.9992 0.9990 0.9988 10 20 30 40 50 60 70 80 90 Mask Ratio (%) b R2 Score for ~~C~~ <u>1111,</u> ~~C~~ <u>2222,</u> ~~C~~ <u>1212</u> 0.9998 0.9996 0.9994 0.9992 0.9990 0.9988 0.9986 0.9984 0.9982 <u>C1111</u> <u>C2222</u> <u>C1212</u> 10 20 30 40 50 60 70 80 90 Mask Ratio (%) Figure 10: End-to-end fine-tuning performance on the circular-inclusion composite dataset. (a) Average validation R <sup>2</sup> scores vs. masking ratios. (b) R <sup>2</sup> scores for each stiffness component vs. masking ratios. 3.3 Transfer learning for nonlinear behavior prediction To assess performance on nonlinear material modeling, we fine-tuned the MMAE to predict IMN parameters _F_ ( I ) directly from microstructure images. This approach enables the construction of microstructure-adaptive IMNs, wherein the network parameters are dynamically inferred based on each input microstructure, thereby supporting robust extrapolation to nonlinear mechanical responses under previously unseen loading conditions. 3.3.1 Offline end-to-end fine-funing During offline training, we investigated the effect of varying pre-training masking ratios on transfer learning performance using the short-fiber composite dataset. For each masking ratio, the MMAE was fine-tuned to predict the IMN parameters As shown in Fig. 13, validation errors remain consistently low (6.3%–6.8%) across all masking ratios, with the best result at 50%, which we used for online prediction. This weak dependence on the masking ratio reflects the robustness of end-to-end fine-tuning, where the encoder and prediction head are jointly updated. Unlike linear probing, which relies entirely on frozen representations, end-to-end fine-tuning mitigates the impact of the masking ratio used during pretraining. 3.3.2 Online prediction To assess generalization capability, we evaluated the fine-tuned MMAE-IMN framework on four microstructures that were not part of the 300 RVEs used during offline training. These test cases were subjected to complex loading paths and selected to represent diverse morphological configurations. Despite being trained on a limited dataset, the model accurately predicted the nonlinear mechanical responses of previously unseen microstructures. Fig. 14 presents the predicted stress-strain curves in comparison with DNS results. Each subplot includes an inset depicting the corresponding composite microstructure. The selected cases encompass both short-fiber composites 16 a b 0.960 0.955 0.950 0.945 0.940 0.935 0.960 0.955 0.950 0.945 0.940 0.935 0.930 0.925 A PREPRINT - SEPTEMBER 25, 2025 0 1 2 4 8 12 # blocks fine-tuned ~~<u>C</u>~~ <u>1111</u> <u>C2222</u> <u>C1212</u> 0 2 4 6 8 10 12 # blocks fine-tuned Figure 11: Partial fine-tuning results on the short-fiber dataset (masking ratio = 85%). (a) Average R <sup>2</sup> scores vs. number of transformer blocks fine-tuned. (b) R <sup>2</sup> scores for each component vs. the number of transformer blocks fine-tuned. (RVE1–RVE3) and a circular-inclusion configuration (RVE4). The predicted curves closely align with the DNS responses, demonstrating the framework’s robustness across diverse microstructural geometries and nonlinear behaviors. To quantitatively assess prediction accuracy, we adopt the mean-relative error and max-relative error metrics, following established practice [18]. These provide normalized measures of deviation from DNS results: ��� ��� _σi_ DNS _−_ _σi_ <sup>pred</sup> - _n_ _i_ =1 mean-relative error = <u>1</u> _n_ max _i_ =1 _,...,n_ <u>��</u> _σi_ DNS _i_ (10) <u>��</u> ��� max _i_ =1 _,...,n_ ��� _σi_ DNS _−_ _σi_ <sup>pred</sup> _i_ max-relative error = max _i_ =1 _,...,n_ <u>��</u> _σi_ DNS�� (11) <u>��</u> Table 3 summarizes the quantitative performance. The mean-relative stress prediction errors are 2.01%, 2.76%, 5.40%, and 2.26% for RVE1 to RVE4, respectively, while the corresponding maximum-relative errors are 7.34%, 6.46%, 7.80%, and 5.98%. These results indicate that the MMAE-IMN framework generalizes well to previously unseen microstructures while accurately predicting their nonlinear mechanical responses. The material properties for Phase 1 and Phase 2 used in the simulations are summarized in Table 2. Phase 1 is modeled as an elastoplastic material with isotropic hardening, while Phase 2 is linear elastic. 17 A PREPRINT - SEPTEMBER 25, 2025 a Average R2 Score of ~~C~~ <u>1111,</u> ~~C~~ <u>2222,</u> ~~C~~ <u>1212</u> 0.96 0.94 0.92 0.90 0.88 0.86 500 1,000 1,500 2,000 2,500 3,000 3,500 4,000 4,500 5,000 # of data amount b R2 Score for ~~C~~ <u>1111,</u> ~~C~~ <u>2222,</u> ~~C~~ <u>1212</u> 0.96 0.94 0.92 0.90 0.88 0.86 <u>C1111</u> <u>C2222</u> ~~<u>C1212</u>~~ 500 1,000 1,500 2,000 2,500 3,000 3,500 4,000 4,500 5,000 # of data amount Figure 12: Effect of dataset size on transfer learning performance. (a) Average R <sup>2</sup> scores vs. number of training instances. (b) R <sup>2</sup> scores for individual stiffness components vs the number of training instances. 0.067 0.066 0.065 0.064 0.063 10 20 30 40 50 60 70 80 Mask Ratio (%) Figure 13: Validation error during offline training for MMAE models pre-trained with different masking ratios. 3.4 Discussion 3.4.1 Training stability of linear probing under random initialization To evaluate the robustness of MMAE with respect to random initialization during transfer learning, we performed five independent training runs of the linear probing setup on the short-fiber composite dataset, targeting the prediction of homogenized stiffness components ( _C_ <sup>¯</sup> 1111, _C_ <sup>¯</sup> 2222, _C_ <sup>¯</sup> 1212). Each run employed a different random seed, affecting both the model’s initial weights and the shuffling of training data. As shown in Fig. 15(a), the average validation R <sup>2</sup> scores across masking ratios exhibit only minor variation, indicating strong consistency across runs. Component-wise performance in Fig. 15(b) further supports this finding, as standard 18 A PREPRINT - SEPTEMBER 25, 2025 RVE1 RVE2 RVE3 RVE4 Figure 14: Predicted stress-strain responses for four previously unseen RVEs under complex loading. Insets show the corresponding microstructures, with phase distributions (red: Phase 1, blue: Phase 2). Table 2: Material properties for Phase 1 and Phase 2. <u>Young modulus</u> _E_ <u>Poisson ratio</u> _ν_ <u>Yield stress</u> _σy_ <u>Tangent modulus</u> Phase 1 200 GPa 0.3 0.2 GPa 5 GPa <u>Phase 2</u> <u>600 GPa</u> <u>0.19</u> <u>–</u> <u>–</u> deviations remain low across all evaluated masking ratios. These results confirm that the proposed transfer learning pipeline is largely insensitive to initialization under the linear probing configuration. 3.4.2 Limitations of 2D pre-training and future directions for 3D extension The current MMAE framework is pre-trained exclusively on two-dimensional (2D) synthetic microstructure images. This choice aligns with established practices in composite microstructure analysis, where 2D image-based characterization remains a widely adopted standard due to its computational efficiency, cost-effectiveness, and interpretability under classical stereological assumptions. Prior studies have demonstrated that 2D simulations can reliably estimate effective material properties and capture key statistical features of random heterogeneous media, especially when in-plane behavior dominates or when the microstructure exhibits planar symmetry. For example, Qian et al. demonstrated that 2D finite element models effectively capture size effects in fiber composites under common conditions [25]. Table 3: Relative stress prediction errors of inferred IMNs. <u>Type</u> <u>RVE1</u> <u>RVE2</u> <u>RVE3</u> <u>RVE4</u> mean-relative error 2.01% 2.76% 5.40% 2.26% <u>max-relative error</u> <u>7.34%</u> <u>6.46%</u> <u>7.80%</u> <u>5.98%</u> 19 A PREPRINT - SEPTEMBER 25, 2025 a Average R2 Score of ~~C~~ <u>1111,</u> ~~C~~ <u>2222,</u> ~~C~~ <u>1212</u> 0.94 0.92 0.90 0.88 0.86 0.84 10 20 30 40 50 60 70 80 90 Mask Ratio (%) b R2 Score for ~~C~~ <u>1111,</u> ~~C~~ <u>2222,</u> ~~C~~ <u>1212</u> 0.94 0.92 0.90 0.88 0.86 0.84 0.82 ~~<u>C1111</u>~~ <u>C2222</u> <u>C1212</u> 10 20 30 40 50 60 70 80 90 Mask Ratio (%) Figure 15: Impact of random seed initialization on linear probing results for the short-fiber composite dataset. (a) Mean validation R <sup>2</sup> scores across all stiffness components vs. mask ratio. (b) Component-wise validation R <sup>2</sup> scores. Error bars indicate _±_ 1 standard deviation over five independent runs. Kaminski and Kazimierczak reported close agreement between 2D and 3D probabilistic homogenization for metallic composites with cylindrical inclusions [26]. Savvas et al. further validated the use of 2D RVEs by showing accurate elastic property predictions under local volume fraction variation [27]. Despite these advantages, 2D representations inherently neglect out-of-plane features. Single cross-sections cannot resolve fiber tilt, curvature, or three-dimensional connectivity, all of which may significantly influence mechanical responses in real materials. As a result, while the model demonstrates strong performance across a range of 2D geometries, its ability to generalize to real 3D morphologies such as clustered, curved, or vertically aligned fibers remains uncertain. Furthermore, the current training dataset lacks morphological diversity. Within each RVE, inclusions are constrained to have identical shape and size. This simplification reduces structural variability during pre-training, which may further limit the model’s capacity to generalize to heterogeneous microstructures. To address these limitations, future work will extend the MMAE framework to volumetric pre-training using voxelized 3D microstructures that incorporate tilted or serial-section images. These approaches aim to capture spatially coherent features across all three dimensions and expand the training distribution to encompass a broader range of inclusion geometries and spatial arrangements. By lifting the constraints of 2D input, the MMAE framework can be expanded to support more accurate and transferable predictions in structurally complex systems. 3.4.3 Revisiting masking ratio heuristics for MMAE transfer learning tasks In the original MAE literature, it is well established that a high masking ratio during pretraining leads to superior transfer performance, particularly in the linear probing setting. This trend is also observed in our results (Fig. 7 and Fig. 8), where accuracy increases with masking ratio, peaking around 80%. This is expected, as linear probing freezes the encoder and depends entirely on the quality of representations learned during self-supervised pretraining. Low masking ratios make the reconstruction task too easy, encouraging shortcut learning rather than the abstraction of transferable features. 20 A PREPRINT - SEPTEMBER 25, 2025 In contrast, end-to-end fine-tuning continuously updates the encoder during supervised training, allowing the model to refine its latent space based on the downstream objective. This reduces sensitivity to pretraining quality. As shown in Fig. 9 and Fig. 10, the R <sup>2</sup> scores across different masking ratios remain nearly identical, with variations within 0.01. Similarly, Fig. 13 shows that the corresponding prediction errors differ by less than 0.5%. These results confirm the robustness of end-to-end adaptation, but deviate from trends commonly observed in vision benchmarks, where high masking ratios yield measurable improvements even under fine-tuning [15]. We hypothesize that this discrepancy arises from two factors: 1. The downstream task—predicting homogenized stiffness matrices—is relatively simple compared to complex visual recognition tasks, so the model can compensate for suboptimal pretraining through supervised finetuning. 2. The overall dataset complexity may not be high enough to magnify differences in representation quality, even though linear probing already revealed some sensitivity to masking ratio. These findings suggest that pretraining heuristics established in computer vision, such as the use of high masking ratios, may not directly generalize to scientific domains. Domain-specific foundation models may require distinct pretraining strategies, and we highlight this issue as an open question for future research. 21 A PREPRINT - SEPTEMBER 25, 2025 4 Conclusions This work proposed the MMAE, a foundation model specifically designed for composite materials, aimed at addressing key challenges in data scarcity and transferability within materials science. By leveraging self-supervised learning on a large dataset of short-fiber composite microstructures, the MMAE learned robust and generalizable latent representations, forming a strong basis for a wide range of downstream tasks. In the first transfer learning scenario, the MMAE was fine-tuned to predict homogenized stiffness components, achieving an R <sup>2</sup> score of up to 0.959, even with limited labeled data. This demonstrates the model’s ability to perform accurate property prediction in data-constrained regimes. In the second scenario, the MMAE was fine-tuned to infer IMN parameters, enabling accurate extrapolation of nonlinear mechanical behavior across unseen microstructures and loading conditions. These results underscore the promise of foundation models in computational materials science, providing scalable, data-efficient tools for microstructure-informed property prediction. Future work will extend the MMAE framework to more complex systems such as three-dimensional composites and polycrystalline aggregates, as well as integrate experimental datasets to enhance its applicability in real-world materials design and characterization. A Microstructure generation <u>Algorithm 1</u> <u>Synthetic RVE Generation</u> 1: function GENERATERVES( _N_ samples) 2: _S_ _←_ LATINHYPERCUBESAMPLE( _N_ samples _,_ ( _Np_ : 15–35 _,_ _Ar_ : 1–4 _,_ _vf_ : 10%–40%)) 3: for each ( _Np, Ar, vf_ ) in _S_ do 4: ( _a, b_ ) _←_ COMPUTEELLIPSEAXES( _Np, vf_ _, Ar_ ) 5: RVE _←_ INITIALIZEDOMAIN(size) 6: for _j_ = 1 to _Np_ do 7: while true do 8: ( _x, y, θ_ ) _←_ SAMPLEPOSITIONANDORIENTATION 9: _p ←_ CREATEELLIPSE( _a, b, θ_ ) 10: if OVERLAPSWITHOTHERS( _p_, RVE) then 11: REMOVE( _p_ ) 12: continue 13: end if 14: if CROSSESBOUNDARY( _p_ ) then 15: APPLYPERIODICIMAGE( _p_ ) 16: if OVERLAPSWITHOTHERS( _p_, RVE) then 17: REMOVE( _p_ ) 18: continue 19: end if 20: end if 21: break 22: end while 23: end for 24: SAVERVE(RVE) 25: end for 26: <u>end function</u> 22 A PREPRINT - SEPTEMBER 25, 2025 Acknowledgements This work is supported by the National Science and Technology Council, Taiwan, under Grant 111-2221-E-002-054MY3 and 112-2221-E-007-028. We are grateful for the computational resources and support from the NTUCENCREE Joint Artificial Intelligence Research Center and the National Center of High-performance Computing (NCHC). Declarations The authors declare that there are no competing interests. Data Availability The datasets and trained models used in this study are publicly available at the Zenodo repository: `https://doi.` `org/10.5281/zenodo.14062123` . Code Availability The code used in this study can be accessed at the following GitHub repository: `https://github.com/BerryWei/` `Material_mask_autoencoder` . Author Contributions Conceptualization and Project Administration: All authors. Investigation and methodology: Ting Ju Wei. Writing—Original Draft: Ting Ju Wei. Review & Editing: All authors. Resources and Funding Acquisition: Chuin-Shan Chen. These author contributions are defined according to the CRediT contributor roles taxonomy. References [1] Diab W Abueidda, Mohammad Almasri, Rami Ammourah, Umberto Ravaioli, Iwona M Jasiuk, and Nahil A Sobh. Prediction and optimization of mechanical properties of composites using convolutional neural networks. _Composite Structures_, 227:111264, 2019. [2] Jaber Rezaei Mianroodi, Nima H. Siboni, and Dierk Raabe. Teaching solid mechanics to artificial intelligence—a fast solver for heterogeneous materials. _npj Computational Materials_, 7(1):99, 2021. [3] Jimmy Gaspard Jean, Tung-Huan Su, Szu-Jui Huang, Cheng-Tang Wu, and Chuin-Shan Chen. Graph-enhanced deep material network: multiscale materials modeling with microstructural informatics. _Computational Mechan-_ _ics_, 75:113–136, 2025. [4] Yuan Zhongbo and Poh Leong Hien. Pre-trained transformer model as a surrogate in multiscale computational homogenization framework for elastoplastic composite materials subjected to generic loading paths. _Computer_ _Methods in Applied Mechanics and Engineering_, 421:116745, 2024. [5] Sadman Sadeed Omee, Nihang Fu, Rongzhi Dong, Ming Hu, and Jianjun Hu. Structure-based out-of-distribution (ood) materials property prediction: a benchmark study. _npj Computational Materials_, 10:144, 2024. [6] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Jill Burstein, Christy Doran, and Thamar Solorio, editors, _Proceed-_ _ings_ _of_ _the_ _2019_ _Conference_ _of_ _the_ _North American_ _Chapter_ _of_ _the Association_ _for_ _Computational_ _Linguistics:_ _Human Language Technologies, Volume 1 (Long and Short Papers)_, pages 4171–4186, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. [7] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. _OpenAI blog_, 1(8):9, 2019. [8] Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, et al. On the opportunities and risks of foundation models. _arXiv preprint arXiv:2108.07258_, 2021. 23 A PREPRINT - SEPTEMBER 25, 2025 [9] Ce Zhou, Qian Li, Chen Li, Jun Yu, Yixin Liu, Guangjing Wang, Kai Zhang, Cheng Ji, Qiben Yan, Lifang He, Hao Peng, Jianxin Li, Jia Wu, Ziwei Liu, Pengtao Xie, Caiming Xiong, Jian Pei, Philip S. Yu, and Lichao Sun. A comprehensive survey on pretrained foundation models: a history from bert to chatgpt. _International Journal_ _of Machine Learning and Cybernetics_, 2024 NOV 24 2024. [10] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In _9th International Conference on_ _Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021_ . OpenReview.net, 2021. [11] Van Dung Nguyen and Ludovic Noels. Interaction-based material network: A general framework for (porous) microstructured materials. _Computer Methods in Applied Mechanics and Engineering_, 389:114300, 2022. [12] Van Dung Nguyen and Ludovic Noels. Micromechanics-based material networks revisited from the interaction viewpoint; robust and efficient implementation for multi-phase composites. _European_ _Journal_ _of_ _Mechanics_ _-_ _A/Solids_, 91:104384, 2022. [13] Ting-Ju Wei, Tung-Huan Su, and Chuin-Shan Chen. Orientation-aware interaction-based deep material network in polycrystalline materials modeling. _Computer Methods in Applied Mechanics and Engineering_, 441:117977, 2025. [14] Wen-Ning Wan, Ting-Ju Wei, Tung-Huan Su, and Chuin-Shan Chen. Decoding material networks: exploring performance of deep material network and interaction-based material networks. _Journal of Mechanics_, 40:796– 807, 2024. [15] Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Doll´ar, and Ross Girshick. Masked autoencoders are scalable vision learners. In _2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)_, pages 15979–15988, 2022. [16] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. _Advances in neural information processing systems_, 30, 2017. [17] Zeliang Liu, Haoyan Wei, Tianyu Huang, and CT Wu. Intelligent multiscale simulation based on process-guided composite database. _arXiv preprint arXiv:2003.09491_, 2020. [18] Tianyu Huang, Zeliang Liu, CT Wu, and Wei Chen. Microstructure-guided deep material network for rapid nonlinear material modeling and uncertainty quantification. _Computer Methods in Applied Mechanics and Engi-_ _neering_, 398:115197, 2022. [19] Haoyan Wei, CT Wu, Wei Hu, Tung-Huan Su, Hitoshi Oura, Masato Nishi, Tadashi Naito, Stan Chung, and Leo Shen. Ls-dyna machine learning–based multiscale method for nonlinear modeling of short fiber–reinforced composites. _Journal of Engineering Mechanics_, 149(3):04023003, 2023. [20] Jens Feder. Random sequential adsorption. _Journal of Theoretical Biology_, 87(2):237–254, 1980. [21] Michael D McKay, Richard J Beckman, and William J Conover. A comparison of three methods for selecting values of input variables in the analysis of output from a computer code. _Technometrics_, 42(1):55–61, 2000. [22] ANSYS, Inc. _LS-DYNA Manuals_, 2024. Available via https://lsdyna.ansys.com/manuals-download/. [23] An-Sheng Lee, Yu-Wen Pao, Hsuan-Tien Lin, and Sofia Ya Hsuan Liou. Max: Masked autoencoder for x-ray fluorescence in geological investigation. _arXiv preprint arXiv:2410.12330_, 2024. [24] Mariana-Iuliana Georgescu. Masked autoencoders for unsupervised anomaly detection in medical images. _Pro-_ _cedia Computer Science_, 225:969–978, 2023. [25] C Qian, LT Harper, TA Turner, S Li, and NA Warrior. Establishing size effects in discontinuous fibre composites using 2d finite element analysis. _Computational materials science_, 64:106–111, 2012. [26] Marcin Kami´nski and Marlena Kazimierczak. 2d versus 3d probabilistic homogenization of the metallic fiber-reinforced composites by the perturbation-based stochastic finite element method. _Composite_ _Structures_, 108:1009–1018, 2014. [27] Dimitrios Savvas, George Stefanou, and Manolis Papadrakakis. Determination of rve size for random composites with local volume fraction variation. _Computer Methods in Applied Mechanics and Engineering_, 305:340–358, 2016. 24

섹션 본문 138문단 · 50,809자

(제목 없음)

1We present the Material Masked Autoencoder (MMAE), a self-supervised Vision Transformer pretrained on a large corpus of short-fiber composite images via masked image reconstruction.The pretrained MMAE learns latent representations that capture essential microstructural features and are broadly transferable across tasks.We demonstrate two key applications: (i) predicting homogenized stiffness components through fine-tuning on limited data, and (ii) inferring physically interpretable parameters by coupling MMAE with an interaction-based material network (IMN), thereby enabling extrapolation of nonlinear stress-strain responses.These results highlight the promise of microstructure foundation models and lay the groundwork for future extensions to more complex systems, such as 3D composites and experimental datasets.

Introduction

2The mechanical performance of composite materials is intrinsically governed by their underlying microstructural architecture.Accurately predicting material properties based on microstructural information is therefore critical for designing high-performance composites.In recent years, machine learning (ML) has emerged as a powerful tool for modeling microstructure-property relationships, enabling rapid property prediction and accelerating the materials design process.For instance, convolutional neural networks (CNNs) have been employed to estimate the effective elastic properties of two-dimensional (2D) checkerboard composites [1].U-Net architectures have been used to predict stress fields in polycrystalline materials, demonstrating the ability to capture spatially complex mechanical responses [2].Graph neural networks (GNNs) have been integrated into deep material networks for modeling nonlinear composite behavior [3].More recently, transformer-based models have been explored, where pre-trained Vision Transformers were used to capture elastoplastic responses under varied loading conditions [4].

3However, despite these successes, most existing ML approaches in materials science are constrained by their reliance on supervised learning with large labeled datasets.Acquiring extensive, high-quality labeled data-whether from experiments or high-fidelity simulations-is expensive and time-consuming.Furthermore, models trained on one type of microstructure or property often fail to generalize to different material systems, especially when faced with unseen microstructural patterns or out-of-distribution cases, which limits their broader applicability [5].In contrast, self-supervised learning techniques have revolutionized fields like natural language processing (NLP) and computer vision by greatly reducing the need for labeled data.Transformer-based language models such as BERT (Bidirectional Encoder Representations from Transformers) and GPT (Generative Pre-trained Transformer) leverage self-supervised objectives (e.g., masked word prediction or next-word prediction) to learn rich representations from massive unlabeled text corpora [6,7].

4Building upon the success of self-supervised learning, the concept of foundation models has emerged.A foundation model is typically pre-trained on a vast and diverse dataset to learn general-purpose representations that can be adapted to a wide range of downstream tasks [8,9].In essence, such models serve as broad, domain-general feature extractors that can be fine-tuned for different problems, marking a shift toward more versatile learning architectures that consolidate knowledge across domains.This paradigm has also been applied to computer vision, for example, through masked autoencoders (MAEs) for image data.In an MAE, a transformer-based encoder-decoder model is trained to reconstruct images from which a significant portion of the content has been masked out.Notably, the masked autoencoder introduced by He et al. [10] employs a Vision Transformer backbone with a lightweight decoder and has achieved performance on par with or even exceeding that of contrastive self-supervised learning methods for image recognition.Such results highlight the potential of MAEs as foundation models in the visual domain.

5Despite recent advances in other domains, the application of foundation models in materials science remains at an early stage.We posit that bringing self-supervised foundation model techniques into the materials domain can help address the data scarcity and generalization challenges outlined above.Motivated by this opportunity, we introduce a foundation model specifically designed for composite microstructures, termed the Material Masked Autoencoder (MMAE).

6The MMAE is pretrained in a self-supervised fashion on a large corpus of synthetic microstructure images by reconstructing partially masked inputs.This masked reconstruction task enables the model to learn latent representations that encode critical geometric and morphological features of the microstructures.To evaluate the utility and generalizability of these learned representations, we consider two downstream tasks.

7First, we predict the homogenized stiffness components of composite representative volume elements (RVEs) by applying transfer learning to the pretrained MMAE using three strategies: linear probing, partial fine-tuning, and end-to-end fine-tuning.These approaches yield accurate predictions even in data-scarce scenarios.

8Second, we integrate the pretrained MMAE with a physics-informed surrogate model, the Interaction-based Material Network (IMN), which decouples microstructural geometry from the constitutive behavior of individual phases.Originally developed for composites [11] and later extended to porous media [12] and polycrystalline materials [13], the IMN is grounded in homogenization theory, allowing it to incorporate arbitrary nonlinear constitutive models during online prediction.Its computational efficiency and predictive accuracy have been further validated in recent studies [14].The MMAE is end-to-end fine-tuned using only linear elastic data, and its latent features are used to predict IMN parameters.We retain the IMN architecture throughout transfer learning to preserve its theoretical decoupling of geometry and material response.As a result, the trained framework is capable of extrapolating from linear elastic training data to accurately predict nonlinear stress-strain behavior under complex loading conditions.Through these case studies, we demonstrate that the MMAE learns rich and transferable representations of composite microstructures, enabling both linear property prediction and nonlinear behavior modeling.To our knowledge, this work represents the first application of a foundation model in composite material modeling, where pretrained encoders are leveraged for two distinct downstream tasks: direct stiffness prediction and the parameterization of a physics-informed surrogate model.This approach underscores the versatility of pretrained representations in materials modeling, enabling diverse predictive tasks with improved data efficiency and robust generalization.

9The remainder of the paper is organized as follows.Section 2 describes the methodology, including the data generation process and the MMAE model architecture.Section 3 presents the results and discussion.Section 4 offers concluding remarks and outlines potential directions for future work.

Self-supervised pre-training using masked autoencoders

10The MMAE framework proposed in this work adopted a self-supervised architecture inspired by the MAE introduced by He et al. [15].As illustrated in Fig. 1, the MMAE consists of an encoder-decoder structure.The encoder is based on a Vision Transformer (ViT), parameterized by the patch size P, embedding dimension D e , number of transformer blocks N e , and number of attention heads per block H e [10].A linear projection layer is used to align the encoder's output dimension with the decoder's input.The decoder shares a similar architecture but with its own parameters: Each microstructure was represented as an input image I ∈ R H×W ×C .We used grayscale images (C = 1) with spatial resolution H = W = 224, where each pixel was a binary indicator (0 or 1) representing the phase (e.g., matrix or inclusion).Each image was partitioned into N p = H P 2 = 196 non-overlapping patches, where each patch had dimensions of P × P = 16 × 16.These patches were then individually embedded via a convolutional layer and processed by the transformer encoder.

11To inject spatial information into the transformer encoder, we employed 2D sinusoidal positional encodings (PE) for both the encoder and decoder inputs.As the self-attention mechanism in transformers is inherently permutationinvariant, such positional encodings are essential to preserve the relative order and layout of image patches.We adopted the fixed 2D extension of the original 1D sinusoidal encoding [16], as commonly used in MAE-based architectures [10].Specifically, for a patch grid of size G × G (with G = N p = 14 in our case), each spatial coordinate (x, y) was independently encoded using sine and cosine functions at multiple frequencies.For i = 0, 1, . . ., D e /2 − 1, the encoding is defined as:

12where PE x (x), PE y (y) ∈ R De/2 represent the positional embeddings for the horizontal and vertical coordinates, respectively.

13In the encoder, we additionally prepended a learnable [CLS] token to the input sequence, following the standard ViT.This [CLS] token is a trainable vector that is initialized randomly and optimized during pre-training.Its role is to serve as a global representation of the input microstructure, capturing holistic spatial characteristics through self-attention.

14Since the transformer encoder permits full pairwise attention among all tokens, the [CLS] token attends to every visible patch token, and each patch token similarly attends to the [CLS] token.This bidirectional interaction allows the [CLS] token to aggregate contextual information from the entire set of visible patches, effectively forming a compact latent descriptor of the global microstructural geometry.Consequently, this descriptor can be directly utilized for various downstream prediction tasks.

15The positional embedding assigned to the [CLS] token is a zero vector:

16(

17The complete positional embedding matrix for the encoder was constructed by stacking all patch embeddings and the [CLS] embedding:

18The transformer decoder, responsible for reconstructing the full image, including masked patches, used the same 2D sinusoidal positional encodings for all patch tokens.While the encoding formulation remained identical, the embeddings were projected into the decoder's latent space with dimension D d .These positional embeddings provide essential spatial context, enabling the decoder to accurately localize and reconstruct the masked regions.

19To implement self-supervised learning, we adopted a random masking strategy.Given a masking ratio r ∈ [0, 1], r • N p patches were randomly selected and masked, while the remaining served as visible inputs.The encoder processes only the visible patches and produces latent representations that are expected to capture intrinsic morphological characteristics of the input microstructure image, such as fiber volume fraction, aspect ratio, and spatial distribution.These embeddings were then passed to the decoder to reconstruct the pixel values of the masked regions.

20The MMAE was trained by minimizing the mean squared error (MSE) between reconstructed and ground-truth pixel values in the masked regions.Specifically, let

21masked and Î(i) masked represent ground-truth and reconstructed pixels of the i-th masked patch, respectively, each of length d = P × P × C. The loss function is defined as where M denotes the set of masked patch indices and ∥•∥ 2 is the Euclidean norm.

22By leveraging unlabeled microstructure data, this reconstruction-based objective encourages the encoder to learn intrinsic spatial patterns and morphological features, including phase volume fraction, inclusion shape, aspect ratio, and spatial distribution.These representations serve as a transferable basis for downstream tasks such as stiffness prediction and surrogate modeling.

Transfer learning for homogenized stiffness prediction

23We evaluated the effectiveness of latent embeddings obtained from the MMAE encoder for predicting homogenized stiffness components.The encoder's [CLS] token embedding, representing global microstructural information, was passed into a linear prediction head (fully connected layer) to estimate homogenized stiffness values.

24Two transfer learning approaches, illustrated in Fig. 2, were investigated:

25• linear probing: The encoder weights are frozen, and only the linear regression head parameters are trained.This strategy assesses the intrinsic quality of pre-trained features without adapting the encoder.

26• Fine-tuning: Both encoder and linear head parameters are jointly trained, allowing the encoder's representations to adapt specifically to the stiffness prediction task.

Linear probing

27In linear probing, the MMAE encoder remains entirely frozen, and only the newly introduced linear regression layer (linear head) is trained.This linear head directly uses the encoder-generated [CLS] token embedding to predict homogenized stiffness components ( C1111 , C2222 , C1212 ).The objective function used is the MSE loss.Linear probing thus isolates and tests the intrinsic predictive power of the MMAE embeddings.

Fine-tuning

28In fine-tuning, parameters of both the MMAE encoder and linear head are optimized together.Two fine-tuning approaches were explored:

29• End-to-end fine-tuning: All MMAE encoder parameters are trainable, allowing complete adaptation of the pre-trained model.

30• Partial fine-tuning: Only the last few transformer blocks of the encoder are updated, while earlier layers remain frozen, providing a more computationally efficient approach that retains general features learned during pre-training.

Transfer learning for nonlinear behavior prediction

31In addition to predicting linear elastic stiffness, we extend the use of the pretrained MMAE to model the nonlinear mechanical response of composite materials.This is achieved by coupling the MMAE with the IMN, a physicsinformed model derived from homogenization theory [12].The IMN satisfies essential physical constraints, including the Hill-Mandel condition and classical averaging theorems, allowing it to be trained exclusively on linear elastic data while remaining applicable to nonlinear regimes during the online prediction stage [12].

32Conventional IMNs are tailored to fixed RVE geometries and require retraining when the microstructure changes.Recent developments in the Deep Material Networks (DMNs), which share a similar architecture to IMN, have addressed this limitation by incorporating handcrafted microstructure descriptors.These include second-order fiber orientation tensors, which enable generalization across different fiber shapes and distributions [17,18].Wei et al. further demonstrated the scalability of this approach in large-scale SFRC simulations using LS-DYNA [19].

33In this work, we propose a complementary paradigm based on foundation models, where microstructures are directly represented as 2D images rather than engineered descriptors.This image-based formulation enables self-supervised pretraining on large unlabeled datasets, allowing the model to learn generalizable latent representations of microstruc-tural geometry.The pretrained MMAE encoder is then used to infer IMN parameters.Specifically, the MMAE encoder is fine-tuned end-to-end along with a lightweight linear projection head that maps latent embeddings from microstructure images to a set of IMN parameters.These parameters encode the geometric structure of the input RVE and are used to parameterize the IMN for nonlinear mechanical prediction during the online prediction stage.

34This MMAE-IMN framework leverages the complementary strengths of both components: the MMAE provides microstructure-aware representations that generalize across diverse geometries, while the IMN enforces physical consistency and enables accurate prediction of nonlinear mechanical responses.

Overview of IMN

35The IMN approximates the heterogeneous response of a composite RVE by decomposing it into a limited number of predefined material nodes, each corresponding to distinct subdomains, such as matrix or inclusions.Each material node is associated with a parameter w i representing the subdomain's relative contribution (e.g., volume fraction) to the overall mechanical response.

36These predefined material nodes are interconnected through interaction nodes, which enforce mechanical compatibility and equilibrium between pairs of subregions.Each interaction node functions as a mechanical interaction mechanism that ensures stress and strain fields satisfy the Hill-Mandel condition for energy consistency.Notably, each interaction node is characterized by an interface direction parameter θ j , indicating the orientation along which mechanical equilibrium is enforced between its predefined child subdomains.

37By hierarchically aggregating subdomains through these interaction nodes in a binary-tree structure, the IMN constructs a complete material network capable of accurately predicting the homogenized mechanical behavior of composites.

38Consequently, for an IMN of depth N , the set of all trainable parameters in the 2D formulation is given by:

39Here, w i represents the volume fraction associated with each leaf material node, and θ j encodes the in-plane orientation of the interface at each interaction node.This parameterization is specific to 2D RVEs under plane strain assumptions.

40To extend the IMN to 3D microstructures, this formulation must be generalized to accommodate additional geometric degrees of freedom.In particular, each interaction interface would require two angular parameters (e.g., θ and φ) to define the orientation of its normal vector in three-dimensional space.

41Given a pair of constituent stiffness tensors (C p1 , C p2 ), the IMN performs a closed-form homogenization to compute the effective stiffness tensor C as:

42The detailed formulation of this homogenization process can be found in [11,12].

43During the offline training phase, the goal is to learn the optimal IMN parameters F IMN such that the homogenized stiffness prediction C closely matches the ground-truth stiffness tensor CDNS computed from direct numerical simulations (DNS).Given a dataset of constituent stiffness pairs (C p1 , C p2 ) and corresponding target homogenized stiffness tensors CDNS , the IMN is trained via gradient-based optimization to minimize the following relative Frobenius norm loss:

44where N dataset is the total number of training samples, and ∥•∥ F denotes the Frobenius norm.

Offline end-to-end fine-tuning

45Traditionally, IMN parameters F IMN are individually optimized for each microstructure through offline training.Here, we propose a novel approach where the IMN parameters are directly inferred from the microstructure image using MMAE embeddings, significantly improving efficiency and generalizability.

46As illustrated in Fig. 3, the proposed framework integrates the pretrained MMAE encoder with the IMN.The process begins by encoding an input microstructure image I with MMAE, from which the latent representation is extracted via the [CLS] token.A lightweight linear projection head then maps this embedding to a predicted parameter set F IMN (I).

47Crucially, we preserve the original IMN architecture and enforce a strict one-to-one correspondence between the projection outputs and the IMN parameters defined in Eq. ( 5).This ensures that the inferred parameters remain physically interpretable and fully compatible with the underlying homogenization theory, including the Hill-Mandel condition and averaging theorems.

48The predicted parameter set F IMN (I), together with the stiffness tensors of the constituent phases (C p1 , C p2 ), is then passed to the IMN to compute the homogenized stiffness tensor C.

49This mapping can be succinctly expressed as:

50The entire MMAE-IMN framework is trained end-to-end by minimizing the discrepancy between the IMN-predicted stiffness C and ground truth stiffness CDNS :

Online nonlinear prediction using inferred IMN

51After completing offline training, the MMAE-IMN framework enables efficient online prediction of nonlinear mechanical responses for previously unseen microstructures.Given a new microstructure image I, the MMAE encoder and its linear projection head jointly infer the IMN parameter set F IMN (I) through a single forward pass.The inferred IMN, fully parameterized by these predicted values, acts as a surrogate model that captures the microstructure-dependent geometry, as shown in Fig. 4(a).

52The inferred IMN can be used as a standalone material surrogate model, independent of the MMAE encoder.Nonlinear mechanical behavior is simulated by assigning constitutive models, such as elasticity or plasticity, to the constituent phases at the material node level, as shown in Fig. 4(b).By leveraging the MMAE to extract geometry-aware representations from microstructure images and using the IMN to simulate nonlinear mechanical responses at the RVE scale, the framework enables accurate predictions for previously unseen microstructures and loading conditions without requiring additional retraining.The algorithm of the IMN for nonlinear response prediction is detailed in [11,12].

Transformer Encoder

53Linear Head

Generation of microstructure

54Synthetic microstructures were generated for both MMAE pre-training and downstream tasks using the random sequential adsorption (RSA) method [20].RSA is a stochastic algorithm that sequentially places particles into a domain without overlap, enabling the creation of composite microstructures with diverse inclusion counts, shapes, sizes, and orientations.This method captures the inherent randomness of real-world material systems and facilitates the creation of statistically representative RVEs.A detailed pseudocode outlining this generation process is provided in A.

55For short-fiber composites, each RVE contains elliptical inclusions randomly embedded within a matrix.The geometry of each microstructure is defined by three independent descriptors: 2. Aspect Ratio (A r ): Ratio of the major to minor axes of each elliptical inclusion, ranging from 1 to 4.

563. Volume Fraction (v f ): Volume percentage of inclusions, sampled between 10% and 40%.

57To ensure broad coverage of the design space, we applied Latin Hypercube Sampling (LHS) across the (N p , A r , v f ) space [21].For each sampled triplet, the semi-axes (a, b) of the ellipses were analytically computed to satisfy the target volume fraction given the number and aspect ratio of inclusions.All fibers within a single RVE share the same shape and size, while their positions and orientations are assigned independently.Specifically, positions are sampled via uniform random placement and orientation angles are drawn from a uniform distribution over [0, π).

58The fiber size was determined by N p and v f , and their orientations were assigned randomly to reflect stochastic microstructural variability.

59We constructed three datasets using this procedure:

601. Pre-training dataset: 100,000 grayscale images of short-fiber microstructures for self-supervised MMAE pretraining.This dataset spans a wide variety of inclusion geometries and distributions, enabling robust feature learning.2. Homogenized stiffness dataset: 5,000 short-fiber microstructures paired with DNS-derived components of the homogenized stiffness matrix ( C1111 , C2222 , C1212 ).This dataset is used for supervised training in the downstream task of predicting linear stiffness components.3. IMN dataset: 300 short-fiber microstructures, each paired with 300 distinct combinations of phase stiffness matrices (C p1 s , C p2 s ), resulting in a total of 90,000 DNS simulations.Each simulation yields a homogenized stiffness matrix CDNS s .This dataset is used for supervised training in the downstream task, where the model learns to predict the parameters of the IMN.These parameters are subsequently used for nonlinear behavior prediction during online prediction stage.

61To assess generalization across different inclusion geometries, we additionally generated a 4th dataset of 5,000 RVEs containing circular inclusions, with volume fractions v f uniformly sampled between 10% and 40%.

Dataset for homogenized stiffness prediction

62To support transfer learning from MMAE for predicting individual components of the homogenized stiffness matrix ( C1111 , C2222 , C1212 ), we constructed a dataset comprising 5,000 distinct short-fiber RVEs with varying inclusion geometries.Each RVE was simulated under a fixed material configuration, where the following linear elastic properties were uniformly assigned to the matrix and inclusion phases:

63• Matrix: Young's modulus E = 100, Poisson's ratio ν = 0.30.

64• Inclusions: Young's modulus E = 500, Poisson's ratio ν = 0.19.

65DNS was performed using the RVE module in LS-DYNA, employing the *RVE ANALYSIS FEM keyword to impose periodic boundary conditions and compute the effective mechanical response [22].For each RVE, the three stiffness components were extracted from the resulting stress-strain curves and used as targets for supervised regression.The final dataset comprises 5,000 labeled instances, each pairing a unique microstructure with its corresponding stiffness values.The data were randomly split into 80% for training and 20% for validation.

Dataset for IMN transfer learning

66To support transfer learning from MMAE to IMN, we constructed a dataset that enables the IMN to learn the mapping from microstructure images and constituent phase stiffness matrices to homogenized stiffness matrices.The dataset consists of 300 short-fiber RVEs, each paired with 300 distinct combinations of phase stiffness matrices (C p1 s , C p2 s ) for the matrix and inclusion phases.These combinations were generated using the sampling strategy proposed in our previous work, designed to ensure broad coverage of phase contrast variability [3].

67More specifically, both constituent phases are modeled as isotropic linear elastic materials characterized by Young's modulus E and Poisson's ratio ν.To balance numerical stability with contrast diversity, we fixed the matrix stiffness to ln(E 1 ) = 0 and defined the sampling space for the inclusion stiffness as ln(E 2 ) ∈ [ −5, 5].This corresponds to a stiffness contrast of up to approximately two orders of magnitude (∼ 148×), covering the range commonly encountered in engineering composites.The Poisson's ratios ν 1 and ν 2 were independently sampled from [0, 0.5] to capture a broad spectrum of material compressibility.

68Each RVE-material pair is then simulated using the DNS setup described in Section 2.4.2, which includes periodic displacement boundary conditions.Specifically, we impose small prescribed macroscopic displacement gradients along the x, y, and shear directions (each with a magnitude of 1.0 × 10 −8 ).The resulting stress-strain responses are used to compute the homogenized stiffness matrix CDNS s , which serves as the supervised learning target.This procedure yields a total of 90,000 labeled instances.The dataset is partitioned at the RVE level, with 240 RVEs used for training and the remaining 60 RVEs reserved for validation.

Results and Discussion

69This section comprehensively evaluates the proposed MMAE framework across tasks of increasing complexity.We assess reconstruction quality under different masking ratios to analyze the learned latent representations.We then assess the transferability of these representations for predicting homogenized stiffness components using linear probing, partial fine-tuning, and end-to-end fine-tuning.We further examine the effects of masking ratios, dataset size, and microstructural morphology.Finally, we demonstrate the model's ability to predict nonlinear mechanical behavior by fine-tuning it to infer IMN parameters, enabling physics-informed extrapolation under arbitrary loading conditions.Collectively, these results highlight the MMAE's effectiveness as a generalizable foundation model for microstructureinformed materials modeling.

Pre-trained MMAE reconstruction performance

70To qualitatively assess the representational capacity of the pre-trained MMAE model, we examine its reconstruction performance under different pretraining conditions.As the masking ratio during pretraining may influence downstream task performance, we first evaluate how well the MMAE can reconstruct composite microstructures under challenging masking scenarios before proceeding to downstream analyses.Specifically, we focus on high masking ratios of 75% and 85%, which impose more demanding reconstruction conditions and better reflect the MMAE's capacity for feature learning.

71We randomly select four training instances from the pretraining dataset, each exhibiting distinct morphological characteristics in terms of aspect ratio, volume fraction, and inclusion count, as described in Section 2.4.1.These examples are denoted as Instance #1 to #4 and presented in Fig. 5(a)-(d).Despite the high masking ratios, the reconstructed microstructures visually resemble their original configurations.In this context, we refer to the reconstructions as semantically plausible, meaning that the predicted inclusion shapes and sizes are consistent with those observed in the visible patches, and the overall morphology appears realistic and coherent.

72Additionally, to further examine the MMAE's ability to capture geometric variability within the training distribution, we design four synthetic circular-inclusion composites that represent a geometric special case of the short-fiber morphology.Although such circular configurations are not explicitly present in the pretraining dataset, they are geometrically consistent with the short-fiber design space, corresponding to an aspect ratio of one and uniform inclusion size.By varying the number of inclusions, we generate instances with different volume fractions while preserving shape and scale.These examples, labeled as Instance #5 to #8 in Fig. 6(a)-(d), also yield semantically plausible reconstructions, even under the more challenging 85% masking ratio.This indicates that the MMAE effectively learns to reconstruct structurally reasonable microstructures based on partial observations, even for geometries not explicitly seen during pretraining.(d)) corresponds to a circular-inclusion composite with a distinct volume fraction, achieved by varying the number of inclusions while keeping their size constant.From left to right: original image, masked input, and reconstruction under 75% masking; followed by masked input and reconstruction under 85% masking.

Transfer learning for homogenized stiffness components

73We evaluated the effectiveness of the learned latent representations for predicting homogenized stiffness components ( C1111 , C2222 , C1212 ) using both short-fiber and circular-inclusion composite datasets.We employed three strategies: linear probing, end-to-end fine-tuning, and partial fine-tuning.

Linear probing

74To evaluate the representational quality of the pretrained encoder, we conducted linear probing using the [CLS] token output from MMAE.A lightweight linear regressor with 257 trainable parameters was trained on top of the frozen embeddings to predict the homogenized stiffness components.Since the regressor lacks the capacity to adapt or refine the latent features, its performance directly reflects the quality and transferability of the representations learned during self-supervised pretraining.Fig. 7 presents the results on the short-fiber composite dataset.The validation R 2 scores drop significantly as the masking ratio decreases from 30% to 10%, while higher masking ratios yield improved performance, peaking at R 2 = 0.94 under 80% masking.This trend reflects the impact of masking on representational learning: when too few patches are masked, the reconstruction task becomes overly simple, enabling the model to rely on visible patch interpolation rather than learning abstract and microstructurally informative features.Consequently, the resulting representations exhibit limited generalization, which is particularly evident in linear probing.Fig. 8 shows the results for the circular-inclusion dataset.While this morphology was not explicitly included during pretraining, it can be regarded as a geometric special case within the short-fiber composite family.The model maintains high performance (R 2 > 0.975) across most masking ratios, with only a slight dip at 75%.These results indicate that the learned representations remain effective for this specific configuration.

75In summary, higher masking ratios during self-supervised pretraining facilitate the learning of more abstract and transferable representations by enforcing stronger representational constraints.This effect is consistent with observations reported in both computer vision and scientific domains [15,23,24].

End-to-end fine-tuning

76To further explore the MMAE's representational capacity, we performed end-to-end fine-tuning on both datasets.Unlike linear probing, this approach updates all encoder and prediction head parameters, allowing full adaptation to the downstream task.

77As shown in Fig. 9, fine-tuning on the short-fiber dataset achieves consistently high R 2 scores, largely insensitive to the pre-training masking ratios.The performance remains largely insensitive to the masking ratio, with the best configuration achieving R 2 > 0.959.This robustness indicates that the model can effectively adapt to the target task by compensating for suboptimal pre-training through joint parameter optimization.

78Similar trends are observed on the circular-inclusion dataset (Fig. 10).Despite being trained on different morphologies, the fine-tuned model achieves R 2 scores exceeding 0.999 across all masking ratios, confirming the adaptability of the pre-trained MMAE to diverse geometries.

79These results demonstrate that, although the choice of masking ratio plays a critical role in linear probing, its impact is substantially reduced in end-to-end fine-tuning.By jointly updating the encoder and prediction head, the model can refine its representations and compensate for differences in pretraining conditions, thereby achieving consistently high predictive accuracy across masking ratios.

Partial fine-tuning

80To explore the trade-off between model capacity and training efficiency, we conducted partial fine-tuning experiments.

81Only the last few transformer blocks of the MMAE encoder were updated, while the early blocks remained frozen.

82As shown in Fig. 11, performance steadily improves as more blocks are fine-tuned.Updating just the final two blocks yields a substantial performance gain, approaching that of full fine-tuning.This suggests that the early transformer blocks capture general-purpose microstructural features, whereas the later blocks are primarily responsible for taskspecific adaptation.

83These findings indicate that the mapping from microstructure to homogenized stiffness exhibits relatively low complexity, such that adapting only a small subset of parameters suffices to achieve high accuracy.This property is desirable for foundation models, as it enables efficient transfer with reduced risk of overfitting and lower computational cost.

84To quantify the efficiency-performance trade-off across different transfer learning strategies, we compared the training costs associated with linear probing, partial fine-tuning (with varying numbers of transformer blocks), and end-toend fine-tuning.The results are summarized in Table 1, which reports the number of trainable parameters and the corresponding training time for each configuration.All experiments were conducted on the short-fiber composite dataset using 5,000 training instances to predict the homogenized stiffness component C1111 , with a batch size of 50 and a total of 600 training epochs on an NVIDIA V100 GPU (32 GB).

85An important observation from these results relates to computational efficiency.Although the number of trainable parameters increases significantly as more transformer blocks are fine-tuned, the training times remain remarkably similar across different configurations.This consistency arises because the batch size was fixed, and the GPU memory (32 GB) was not fully utilized in any of the tested scenarios.Consequently, the wall-clock training time was primarily limited by data loading and per-epoch overhead rather than GPU-bound computation.

Impact of dataset size in transfer learning

86To assess the model's data efficiency, we evaluated performance as a function of dataset size using the short-fiber composite dataset and an MMAE pre-trained at an 85% masking ratio.In these experiments, we adopted an end-toend fine-tuning strategy, where both the MMAE encoder and the linear prediction head were jointly optimized using the target data.

87As shown in Figure 12, performance improves as dataset size increases, but with diminishing returns.Notably, even with just 1,000 samples, the model achieves an R 2 score above 0.91.Beyond 2,500 samples, the performance plateaus, suggesting that relatively small datasets suffice for high-fidelity property prediction.

88This data efficiency is particularly important for applications in materials science, where labeled data is often expensive or difficult to obtain.The MMAE's ability to perform well in low-data regimes makes it a practical and scalable solution for microstructure-informed modeling.

Transfer learning for nonlinear behavior prediction

89To assess performance on nonlinear material modeling, we fine-tuned the MMAE to predict IMN parameters F(I) directly from microstructure images.This approach enables the construction of microstructure-adaptive IMNs, wherein the network parameters are dynamically inferred based on each input microstructure, thereby supporting robust extrapolation to nonlinear mechanical responses under previously unseen loading conditions.

Offline end-to-end fine-funing

90During offline training, we investigated the effect of varying pre-training masking ratios on transfer learning performance using the short-fiber composite dataset.For each masking ratio, the MMAE was fine-tuned to predict the IMN parameters

91As shown in Fig. 13, validation errors remain consistently low (6.3%-6.8%)across all masking ratios, with the best result at 50%, which we used for online prediction.

92This weak dependence on the masking ratio reflects the robustness of end-to-end fine-tuning, where the encoder and prediction head are jointly updated.Unlike linear probing, which relies entirely on frozen representations, end-to-end fine-tuning mitigates the impact of the masking ratio used during pretraining.

Online prediction

93To assess generalization capability, we evaluated the fine-tuned MMAE-IMN framework on four microstructures that were not part of the 300 RVEs used during offline training.These test cases were subjected to complex loading paths and selected to represent diverse morphological configurations.Despite being trained on a limited dataset, the model accurately predicted the nonlinear mechanical responses of previously unseen microstructures.

94Fig. 14 presents the predicted stress-strain curves in comparison with DNS results.Each subplot includes an inset depicting the corresponding composite microstructure.The selected cases encompass both short-fiber composites (RVE1-RVE3) and a circular-inclusion configuration (RVE4).The predicted curves closely align with the DNS responses, demonstrating the framework's robustness across diverse microstructural geometries and nonlinear behaviors.

95To quantitatively assess prediction accuracy, we adopt the mean-relative error and max-relative error metrics, following established practice [18].These provide normalized measures of deviation from DNS results: mean-relative error =

96Table 3 summarizes the quantitative performance.The mean-relative stress prediction errors are 2.01%, 2.76%, 5.40%, and 2.26% for RVE1 to RVE4, respectively, while the corresponding maximum-relative errors are 7.34%, 6.46%, 7.80%, and 5.98%.These results indicate that the MMAE-IMN framework generalizes well to previously unseen microstructures while accurately predicting their nonlinear mechanical responses.

97The material properties for Phase 1 and Phase 2 used in the simulations are summarized in Table 2. Phase 1 is modeled as an elastoplastic material with isotropic hardening, while Phase 2 is linear elastic.

Training stability of linear probing under random initialization

98To evaluate the robustness of MMAE with respect to random initialization during transfer learning, we performed five independent training runs of the linear probing setup on the short-fiber composite dataset, targeting the prediction of homogenized stiffness components ( C1111 , C2222 , C1212 ).Each run employed a different random seed, affecting both the model's initial weights and the shuffling of training data.

99As shown in Fig. 15 deviations remain low across all evaluated masking ratios.These results confirm that the proposed transfer learning pipeline is largely insensitive to initialization under the linear probing configuration.

Limitations of 2D pre-training and future directions for 3D extension

100The current MMAE framework is pre-trained exclusively on two-dimensional (2D) synthetic microstructure images.This choice aligns with established practices in composite microstructure analysis, where 2D image-based characterization remains a widely adopted standard due to its computational efficiency, cost-effectiveness, and interpretability under classical stereological assumptions.Prior studies have demonstrated that 2D simulations can reliably estimate effective material properties and capture key statistical features of random heterogeneous media, especially when in-plane behavior dominates or when the microstructure exhibits planar symmetry.For example, Qian et al. demonstrated that 2D finite element models effectively capture size effects in fiber composites under common conditions [25].Despite these advantages, 2D representations inherently neglect out-of-plane features.Single cross-sections cannot resolve fiber tilt, curvature, or three-dimensional connectivity, all of which may significantly influence mechanical responses in real materials.As a result, while the model demonstrates strong performance across a range of 2D geometries, its ability to generalize to real 3D morphologies such as clustered, curved, or vertically aligned fibers remains uncertain.

101Furthermore, the current training dataset lacks morphological diversity.Within each RVE, inclusions are constrained to have identical shape and size.This simplification reduces structural variability during pre-training, which may further limit the model's capacity to generalize to heterogeneous microstructures.

102To address these limitations, future work will extend the MMAE framework to volumetric pre-training using voxelized 3D microstructures that incorporate tilted or serial-section images.These approaches aim to capture spatially coherent features across all three dimensions and expand the training distribution to encompass a broader range of inclusion geometries and spatial arrangements.By lifting the constraints of 2D input, the MMAE framework can be expanded to support more accurate and transferable predictions in structurally complex systems.

Revisiting masking ratio heuristics for MMAE transfer learning tasks

103In the original MAE literature, it is well established that a high masking ratio during pretraining leads to superior transfer performance, particularly in the linear probing setting.This trend is also observed in our results (Fig. 7 and Fig. 8), where accuracy increases with masking ratio, peaking around 80%.This is expected, as linear probing freezes the encoder and depends entirely on the quality of representations learned during self-supervised pretraining.Low masking ratios make the reconstruction task too easy, encouraging shortcut learning rather than the abstraction of transferable features.

104In contrast, end-to-end fine-tuning continuously updates the encoder during supervised training, allowing the model to refine its latent space based on the downstream objective.This reduces sensitivity to pretraining quality.As shown in Fig. 9 and Fig. 10, the R 2 scores across different masking ratios remain nearly identical, with variations within 0.01.Similarly, Fig. 13 shows that the corresponding prediction errors differ by less than 0.5%.These results confirm the robustness of end-to-end adaptation, but deviate from trends commonly observed in vision benchmarks, where high masking ratios yield measurable improvements even under fine-tuning [15].

105We hypothesize that this discrepancy arises from two factors:

1061.The downstream task-predicting homogenized stiffness matrices-is relatively simple compared to complex visual recognition tasks, so the model can compensate for suboptimal pretraining through supervised finetuning.2. The overall dataset complexity may not be high enough to magnify differences in representation quality, even though linear probing already revealed some sensitivity to masking ratio.

107These findings suggest that pretraining heuristics established in computer vision, such as the use of high masking ratios, may not directly generalize to scientific domains.Domain-specific foundation models may require distinct pretraining strategies, and we highlight this issue as an open question for future research.

108This work proposed the MMAE, a foundation model specifically designed for composite materials, aimed at addressing key challenges in data scarcity and transferability within materials science.By leveraging self-supervised learning on a large dataset of short-fiber composite microstructures, the MMAE learned robust and generalizable latent representations, forming a strong basis for a wide range of downstream tasks.

109In the first transfer learning scenario, the MMAE was fine-tuned to predict homogenized stiffness components, achieving an R 2 score of up to 0.959, even with limited labeled data.This demonstrates the model's ability to perform accurate property prediction in data-constrained regimes.In the second scenario, the MMAE was fine-tuned to infer IMN parameters, enabling accurate extrapolation of nonlinear mechanical behavior across unseen microstructures and loading conditions.

110These results underscore the promise of foundation models in computational materials science, providing scalable, data-efficient tools for microstructure-informed property prediction.Future work will extend the MMAE framework to more complex systems such as three-dimensional composites and polycrystalline aggregates, as well as integrate experimental datasets to enhance its applicability in real-world materials design and characterization.

A Microstructure generation

111Algorithm 1 Synthetic RVE Generation 1: function GENERATERVES(N samples )

1122:

113S ← LATINHYPERCUBESAMPLE(N samples , (N p : 15-35, A r : 1-4, v f : 10%-40%))

1143:

115for each (N p , A r , v f ) in S do for j = 1 to N p do 7:

116while true do p ← CREATEELLIPSE(a, b, θ)

117embedding dimension D d , number of transformer blocks N d , and number of attention heads H d .The specific configuration used in this study was: P = 16, D e = 256, N e = 12, H e = 4; D d = 128, N d = 8, H d = 16.

Figure 1 :

118Figure 1: Self-supervised pre-training architecture of the MMAE.The encoder extracts latent features from visible microstructure patches, while the decoder reconstructs the original microstructure image using these extracted embeddings and positional encodings.Light blue regions indicate trainable components; grey blocks are frozen modules; green arrows represent data flow.

Figure 2 :

119Figure 2: Transfer learning strategies utilizing MMAE embeddings: (a) Linear probing with frozen encoder; (b) Finetuning with trainable encoder and prediction head.Grey blocks indicate frozen parameters; light blue blocks indicate trainable parameters; green arrows depict data flow.

Figure 3 :

120Figure 3: End-to-end transfer learning framework from MMAE to IMN.Each input microstructure image I is encoded by the pre-trained MMAE, and its [CLS] token serves as a latent representation.A linear projection head maps this embedding to predict the IMN parameter set F IMN (I).The IMN then uses these parameters, along with the stiffness matrices of phase 1 and phase 2 (C p1 , C p2 ), to compute the predicted homogenized stiffness tensor C. Grey blocks indicate frozen (non-trainable) modules, light blue blocks denote trainable components, and green arrows represent the data flow throughout the pipeline.

Figure 4 :

121Figure 4: Schematic of online nonlinear prediction using the inferred IMN.(a) A previously unseen microstructure image is encoded by the MMAE and projected to a set of IMN parameters.(b) The inferred IMN, when combined with phase-specific constitutive models (e.g., elasticity or plasticity), enables nonlinear response prediction.

1 .

122Number of Particles (N p ): Number of inclusions per RVE, sampled uniformly between 15 and 35.

Figure 5 :Figure 6 :

123Figure 5: Microstructure reconstruction results using the pretrained MMAE under two masking ratios.Each row ((a)-(d)) corresponds to a randomly selected microstructure from the pretraining dataset, differing in key morphological descriptors such as aspect ratio, volume fraction, and number of inclusions.From left to right: original image, masked input, and reconstruction under 75% masking; followed by masked input and reconstruction under 85% masking.

Figure 7 :

124Figure 7: Linear probing performance on the short-fiber composite dataset.(a) Average validation R 2 scores across all stiffness components vs. masking ratios.(b) R 2 scores for each individual stiffness component vs. masking ratios.

Figure 8 :

125Figure 8: Linear probing performance on the circular-inclusion composite dataset.(a) Average validation R 2 scores vs. masking ratios.(b) R 2 scores for each stiffness component vs. masking ratios.

Figure 9 :

126Figure 9: End-to-end fine-tuning performance on the short-fiber composite dataset.(a) Average validation R 2 scores across all stiffness components vs. masking ratios.(b) R 2 scores for each individual stiffness component vs. masking ratios.

Figure 10 :

127Figure 10: End-to-end fine-tuning performance on the circular-inclusion composite dataset.(a) Average validation R 2 scores vs. masking ratios.(b) R 2 scores for each stiffness component vs. masking ratios.

Figure 11 :

128Figure 11: Partial fine-tuning results on the short-fiber dataset (masking ratio = 85%).(a) Average R 2 scores vs. number of transformer blocks fine-tuned.(b) R 2 scores for each component vs. the number of transformer blocks fine-tuned.

129error = max i=1,...,n σ DNS i − σ pred i max i=1,...,n σ DNS i

Figure 12 :

130Figure 12: Effect of dataset size on transfer learning performance.(a) Average R 2 scores vs. number of training instances.(b) R 2 scores for individual stiffness components vs the number of training instances.

Figure 13 :

131Figure 13: Validation error during offline training for MMAE models pre-trained with different masking ratios.

Figure 14 :

132Figure 14: Predicted stress-strain responses for four previously unseen RVEs under complex loading.Insets show the corresponding microstructures, with phase distributions (red: Phase 1, blue: Phase 2).

Figure 15 :

133Figure 15: Impact of random seed initialization on linear probing results for the short-fiber composite dataset.(a) Mean validation R 2 scores across all stiffness components vs. mask ratio.(b) Component-wise validation R 2 scores.Error bars indicate ±1 standard deviation over five independent runs.

4 :

134(a, b) ← COMPUTEELLIPSEAXES(N p , v f , A r )

Table 1 :

135Training cost comparison across different transfer learning strategies.

Table 2 :

136Material properties for Phase 1 and Phase 2.

137Young modulus E Poisson ratio ν Yield stress σ y Tangent modulus

Table 3 :

138Relative stress prediction errors of inferred IMNs.

참고문헌 20건

  1. Establishing size effects in discontinuous fibre composites using 2D finite element analysis Computational Materials Science · Elsevier BV · 2012 10.1016/j.commatsci.2012.05.067
  2. Random sequential adsorption Journal of Theoretical Biology · Elsevier BV · 1980 10.1016/0022-5193(80)90358-6
  3. 2D versus 3D probabilistic homogenization of the metallic fiber-reinforced composites by the perturbation-based stochastic Finite Element Method Composite Structures · Elsevier BV · 2013 10.1016/j.compstruct.2013.10.035
  4. Determination of RVE size for random composites with local volume fraction variation Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2016 10.1016/j.cma.2016.03.002
  5. Prediction and optimization of mechanical properties of composites using convolutional neural networks Composite Structures · Elsevier BV · 2019 10.1016/j.compstruct.2019.111264
  6. Teaching solid mechanics to artificial intelligence—a fast solver for heterogeneous materials npj Computational Materials · Nature Portfolio · 2021 10.1038/s41524-021-00571-z
  7. Micromechanics-based material networks revisited from the interaction viewpoint; robust and efficient implementation for multi-phase composites European Journal of Mechanics - A/Solids · Elsevier BV · 2021 10.1016/j.euromechsol.2021.104384
  8. Interaction-based material network: A general framework for (porous) microstructured materials Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.114300
  9. A Comparison of Three Methods for Selecting Values of Input Variables in the Analysis of Output From a Computer Code Technometrics · Taylor & Francis · 2000 10.1080/00401706.2000.10485979
  10. Microstructure-guided deep material network for rapid nonlinear material modeling and uncertainty quantification Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.115197
  11. 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) 2022 10.1109/cvpr52688.2022
  12. LS-DYNA Machine Learning–Based Multiscale Method for Nonlinear Modeling of Short Fiber–Reinforced Composites Journal of Engineering Mechanics · American Society of Civil Engineers · 2023 10.1061/jenmdt.emeng-6945
  13. MizAR 60 for Mizar 50 DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · Schloss Dagstuhl – Leibniz Center for Informatics · 2023 10.4230/lipics.itp.2023.19
  14. Masked Autoencoders for Unsupervised Anomaly Detection in Medical Images Procedia Computer Science · Elsevier BV · 2023 10.1016/j.procs.2023.10.084
  15. Pre-trained transformer model as a surrogate in multiscale computational homogenization framework for elastoplastic composite materials subjected to generic loading paths Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2024 10.1016/j.cma.2024.116745
  16. Graph-enhanced deep material network: multiscale materials modeling with microstructural informatics Computational Mechanics · Springer Science+Business Media · 2024 10.1007/s00466-024-02493-1
  17. Structure-based out-of-distribution (OOD) materials property prediction: a benchmark study npj Computational Materials · Nature Portfolio · 2024 10.1038/s41524-024-01316-4
  18. A comprehensive survey on pretrained foundation models: a history from BERT to ChatGPT International Journal of Machine Learning and Cybernetics · Springer Science+Business Media · 2024 10.1007/s13042-024-02443-6
  19. Decoding material networks: exploring performance of deep material network and interaction-based material networks Journal of Mechanics · Cambridge University Press · 2024 10.1093/jom/ufae053
  20. Orientation-aware interaction-based deep material network in polycrystalline materials modeling Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2025 10.1016/j.cma.2025.117977