IM-Chat: A Multi-agent LLM-based Framework for Knowledge Transfer in Injection Molding Industry

Junhyeong Lee, Joon-Young Kim, Heekyu Kim, Inhyo Lee, Seunghwa RyuarXiv 2025 · DOI

TL;DR

This paper introduces IM-Chat, a novel multi-agent LLM framework designed to tackle the critical challenge of knowledge transfer in the injection molding industry. By integrating documented knowledge with extensive field data through a diffusion model and a retrieval-augmented generation (RAG) strategy, IM-Chat provides accurate, context-aware, and actionable guidance, significantly outperforming traditional methods and single-agent LLMs.

What Problem Does This Paper Address?

The injection molding industry faces a significant knowledge transfer gap. Experienced workers are retiring, leading to the loss of invaluable tacit knowledge. Furthermore, multilingual workforces and the complexity of the manufacturing process hinder effective communication and the dissemination of best practices. Traditional methods like manuals and apprenticeships are proving insufficient to capture, preserve, and transfer this specialized knowledge efficiently. This leads to issues with quality control, production efficiency, and the ability to adapt to dynamic manufacturing environments.

Methods

IM-Chat employs a multi-agent architecture that leverages several key techniques:

  • Multi-Agent System: The framework is composed of specialized agents (Planner, Executor, Supervisor, Replanner, Reporter, Task Formatter, Translator, Classifier) that collaborate to process user queries.
  • Retrieval-Augmented Generation (RAG): IM-Chat integrates documented knowledge (troubleshooting tables, manuals) by retrieving relevant information and augmenting LLM prompts.
  • Diffusion Model for Process Parameter Generation: A diffusion model, trained on real-world production data, is used as a tool to generate quantitative recommendations for optimal process parameters under varying environmental conditions. This is a novel integration of generative models within an LLM agent framework for manufacturing decision-making.
  • Plan-Execute-Replan Workflow: For injection molding-specific tasks, IM-Chat uses a structured workflow where a Planner decomposes tasks, an Executor executes them using available tools, and a Supervisor evaluates the results, replanning if necessary.
  • Tool-Calling: The framework allows agents to dynamically invoke external tools, including the diffusion model, troubleshooting table retriever, manual retriever, and internet search.
  • Multilingual Support: A Translator module standardizes inputs into English, enabling consistent processing, while the Reporter module translates outputs back to the user's original language.

Datasets

  • Troubleshooting Table: A process adjustment table based on defect types, compiled from expert interviews and industry standards.
  • Manufacturing Manual: A 227-page operation manual for a specific injection molding machine.
  • Production Data: A dataset collected over six months from a factory manufacturing ABS cosmetic container caps, including environmental data, product quality data, and process parameters. This dataset was used to train the diffusion model.
  • Benchmark Dataset: A curated set of 160 question-answer pairs (100 single-tool, 60 multi-tool) designed to evaluate IM-Chat's performance across different functionalities and LLM variants.

Key Insights and Ideas

  • Generative Models as Tools: The integration of a diffusion model as a callable tool within an LLM agent framework is a significant advancement, enabling quantitative, data-driven recommendations that go beyond traditional knowledge retrieval.
  • Multi-Agent Synergy: The collaborative nature of the multi-agent system allows for complex task decomposition and the effective coordination of diverse knowledge sources, leading to more robust and accurate responses than single-agent approaches.
  • Human-in-the-Loop for Evaluation: The study highlights the critical need for human expert evaluation, especially in technical domains, as LLM-based evaluation can be overly sensitive to fluency and may miss crucial technical nuances.
  • Trade-offs in LLM Selection: The performance evaluation clearly demonstrates trade-offs between model capability (accuracy, reasoning depth) and cost/latency, emphasizing the importance of selecting LLMs based on specific task requirements.

Key Results

  • Superior Accuracy: IM-Chat, particularly with GPT-4o, consistently outperformed a fine-tuned single-agent LLM baseline in terms of relevance and accuracy across both single-tool and multi-tool tasks.
  • Diffusion Model Effectiveness: IM-Chat achieved a perfect score (10.00) on diffusion model tasks in single-tool evaluations, significantly outperforming the baseline (2.00).
  • Multilingual Robustness: The system demonstrated consistent outcomes across Korean, English, Thai, and Vietnamese inputs, showcasing its robust multilingual processing pipeline.
  • Latency and Cost Trade-offs: GPT-4o offered the highest accuracy but also incurred higher latency and cost. GPT-3.5-turbo was faster and cheaper but less accurate and reliable.
  • Human vs. LLM Evaluation: Low correlation coefficients between human and LLM evaluations suggest that LLM-as-judge is not yet a full substitute for expert judgment in complex, domain-specific tasks.

Limitations and Future Work

  • Multimodal Capabilities: The current framework primarily relies on textual and structured data, with limited capabilities for extracting information from visual content (images, diagrams). Future work should focus on more robust multimodal capabilities.
  • Tool Interoperability: The system currently supports a limited set of tools. Expanding the framework to interface with a broader ecosystem of manufacturing tools (simulators, optimization modules, CAD software) is crucial.
  • Scalability and Latency: Relying on multiple invocations of high-performance commercial LLMs can lead to latency and cost challenges. Strategies like selective routing to lighter models, model compression, and agent coordination optimization are suggested.
  • User Input Specificity: The system's response quality is influenced by user input specificity. Future versions should incorporate more sophisticated input-to-query formatting modules to handle vague or under-defined queries.
  • Data Privacy: Using external APIs for proprietary data raises concerns about intellectual property and data privacy. Incorporating locally hosted SLMs is proposed as a solution.

Summary updated

BibTeX
@misc{lee2025im,
  author = {Junhyeong Lee and Joon-Young Kim and Heekyu Kim and Inhyo Lee and Seunghwa Ryu},
  title = {{IM-Chat: A Multi-agent LLM-based Framework for Knowledge Transfer in Injection Molding Industry}},
  year = {2025},
  eprint = {2507.15268},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.15268},
}
Figure