A large language model and denoising diffusion framework for targeted design of microstructures with commands in natural language
간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지(10) 아라미드
기본 정보
- 저자
- DOI
- 10.1016/j.cma.2025.117742
- 저널
- Computer Methods in Applied Mechanics and Engineering
- 발행년도
- 2025
- 발행기관
- Elsevier BV
- 피인용수
- 3
- 라이선스
- cc-by-nc
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1016/j.cma.2025.117742
- 토픽
- Composite Material Mechanics
- OpenAlex ID
- W4406824596
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 엔지니어링 플라스틱 · (23) 컴파운드
- 부 분야
- (21) 에폭시수지, (10) 아라미드
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- microstructure design, inverse design, generative AI, mechanical properties, Denoising Diffusion Probabilistic Models
- 판단 근거
- 본 논문은 자연어 명령을 통해 원하는 기계적 물성을 가진 미세구조(microstructure)를 설계하는 생성형 AI 프레임워크를 다룹니다. 이는 코오롱인더스트리의 컴파운드(23)나 에폭시/아라미드(21, 10) 등 고기능성 소재의 물성 최적화 및 미세구조 설계 공정에 응용 가능한 방법론입니다.
- R&D 활용 포인트
- 신규 고분자 컴파운드나 복합소재 개발 시, 목표로 하는 강도·탄성 등 기계적 물성을 입력하면 최적의 미세구조를 역설계(Inverse Design)하는 AI 모델 구축에 활용 가능합니다.
- 평가 입력
- 본문 96,116자 중 30,032자 발췌
초록
본문 96,116자
본문 펼치기
섹션 본문 100문단 · 63,403자
(제목 없음)
1Microstructure plays a critical role in determining the macroscopic properties of materials, with applications spanning alloy design, MEMS devices, and tissue engineering, among many others.Computational frameworks have been developed to capture the complex relationship between microstructure and material behavior.However, despite these advancements, the steep learning curve associated with domain-specific knowledge and complex algorithms restricts the broader application of these tools.To lower this barrier, we propose a framework that integrates Natural Language Processing (NLP), Large Language Models (LLMs), and Denoising Diffusion Probabilistic Models (DDPMs) to enable microstructure design using intuitive natural language commands.Our framework employs contextual data augmentation, driven by a pretrained LLM, to generate and expand a diverse dataset of microstructure descriptors.A retrained NER model extracts relevant microstructure descriptors from user-provided natural language inputs, which are then used by the DDPM to generate microstructures with targeted mechanical properties and topological features.The NLP and DDPM components of the framework are modular, allowing for separate training and validation, which ensures flexibility in adapting the framework to different datasets and use cases.A surrogate model system is employed to rank and filter generated samples based on their alignment with target properties.Demonstrated on a database of nonlinear hyperelastic microstructures, this framework serves as a prototype for accessible inverse design of microstructures, starting from intuitive natural language commands.
Introduction
2Microstructure plays a critical role in determining macroscopic properties across various fields.Alloy phase distribution significantly affects mechanical properties (Wang et al., 1995;Kang and Yang, 2019); microfeature precision in MEMS devices directly influences performance (Osiander et al., 2018); and in tissue-engineered scaffolds, the cellular arrangement impacts cell growth and differentiation (Chen et al., 2015).The widespread relevance of microstructure in these and other domains is underscored by the search term "inverse design of microstructure," which yields approximately 546,000 results on Google Scholar as of July 2024, reflecting the vast scope of applications aimed at understanding the inverse mapping from material properties and behaviors to microstructure (Jain et al., 2014;Bostanabad et al., 2018).
3Numerous computational methods have been developed across fields to optimize microstructures for desired properties.Topology optimization, often paired with finite element methods (FEM), models used to validate the generated microstructures.Section 5 details the training and testing results of the individual components of the proposed framework.Section 6 demonstrates the deployment of the ensemble framework to generate microstructures starting from commands in natural language.Finally, concluding remarks and future directions are presented in Section 7.
Natural language processing and generative AI framework for microstructure generation from commands in natural language
4The framework detailed in this paper integrates NLP techniques and generative modeling to streamline the design and generation of complex microstructures.The overall framework is divided into two main components: the NLP component and the microstructure generation component, as demonstrated in Fig. 1.The NLP component utilizes an LLM to create and augment a text descriptor database to address the lack of a compiled text-based microstructure descriptor dataset in the literature.An NER model is then retrained on this database to extract specific microstructure descriptors from commands in natural language.The extracted descriptors are input to the microstructure generation component which employs a DDPM.This model generates microstructure samples with the extracted descriptor target properties by learning to reverse a conditional Markov diffusion process.Additionally, a system of surrogate models is implemented to rank and filter the generated microstructures, ensuring that the samples align with the desired properties specified in the input.This ensemble framework aims to lower the barrier to complex design, allowing for efficient microstructure generation starting from commands in natural language.
5In Section 2.1, the use of large language models for the generation and augmentation of text descriptor data sets for microstructures is introduced.In Section 2.2, we discuss our retrained NLP pipeline that extracts microstructure descriptors from text.In Section 2.3, we describe the DDPM model framework that involves embedding the extracted microstructure descriptors in a latent space to perform conditional microstructure generation with targeted properties.
Large language models for contextual data augmentation in mechanics
6Transformer-based architectures, initially proposed by (Vaswani et al., 2017), revolutionized NLP -the task of enabling computers to understand, interpret, and generate human language (Chowdhary and Chowdhary, 2020), by introducing the concept of self-attention mechanisms.This approach significantly improved the models' ability to capture long-range dependencies in text, surpassing the limitations of recurrent neural networks (RNNs) and convolutional neural networks (CNNs) (Yin et al., 2017).Subsequent developments on text embedding, such as the bidirectional encoder representations (BERT) model by (Devlin et al., 2018), further refined the transformer architecture by incorporating pre-training techniques on large corpora, leading to state-of-the-art performance in a variety of NLP tasks.
7The exponential growth in computational resources and the availability of generalist extensive annotated datasets have been pivotal in the development and refinement of LLMs (Narayanan et al., 2021).Models like GPT-3, trained on billions of tokens from the web, exemplify the scalability and generative capabilities of modern LLMs (Brown et al., 2020).This scale of training enables models to generate coherent and contextually relevant text, pushing the boundaries of what was previously achievable in automated language understanding and generation.For more general areas of interests, large datasets are readily available through books, web texts articles, and other pieces of writing on the internet to train and fine-tune these models.For more specific areas such as in finance (Wu et al., 2023) and medicine (Thirunavukarasu et al., 2023), datasets have to be sourced, curated, and annotated carefully to allow for language understanding of domain-specific knowledge.
8However, to our knowledge, there exists no obvious and well-curated database of text descriptors of microstructures, their properties, and their corresponding material responses.While microstructure behavior description can be conveyed in natural language, it is heavily based on numerical (Anovitz and Cole, 2015), symbolic (Bahmani et al., 2024), or other data structure descriptors such as 2D and 3D images (Mohammed and Abdullah, 2018;Nguyen et al., 2022), series (Fullwood et al., 2008), level sets (Vlassis and Sun, 2021), graphs (Vlassis et al., 2020), among many others.Text descriptors are plentiful in the mechanics literature there is no compiled source of data that is readily available for retraining a domain-specific LLM.
9In this work, we reconcile this gap in data by introducing a contextual data augmentation framework.Contextual data augmentation is a method that enhances labeled sentence datasets by replacing words within sentences with other contextually appropriate words often predicted by a bidirectional language model (Kobayashi, 2018;Wu et al., 2019).This technique operates under the assumption of invariance, which means that sentences remain natural and maintain their original labels even when words are substituted with others having paradigmatic relations.Unlike synonym-based augmentation, which is limited by the scarcity of exact synonyms, contextual augmentation uses a broader range of substitutes, ensuring a more diverse augmentation while preserving label compatibility.This method involves stochastic word replacements, guided by the surrounding context.Often quality control of this method is employed, such label-conditional architectures (Kobayashi, 2018) to prevent replacements that might conflict with the sentence's original content, ensuring the generated sentences remain plausible and beneficial for model training.Contextual data augmentation has been used to enhance NLP pipelines such as in machine translation (Gao et al., 2019) where available data has been sparse.
10Contextual data augmentation is based on replacement of context-relevant words from a template sentences.While these templates can be readily available for general interest text, there exist none readily accessible and compiled in the mechanics literature.We remedy this by borrowing a concept of information retrieval and text data augmentation using LLMs (Kumar et al., 2020;Feng et al., 2021) from the NLP literature.LLMs have been previously used in augmenting text datasets to increase the volume and diversify data points by prompting (Yoo et al., 2021;Bonifacio et al., 2022;Sahu et al., 2022) or to generate data sets for domain-specific tasks where the data can be sparse or nonexistent altogether (Tan et al., 2023) usually paired with a retraining of language model or another NLP algorithm.Similar to these works, we employ a pretrained transformer model, specifically the generative pretrained transformer GPT-4 (Achiam et al., 2023) to massively generate template phrases to perform contextual data augmentation, eliminating user bias during data collection.
11Thus, our microstructure text descriptor data generation and augmentation is two-fold.First, we utilize a pretrained LLM to efficiently generate and curate template phrases from a single mechanicsspecific prompt.The template prompts will hold placeholders of numerical and symbolic expression microstructure and behavior descriptors of the hyperelastic microstructures of this work.The details of the generation are discussed in Section 3.2.Second, we performed contextual data augmentation based on these templates.The placeholder phrases will be replaced by real descriptors from a separate mechanics dataset of material property entries such as topology labels, material coefficients, and mechanical response expressions.This augmented dataset will be used to train and validate the NER model in this work as discussed in the following section.
Named Entity Recognition
12To incorporate natural language commands into the framework, text embedding was initially considered due to its current performance and utilization in established frameworks such as text-toimage generators (Rombach et al., 2022;Ramesh et al., 2021).While these works succeeded in using embedding architectures to convey descriptions of general images, embedding architectures are not specialized to handle numerical data and other microstructure and mechanical response descriptors.Furthermore, embedding methods struggle with encoding information that includes critical alphanumeric data (Sundararaman et al., 2020) where certain parts of the sentence, such as microstructure descriptors, are more important than the surrounding natural language commands.This issue of precision in embeddings of semantically identical but different in formatting commands will also be discussed in Section 5.1.
13To address these limitations, NER was employed.NER is a specific subtask of NLP that identifies and classifies key name entities within unstructured text, A named entity is defined as "a proper noun, serving as a name for something or someone", such as persons, locations, organizations, and geopolitcal enitities.However, they are extended to concepts that do not fall into these categories such as dates, times, prices.They also often involve multi-word phrases distinguishing NER from simple single word labeling (tagging).More entity types can be reintroduced by retraining and finetuning these algorithms making them highly suitable for extracting relevant information from large volumes of natural language documents in various fields such as medicine (Nadkarni et al., 2011) and finance (Zhao et al., 2021).
14Extracting these entities often involves a series of pre-processing steps to prepare the unstructured text which collectively ensure accurate identification and classification of the entities.We base the implementation of our NER models on Honnibal and Montani (2017).This is a transition based approach instead of a traditional tagging framework implementation (Borthwick, 1999;Marquez et al., 2005).A transition based NER model is a finite-state automaton that operates on the sequential input of words as a queue derived from the input sentence similar to a stack data structure.The model then iteratively transitions between states using a trained convolutional neural network to select the optimal action from a predefined set.This action set included operations such as advancing through the queue, assigning tags to words, combining words into one entity, and several others.At each state the model uses the previous history of actions and decisions to determine which action is best for the current state, leading to the score of a state to be represented as used in Watanabe and Sumita (2015) :
15where ρ is the score for a given decision d, leading to the score of a decision to be dependent on all previous decisions made d 0 , d 1 , d 2 ...d j−1 0 .And by using a neural models instead of linear trained models such as used in Zhu et al. (2013), a neural model can have a effectively infinite stack and queue history.
16The implemented entity recognition architecture follows the "embed, encode, attend, predict" framework.Initially, each word in the text is transformed into dense embeddings, where key attributes such as the normalized form (lowercased version of the word), prefix, suffix, and word shape (pattern of letters and digits) are extracted.These attributes are then encoded though hashing, which involves mapping each attribute to a fixed-size embedding table using multiple random keys.This ensures that even unfamiliar words receive unique representations by spreading them across different positions in the table.These embeddings are concatenated and fed into a multi-layer perceptron (MLP), a type of neural network with multiple fully connected neural network layers, using maxout units to enhance learning capabilities, followed by layer normalization to stabilize and accelerate the training process, producing context-aware vectors for each word.
17Across the algorithm, we come across two types of embeddings: non-contextual and contextual (Qiu et al., 2020).Non-contextual embeddings assign a single context-independent vector to each word, learned from a large corpus using self-supervision (Mikolov et al., 2013).However, they struggle with polysemy -words with multiple meanings are reduced to a single representation, and the out-of-vocabulary problem -they can only generate embeddings for words they have encountered in the training set.Contextual embeddings, on the other hand, provide token representations that consider the entire input sequence, capturing context-dependent word meanings.These embeddings are generated by neural contextual encoders (Li et al., 2020), which use deep neural networks to encode context, achieving state-of-the-art performance on various NLP tasks when trained on large data.
18So in this framework, the non-contextual encoded word vectors are further refined using CNNs, which capture contextual information from neighboring words.In this case, a trigram CNN layer is used to concatenate the vector representations of a token and its two neighbors.For example, a window of words on either side of the target word is concatenated to form a 384-dimensional vector.This vector is then processed through an MLP, reducing it back to 128 dimensions, effectively recalculating the word's meaning based on its context.This process is repeated across multiple layers, with residual connections by adding the input of each layer to its output and ensuring that the original information is preserved and preventing overfitting.Finally, a transition-based structured prediction framework is used, treating the NER task as a sequence of state transitions.The model starts with no output and iteratively processes each word, applying actions such as "begin entity" or "continue entity" to dynamically predict and classify named entities.This approach combines the strengths of tagging and parsing, ensuring flexibility and accuracy in identifying complex entity boundaries.
19It is noted that we opt for this algorithm as it results in an efficient NER model that is computationally cheaper and faster than traditional recurrent neural networks and the transformer models, while maintaining competitive performance (Li et al., 2020).
Denoising diffusion probabilistic models for conditional microstructure generation
20The framework for DDPMs originated from the work of Sohl-Dickstein et al. (2015), which introduced a class of generative models that learn to approximate a data distribution by reversing a multi-step, gradual noising process.Building on this, Ho et al. (2020) further advanced the concept, establishing DDPMs as equivalent to score-based generative models.These models learn the gradient of the log-likelihood of the data distribution via denoising score matching (Hyvärinen and Dayan, 2005).DDPMs have demonstrated success in generating realistic data, with applications spanning image generation (Song et al., 2020;Ramesh et al., 2022;Rombach et al., 2022), audio synthesis (Chen et al., 2020;Kong et al., 2020), and time-series forecasting (Rasul et al., 2021).The DDPM architecture consists of two processes: a forward process and a reverse process.The forward process progressively applies Gaussian noise to the input data, corrupting the sample, while the reverse process, modeled using neural networks, learns to denoise the sample by approximating the reverse Gaussian noise process at each step.Training occurs using sample pairs at arbitrary timesteps during the noising process.
21An important extension of DDPMs is conditional generation, where models are conditioned on specific inputs or descriptors to generate target outputs with desired characteristics.Conditional DDPMs have been successfully employed in generating microstructures based on predefined microstructural descriptors (Vlassis and Sun, 2023), allowing for targeted design in applications where specific material properties are required.This work reviews both the general DDPM framework and its adaptation for generating microstructures conditioned on such descriptors.
Forward Process
22Provided a data set containing the distribution q(x 0 ), a iterative forward noising process is introduced to process each sample x 0 within the dataset to generate progressively noisy latent space data x 1...T .This noising is defined as a Gaussian noise for timestep t with a variance schedule β t ∈ (0, 1), which is iteratively applied until time T where the original sample information is completely destroyed for very large T. The complete noising process is stated as the product of consecutive conditionals:
23where the noising process between two timesteps is defined as:
24Using α t := 1 − β t along with ᾱt := ∏ t s=0 α s , an arbitrary latent noisy sample at time t can be defined along with the forward step using
25and the noisy sample would be
26where ϵ ∼ N (0, I) is a random variable.Using the Bayes theorem, the posterior is found as
27using the mean of the Gaussian and variance respectively as:
Conditional reverse process for targeted microstructure generation
28The DDPM in this work is tasked to reverse the above noising process and perform conditional generation of microstructures -that is sample microstructures given target properties.Conditional generation is achieved by expanding on Vlassis and Sun (2023) which adapted the approach of Ramesh et al. (2022).Instead of generating images with textual descriptions and classes, we utilize embedded context vectors that carry the relevant material descriptor information for generating microstructure samples.
29The generation is conditioned on y 1 , y 2 , . . ., y n for i = 1, 2, . . .n material descriptors which will act as target input.The descriptors hold information about the material topology, coefficients, and mechanical response.For each desired target y i , a corresponding context embedding neural network ζ i is defined, embedding each target property into individual feature vectors ζ i (y i ).The architecture of these embedding frameworks depends on the data structure representing the corresponding target input.This allows for the flexibility and multi-modality of the framework -multilayer perceptrons can be used for scalar and tensor values, convolutional neural networks for conditioning with images, graph encoders for use with graphs, and so on.
30With individual embedded feature vectors generated, an embedded context vector is formed with:
31Partial conditioning can also be performed where not all microstructure descriptors have to be provided.For such cases, we input context y i = y i,Ø , which is a pre-defined placeholder value in the corresponding data structure (e.g. a zero tensor).
32The vector ζ context can be representative of all possible combinations for context inputs y i , and y i,Ø .For example, in our work we have n = 3 types of context inputs, whose properties and their definitions are elaborated within section 3.As such, ζ context can contain all 8 possible combinations of inputs including unconditional cases (y i = y i,Ø for all i), conditional on one y i , pairs of y i , and fully conditioned cases with all three y i inputs provided.It is noted that these generated context vectors are invariant to the time vector and stay constant during the reverse process.
33Provided the ζ context vectors for each sample, the conditional reverse process q(x t−1 |x t , ζ context ) can be defined.An approximation p θ of the reverse process is learned by a neural network, usually a U-net (Ronneberger et al., 2015).When T → ∞ and β t → 0, the distribution q(x t−1 |x t ) to be learned approaches a diagonal Gaussian distribution.Thus, the neural network can learn the mean µ θ and the diagonal covariance Σ θ , such that:
34Ho et al. ( 2020) demonstrate that the model can learn the mean of the process by predicting ϵ θ and we extend to generation conditioned on ζ, such that:
35Following the improved formulation of DDPMs (Nichol and Dhariwal, 2021), our network also learns the variance of the process by estimating a vector v conditioned on ζ, such that:
36The model is optimized with the hybrid learning objective:
37where λ = 0.001 is a scaling factor of the loss terms L µ and L vlb and set to 0.001 as used by Nichol and Dhariwal (2021).The term L µ optimizes the approximated µ θ , such that:
38by randomly sampling t to estimate a variational lower bound.The term L vlb optimizes the approximated Σ θ using:
39where:
40Each term in the above optimizes the Kullback-Leibler (KL) divergence between the Gaussian distributions of two successive denoising steps:
41It is noted that the weights of the embedding networks ζ i will be optimized with back-propagation along the DDPM U-Net model using the same loss function in Eq. ( 12).
42In this work, the reverse process is approximated by a U-net architecture.It is a modified version of the implementation of Nichol and Dhariwal (2021), that was based on the image datasets ImageNet (Deng et al., 2009) and CIFAR-10 ( Krizhevsky et al., 2009) of size 64 by 64 pixels along with the typical 3 channels for color.The property distribution maps used within this work are 28 by 28 pixels in size and have a single channel, as such a reduced size of the U-net architecture was used.The configured U-net contains 4 total steps comprised of 2 down-sampling and 2 up-sampling steps, each step containing 3 residual blocks.Eight attention heads (Vaswani et al., 2017) with identical amounts of channels were used.The base modal channel size was selected as C = 64, with the U-net channel depth pattern following [C, 2C, 4C].For the time vector used in the forward and reverse process, a sinusoidal positional embedding for time was implemented to compute unique representations of each time step in a continuous domain.
Training Database
43In this section, we describe the database used to train and validate the models in this work.In Section 3.1, we introduce the database of microstructures and the descriptors we use to describe them.In Section 3.2, we discuss how we perform the contextual data augmentation to acquire text-based descriptors to train the NLP components of our framework.
Mechanical MNIST with additional descriptors
44The training database that this work is based on is an extension of the MNIST dataset of handwritten digits (Deng, 2012) -a classical computer vision benchmark dataset.We utilize the extension of this dataset, Mechanical MNIST (Lejeune, 2020), a database that treats the 28 by 28 grayscale images of the original database as maps of hyperelastic material property distributions.Specifically, every image is a distribution of a Young's modulus E following:
45where β is the grayscale pixel intensity.The higher the pixel intensity, the stiffer the material at that point.The digit corresponds to a stiff inclusion in a soft matrix, with the pixels with a maximum intensity corresponding to a point with two orders of Young's modulus higher than the soft matrix.The Poisson ratio is considered constant, ν = 0.3.The underlying model is a Neo-Hookean energy functional.The Mechanical MNIST dataset consists of 60,000 training and 10,000 testing pairs of property distribution maps, and finite element simulations including uniaxial tension, shear, biaxial tension simulations among others.We use the uniaxial extension Test subset for this study.From every finite element simulation, we utilize the homogenized energy functional curve, ψ, over 13 imposed displacement steps (d = [0.0, 0.001, 0.01, 0.1, 0.5, 1.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0]) as demonstrated in Fig. 2. We expand this database with additional microstructure and material response descriptors to benchmark our NLP and microstructure generation tasks.In this work, every sample is characterized by a topology label describing the shape of the stiff inclusion that corresponds to the original MNIST digits, integers from 0 to 9. We also introduce a metric of the size of the inclusion.The scalar inclusion ratio is defined as:
46where A stiff is the area of the stiff inclusion, and A total is the total area of the microstructure.The points, or pixels, that are counted in the stiff inclusion have a Young's modulus larger than 1.The Young's modulus of the soft matrix is 1, corresponding to a pixel intensity of 0.
47To facilitate the introduction of the material response in our text-based algorithms, we represent the recorded energy functional ψ from the FEM simulations as a symbolic expression.We perform symbolic regression on the 70,000 ψ curves of the training and testing datasets to acquire polynomial expressions of the form αx 3 + βx 2 + γx for every sample.The symbolic expressions are stored as string variables.The original ψ curve can be recovered by evaluating the symbolic expression.It is noted that the polynomial regression may lead to small loss in precision of the recorded psi representation.However, it is considered minimal in this work, with the main focus being a simple textual representation.More complex and precise symbolic representations will be considered in future work.
48The last descriptor introduced in this work is a text prompt description of a microstructure.Stored as a string variable, the text prompts carry information about the microstructure, the shape and size, as well as its hyperelastic response, including all or a subset of the topology label, inclusion ratio, and ψ symbolic expression.Construction of these prompts will be discussed in the following section.
49Thus, every sample in the dataset is described by a Young's modulus distribution map, a set of 13 energy functional recorded values, an integer topology label, a scalar inclusion ratio, a symbolic expression of ψ, and a text prompt.An example of these descriptors can be seen in Figure 2.
Mechanics contextual data augmentation with LLMs
50The main challenge of training our NLP framework component was the lack of a text-based dataset of microstructure descriptors.Manually compiling sets of phrases was an option.However, the effort required and the risk of high bias in the dataset from using a small number of writers led to the decision to opt for a LLM-based data augmentation.
51The database of the text prompt descriptors introduced in this work is acquired through contextual data augmentation as described in Section 2.1.To perform the data augmentation a set of template prompts and a set of context descriptors are required.The template prompts are acquired through the paraphrasing of a master template with the GPT-4 architecture (Achiam et al., 2023).As a master prompt, we utilize the phrase: "Generate a microstructure that looks like the number MNIST LABEL, has an inclusion ratio of INCLUSION RATIO, and an energy functional of EN-ERGY FUNCTIONAL."MNIST LABEL, INCLUSION RATIO, and ENERGY FUNCTIONAL are placeholders for which the data augmentation is performed.GPT-4 is tasked to paraphrase the master prompt continuously until 150 prompt templates are collected.Duplicate prompts are automatically removed and prompts for which the paraphrasing is considered unsuccessful are manually deleted.The complete set of 150 templates is evaluated and split into sets of 100 and 50 for generating training and testing sets respectively.
52These sets are then used as the basis for contextual data augmentation.We randomly subsample templates from the training and testing sets of the generated template pool.We also randomly select topology labels, inclusion ratios, and symbolic expression descriptors from the training and testing sets of the Mechanical MNIST database as described in the previous section.The placeholders in the prompts are substituted with the selected descriptors to generate text descriptors to train and validate our NER model.Specifically, we generate 5,000 training and 10,000 testing prompts with replacement.It is noted that when selecting the descriptors to replace in the templates, we do not necessarily select descriptors from the same mechanical MNIST sample.The success of the training of the NER model will be evaluated for the recognition of the descriptors for the given prompt syntax, and will be unaffected by the relationship between descriptors.
Surrogate model filter system
53The probabilistic nature of the microstructure generation in this work may lead to unexpected properties in the samples.To rank and filter out the generated microstructures that do not fulfill the expected property standards, we introduce a filter system that consists of offline trained neural networks and post-hoc calculations.Specifically, we train neural network topology label classifier, a neural network energy functional predictor, and post hoc calculate the generated inclusion ratios.
54To validate the stiff inclusion shapes, we train a single classifier neural network architecture to identify the topology labels in the generated samples.The neural network implemented in this script is a simple classifier designed using a fully-connected architecture.It consists of three linear layers: the first layer takes the flattened 28x28 pixel images from the MNIST dataset and outputs 1024 features.The second layer reduces the 1024 features to 512, and the final layer outputs 10 features corresponding to the 10 classes of the MNIST dataset.The ReLU activation function is applied after the first two layers, and the log-softmax function is used at the output layer to produce probability distributions over the classes.Preprocessing involves normalizing the topologies using standard mean and standard deviation values.The model is trained using the Negative Log-Likelihood loss function and the NAdam optimizer with a learning rate of 0.01.Training is conducted for 100 epochs with a batch size of 64.A scheduler adjusts the learning rate by a factor of 0.9 if the validation loss plateaus for 2 epochs.The model was trained on the 60,000 and tested on the 10,000 MNIST sets.The model achieves an average loss of 0.1685 and an accuracy of 96% for the training set and an average loss of 0.2126 and an accuracy of 95% for the testing set.It is noted that a more robust classifier could be trained but as it will be discussed later, the classification test in this work was performed as a sanity check and in small generation batches the labels can be manually checked individually.
55The second surrogate neural network implemented follows the same architecture as described in Vlassis and Sun (2023) and is intended to replace costly full-scale finite element uniaxial extension simulations to validate the generated microstructures demonstrating the target energy functionals.The model inputs the Young's modulus distribution maps and outputs a hyperelastic energy functional curve.The model consists of two convolutional layers, each with a kernel size of 3, stride of 1, and padding of 1.The first convolutional layer has 1 input channel and 16 output channels, while the second layer has 16 input and output channels.The output of the first convolutional layer is down-sampled by a Max Pooling layer with a kernel size of 2 and stride of 2, which selects the maximum value over a 2x2 window.The second convolutional layer's output undergoes the same down-sampling process.This output is then flattened into a single dimension to represent the extracted features.Subsequently, the flattened output is fed into three fully-connected layers with 120, 84, and 13 neurons, respectively.The output size of 13 corresponds to the number of time steps in the Mechanical MNIST uniaxial extension curves.ReLU activation functions are applied to the outputs of the CNN and dense hidden layers, while the final output uses a Linear activation function.
56The kernel weight matrices are initialized with the Glorot uniform distribution, and the bias vectors are initialized with zeros.The model was trained for 200 epochs with a batch size of 256 using the Adam optimization algorithm at a learning rate of 10 −3 and a mean squared error loss function.The learning rate was reduced by a factor of 0.9 when the validation loss plateaued for 5 epochs.Training was conducted on 60,000 MNIST samples, with validation on an additional 10,000 samples, including their corresponding energy functional curves.The model achieved an average MSE of 3.96 × 10 −4 and 4.04 × 10 −4 for the training and testing sets of the Mechanical MNIST database.
57The final filter in the system is the inclusion ratio validation for the generated samples which does not require a surrogate model as it can quickly post hoc calculated with Eq. 18.By setting hyperparameter cut-off MSEs, we can quickly filter out the generated samples that do not adhere to the target inclusion ratio and energy functionals.The surrogate model filter system will be employed to efficiently validate the massively generated samples in our verification experiments and the deployment of our ensemble framework.It is noted that surrogate models are opted for due to the simplicity and speed of implementation.All these checks, can be performed manually for the topology label classification or more robustly with FEM simulations for the energy functionals.However, they were considered adequately accurate for the scope of this work.
Numerical experiments
58In this section, we demonstrate the training and validation results for the proposed framework components.In section 5.1, we investigate text embedding in the context of generation of microstructures and reason why we opt for an NER approach instead.In section 5.2, we discuss the training and testing performance of the NER implementation in recognizing the novel mechanics-related named entities within the natural language prompts.In section 5.3, we validate the DDPM algorithm though a comprehensive list of tests showcasing its performance in generating microstructures with targeted properties using combinations of prompts of increasing difficulty.In section 5.4, we demonstrate the generated sample filtering process that ranks generated microstructures to adhere to target design constraints.
Embedding counterexample
59In this work, we aim to generate microstructures with specific properties based on textual descriptions.As discussed in Section 2.2, embedding text descriptions into a high-dimensional space is often used to process and utilize semantic information contained in the text effectively.However, this embedding process can introduce issues if not handled carefully, particularly when dealing with numerical data.In this section, we provide a counterexample for why we opt not to use text embedding for our microstructure descriptors.
60For instance, consider the sentences "Generate a microstructure that has an inclusion ratio of 0.3" and "Generate a microstructure that has an inclusion ratio of 0.30."Despite being semantically identical, these sentences may produce different embeddings due to the slight variation in numerical formatting.This discrepancy arises because models like BERT (Devlin et al., 2018), which is used for natural language processing tasks, tokenize and process text at the subword level.Even minor variations in numerical formatting can lead to different token sequences, resulting in distinct token representations and ultimately different embeddings.BERT generates contextual embeddings for each token by considering both left and right context in all layers of its algorithm.
61To illustrate this issue, we generated embeddings for the two sentences using BERT.BERT provides 768-dimensional embeddings that encapsulate the semantic meaning of the input text by transforming the input tokens through multiple layers of attention mechanisms.Despite the overall similarity between the embeddings, with a high cosine similarity of 0.993, they are not identical.This slight variation in the embeddings, as depicted in Fig. 3, occurs because BERT processes the text at the subword level, meaning that even a minor difference in numerical formatting (e.g., "0.3" vs. "0.30")can result in different token sequences and hence different embeddings.The cosine similarity score indicates that while the two embeddings are close in the high-dimensional space, the minor discrepancies can still impact downstream applications.In the context of our work, this small difference in embeddings can lead to variations in the generated microstructures and, most importantly, loss of precision as the generative model might interpret identical prompts differently.This demonstrates the sensitivity of neural language models to input formatting, underscoring the need for consistent representation of numerical data to ensure reliable and accurate generation of microstructures that meet the intended specifications.
62In this paper, we address this issue by employing an NER algorithm to standardize generation targets, ensuring that they produce consistent embeddings as described in the following section.By extracting and normalizing numerical data and other key entities, we can mitigate the impact of formatting differences, leading to more reliable and consistent prompts.
NER Training and Testing
63In this section, we demonstrate the results of our retrained NER model described in Section 2.2.Specifically, we utilized 5000 context-augmented prompts derived from 100 template prompts and the Mechanical MNIST training set, as detailed in Section 3.2.For testing, we used 10,000 contextaugmented prompts from 50 template prompts and the Mechanical MNIST testing set, ensuring these prompts were not seen during training.As the basis pre-trained pipeline model, we used the "en core web lg" model, which is a large English NLP pipeline for tasks such as tokenization, partof-speech tagging, dependency parsing, and named entity recognition that can recognize and process 514,157 different words or tokens -each word or token is mapped to a 300-dimensional vector space for semantic representation.
64To retrain the NER model, we first compiled a training dataset comprising text descriptions paired with annotated entities.These entities included the MNIST label, inclusion ratio, and energy functional symbolic expression.The training process involved iteratively updating the model's parameters to optimize its ability to accurately recognize and classify these entities within the given text.The dataset was preprocessed to standardize the entity annotations, ensuring consistent formatting and alignment with the target labels.The annotated entities were formatted by specifying their location in the text using start and end indices, along with the entity type name for each data sample.
65During the training process, we froze the weights for all models in the pipeline except for the NER component.We introduced three new entity labels into the NER model: "INCLUSION RATIO", "MNIST LABEL", and "ENERGY FUNCTIONAL".The training was conducted by iterating through the annotated examples for 25 epochs.We used the Stochastic Gradient Descent (SGD) optimizer with a learning rate of 0.001.We evaluated the accuracy of the retrained NER model in extracting the MNIST label, inclusion ratio, and energy functional symbolic expression.Successful recognition was defined as the entire string being correctly identified and matching the target string exactly.The retrained NER model achieved accuracy scores of 100% for MNIST labels, 100% for inclusion ratios, and 94.07% for energy functional symbolic expressions.The errors in recognizing energy functional symbolic expressions typically involved missing terms or failing to fully recognize all polynomial terms.
66As shown in Fig. 4, the results highlight the model's capability in accurately extracting the specified entities from sample prompts and contexts from the Mechanical MNIST testing set.Given a test prompt before training (Fig. 4 (a)), the basis model can only identify that there exist numerical values in the prompt (labeled as "CARDINAL") but cannot differentiate between inclusion ratios and topology labels.After training (Fig. 4 (b)), the model has successfully introduced and can recognize the three new entity types.
67It is noted that the identified entities will be further evaluated before being input to the DDPM model, with a step of visualization for user verification (Section 6).In cases where an entity is not identified correctly, a warning is issued to the user.In future work, we plan to consider using a transformer-based NER algorithm or fine-tuning a language model to enhance performance.However, for this study, we opted for a simpler NER model for ease of implementation, training, and deployment.
Validation of the DDPM architecture
68To validate the modularity of the DDPM, we devised a comprehensive testing matrix and evaluated the trained model against it.This matrix consists of conditional generation tasks of increasing complexity, encompassing combinations of MNIST labels, inclusion ratios, and energy functionals.Our aim was to test the model's ability to generate microstructures that meet specific criteria while maintaining high performance across different conditional settings.
69We first validated whether the model performs well across any combination of the learned prompt contexts.It is noted that this validation step focuses solely on the internal representations learned by the model and is completely decoupled from the natural language text prompts.By testing these combinations, we ensure that the DDPM can effectively handle and generate microstructures based on different combinations of contextual information -crucial for verifying the model's capabilities before integrating it with natural language commands in the following section.The testing matrix is structured to cover a broad range of conditional contexts, organized into seven distinct tests, each with varying levels of complexity and combinations of target properties.The detailed structure of the testing matrix is show in Table 1.This matrix was designed to systematically challenge the DDPM with a variety of prompts that require generating microstructures under different contextual conditions.In constructing this matrix, we combined the ten MNIST labels with four target inclusion ratios, specifically {0.1, 0.2, 0.3, 0.4}, and three recorded energy functionals under tension from the mechanical MNIST testing set: one with low stored energy at the final displacement, one with energy close to the average, and one with high stored energy.These combinations were chosen to ensure that the DDPM was thoroughly tested across a diverse set of conditions, spanning all the possible combinations of the training data ranges.
70Test 1 (LL) focuses on generating microstructures based solely on MNIST labels, providing a baseline for the model's ability to recognize and generate specific digit shapes.Test 2 (II) and Test 3 (EE) individually assess the model's performance in generating microstructures with targeted inclusion ratios and energy functionals, respectively.Tests 4 (LI), 5 (LE), and 6 (EI) increase the complexity by combining two contextual factors.Test 4 (LI) involves generating microstructures conditioned on both MNIST labels and inclusion ratios, while Test 5 (LE) combines MNIST labels with energy functionals, and Test 6 (EI) tests the combination of inclusion ratios and energy functionals.The most complex test, Test 7 (LEI), involves generating microstructures based on all three contextual factors: MNIST labels, inclusion ratios, and energy functionals.This test comprises 120 unique prompts and represents the highest level of challenge for the DDPM, assessing its ability to integrate multiple contextual inputs simultaneously.In total, we have 219 unique prompts, and for each prompt, we generate 100 samples, resulting in 21,900 samples for which we evaluate the performance of the DDPM.
71We evaluate the generated samples' performance using the surrogate model system as described in Section 4. Depending on the type of test, we check for the accuracy of the MNIST label predicted with the trained classifier, post-process the inclusion ratio of the generated sample using Eq. ( 18) and calculate a mean squared error with the target prompt, and predict the energy functional using the trained CNN surrogate model, then calculate the average MSE with the target energy prompt (if such a comparison is valid for the test type).For each of the 219 prompts, we calculate the average scores over the 100 generated samples.The overall performance for these metrics for each of the prompts of the 7 tests are shown in Fig. 5.As expected, the overall error distributions show that simpler prompts generally achieve lower errors, while more complex prompts exhibit higher error rates.Some prompts perform significantly better than others, highlighting the model's varying effectiveness depending on the complexity of the generation task.
72In Test 1 (LL), which only measures label accuracies, the model performs well across the majority of the nine prompts, demonstrating its ability to generate microstructures with target MNIST labels with over 91% average accuracy as shown in Fig. 6.In Test 2 (II), which focuses on inclusion ratios, the model also performs well, with a slightly higher MSE for prompts with higher inclusion ratios, which were less represented in the training dataset as shown in Fig. 7. Test 3 (EE), evaluating energy 1. functionals, shows that the model performs rather well overall with Prompt 14 (high energy target) demonstrating the highest MSE of the three since it thee one closest to the training data range as shown in Fig. 8.For these tests, in the respective figures, we demonstrate the three selected prompts: one with the best score, one with the lowest score, and one with an average score.When there is a tie in prompt average scores, such as in Test 1 (LL), we select one randomly to demonstrate.We highlight the ranking of these prompts with labels as Good, Bad, and Average, respectively.For each prompt, we also show the first 10 samples of the 100 generated, providing a representative overview of the model's performance across different examples.
73It is important to note that while the MNIST labels in Test 1 (LL) are supposed to match the target label prompts, this is not the case in Tests 2 and 3, as well as the rest of the tests that do not include L. For example, the DDPM can generate samples that have an inclusion ratio of 0.3 but appear similar to the numbers 0, 2, 3, or 6, or an interpolation between the learned digit shape distributions (Fig. 7).This variability highlights the model's flexibility in generating diverse microstructures while still adhering to the specified inclusion ratios or energy functionals.
74In Test 4 (LI), which combines MNIST labels and inclusion ratios, the model demonstrates its ability to handle dual contextual inputs, generating microstructures that meet both criteria.The results, shown in Fig. 9, indicate that the model performs well in generating samples with accurate MNIST labels and inclusion ratios, though the inclusion ratios slightly increase the mean squared error (MSE) compared to single-context tests.For this test, we highlight three selected prompts: one with the best score, one with the lowest score, and one with an average score.The for each prompt show first 10 of 100 generated, providing a representative overview.We also observe the architecture to struggle for the first time to generate a prompt combination -Prompt 48, for which it is tasked to generate a microstructure resembling the digit 7 while having a high inclusion ratio.Difficulties similar to this can be expected, as such a combination of descriptors in the data may be underrepresented -the shape "7" is thin, and it is improbable to encounter a sample with a high inclusion ratio in the dataset.It is noted that this does not necessarily mean that the DDPM cannot generate a microstructure with these specifications but it is more unlikely to do so and may require the generation of more samples until it can be achieved.
75Test 5 (LE) evaluates the model's performance in generating microstructures based on MNIST la- bels and energy functionals.As depicted in Fig. 10, the model effectively generates samples that align with both the specified MNIST labels and energy functional targets.Similar to Test 4, we demonstrate three selected prompts with varying scores, labeled as Good, Bad, and Average.It is also highlighted, after inspecting the generated samples manually for a few prompt cases, the DDPM may succeed in achieving the generation target but is erroneously ranked poorly by the surrogate model system.For example, the results for Prompt 60 with an MNIST target label 1 and a high energy functional target are ranked poorly.The MSE for the energy functional is rather low, but the apparent predicted MNIST class accuracy is very poor.However, after inspection of the samples, we identify this is not the case.Many of the generated Prompt 60 samples do resemble the digit 1 as it can be seen in Fig. 10, but they have been misclassified by the classifier surrogate model.This is probably attributed to the DDPM learning the underlying shape distribution of the dataset better than the classifier, and is indicative of the generative capacity of the architecture to interpolate between classes of topologies.To rectify these misclassification errors, fine-tuning of the classifier weights on generated and re-labeled data could be considered in future work.However, it noted that in this work we will consider the MNIST labels as a secondary criterion of evaluating the generator's capacity to be further investigated in the future.
76In Test 6 (EI), the focus is on inclusion ratios and energy functionals, testing the model's capability to generate microstructures that adhere to both these conditions simultaneously.The results in Fig. 11 reveal that the model performs reasonably well.As with the previous tests, we display three selected prompts to illustrate the model's performance across different conditions, showing the first 10 samples generated for each prompt.Specifically, we highlight the worst performing Prompt 98 to demonstrate when the generation targets are those of unlikely combinations (low energy functionalhigh inclusion ratio), the generation may fail completely, and the samples may appear to not belong to any of the underlying topology classes.In Test 7 (LEI), which combines MNIST labels, energy functionals, and inclusion ratios, the model faces the most complex generation tasks.The results, shown in Fig. 12, indicate a high variance in performance across the prompts.Some prompts, well-represented in the training dataset, perform exceptionally well, while others perform poorly or fail completely.For instance, Prompt 218 struggles to generate valid samples, whereas Prompt 180 succeeds remarkably.These variations can be attributed to the representation of the prompts in the training data and the inherent difficulty of combining multiple contextual factors.For this test, we display three selected prompts with varying scores, labeled as Good, Bad, and Average, to illustrate the range of performance.Each figure includes the first 10 samples generated for each prompt, providing a detailed view of the model's capabilities and limitations.It is expected that some prompts perform poorly, either due to insufficient representation in the training dataset or because the specific combinations of inclusion ratios and energy responses under tension are physically improbable.
77A more comprehensive study of the similarity between dataset descriptor distributions is outside the scope of this work and will be considered in future research.This future work could include mechanisms to warn users when a target microstructure combination is improbable or not physically feasible.
78Figure 13: Empirical cumulative distribution function (eCDF) plots demonstrating the overall inclusion ratio and energy functional MSEs for Tests 2 through 7. The selected cut-off MSEs for the filtering surrogate model system are also demonstrated.
Property distribution and filtering of generated samples
79In this section, we demonstrate the effect of the distribution and the filtering of the generated samples per test.We show the probability densities of all generated microstructures and illustrate how the filtering process looks when applying our model filter to select samples with inclusion ratios and mean squared errors less than the target thresholds.Specifically, we applied a cut-off MSE of 0.01 for the inclusion ratio and 0.001 for the predicted energy functional.
80We generated a large number of microstructures (21,900) of the previous example and then filtered them based on these criteria, adjusting hyperparameters to control the flexibility and accuracy of our generated microstructures.For each prompt, we evaluate how many microstructures were initially generated and how many remained after applying the filtering criteria.This process ensures that only the most accurate microstructures, according to our surrogate model system, are considered.
81It is noted that the classifier may not always accurately predict the labels of the generated microstructures, and the energy functional predictions could be further validated with forward finite element simulations.We demonstrate the results of the filtering system using the post-processed calculated inclusion ratio and predicted energy functional under tension MSE as the criteria to filter out generated microstructures.We opt not to account for the results of the topology label classification due to the observed misclassifications discussed in the previous section.As shown in our previously published work (Vlassis and Sun, 2023), the CNN surrogate model's accuracy is generally considered sufficient for assessing the performance of the generated microstructures compared to their respective FEM predicted counterparts.Future work may involve more stringent filtering using more robustly trained surrogate models.
82The filtering results of the tests involving inclusion ratio and energy functional prompts are as follows.In Test 2 (II), out of the 400 generated samples, 340 passed the inclusion ratio cutoff.In Test 3 (EE), from 300 generated samples, 105 passed the energy functional cutoff.For Test 4 (LI), out of 4000 samples, 3355 passed the inclusion ratio cutoff.In Test 5 (LE), out of 3000 samples, 965 passed the energy functional cutoff.Test 6 (EI) showed that out of 1200 generated samples, 235 passed the energy functional cutoff, 648 passed the inclusion ratio cutoff, and 213 passed both cutoffs.Finally, in Test 7 (LEI), out of 12000 samples, 2124 passed the energy functional cutoff, 5620 met the inclusion ratio cutoff, and 1567 samples passed both criteria.The empirical cumulative distribution function (eCDF) plots of the MSE distributions for these tests can be seen in Fig. 13, which demonstrates the overall inclusion ratio and energy functional MSEs for these tests, along with the selected cutoff MSEs for the filtering surrogate model system.It is highlighted that the cut-off MSE selection is a hyperparameter that is defined based on the application at hand.Also, filtering out a large number of generated samples does not mean that the DDPM architecture is less capable of generating samples of these specifications but that it would require relatively more sampling and filtering iterations until a satisfactory quantity of them is acquired.
Ensemble test of framework
83In this section, we demonstrate the ensemble framework that combines the NLP and DDPM components to generate targeted microstructures starting from commands in natural language.The sole input of the ensemble framework is a text prompt.We input the command "Generate a microstructure that looks like the number 5 with an energy functional −0.01 * x * * 3 + 0.87 * x * * 2 + 0.12 * x under tension and an inclusion ratio of 0.25." as shown in 14(a).It is noted that this prompt is selected for demonstration purposes.The two components have been previously separately validated in the previous sections.
84The prompt input is first passed through the trained NER model.The NER model successfully recognizes the entities MNIST label (5), inclusion ratio (0.25), and energy functional symbolic expression (−0.01 * x * * 3 + 0.87 * x * * 2 + 0.12 * x).The extracted entities are stored as string variables.To acquire an acceptable input format for the DDPM, we evaluate each extracted string.The topology label string is evaluated as an integer, and is one-hot encoded -turned into vector [0, 0, 0, 0, 0, 1, 0, 0, 0, 0].The in- clusion ratio is evaluated as a float.The symbolic expression is evaluated for the 12 displacement steps from the Mechanical MNIST dataset as discussed in Section 3. The identified and evaluated descriptors are visualized in Fig. 14(b).
85The evaluated variables are scaled and input to the DDPM.The batch size of generated samples can also be selected at this point.The DDPM is tasked to continuously generate microstructures until the requested number of samples with the desired properties are acquired.This involves the validation of the batch-generated samples with the surrogate model filter system for set cut-off meansquare errors, as defined in Section 4. The results of the generation of this input prompt (Fig. 14) are demonstrated in Fig. 15.For the three generated structures, we also demonstrate the convergence of the generated descriptors over 1,000 denoising steps, starting from random noise (step 1) to generated and validated sample (step 1,000).
Conclusion
86This work presents a framework that integrates NLP and DDPM for targeted microstructure design using natural language commands.The NLP component utilizes a pretrained LLM to generate and augment text descriptors of microstructures through contextual data augmentation.A retrained NER pipeline then extracts key descriptors, such as topology labels, inclusion ratios, and energy functionals, from user-provided natural language inputs.These extracted descriptors are fed into the DDPM, which generates microstructures by reversing a diffusion process to meet the specified design targets.The key findings demonstrate the framework's effectiveness in generating microstructures with specific properties based on natural language commands.The modular structure of the NLP and DDPM components allows for adaptation to a variety of datasets and design tasks, providing flexibility for different applications.The use of a surrogate model system further improves the output of the framework by ranking and filtering the generated microstructures to ensure they closely align with the desired properties specified by the user.
Figure 1 :
87Figure 1: Schematic of overall framework components.The NLP component framework (top) involves a large language model for the generation and augmentation of text descriptor database and a retrained named entity recognition model to extract microstructure descriptors from text.The microstructure generation component (bottom) involves a denoising diffusion probabilistic model framework and system of surrogate models for ranking and filtering the massively generate microstructure samples.
88Figure 2: A sample of the training dataset of the framework consists of the FEM recorded homogenized energy functional under tension as well as the topology label, the inclusion ratio, a symbolic expression of the energy functional, and a text description of the microstructure.
Figure 3 :
89Figure 3: Embedding of two semantically identical microstructure descriptions with different formatting of descriptors leads to different text embeddings.
Figure 4 :
90Figure 4: (a) Results for one prompt before retraining the NER model.(b) NER results for 5 prompts and contexts from the Mechanical MNIST testing set after retraining.
Figure 5 :
91Figure5: Overall performance of all the 219 combination prompts for the seven tests described in Table1.
Figure 6 :
92Figure 6: Performance and generated samples for three prompts from Test 1 (LL) testing conditional generation with targeted MNIST labels.
Figure 7 :
93Figure 7: Performance and generated samples for three prompts from Test (II) testing conditional generation with targeted inclusion ratios.
Figure 8 :Figure 9 :
94Figure 8: Performance and generated samples for three prompts from Test 3 (EE) testing conditional generation with targeted energy functionals under tension.
Figure 10 :
95Figure 10: Performance and generated samples for three prompts from Test 5 (LE) testing conditional generation with targeted MNIST labels and energy functionals under tension.
Figure 11 :
96Figure 11: Performance and generated samples for three prompts from Test 6 (EI) testing conditional generation with targeted energy functionals under tension and inclusion ratios.
Figure 12 :
97Figure12: Performance and generated samples for three prompts from Test 7 (LEI) testing conditional generation with targeted MNIST labels, energy functionals under tension, and inclusion ratios.
Figure 14 :
98Figure 14: Steps 1 and 2 of the ensemble framework.(a) Step 1: The context named entities are identified by the NER.(b) Step 2: The context named entities are evaluated as numerical values to be then passed to the DDPM.
Figure 15 :
99Figure 15: Steps 3 and 4 of the ensemble framework for the context prompt of Fig. 14 for three generated samples (a, b, and c) for denoising steps 1, 500, and 1000.Step 3: Samples are generated by the DDPM.Step 4: The samples are validated by the classifier NN, the inclusion ratio calculation, and the CNN surrogate model.
Table 1 :
100Description of tests and corresponding contexts for the evaluation of the trained DDPM architecture.
참고문헌 71건
- (제목 없음) Policy Sciences · Springer Science+Business Media · 1999 10.1023/a:1004706019826
- MEMS and Microstructures in Aerospace Applications CRC Press eBooks · Informa · 2010 10.1201/9781420027747
- A maximum entropy approach to named entity recognition 1999
- Estimation of Non-Normalized Statistical Models by Score Matching Journal of Machine Learning Research · The MIT Press · 2005
- Efficient Estimation of Word Representations in Vector Space arXiv (Cornell University) · Cornell University · 2013 10.48550/arxiv.1301.3781
- Inverse methods for material design AIChE Journal · Wiley · 2014 10.1002/aic.14491
- U-Net: Convolutional Networks for Biomedical Image Segmentation Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-24574-4_28
- A genetic algorithm based inverse band structure method for semiconductor alloys Journal of Computational Physics · Elsevier BV · 2005 10.1016/j.jcp.2005.03.005
- Semantic role labeling as sequential tagging 2005 10.3115/1706543.1706579
- The MNIST Database of Handwritten Digit Images for Machine Learning Research [Best of the Web] IEEE Signal Processing Magazine · Institute of Electrical and Electronics Engineers · 2012 10.1109/msp.2012.2211477
- Microstructure optimization in design of forging processes International Journal of Machine Tools and Manufacture · Elsevier BV · 2000 10.1016/s0890-6955(99)00083-8
- Multiscale structural topology optimization with an approximate constitutive model for local material microstructure Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2014 10.1016/j.cma.2014.12.018
- Gradient-based microstructure reconstructions from distributions using fast Fourier transforms Materials Science and Engineering A · Elsevier BV · 2007 10.1016/j.msea.2007.10.087
- Aluminium die casting alloys: alloy composition, microstructure, and properties-performance relationships International Materials Reviews · Taylor & Francis · 1995 10.1179/imr.1995.40.6.221
- The Use of Finite Element Methods and Genetic Algorithms in Search of an Optimal Fabric Reinforced Porous Graft System Annals of Biomedical Engineering · Springer Science+Business Media · 2009 10.1007/s10439-009-9771-5
- Natural language processing: an introduction Journal of the American Medical Informatics Association · Oxford University Press · 2011 10.1136/amiajnl-2011-000464
- Transition-based Neural Constituent Parsing 2015 10.3115/v1/p15-1113
- Characterization and Analysis of Porosity and Pore Structures Reviews in Mineralogy and Geochemistry · Mineralogical Society of America · 2015 10.2138/rmg.2015.80.04
- Review of Monte Carlo Methods for the Prediction of Distributed Molecular and Morphological Polymer Properties Industrial & Engineering Chemistry Research · American Chemical Society · 2014 10.1021/ie4033044
- 3D Scaffolds with Different Stiffness but the Same Microstructure for Bone Tissue Engineering ACS Applied Materials & Interfaces · American Chemical Society · 2015 10.1021/acsami.5b02662
- Comparative Study of CNN and RNN for Natural Language Processing arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1702.01923
- Computational microstructure characterization and reconstruction: Review of the state-of-the-art techniques Progress in Materials Science · Elsevier BV · 2018 10.1016/j.pmatsci.2018.01.005
- AI-Assisted Pipeline for Dynamic Generation of Trustworthy Health Supplement Content at Scale DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · Schloss Dagstuhl – Leibniz Center for Informatics · 2018 10.4230/lipics.cosit.2022.18
- Scientific research across and beyond disciplines EMBO Reports · Springer Nature · 2019 10.15252/embr.201947682
- Soft Contextual Data Augmentation for Neural Machine Translation 2019 10.18653/v1/p19-1555
- A Review on High‐Strength Titanium Alloys: Microstructure, Strengthening, and Properties Advanced Engineering Materials · Wiley · 2019 10.1002/adem.201801359
- Contextual Augmentation: Data Augmentation by Words with Paradigmatic Relations 2018 10.18653/v1/n18-2072
- Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks 2019 10.18653/v1/d19-1410
- Do NLP Models Know Numbers? Probing Numeracy in Embeddings 2019 10.18653/v1/d19-1534
- Geometric deep learning for computational mechanics Part I: anisotropic hyperelasticity Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113299
- Estimation of Non-Normalized Statistical Models by Score Matching Journal of Machine Learning Research · The MIT Press · 2005 10.5555/1046920.1088696
- Mechanical MNIST: A benchmark dataset for mechanical metamodels Extreme Mechanics Letters · Elsevier BV · 2020 10.1016/j.eml.2020.100659
- Pre-trained models for natural language processing: A survey Science China Technological Sciences · Springer Science+Business Media · 2020 10.1007/s11431-020-1647-3
- A Survey on Deep Learning for Named Entity Recognition IEEE Transactions on Knowledge and Data Engineering · IEEE Computer Society · 2020 10.1109/tkde.2020.2981314
- Interdisciplinary engineering education: A review of vision, teaching, and support Journal of Engineering Education · Wiley · 2020 10.1002/jee.20347
- Computational Science – ICCS 2019 19th International Conference, Faro, Portugal, June 12–14, 2019, Proceedings, Part IV 2019
- Denoising Diffusion Probabilistic Models arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2006.11239
- Do Language Embeddings capture Scales? 2020 10.18653/v1/2020.findings-emnlp.439
- Denoising Diffusion Implicit Models arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2010.02502
- WaveGrad: Estimating Gradients for Waveform Generation arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2009.00713
- The Burden of Knowledge and the “Death of the Renaissance Man”: Is Innovation Getting Harder? The Review of Economic Studies · Oxford University Press · 2008 10.1111/j.1467-937x.2008.00531.x
- Exploration of optimal microstructure and mechanical properties in continuous microstructure space using a variational autoencoder Materials & Design · Elsevier BV · 2021 10.1016/j.matdes.2021.109544
- DiffWave: A Versatile Diffusion Model for Audio Synthesis arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2009.09761
- Sobolev training of thermodynamic-informed neural networks for interpretable elasto-plasticity models with level set hardening Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.113695
- Natural Language Processing CRC Press eBooks · Informa · 2021 10.1201/9781003090113-15-15
- CUAD: An Expert-Annotated NLP Dataset for Legal Contract Review arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2103.06268
- Fast inverse design of microstructures via generative invariance networks Nature Computational Science · Nature Portfolio · 2021 10.1038/s43588-021-00045-8
- GPT3Mix: Leveraging Large-scale Language Models for Text Augmentation 2021 10.18653/v1/2021.findings-emnlp.192
- ScaffoldGAN: Synthesis of Scaffold Materials based on Generative Adversarial Networks Computer-Aided Design · Elsevier BV · 2021 10.1016/j.cad.2021.103041
- A Survey of Data Augmentation Approaches for NLP 2021 10.18653/v1/2021.findings-acl.84
- Neural Natural Language Processing for unstructured data in electronic health records: A review Computer Science Review · Elsevier BV · 2022 10.1016/j.cosrev.2022.100511
- Reconstructing porous media using generative flow networks Computers & Geosciences · Elsevier BV · 2021 10.1016/j.cageo.2021.104905
- Efficient large-scale language model training on GPU clusters using megatron-LM 2021 10.1145/3458817.3476209
- Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · 2021 10.18653/v1/2021.emnlp-main
- InPars: Data Augmentation for Information Retrieval using Large Language Models arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2202.05144
- Hierarchical Text-Conditional Image Generation with CLIP Latents arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2204.06125
- 2008 IEEE Conference on Computer Vision and Pattern Recognition 2008 10.1109/cvpr12618.2008
- Synthesizing controlled microstructures of porous media using generative adversarial networks and reinforcement learning Scientific Reports · Nature Portfolio · 2022 10.1038/s41598-022-12845-7
- Data Augmentation for Intent Classification with Off-the-shelf Large Language Models 2022 10.18653/v1/2022.nlp4convai-1.5
- Data Augmentation using Pre-trained Transformer Models 2020 10.18653/v1/2020.lifelongnlp-1.3
- Evaluating the Effectiveness of Large Language Models in Representing Textual Descriptions of Geometry and Spatial Relations (Short Paper) DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · Schloss Dagstuhl – Leibniz Center for Informatics · 2023 10.4230/lipics.giscience.2023.43
- High-Resolution Image Synthesis with Latent Diffusion Models 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2022 10.1109/cvpr52688.2022.01042
- ChatGPT for good? On opportunities and challenges of large language models for education Learning and Individual Differences · Elsevier BV · 2023 10.1016/j.lindif.2023.102274
- BloombergGPT: A Large Language Model for Finance arXiv (Cornell University) · Cornell University · 2023 10.48550/arxiv.2303.17564
- Denoising diffusion algorithm for inverse design of microstructures with fine-tuned nonlinear material properties Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2023 10.1016/j.cma.2023.116126
- Inferring cancer disease response from radiology reports using large language models with data augmentation and prompting Journal of the American Medical Informatics Association · Oxford University Press · 2023 10.1093/jamia/ocad133
- Large language models in medicine Nature Medicine · Nature Portfolio · 2023 10.1038/s41591-023-02448-8
- 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
- A Survey on Evaluation of Large Language Models ACM Transactions on Intelligent Systems and Technology · Association for Computing Machinery · 2024 10.1145/3641289
- Discovering interpretable elastoplasticity models via the neural polynomial method enabled symbolic regressions Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2024 10.1016/j.cma.2024.116827
- Synthesizing realistic sand assemblies with denoising diffusion in latent space International Journal for Numerical and Analytical Methods in Geomechanics · Wiley · 2024 10.1002/nag.3818