Research Article

LLM-Driven Lean Manufacturing System: Integrating AI, RAG, and Embeddings for Industry 4.0 Decision Support

Authors

  • Demetrio do Nascimento Lopes Conecthus Institute of Technology and Biotechnology of Amazonas, Manaus, Brazil. B.Sc. in Information Systems
  • Luiz Fernando de Oliveira Alves Conecthus Institute of Technology and Biotechnology of Amazonas, Manaus, Brazil. Department of Computer Science and Computer Networks.
  • Raymar Henrique Lôbo Prado Conecthus Institute of Technology and Biotechnology of Amazonas, Manaus, Brazil. B.Sc. in Administration
  • Marinaldo Ribeiro da Cunha Conecthus Institute of Technology and Biotechnology of Amazonas, Manaus, Brazil. Ph.D. in Chemistry
  • Renato Moreira Teixeira Junior Conecthus Institute of Technology and Biotechnology of Amazonas, Manaus, Brazil. B.Eng. in Materials Engineering
  • Fabiana Cristina Novélo Conecthus Institute of Technology and Biotechnology of Amazonas, Manaus, Brazil. B.Arch. in Architecture and Urbanism; MBA in Project Management

Abstract

The integration of Large Language Models (LLMs) with Lean Manufacturing methodologies represents a significant frontier in the evolution of intelligent manufacturing systems within the Industry 4.0 paradigm. This comprehensive research report presents the architecture, design rationale, and empirical evaluation of a web-based Lean Manufacturing System (LMS) that employs LLMs to automate the generation of structured Lean tools, including Value Stream Mapping (VSM), 5W2H action planning, Ishikawa diagrams, Pareto analysis, GUT prioritization matrices, PDCA cycles, Kanban boards, process flowcharts, and Five Whys root-cause analysis, from unstructured natural-language problem descriptions provided by industrial operators. The proposed architecture adopts a modular microservices design, a Retrieval-Augmented Generation (RAG) pipeline, built upon LangChain, FAISS vector stores, and sentence-transformer embeddings, grounding model outputs in curated domain knowledge sourced from internal project documentation and Lean Manufacturing references. Structured prompt engineering with explicit persona definitions, mathematical output constraints, and JSON schema enforcement constitutes the primary mechanism for deterministic output generation. Experimental validation using a representative industrial case, a connector assembly workstation exhibiting a 12% rework rate, demonstrates that the AI-generated Lean artifacts correctly identify root causes, prioritize countermeasures, and project a 65% lead time reduction alongside a 200% productivity gain. Critical technical limitations are identified and discussed, encompassing single-scenario generation, absence of a feedback loop for continuous learning, dependency on prompt-level logic for semantic consistency, and a lack of integration with real-time shop-floor data streams. We conclude the analysis with a roadmap for overcoming these limitations through multi-agent orchestration, reinforcement learning from human feedback, and dynamic sensor integration.

Article information

Journal

Journal of Computer Science and Technology Studies

Volume (Issue)

8 (8)

Pages

91-102

Published

2026-07-11

Downloads

Views

10

Downloads

2

Keywords:

Lean Manufacturing; Large Language Models; Industry 4.0; Retrieval-Augmented Generation; Prompt Engineering; Decision Support Systems; AI-Assisted Process Optimization; Intelligent Manufacturing Systems