Optimizing Semantic Search in Industrial Knowledge Retrieval: A Novel SHAP-Based Attention Mask Modification Approach

Knowledge management in industrial settings faces significant challenges due to information overload and knowledge loss. This investigation examines a RetrievalAugmented Generation (RAG) solution for quality reports at Siemens Electronics Works, where engineers currently spend significant time searching through <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$4,500+$</tex> technical documents, resulting in annual costs of approximately <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathrm{C}\!\!\!\!{\scriptstyle{{}^=}\,} 200,000$</tex>. We developed an optimized data preprocessing pipeline for semantic search that combines generalizable components (duplicate removal, HTML cleaning, chunking strategies) with novel domain-specific enhancements. Our key innovation is a systematic approach integrating Shapley Additive exPlanations (SHAP) with attention mask modification (AMM) to identify and downweight tokens that disproportionately influence search results. This method, combined with LLM-based contextual enhancement of domain-specific abbreviations and semantic chunking, achieved a 21.1 % improvement in retrieval accuracy compared to raw data processing, as measured by Mean Reciprocal Rank (MRR). The resulting RAG application operates locally without internet access, ensuring data security while significantly reducing document retrieval time. Our methodology provides a framework for optimizing semantic search in specialized technical domains without requiring extensive model retraining.

Authors

Institutions

Publication Details

Published
2025-04-06
DOI
https://doi.org/10.1109/eurosime65125.2025.11006545
Primary Topic
Web Data Mining and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing Semantic Search in Industrial Knowledge Retrieval: A Novel SHAP-Based Attention Mask Modification Approach

Christoph Raum, Christina Kratsch, Sven Meier, Jörg Franke et al.
Web Data Mining and Analysis
article

Optimizing Semantic Search in Industrial Knowledge Retrieval: A Novel SHAP-Based Attention Mask Modification Approach

Christoph Raum, Christina Kratsch, Sven Meier, Jörg Franke, Nils Thielen, Florian Risch, Felix Mahr, Gerhard Freese
article en

Abstract

Knowledge management in industrial settings faces significant challenges due to information overload and knowledge loss. This investigation examines a RetrievalAugmented Generation (RAG) solution for quality reports at Siemens Electronics Works, where engineers currently spend significant time searching through <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$4,500+$</tex> technical documents, resulting in annual costs of approximately <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathrm{C}\!\!\!\!{\scriptstyle{{}^=}\,} 200,000$</tex>. We developed an optimized data preprocessing pipeline for semantic search that combines generalizable components (duplicate removal, HTML cleaning, chunking strategies) with novel domain-specific enhancements. Our key innovation is a systematic approach integrating Shapley Additive exPlanations (SHAP) with attention mask modification (AMM) to identify and downweight tokens that disproportionately influence search results. This method, combined with LLM-based contextual enhancement of domain-specific abbreviations and semantic chunking, achieved a 21.1 % improvement in retrieval accuracy compared to raw data processing, as measured by Mean Reciprocal Rank (MRR). The resulting RAG application operates locally without internet access, ensuring data security while significantly reducing document retrieval time. Our methodology provides a framework for optimizing semantic search in specialized technical domains without requiring extensive model retraining.

HTW Berlin - University of Applied Sciences (DE), Siemens (Germany) (DE), Fraunhofer Institute for Factory Operation and Automation (DE)
Openalex Percentile: Top 84%
Web Data Mining and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.