Success Story: Testing a RAG Prototype with Real Engineering Questions

—

by

Sequence image from a video showing an MPA demonstration for the RAG.

Highlights

  • Developed a retrieval-augmented generation (RAG) prototype.
  • RAG prototype uses 7,282 MPA publications on welding and joining.
  • MPA engineers write benchmark questions and evaluate answers and sources.

Challenges

The Material Testing Institute (MPA) at the University of Stuttgart combines materials testing, joining research, and industrial transfer. Its knowledge is spread across publications, material tables, formulas, standards, and expert experience. A retrieval-augmented generation (RAG) system — a large language model (LLM) that retrieves and uses information from external knowledge sources — could improve access to this information. However, fluent answers alone do not guarantee engineering correctness. Relevant sources must be retrieved and cited traceably, calculations must be reliable, and uncertainties must remain transparent. Earlier work by the High-Performance Computing Center Stuttgart (HLRS) and the University of Stuttgart’s Institute for Metal Forming Technology (IFU) showed that language models can partially predict temperature-dependent yield curves.

Solution

The collaboration with HammerHAI began with a roadmapping workshop that identified a benchmark test for a RAG system and initiated the development of a RAG prototype. MPA and HLRS ran benchmark tests to see where the RAG prototype helps, where it fails, and how much expert review is required before industrial use could be considered. A living roadmap and weekly meetings now guide prototype reviews and planned tests. The RAG testbed works with 7,282 MPA Stuttgart publications on welding and joining. Its interface allows experiments with source counts, multi-step retrieval, source, page-level references, PDF links, calculations, plots, and a second verification pass. These are prototype options, not yet integrated or validated production features. MPA engineers develop representative questions and evaluate the answers, cited sources, and calculations using the benchmark tests developed by HammerHAI and MPA.

Benefits and Impact

The main result is an evaluation approach and early RGA prototype. The benchmark records assessments conducted by MPA engineers on technical correctness, source traceability, and reproducibility. An exploratory comparison of 11 openly available models illustrates the need for systemic evaluation. This solution has the potential to support future AI-assisted engineering workflows by improving access to specialized engineering knowledge, reducing information retrieval efforts, and supporting the selection of welding parameters to accelerate the calibration of welding machines.

Next Steps

MPA engineers plan to expand the question set and further refine the assessment criteria. HammerHAI intends to test retrieval and generation separately, compare source configurations, and document failure cases. The partners plan to refine RAG functions, calculations, and traceability before considering an operational pilot. In parallel, MPA and HLRS are continuing to prepare for further collaboration in AI-assisted Abaqus simulation

Organizations Involved

Logo for "MPA Materialprüfungsanstalt Universität Stuttgart"

Logo of HLRS (Höchstleistungsrechenzentrum Stuttgart). The abbreviation letters in black are accompanied only by a light blue computer cursor symbol (a vertical bar with horizontal lines extending from the top and bottom) in between the R and the S.

Logo of the HammerHAI project. Above the project title (with "Hammer" in black and "HAI" in three different shades of blue) three slightly curved lines in the same shades of blue remind the viewer of a hammerhead shark - the namesake of the project in German.

Contact

Gerrit Koch, Material Testing Institute (MPA), University of Stuttgart, gerrit.Koch@mpa.uni-stuttgart.de

Funding

The acquisition and operation of the EuroHPC Al-optimised supercomputer is funded jointly by the EuroHPC Joint Undertaking, through the European Union’s Digital Europe Programme, as well as by the German Federal Ministry of Research, Technology and Space (BMFTR) and the Baden-Württemberg Ministry of Science, Research and the Arts.

Views and opinions expressed are those of the author(s) only and do not necessarily reflect those of the European Union or the EuroHPC JU. This project has received funding from the European High Performance Computing Joint Undertaking under grant agreement No. 101234027. It is co-funded by the European Commission, the German Federal Ministry of Research, Technology and Space (BMFTR), the Baden-Württemberg Ministry of Science, Research and the Arts, the Bavarian State Ministry of Science and the Arts and the Lower Saxony Ministry of Science and Culture.

Logo of the Federal Ministry of Research, Technology and Space of Germany. A black eagle icon (coat of arms of Germany) on the left, a vertical strip in the colors of the German flag (black, red, yellow) to the right of it and even further to the right the wordmark "Bundesministerium für Forschung, Technologie und Raumfahrt".
Logo of the Federal Ministry of Research, Technology and Space of Germany. A black eagle icon (coat of arms of Germany) on the left, a vertical strip in the colors of the German flag (black, red, yellow) to the right of it and even further to the right the wordmark "Bundesministerium für Forschung, Technologie und Raumfahrt".