Friction element welding (FEW) is an emerging technique for joining dissimilar materials, in which process monitoring still presents open challenges. Hybrid modelling approaches combining multiple machine learning (ML) models can improve monitoring accuracy, but aggregating different model outputs, as well as ensuring interpretability and trust, remain difficult problems. This work proposes a human-centered hybrid monitoring framework for FEW quality classification, designed around the principle that model combination should be driven by human expertise rather than fixed ensemble rules. The framework integrates white-box models (Logistic Regression, Linear Discriminant Analysis, k-Nearest Neighbors, Decision Tree, and Naïve Bayes) and grey-box models (Random Forest, Support Vector Machine), both trained on engineered features derived from domain knowledge, with a black-box 1D Convolutional Neural Network (CNN) operating directly on raw sensor signals. Rather than automatically fusing model outputs, the system leaves the selection and combination of models to the operator, who can adapt decisions to the specific context. This interaction is enabled through a Retrieval-Augmented Generation (RAG) framework, which enables a Large Language Model (LLM) to incorporate knowledge from external data sources, allowing users to query model behavior and process information in natural language. The framework is demonstrated as a proof of concept on a 70-weld FEW dataset. Under repeated cross-validation, the differences between individual models were not statistically significant. An operator-defined OR-voting ensemble reached the highest defect Recall (0.95) and F1-score (0.84), with higher mean values than automatic ensembles. A benchmark of 20 FEW-specific questions was answered by two locally deployed LLMs (3B and 8B parameters). Retrieval from the knowledge base significantly improved the answers of both models and reduced unsupported statements. However, the benchmark also revealed residual limitations in numerical reasoning. The proposed approach aligns with Industry 5.0 principles, placing human knowledge at the center of AI-assisted decision-making in smart manufacturing.

Human-AI collaboration framework to support friction element welding monitoring / Antal, G., Bruno, G., Russo Spena, P., De Maddis, M.. - In: INTERNATIONAL JOURNAL, ADVANCED MANUFACTURING TECHNOLOGY. - ISSN 0268-3768. - (2026). [10.1007/s00170-026-19580-7]

Human-AI collaboration framework to support friction element welding monitoring

Antal, Gabriel;Bruno, Giulia;Russo Spena, Pasquale;Manuela De Maddis
2026

Abstract

Friction element welding (FEW) is an emerging technique for joining dissimilar materials, in which process monitoring still presents open challenges. Hybrid modelling approaches combining multiple machine learning (ML) models can improve monitoring accuracy, but aggregating different model outputs, as well as ensuring interpretability and trust, remain difficult problems. This work proposes a human-centered hybrid monitoring framework for FEW quality classification, designed around the principle that model combination should be driven by human expertise rather than fixed ensemble rules. The framework integrates white-box models (Logistic Regression, Linear Discriminant Analysis, k-Nearest Neighbors, Decision Tree, and Naïve Bayes) and grey-box models (Random Forest, Support Vector Machine), both trained on engineered features derived from domain knowledge, with a black-box 1D Convolutional Neural Network (CNN) operating directly on raw sensor signals. Rather than automatically fusing model outputs, the system leaves the selection and combination of models to the operator, who can adapt decisions to the specific context. This interaction is enabled through a Retrieval-Augmented Generation (RAG) framework, which enables a Large Language Model (LLM) to incorporate knowledge from external data sources, allowing users to query model behavior and process information in natural language. The framework is demonstrated as a proof of concept on a 70-weld FEW dataset. Under repeated cross-validation, the differences between individual models were not statistically significant. An operator-defined OR-voting ensemble reached the highest defect Recall (0.95) and F1-score (0.84), with higher mean values than automatic ensembles. A benchmark of 20 FEW-specific questions was answered by two locally deployed LLMs (3B and 8B parameters). Retrieval from the knowledge base significantly improved the answers of both models and reduced unsupported statements. However, the benchmark also revealed residual limitations in numerical reasoning. The proposed approach aligns with Industry 5.0 principles, placing human knowledge at the center of AI-assisted decision-making in smart manufacturing.
File in questo prodotto:
Non ci sono file associati a questo prodotto.
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11583/3018420
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo