Manuscript Offprint

arXiv:2610.08165

Which alloy composition,what process parameters? Inferring the recipe from optimized metallic microstructure and texture

Mahish K. Guru, Jan Bohlen, Louam Lemjid, Marius Tacke, Roland Aydin, Noomane Ben Khalifa

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The mechanical properties of a metallic alloy are set by its microstructure and texture: the size and shape of its grains and the orientation of their crystals. That structure is in turn set by a recipe, the alloy composition together with the processing parameters. Alloy development runs this chain forwards, tuning the structure until a target property is met. Running it backwards, from an optimized structure to the recipe that would produce it, still relies on expert knowledge. We ask whether this backwards step can be learned. On an in-house dataset of 107 magnesium alloy extrusion conditions across 14 alloys, each with optical micrographs and an X-ray texture measurement, we compare three descriptors of microstructure and texture: conventional grain and texture statistics, a vision embedding from a pretrained image encoder, and a graph neural network on the grain network. Each is paired with prediction heads for two tasks: the alloy composition given the process (Task A), and the process parameters given the composition (Task B). Under 5-fold cross-validation, the conventional descriptors identify the correct alloy for 65% of held-out conditions, against 17% for always guessing the most common alloy, while the learned embeddings stay below 30%. The process parameters are recoverable but noisier: compared with using the composition alone, the microstructure roughly halves the temperature error. Because only a few alloys were cast and only a few press settings were used, both answers are discrete, and heads that pick from these known options, while respecting their order, worked better than heads that predict a free value.

1 Introduction

Alloy development is a chain of two links. A recipe, the alloy composition together with the processing parameters, produces a microstructure and texture; that structure in turn sets the mechanical properties. Research has concentrated on the second link, and travels it in both directions. The forward leg goes from structure to property: for extruded magnesium alloys, statistical microstructure and texture descriptors predict strain-hardening behavior within a few percent [1–3]. The design leg goes from property back to structure: a mature literature describes how to tailor grains, boundaries and crystallographic orientation for a desired response [4–6], and generative latent optimization can propose microstructures for a target stress-strain curve [7]. Together these two legs deliver an optimized structure, and Preprint

Figure

Figure 1: The forward leg predicts mechanical properties from microstructure and texture; inverse design (the design leg) goes from a target property back to a structure. The missing recipe leg (red arrow), studied here, infers the recipe from that structure. We evaluate it as two conditional tasks: Task A predicts the composition given the structure and the known process, and Task B the process given the structure and the known composition.

there the chain stops: the first link is rarely run backwards. That step is the recipe leg, from an optimized structure to the recipe that would produce it, and it still leans on expert knowledge: given only the structure, which alloy composition and what process parameters made it? This paper studies the recipe leg (Figure 1).

In automated characterization pipelines and self-driving laboratories, the recipe leg serves quality control, anomaly detection and the planning of the next experiment [8–12]. Such a laboratory proposes a recipe, runs it and images the result. Nothing in that loop checks that the structure under the microscope is the one the recipe should have produced. A model of the recipe leg supplies that check from images already being collected, and can flag a mislabelled sample, a drifting press or a repeated condition. It is also the first question in reverse engineering a legacy or competitor material. The difficulty in practice is the messiness of real experiments: campaigns are small, heterogeneous, pooled across sources and thinly sampled in every variable. We work in that regime instead of avoiding it with simulated data.

Our data come from the measured campaign behind our earlier forward-leg study [1], which used microstructure and texture statistics of extruded magnesium alloys to predict their strain-hardening parameters. The campaign covers 107 extrusion conditions of wrought magnesium alloys, a hexagonal close-packed (HCP) metal, over 14 alloy classes, with optical micrographs and an X-ray texture measurement for each condition. Both halves of the recipe look continuous but are not. The composition is a weight percentage for each of eight alloying elements (Al, Zn, Mn, Ce, Gd, Ca, Nd, Y), but only 14 alloys were cast, so the answer is always one of 14 known compositions. The process behaves the same way: extrusion temperature and ram speed could take any value, but the press was run at a short list of settings. Both answers are therefore discrete, and this shapes the rest of the paper.

We compare three descriptors of microstructure and texture. The first is conventional grain and texture statistics, a domain-designed pipeline computed directly from the micrographs and the measured texture. The second is an embedding from the image encoder of our Co-PiLOT work [13], pretrained on about 80k orientation maps and used frozen. The third is a graph neural network on the network of grains and their boundaries. Each descriptor is passed to prediction heads, the models that turn it into an answer, which either respect or ignore the discrete answer. There are two tasks: Task A, the alloy composition, and Task B, the process parameters. The question we put to each descriptor is whether it is compatible with the recipe leg: does this way of describing an optimized microstructure and texture support recovering the recipe behind it? What this paper offers:

  1. We state the recipe leg as two tasks that a model can be scored on, composition given the known process and process given the known composition, and pose them on a measured campaign rather than on simulated data.

  2. We compare conventional grain and texture statistics, a frozen vision embedding and a grain-graph network on the same folds, heads and metrics, and state exactly what each of them receives.

  3. We give prediction heads that decode onto the short list of alloys and press settings that exist, and compare each against the same evidence used without that constraint and against baselines that see no microstructure.

  4. We report, next to the headline error, metrics that reveal when a head scores well for the wrong reason, and show heads from our own search that these metrics exposed.

References (53)