Skip to main content
QUICK REVIEW

[Paper Review] LLM-R: A Framework for Domain-Adaptive Maintenance Scheme Generation Combining Hierarchical Agents and RAG

Laifa Tao, Qixuan Huang|arXiv (Cornell University)|Nov 7, 2024
Elevator Systems and ControlEngineering3 citations
TL;DR

This paper proposes LLM-R, a domain-adaptive framework for generating intelligent maintenance schemes by combining hierarchical agents and Retrieval-Augmented Generation (RAG). It introduces LORA-KR loss for effective fine-tuning on mixed maintenance data and uses instruction-level RAG with task-based agents to reduce hallucination and improve accuracy, achieving 91.59% scheme generation accuracy on a multi-domain dataset.

ABSTRACT

The increasing use of smart devices has emphasized the critical role of maintenance in production activities. Interactive Electronic Technical Manuals (IETMs) are vital tools that support the maintenance of smart equipment. However, traditional IETMs face challenges such as transitioning from Graphical User Interfaces (GUIs) to natural Language User Interfaces (LUIs) and managing complex logical relationships. Additionally, they must meet the current demands for higher intelligence. This paper proposes a Maintenance Scheme Generation Method based on Large Language Models (LLM-R). The proposed method includes several key innovations: We propose the Low Rank Adaptation-Knowledge Retention (LORA-KR) loss technology to proportionally adjust mixed maintenance data for fine-tuning the LLM. This method prevents knowledge conflicts caused by mixed data, improving the model's adaptability and reasoning ability in specific maintenance domains, Besides, Hierarchical Task-Based Agent and Instruction-level Retrieval-Augmented Generation (RAG) technologies are adopted to optimize the generation steps and mitigate the phenomenon of hallucination caused by the model's Inability to access contextual information. This enhancement improves the model's flexibility and accuracy in handling known or unknown maintenance objects and maintenance scheme scenarios. To validate the proposed method's effectiveness in maintenance tasks, a maintenance scheme dataset was constructed using objects from different fields. The experimental results show that the accuracy of the maintenance schemes generated by the proposed method reached 91.59%, indicating which improvement enhances the intelligence of maintenance schemes and introduces novel technical approaches for equipment maintenance.

Motivation & Objective

  • To address the limitations of traditional Interactive Electronic Technical Manuals (IETMs) in transitioning from GUIs to natural language interfaces.
  • To improve the intelligence and adaptability of maintenance scheme generation in complex, domain-specific contexts.
  • To mitigate hallucination and knowledge conflicts in LLM-based maintenance systems through structured retrieval and fine-tuning.
  • To develop a flexible, accurate, and domain-adaptive framework for generating maintenance schemes across diverse equipment types.
  • To validate the effectiveness of the proposed method using a newly constructed multi-domain maintenance scheme dataset.

Proposed method

  • The framework employs Low Rank Adaptation-Knowledge Retention (LORA-KR) loss to dynamically balance mixed maintenance data during fine-tuning, reducing knowledge conflicts.
  • Hierarchical Task-Based Agents decompose maintenance tasks into sub-tasks, enabling structured, step-by-step reasoning and improved control over generation.
  • Instruction-level Retrieval-Augmented Generation (RAG) enhances context awareness by retrieving relevant maintenance instructions, reducing hallucination.
  • The system integrates domain-specific knowledge via retrieval and fine-tunes the LLM using LORA-KR to maintain performance across diverse maintenance domains.
  • A multi-domain maintenance scheme dataset was constructed to evaluate the framework across different equipment types and maintenance scenarios.
  • The framework supports both known and unknown maintenance objects by leveraging retrieved knowledge and adaptive reasoning.

Experimental results

Research questions

  • RQ1How can LLMs be effectively fine-tuned on mixed-domain maintenance data without incurring knowledge conflicts?
  • RQ2To what extent can hierarchical agents improve the accuracy and structure of maintenance scheme generation?
  • RQ3Can instruction-level RAG reduce hallucination in maintenance task generation when contextual knowledge is limited?
  • RQ4How does the integration of LORA-KR and RAG impact the overall performance and domain adaptability of maintenance scheme generation?
  • RQ5What is the performance of the proposed framework on a diverse, multi-domain maintenance dataset?

Key findings

  • The proposed LLM-R framework achieved a maintenance scheme generation accuracy of 91.59% on a multi-domain dataset, demonstrating high reliability.
  • The LORA-KR loss technique effectively mitigated knowledge conflicts in mixed-domain fine-tuning, improving model generalization and reasoning.
  • The use of hierarchical agents significantly enhanced the structural coherence and step-by-step accuracy of generated maintenance schemes.
  • Instruction-level RAG reduced hallucination by providing relevant, context-aware retrieval support during generation.
  • The framework showed strong adaptability to both known and unknown maintenance objects, thanks to retrieval-augmented reasoning.
  • The combination of LORA-KR, hierarchical agents, and RAG outperformed baseline methods in accuracy and robustness across diverse maintenance scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.