Aero-engine fault data processing method and system

By employing the Multi-Agent Workflow (MAW) and the two-stage progressive retrieval-enhanced generative architecture (TSP-RAG), the challenges of multi-source heterogeneous data processing and deep semantic understanding in aero-engine fault isolation systems have been solved, enabling efficient and accurate fault isolation information retrieval.

CN121636985AActive Publication Date: 2026-03-10HARBIN INST OF TECH AT WEIHAI
View PDF 7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-02-05
Publication Date
2026-03-10

Smart Images

  • Figure CN121636985A_ABST
    Figure CN121636985A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of aero-engine fault data isolation processing, in particular to an aero-engine fault data processing method and system which can achieve good balance between time efficiency and generation quality and is good in universality. Then fine semantic segmentation and efficient vectorization index construction of the text are completed through a domain self-adaptive large language model and a dynamic code execution mechanism; secondly, a two-stage progressive retrieval enhancement generation architecture TSP-RAG is provided, meanwhile, a self-adaptive HNSW retrieval module dynamically adjusts the search breadth according to the obtained ef weight, vector retrieval is executed, content-level deduplication is conducted on a result, finally, semantic fusion and reordering are conducted on nodes retrieved by the FIL-knowledge graph and the HNSW retrieval result, and the HNSW retrieval result is obtained. Compared with the prior art, the method has the advantages of being high in time efficiency, high in generation quality, good in universality and the like.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of aero-engine fault data isolation processing, in particular to an aero-engine fault data processing method and system which can achieve a good balance between time efficiency and generation quality and has good versatility. BACKGROUND

[0002] As the core power device of an airplane, the performance state of an aero-engine is directly related to flight safety and operational efficiency. When the aero-engine is abnormal or fails, it is necessary to quickly reason and analyze the source, cause and corresponding disposal measures based on existing information, and this process is the aero-engine fault isolation task. The traditional mode relies on maintenance personnel to manually consult the airplane manual or historical maintenance records to retrieve and integrate relevant information and develop a response plan. The efficiency of this process is highly dependent on the organization structure of the manual and records, as well as the professional knowledge and experience accumulation of the maintenance personnel. However, with the increasing complexity of the aviation system structure and function, the relevant technical documents and maintenance data are growing explosively: on the one hand, the heterogeneity and scale of the data significantly increase the difficulty of structured processing; on the other hand, relying on manual searching and integrating relevant information in a large amount of databases not only is inefficient, but also the quality of the integrated results is difficult to guarantee, leading to the traditional manual mode being difficult to meet the demand for high reliability and high timeliness of fault response in modern aviation operation and maintenance. Therefore, it is crucial to construct an information system specially for aero-engine fault isolation, which can effectively process information from various sources and efficiently retrieve information when needed, for the current aero-engine fault isolation task.

[0003] In recent years, artificial intelligence technology, especially large language models, has made breakthroughs in reasoning capabilities, making large language model-driven aero-engine fault isolation intelligent agent information systems promising to replace human beings in performing tedious information processing and retrieval tasks. In turn, this improves fault isolation efficiency. However, the construction of an aero-engine fault isolation information system faces two basic challenges: first, the integration and processing of multi-source heterogeneous information is difficult. Aero-engine structures are extremely complex, and the original information such as fault isolation manuals, logs, and records for different models of aero-engines covers unstructured text, semi-structured fault isolation procedures, and structured tables, with diverse data forms. In addition, the original files contain a large amount of repetitive and invalid information, making knowledge management extremely difficult. Second, the problem of deep semantic understanding and reasoning under a highly coupled system. Aero-engine systems have a high degree of coupling, and relevant knowledge is widely distributed in heterogeneous and dispersed data sources. In addition, there are numerous professional terms, and the combination relationship between terms is complex, making professional information retrieval face serious challenges. Traditional single retrieval augmented generation (RAG) or knowledge graph (knowledge graph) technology usually only relies on vector similarity or specific graph patterns for reasoning, making it difficult to achieve comprehensive and accurate information recall. In addition, existing knowledge graph-RAG frameworks are mostly limited to a single graph, which lacks flexibility and is difficult to capture subtle semantics implied in text. This limitation weakens the fusion effect of vector retrieval and graph retrieval, making the system unable to effectively balance the needs of professional term entity matching and logical multi-hop reasoning. SUMMARY

[0004] The present application proposes an aero-engine fault data processing method and system that can achieve a good balance between time efficiency and generation quality and has good versatility to address the problem of multi-source heterogeneous data processing faced by existing aero-engine fault isolation.

[0005] The present application achieves the above-mentioned purposes by the following measures: An aero-engine fault data processing method, characterized in that: first, the original data is preprocessed through the MAW workflow, and then the domain adaptive large language model and the dynamic code execution mechanism are used to complete the fine semantic segmentation and efficient vectorization index construction of the text; secondly, a two-stage progressive retrieval enhancement generation architecture TSP-RAG is proposed, the first stage is executed by the FER-knowledge graph: based on the user question and the extracted keywords, keyword matching is first performed, and then vector retrieval is performed in the knowledge graph to determine the relevant task range, and the ef weight parameter for HNSW index optimization is calculated according to the density of similarity; the second stage is completed by the FIL-knowledge graph and the adaptive HNSW retrieval module: the FIL-knowledge graph performs accurate retrieval using the task range defined in the first stage, part of the result is directly output as a candidate answer, and the other part is expanded to build a hierarchical reasoning path through multi-hop relationship, and is organized into a trie structure friendly to large language model, that is, a reasoning tree; at the same time, the adaptive HNSW retrieval module dynamically adjusts the search breadth according to the obtained ef weight, performs vector retrieval and content-level deduplication on the result, finally, the nodes retrieved by the FIL-knowledge graph and the HNSW retrieval result are semantically fused and reordered, and are input into the large language model together with the reasoning tree to generate an answer.

[0006] Before preprocessing the original data, the present application also needs to perform multi-source data conversion, first, through format analysis and recognition technology, the discrete and format inconsistent original data is mapped into a unified standardized intermediate representation, and then multi-dimensional automatic data cleaning is performed; after data cleaning, the MD file is transferred to the data processing agent, the data processing agent adopts an adaptive segmentation strategy: for short text, the semantic segmentation is directly performed by using the prompt engineering; for long text, a structured processing script is generated through the model, and is executed in a controlled environment to realize efficient division, finally, the model is used for recursive verification to ensure that the segmentation granularity is reasonable, the processed data and metadata are stored in a high-performance relational database for supporting subsequent vectorization index construction and efficient retrieval, wherein the segmented data is vectorized through a word embedding model.

[0007] The word embedding model adopts Qwen3-word embedding-4B model as the base model, considering the hardware conditions and the number of samples, adopts the LoRA fine-tuning strategy for domain adaptation, adopts the multi-negative example contrast learning format to fine-tune the embedding model, and the training data adopts the multi-negative sample format [V2][-V2], wherein each training sample is composed of a query, a positive sample pos, i.e. a fault isolation description with high semantic correlation, and three hard negative samples neg, i.e. interference content from other irrelevant tasks, a total of 5,500 high-quality samples are constructed, divided according to 90% training set and 10% test set, and the training process is optimized by InfoNCE loss function, and the loss function formula is as follows: (1), wherein, is a question, is a positive sample, is the i-th negative sample, is a similarity function, is the number of negative samples, is a temperature coefficient.

[0008] In the knowledge graph construction process in the application, the large language model assisted entity and relation extraction technology is adopted, the Qwen3-8B model is selected as the basic extraction model, the LoRA fine-tuning strategy is adopted to adapt the model to the field, the training data adopts the Alpaca format, that is, each sample contains clear instructions (instruction), input context (input) and expected output (output) to effectively guide the model to learn complex semantic relation extraction logic: {“instruction”:”……”,”input”:”……”, “output”:”……”}, the data set is constructed by using the knowledge distillation method: a strong reasoning ability large language model with super large parameters is used as a teacher model, finally a distillation data set containing 5,500 samples is constructed, divided according to 90% training set and 10% test set, and the Causal Language ModelingLoss is used for fine-tuning task: (2), wherein, is the i-th , is the i-th target , , represents the original model parameter plus the low-rank update introduced, ​This indicates that only the answer / output part is considered. Loss was calculated. An independent validation set consisting of 200 long text paragraphs and their corresponding triples was also constructed for fine-grained performance analysis and generalization ability verification. The specific verification method is as follows: The F1 score was calculated by combining the precision (number of correctly predicted triples / total number of predicted triples) and recall (number of correctly predicted triples / total number of labeled triples). The F1 score formula is as follows: (3), Table 4: Final fine-tuning results and test results. The fine-tuned model achieved a performance improvement of 4.45%.

[0009] In the FER-knowledge graph retrieval stage of the two-stage progressive retrieval enhancement generation architecture TSP-RAG described in this invention, a frequency-aware retrieval strategy is executed. This strategy dynamically switches between exact matching and semantic approximate matching searches based on entity popularity. That is, based on the number of nodes that are exactly matched, if the number of nodes is low, it is a low-frequency entity, and the exact matching results are retained. At the same time, keyword vector retrieval is performed, and entity-level and sentence-level vector retrieval are fused. If it is a high-frequency entity, exact matching and keyword vector retrieval are discarded to avoid noise, and retrieval is performed only based on relational semantics and sentence semantics. Diversity-driven ef weights are introduced to achieve semantically adaptive HNSW tuning. Finally, the function outputs the average ef weight and the deduplicated task list. The former is used to optimize the breadth of vector retrieval, and the latter is passed to the second stage FIL-knowledge graph retrieval as a task constraint.

[0010] In this invention, the FER-knowledge graph structure adopts standard triples. Nodes also have Task and Number and Type attributes, as well as 2560-dimensional vector attributes. Relationship edges also have 2560-dimensional vector attributes. The FER-knowledge graph extracts entity relationships in the format [Entity 1, Entity 1 type, Relationship, Entity 2, Entity 2 type]. The original text includes the following entity types: fault / phenomenon, system / component, task / program, manual / document, status / indication, location, action, and maintenance information. The type is stored as the entity's type attribute. After extraction, each entity and relationship is vectorized and stored as a vector attribute. The FER-knowledge graph performs retrieval based on the user-input question and keywords in the question. Based on the density of the cosine similarity values ​​of the retrieval results, it dynamically and adaptively adjusts the ef-search value of the HNSW algorithm retrieval stage. Specifically, it returns a weight value between 1 and 2 for adjustment. The calculation formula is as follows: (4), in w d, w m , w v These are the weighting coefficients. m The average value. v The population variance is the numerical value. d for diversity The formula for the diversity index is: (5), Where k is the number of distinct elements and n is the number of search results. When the density of results is high, that is, the variance and diversity indicators and the mean are small, the formula will make the returned weight value smaller, thereby reducing the ef-search value to accelerate the HNSW search speed. Conversely, the ef-search value will be increased to expand the search breadth and improve the recall rate.

[0011] In this invention, the FIL-knowledge graph employs multi-hop logical connections. Nodes also possess Task and Number attributes, as well as 2560-dimensional vector attributes. Relationship edges also have 2560-dimensional vector attributes. As the core component of the second-stage retrieval, it works in conjunction with adaptive HNSW. Its knowledge content originates from the structured logic of each task in the original aero-engine fault isolation document. A fine-tuned extraction model is used to extract knowledge from the following sections: Description, Possible Causes, Circuit Breakers, Related Data, Fault Isolation Procedure, Initial Evaluation, and Repair Confirmation. Based on semantic characteristics, the sections are divided into two categories: descriptive sections (Related Data) are extracted as triples [Task Number, Task Name, Related Description]; procedural sections (the remaining sections) are parsed into multi-level coherent steps and constructed as [Main Step, Condition, Sub-Step]. The structured path supports multi-hop reasoning; all extraction units (tasks, steps, descriptions) are vectorized through a fine-tuned word embedding model, and the embedding vectors are stored in the graph as attributes of nodes or relations, providing high-fidelity semantic representation for subsequent semantic retrieval and path reasoning.

[0012] In the two-stage progressive retrieval enhancement generation architecture TSP-RAG described in this invention, after obtaining the task scope retrieved from the FER-knowledge graph, the FIL-knowledge graph structures the results into a hierarchical ternary tree for downstream inference, including: Task pattern extraction: Standardized task identifiers are extracted using regular expressions to achieve alignment across knowledge graphs; Bimodal retrieval includes exclusion mode and inclusion mode. Exclusion mode retrieves knowledge irrelevant to the given task to ensure the breadth of semantic coverage. Inclusion mode focuses on task-related subgraphs to improve retrieval accuracy. To balance novelty and relevance, the retrieval score for inclusion mode is reduced. Path expansion: Starting from the top-ranked entity, perform a bounded depth-first search, terminating when the path reaches its maximum depth or when neither end can be expanded further; Trie structuring: The retrieved paths are organized into a prefix tree Trie to support hierarchical representation, which facilitates structured reasoning in large language models; Post-processing: By removing null values ​​and replacing empty objects with their keys, the output is ensured to conform to the JSON format specification, while improving semantic clarity and downstream compatibility.

[0013] In the two-stage progressive retrieval enhancement generation architecture TSP-RAG described in this invention, after obtaining the ef weight parameters of the FER-knowledge graph output, the designed adaptive HNSW retrieval mechanism improves efficiency while optimizing retrieval breadth through semantic diversity-driven dynamic ef parameter tuning. It also enhances result diversity and achieves cross-knowledge graph task alignment by combining content-level deduplication and automatic task ID extraction. After retrieval, to alleviate information redundancy between heterogeneous sources, a high threshold similarity τ=0.95 is used to identify and remove entities in the FIL-knowledge graph that are highly repetitive with the HNSW retrieval results. Subsequently, a query-aware re-ranking mechanism is used to uniformly rank the fusion results using the original query semantics as the anchor point, ensuring that the output aligns with the user's intentions. Figure One Finally, the hierarchical reasoning structure and the reordered retrieval results are jointly input into the large language model, which then generates accurate, standardized, and interpretable answers based on the specified output format.

[0014] This invention also proposes an aero-engine fault data processing system, including a construction function block and a question-and-answer function block. The construction function block prepares the data by uploading files, using a custom segmentation strategy, and employing a knowledge graph. The question-and-answer function block relies on Langchain to implement dialogue management, long-memory storage, and dynamic loading of MCP. Its key feature is that it executes the aero-engine fault processing method described above. This invention addresses the challenges of processing multi-source heterogeneous data in aero-engine fault isolation and the difficulty of traditional retrieval methods in simultaneously handling professional terminology entity matching and logical multi-hop reasoning. It proposes FIKAS, a knowledge construction and retrieval system based on a multi-agent data processing workflow (MAW) and a two-stage progressive retrieval enhancement generative architecture (TSP-RAG). First, a MAW workflow is designed, utilizing multimodal document parsing and format standardization techniques combined with a rule-based hybrid cleaning strategy to achieve standardized preprocessing of raw data. Based on this, a domain-adaptive large language model and a secure and controllable dynamic code execution mechanism collaboratively complete fine semantic segmentation of text and efficient vectorized index construction. Second, the TSP-RAG retrieval framework is proposed, which constructs an entity-relationship-based retrieval system... Two complementary knowledge graphs, FER-knowledge graph and FIL-knowledge graph for fault isolation logic, were used to design a two-stage progressive retrieval mechanism of "scope limitation-parameter adaptation". In the first stage, the FER-knowledge graph is used to determine the task scope and adaptively adjust the HNSW retrieval parameters. In the second stage, the retrieval results of HNSW are organically combined with the results of multi-hop logical reasoning and structured path expansion of FIL-knowledge graph, realizing deep collaboration between structured knowledge and unstructured text. Experimental results show that the design of TSP-RAG is effective. At the same time, its performance on the constructed dataset is better than mainstream methods such as LightRAG and LlamaIndex, significantly improving retrieval accuracy and recall, and providing reliable and comprehensive knowledge support for aero-engine fault isolation. Attached Figure Description

[0015] Appendix Figure 1 This is a flowchart of the multi-source data conversion and data preprocessing process in this invention.

[0016] Appendix Figure 2 This is a flowchart of the MAW data cleaning process in this invention.

[0017] Appendix Figure 3 This is a flowchart of the data processing intelligent agent in this invention.

[0018] Appendix Figure 4 This is a flowchart of the workflow of the knowledge graph intelligent agent in this invention.

[0019] Appendix Figure 5 This is the FER-knowledge graph structure diagram in this invention.

[0020] Appendix Figure 6 This is a flowchart of the FER-knowledge graph workflow in this invention.

[0021] Appendix Figure 7 This is the FIL-knowledge graph structure diagram in this invention.

[0022] Appendix Figure 8This is a flowchart of the FIL-knowledge graph workflow in this invention.

[0023] Appendix Figure 9 This is a schematic diagram of the TSP-RAG retrieval framework in this invention.

[0024] Appendix Figure 10 This is the system framework diagram of the present invention.

[0025] Appendix Figure 11 This is a graph showing the MRR scores of each object in the comparative experiment of this invention.

[0026] Appendix Figure 12 These are the MRR scores of each object in the ablation experiment in this embodiment of the invention.

[0027] Appendix Figure 13 This is a schematic diagram comparing recall rates in an embodiment of the present invention.

[0028] Appendix Figure 14 This is a comparison curve of recall time in an embodiment of the present invention.

[0029] Appendix Figure 15 This is the overall flowchart of the present invention. Detailed Implementation

[0030] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0031] Aero-engine systems are highly coupled, with related knowledge widely distributed across heterogeneous and dispersed data sources. Furthermore, the abundance of specialized terminology and the complex relationships between these terms present significant challenges to specialized information retrieval. Traditional single-retrieval augmented generation (RAG) or knowledge graph (KEPG) techniques typically rely solely on vector similarity or specific graph patterns for reasoning, failing to achieve comprehensive and accurate information retrieval. Moreover, existing KEPG-RAG frameworks are often limited to single graphs, lacking flexibility and struggling to capture subtle semantic implications hidden within text. This limitation weakens the fusion of vector and graph retrieval, preventing the system from effectively balancing the needs of specialized terminology entity matching and multi-hop logical reasoning. Therefore, by dividing the functions of the knowledge graph, constructing multiple complementary knowledge graphs, and combining them with vector similarity retrieval, deep collaboration between structured knowledge and unstructured text can be achieved. This provides more complete information coverage and more accurate semantic associations, thus offering reliable and comprehensive knowledge support for aero-engine fault isolation.

[0032] To address the above challenges, this invention proposes an intelligent knowledge system for aircraft engine fault isolation, which effectively promotes relevant knowledge processing and retrieval to support engineering applications, including: A multi-agent workflow for processing and organizing multi-source heterogeneous data, named MAW, is proposed. The entire process automatically constructs a vector index and knowledge graph of RAG through various preprocessing and knowledge extraction methods, achieving efficient knowledge processing and storage in the retrieval system. A novel knowledge graph + RAG retrieval architecture (two-stage progressive RAG architecture TSP-RAG) is proposed. Its core lies in the collaborative construction of two types of complementary knowledge graphs (the knowledge graph FER-knowledge graph based on fault entity relationships and the knowledge graph FIL-knowledge graph oriented towards fault isolation logic) and the fusion with the hierarchical navigable small world (HNSW) algorithm, and the adoption of a two-stage progressive retrieval mechanism. This method achieves a good balance between time efficiency and generation quality. Meanwhile, its paradigm of "dual knowledge graph + adaptive retrieval enhancement + two-stage progressive hybrid retrieval" also has good versatility, especially suitable for fields with many technical terms and strong task-driven characteristics, such as aero-engine fault isolation. It can be extended to decision support fields of other similar complex industrial systems. In addition, a knowledge system for aero-engine fault isolation (FIKAS) was proposed. FIKAS organically integrates knowledge processing and organization processes, TSP-RAG and system orchestration interaction modules using intelligent agent technology. The effectiveness of the system has been demonstrated through multiple experiments and specific case implementations.

[0033] First, this invention proposes a multi-agent workflow (MAW) for processing and organizing multi-source heterogeneous data. The MAW specifically has the following functions: multi-source data transformation, data preprocessing, data segmentation, data storage, and knowledge graph construction. To ensure that the above functions can be executed smoothly, a multi-agent + workflow approach is adopted. The agent responsible for data segmentation and data storage is called the data processing agent, and the agent responsible for knowledge graph construction is called the knowledge graph agent.

[0034] The multi-source data transformation and preprocessing pipeline first uses format parsing and recognition technology to map discrete, inconsistently formatted raw data into a unified, standardized intermediate representation, eliminating format barriers and reducing the computational overhead of subsequent processing. Based on this, the system implements a multi-dimensional automated data cleaning strategy to effectively remove unstructured noise, eliminate redundant information, and perform normalization. To address the heterogeneity of different data sources, a hybrid mechanism combining rule-based deterministic cleaning and large-model-based intelligent cleaning is employed to ensure high-quality and consistent input data. A simplified flowchart of the multi-source data transformation and preprocessing process is shown below. Figure 1 As shown.

[0035] The data processing agent integrates a large language model and word embedding model with strong reasoning and code generation capabilities, and is configured with a secure and controllable dynamic code execution mechanism. This agent employs an adaptive segmentation strategy: for short texts, semantic segmentation is performed directly using prompting engineering; for long texts, a structured processing script is generated by the model and executed in a controlled environment to achieve efficient segmentation. Finally, the model performs recursive verification to ensure reasonable segmentation granularity. The processed data and metadata are persistently stored in a high-performance relational database to support subsequent vectorized index construction and efficient retrieval.

[0036] The foundation of the RAG system lies in text vectorization, and the choice of vectorization method directly affects the accuracy and efficiency of retrieval. This system uses a word embedding model to vectorize segmented data, a crucial prerequisite for building a vector index and achieving efficient vector retrieval. General word embedding models are trained on large amounts of general text corpora, often performing poorly for highly specialized fields like aero-engines, which are rich in technical terminology. Therefore, a specialized word embedding model is needed. After evaluating performance and considering hardware conditions, we adopted the Qwen3-word embedding-4B model, which performs well on multiple standard evaluation sets and supports multiple vector dimensions, as our base model. Considering hardware limitations and sample size, this study employs a LoRA-based fine-tuning strategy for domain adaptation. We use a multi-negative-example contrastive learning format to fine-tune the embedding model. This training method significantly improves the semantic discriminativeness and structural quality of the embedding space. Specifically, the training data adopts a multi-negative format [V2][-V2], where each training sample consists of a query, a positive sample pos (a semantically highly relevant fault isolation description), and three hard negative samples neg (interference content from other irrelevant tasks). This example constructs a total of 5,500 high-quality samples, divided into a 90% training set and a 10% test set. The training process is optimized using the InfoNCE loss function, which effectively improves semantic alignment and discriminative ability in the embedding space by maximizing the similarity of positive sample pairs and minimizing the similarity of negative sample pairs. This optimization strategy enables the model to construct highly discriminative semantic representations in the vector space.

[0037] The loss function formula is as follows: ,

[0038] The training parameter settings are shown in Table 1: Table 1. Hyperparameters for word embedding model training

[0039] After training, the test set was used to compare and validate the fine-tuned word embedding model with the baseline model. The specific method is as follows: the validation samples were vectorized using both models, and then the cosine similarity between each question and its corresponding positive and negative examples was calculated. If the similarity of the positive example was higher than that of the negative example, the sample was considered correctly predicted; otherwise, it was considered incorrect. Based on this, the proportion of correctly predicted samples was statistically analyzed to obtain the model's accuracy in distinguishing between positive and negative examples. Simultaneously, for all correctly predicted samples, the difference between the similarity between positive and negative examples was calculated to measure the model's ability to distinguish between them. The training results are shown in Table 2. The accuracy after fine-tuning was 28.43% higher than the un-fine-tuned model, and the difference in similarity between positive and negative examples was significantly increased.

[0040] Table 2 shows the final fine-tuning results and experimental results.

[0041]

[0042] The main function of the knowledge graph agent is to extract the required entities, relations, and related attributes from the segmented data, and to generate Cypher statements to store the extracted information in the graph database. In the knowledge graph construction process, this invention employs a large language model-assisted entity and relation extraction technique. This method places high demands on the reasoning ability of the large language model; after comprehensive evaluation, we selected the Qwen3-8B model as the basic extraction model. To ensure that the nodes and relations in the constructed knowledge graph meet the requirements in terms of semantic accuracy, structural reliability, and domain adaptability, we further employ a LoRA fine-tuning strategy to adapt the model to the domain.

[0043] Specifically, the model is responsible for accurately identifying tasks, steps, conditions, and related descriptive content from the original document, providing high-quality, structured input for subsequent knowledge graph construction. The core goal of fine-tuning is to replace the cumbersome ontology modeling process, thereby improving the model's performance on domain-specific entity relation extraction tasks. Therefore, the training data adopts the Alpaca format, where each sample contains explicit instructions, input context, and expected output to effectively guide the model in learning complex semantic relation extraction logic: {"instruction": "...", "input": "...", "output": "..."}.

[0044] To overcome the bottleneck in reasoning ability faced by basic extraction models in domain knowledge extraction tasks due to their relatively limited parameter size, this invention employs a knowledge distillation method to construct the dataset: a large language model with a large number of parameters and strong reasoning ability is used as the teacher model to generate high-quality labeled data containing complete reasoning chains, thereby effectively improving the reasoning ability of the student model. A distilled dataset containing 5,500 samples was ultimately constructed, divided into a 90% training set and a 10% test set. The fine-tuning task utilizes Causal Language Modeling Loss. (2),

[0045] The training parameter settings are shown in Table 3: Table 3 Extracting model training hyperparameters

[0046] Furthermore, to evaluate the model's capabilities in long text understanding and structured knowledge extraction, we constructed an independent validation set consisting of 200 long text paragraphs and their corresponding triples for fine-grained performance analysis and generalization ability verification. The specific verification method is as follows: The F1 score was calculated by combining the precision (number of correctly predicted triples / total number of predicted triples) and recall (number of correctly predicted triples / total number of labeled triples). The results are shown in Table 4. The fine-tuned model achieved a performance improvement of 4.45%. The formula for F1 score is as follows: (3).

[0047] Table 4: Final Fine-tuning Results and Test Results

[0048] Subsequently, in order to fully utilize the context learning capability of the extraction model, different types of system prompt words were designed for different knowledge graph structures and tasks, which further improved the extraction capability of the knowledge graph agent.

[0049] MAW Process Introduction: The following uses a PDF file from the FIM manual (a manual consisting of various fault isolation tasks) as a processing example to introduce each process.

[0050] First, the format is converted using OCR technology to convert the PDF into a Markdown format file. Then, a cleaning process is performed. The cleaning procedure for FIM manuals is as follows: Figure 2 As shown.

[0051] After data cleaning, the MD file is transferred to the data processing agent. Given the length of the FIM manual, the agent generates segmented code using a large language model and executes it in an isolated sandbox. First, the content is divided into several coarse-grained segments according to the task number (this strategy is consistent with the requirements of the preset prompt words). Then, the large language model performs a fine-grained secondary segmentation on each segment. After the segmentation task is completed, the agent automatically calls a word embedding model to perform vectorization, and finally stores the vector data along with the original text and metadata. Figure 3 The workflow of the data processing intelligent agent was demonstrated.

[0052] Next, the knowledge graph agent extracts entities from the segmented text paragraphs. Depending on the prompt template, it can extract ordinary entities, logical node entities, and other content to adapt to different construction needs. Finally, it generates corresponding Cypher statements based on the extraction results and stores them. Figure 4 The workflow of the knowledge graph intelligent agent is demonstrated. All the aforementioned intelligent agents operate collaboratively within a unified workflow. When an anomaly occurs at any stage, the system will automatically trace the context for self-diagnosis and attempt to repair itself.

[0053] The core of TSP-RAG consists of FER-knowledge graph, which describes the structural information in knowledge text, and FIL-knowledge graph, which encodes the dynamic logical rules of fault propagation and diagnosis. The vector retrieval module adopts the current mainstream ANN algorithm HNSW, and its retrieval efficiency is highly dependent on the index quality

[30] . In order to make efficient use of the above core modules, the framework designs a two-stage retrieval mechanism (the first stage is retrieval by FER-knowledge graph, and the second stage is retrieval by FIL-knowledge graph), and innovatively introduces a feedback-driven adaptive strategy to dynamically adjust the ef-search parameter in the HNSW approximate nearest neighbor search algorithm (ef-search is the core parameter that controls the search breadth in the HNSW retrieval stage, and directly determines the trade-off between recall and latency.) and the task-focused retrieval of FIL-knowledge graph. The system can adaptively balance the retrieval accuracy and efficiency of the second stage according to the retrieval results of the first stage. Finally, the fusion and sorting of vector retrieval results and knowledge graph nodes are introduced to gradually optimize the retrieval step by step, thereby providing highly relevant, structured and logically verified domain knowledge for large language models.

[0054] The FER-Knowledge Graph completes the retrieval task in the first stage of the entire retrieval process, consisting of the relationships between entities in the original text. A fine-tuned extraction model is used to extract entity relationships, with the extraction format required to be [entity 1, entity 1 type, relationship, entity 2, entity 2 type]. The original text includes entity types such as: fault / phenomenon, system / component, task / program, manual / document, status / indication, location, action, maintenance information, etc. These types are stored as entity type attributes. After extraction, a fine-tuned word embedding model is used to vectorize each entity and relationship, and the vectorized data is stored as vector attributes. The FER-Knowledge Graph structure is as follows: Figure 5 As shown: The FER-knowledge graph structure uses standard triples, and nodes also have Task, Number, and Type attributes, as well as 2560-dimensional vector attributes. Edges also have 2560-dimensional vector attributes. The FER-knowledge graph's function is to perform searches based on user-input questions and keywords within those questions. It dynamically and adaptively adjusts the ef-search value during the HNSW algorithm's retrieval phase based on the density of cosine similarity values ​​in the search results. Specifically, it returns a weight value between 1 and 2 for adjustment, calculated as follows: (4), in w d , w m , w v These are the weighting coefficients. m The average value. v The population variance is the numerical value. d for diversity The formula for the diversity index is: (5), Where k is the number of distinct elements and n is the number of search results.

[0055] When the density of results is high, i.e. the variance and diversity indices and the mean are small, the formula will result in a smaller returned weight value, which will reduce the ef-search value to speed up HNSW retrieval. Conversely, the ef-search value will be increased to expand the search breadth and improve the recall rate.

[0056] The graph also features a dynamic task scope constraint mechanism: based on the task numbers corresponding to the retrieved TOP-K nodes, the retrieval scope of the FIL-knowledge graph is limited and enhanced, thereby significantly improving the recall rate while focusing on relevant task subgraphs. Figure 6 The above process is demonstrated.

[0057] The FIL-Knowledge Graph, as a core component of the second-stage retrieval, works in conjunction with the adaptive HNSW. Its knowledge content originates from the structured logic of each task in the original aero-engine fault isolation document. We employ a fine-tuned extraction model to extract knowledge from the following sections: Description, Possible Causes, Circuit Breakers, Related Data, Fault Isolation Procedure, Initial Evaluation, and Repair Confirmation. Based on semantic characteristics, these sections are divided into two categories: Descriptive sections (Description, Possible Causes, Circuit Breakers, RelatedData): extracted as triples [Task ID, Task Name, Related Description]; Procedural sections (the rest of the sections): These are parsed into multi-level coherent steps and constructed as structured paths of [main step, condition, sub-step] to support multi-hop reasoning.

[0058] All extracted units (tasks, steps, descriptions) are vectorized using a fine-tuned word embedding model, and the embedding vectors are stored as attributes of nodes or relations in the graph, providing high-fidelity semantic representation for subsequent semantic retrieval and path reasoning. The FIL-knowledge graph structure is as follows: Figure 7 As shown.

[0059] The FIL-knowledge graph structure employs multi-hop logical connections, and nodes also have Task and Number attributes as well as 2560-dimensional vector attributes. Relationship edges also have 2560-dimensional vector attributes.

[0060] The role of the FIL-Knowledge Graph is to perform focused retrieval based on the task scope defined by the FER-Knowledge Graph: nodes belonging to the defined task are given high priority, while nodes outside the scope are penalized with weights during the Top-K ranking stage, and are only retained if they are highly similar to the query. This mechanism avoids missed detections due to task scope limitations while effectively suppressing the introduction of irrelevant or redundant content. Building on this, the FIL-Knowledge Graph further expands multi-hop relationships starting from the retrieved nodes, constructing a complete fault isolation logic chain and outputting it in a hierarchical structure, significantly improving the logical completeness and interpretability of the returned knowledge. Figure 8 The process was demonstrated.

[0061] TSP-RAG employs a two-stage collaborative architecture. The first stage is executed by the FER-knowledge graph: based on the user's question and its extracted keywords, keyword matching is performed first, followed by vector retrieval in the knowledge graph to determine the relevant task scope (Task and Number attributes), and ef weight parameters for HNSW index tuning are calculated based on similarity density. The second stage is jointly completed by the FIL-knowledge graph and the adaptive HNSW retrieval module: the FIL-knowledge graph performs precise retrieval using the task scope defined in the first stage. Some of the results are directly output as candidate answers, while others are expanded through multi-hop relationships to construct hierarchical reasoning paths and organized into a trie structure (i.e., a reasoning tree) that is friendly to large language models. Simultaneously, the adaptive HNSW retrieval module dynamically adjusts the search breadth based on the obtained ef weights, performs vector retrieval, and deduplicates the results at the content level. Finally, the system semantically fuses and re-ranks the nodes retrieved from the FIL-knowledge graph with the HNSW retrieval results, and inputs them along with the reasoning tree into the large language model to generate accurate and interpretable answers.

[0062] In the retrieval phase of the FER-knowledge graph, we propose a frequency-aware retrieval strategy. This strategy dynamically switches between exact matching and semantic approximate matching searches based on entity popularity. Specifically, if the number of nodes matched precisely is low, it indicates a low-frequency entity, and the exact matching results are retained while keyword vector retrieval is performed, integrating entity-level and sentence-level vector retrieval. For high-frequency entities, exact matching and keyword vector retrieval are discarded to avoid noise, relying solely on relational and sentence semantics for retrieval. Furthermore, a diversity-driven ef weight is introduced to achieve semantically adaptive HNSW tuning. Finally, the function outputs the average ef weight and a deduplicated task list. The former optimizes the breadth of vector retrieval, while the latter serves as a task constraint passed to the second-stage FIL-knowledge graph retrieval, achieving efficient knowledge acquisition through cross-graph collaboration and semantic adaptation.

[0063] After obtaining the task scope retrieved from the FER-knowledge graph, our FIL-knowledge graph achieves a dynamic balance between general semantic context and task-specific knowledge through task-aware filtering technology. The results are then structured into a hierarchical ternary tree for downstream inference—this design bridges the gap between intensive retrieval and symbolic knowledge representation. It mainly consists of the following key components: Task pattern extraction: Standardized task identifiers are extracted using regular expressions to achieve alignment across the knowledge graph.

[0064] Bimodal retrieval: 1. Exclusion mode: Retrieves knowledge irrelevant to the given task to ensure broad semantic coverage. 2. Inclusion mode: Focuses on task-related subgraphs to improve retrieval accuracy. To balance novelty and relevance, the score for retrieval results in the inclusion mode is moderately lowered.

[0065] Path expansion: Starting from the top-ranked entity, perform a bounded depth-first search (1 to 5 hops), terminating when the path reaches its maximum depth or when neither end can be expanded further.

[0066] Trie structuring: The retrieved paths are organized into a trie to support hierarchical representation, which facilitates structured reasoning in large language models.

[0067] Post-processing: By removing null values ​​and replacing empty objects with their keys, the output is ensured to conform to the JSON format specification, while improving semantic clarity and downstream compatibility.

[0068] After obtaining the ef weight parameters output by the FER-knowledge graph, the designed adaptive HNSW retrieval mechanism improves efficiency while optimizing retrieval breadth through dynamic ef parameter tuning driven by semantic diversity; and further enhances result diversity by combining content-level deduplication and automatic task ID extraction, and achieves task alignment across knowledge graphs.

[0069] After the retrieval is completed, to alleviate information redundancy among heterogeneous sources, we use a high similarity threshold (τ=0.95) to identify and remove entities in the FIL-knowledge graph that are highly repetitive with the HNSW retrieval results. Subsequently, through a query-aware re-ranking mechanism, the fusion results are uniformly ranked using the original query semantics as anchor points to ensure that the output aligns with the user's intended meaning. Figure One This strategy, while preserving complementary knowledge from multiple sources, effectively suppresses redundancy and generates a semantically coherent and query-aligned final result list. Finally, the hierarchical reasoning structure and the reordered retrieval results are jointly input into a large language model, which, combined with a prescribed output format, generates accurate, standardized, and interpretable answers. The retrieval framework consists of… Figure 9 As shown.

[0070] This invention constructs a knowledge system FIKAS for fault isolation in aero-engines. Table 5 shows the key configurations of the system: the main model uses Qwen3-MAX and is deployed through the API of Alibaba Cloud Bailian platform; the isolation environment utilizes the API of Modal platform to create a sandbox; and the components communicate with each other through FastAPI. Figure 10 The components of the FIKAS system are shown.

[0071] Table 5 FIKAS System Configuration The entire system is designed based on the open-source framework LangChain, which features workflow orchestration, intelligent agents, and middleware. The MAW module uses a workflow engine to encapsulate a dual-agent collaborative mechanism. The retrieval section follows the principle of intelligent triage: first, a domain classifier determines whether the user's question falls within a specific professional category; for non-domain questions, the general capabilities of the large language model are directly invoked to provide an answer, thereby avoiding invalid retrieval and significantly reducing computational resource consumption. TSP (Knowledge Graph) is the core cognitive engine of the retrieval agent. By parsing the entity and task semantics in the user's question, it locates key nodes in the graph, triggering a hybrid recall strategy of vector retrieval and graph structure retrieval to generate high-quality context for subsequent reasoning. In addition, the system has a built-in scalable MCP service layer, integrating basic functions such as database query, web page query, and regional time acquisition. All MCP services follow a hot-swappable architecture design, supporting dynamic registration and uninstallation, achieving plug-and-play functionality and seamless online upgrades, ensuring flexible evolution of system functions.

[0072] Finally, an interactive platform was created based on this system, which is divided into two basic functional blocks: construction and question answering. The construction functional block can complete the data preparation by uploading files, customizing the segmentation strategy, and using the knowledge graph function. The question answering module relies on LangChain to realize AI native functions such as dialogue management, long-term memory storage, and dynamic loading of MCP. The simple interface reduces the operation threshold for knowledge system construction and querying, so as to support the completion of knowledge system construction and querying through simple operations.

[0073] Before the experiment began, we constructed a knowledge graph and HNSW vector index based on the MAW module of the FIKAS system, using some content from the fault isolation manual of a certain engine model, to support TSP-knowledge graph retrieval. The final graph contains 8,257 nodes and 10,218 relationships, and the vector index covers 1,562 manual fragments.

[0074] TSP-Knowledge Graph Retrieval Experiment (1) Experimental setup To systematically evaluate the performance of the TSP-knowledge graph, we constructed two aero-engine fault isolation knowledge datasets: FI-QA and FI-QA-mini. Both datasets are derived from the manual document described earlier for constructing the knowledge graph and vector index, and will be used for comparative and ablation experiments to evaluate the performance of the retrieval module under different data scales. Each data point follows the format {query, answer, source}, which consists of a question and answer based on a fragment from the manual document, along with the fragment ID. Table 6 shows the information for these two datasets.

[0075] Table 6 Experimental Dataset

[0076] In this experiment, the key hyperparameters of the HNSW index were ultimately set as follows: M=128, ef-construction=300, dim=2560. The number of results returned by both the Cypher query and the HNSW retrieval was set to 20.

[0077] Both the comparative and ablation experiments used the same evaluation metrics, MRR and HIT@n, which accurately reflect the agent's core ability to present the correct answer to the user in practical applications from two complementary dimensions: first-order ranking accuracy and Top-n recall stability. The formula is as follows: (6), (7), of which , Q: Query set, |Q| represents the total number of queries, rank i Hit: The ranking position of the first relevant document in the search results list in the i-th query; n: the truncation position, indicating that only the first n results are viewed (set to 1, 5, and 10 in this experiment); hit i : A binary function. If the most relevant document is in the nth position or earlier, the value is 1 (hit), otherwise it is 0 (miss).

[0078] (2) Comparative experiment To comprehensively evaluate the performance advantages of TSP-knowledge graph, this example designed a comparative experiment, selecting current mature retrieval models as comparison objects, namely the mainstream pure vector retrieval scheme HNSW, the high-performance knowledge graph and RAG fusion framework LightRAG, and the recently popular multi-index driven retrieval framework LlamaIndex.

[0079] Here, the hyperparameter settings for HNSW are consistent with those above, and the recall counts for LightRAG and LlamaIndex are initially set to 20. Both the indexing and retrieval processes for LightRAG and LlamaIndex require a large language model to drive them. Here, the model service is accessed via the API-Key from Alibaba Cloud's Bailian platform. The largest language model selected is Qwen3-MAX, the most powerful model in the Qwen series, and the word embedding model is a finely tuned version of Qwen3-WordEmbedding-4B.

[0080] This example uses two constructed datasets for experiments, and the results are shown in Table 7 and 8. Figure 11As shown, the best score is highlighted in bold, and the second-best score is underlined. On the FI-QA-mini dataset, although HNSW performs better on the Hit@1 and Hit@10 metrics, on the larger FI-QA dataset, the model of this invention achieves the best performance on all metrics. This fully demonstrates that the performance advantage of the model of this invention becomes increasingly significant with the increase in data scale. Furthermore, experiments show that LightRAG performs relatively poorly, and during the experiments, we found that the retrieval recall of LightRAG must be limited to around 10; otherwise, it will cause errors due to exceeding the context window limit of the large language model, thus limiting the performance of LightRAG. Finally, the index construction time of LightRAG and LlamaIndex is also significantly longer than that of the method proposed in this invention. Tables 7, 8, and... Figure 12 The results of the comparative experiment are presented.

[0081] Table 7 Comparative Experiment Results under FI-QA-mini Table 8 Comparative Experiment Results under FI-QA

[0082] Comparing the MRR scores of each object in the experiment (3) Ablation Experiment: To verify the effectiveness of the core idea of ​​TSP-Knowledge Graph, an ablation experiment was conducted in this case. By removing the FIL-Knowledge Graph module and retaining HNSW and FER-Knowledge Graph, we specifically evaluated the impact of the adaptive Ef-search strategy on the retrieval performance of HNSW. The experimental results are shown in the table below. The results show that on the small-scale dataset FI-QA-mini, the performance of adaptive Ef-search is comparable to that of the fixed parameter setting; however, on the larger FI-QA dataset, HNSW using adaptive Ef-search significantly outperforms the fixed parameter version on all evaluation metrics. This phenomenon indicates that in a large-scale data environment, the performance of HNSW is more sensitive to the Ef-search parameters, and adaptive Ef-search can effectively improve the retrieval effect of HNSW. Tables 9 and 10 show the results of this ablation experiment.

[0083] Table 9. Impact of Adaptive Ef-search on Performance under FI-QA-mini

[0084] Table 10. Impact of Adaptive Ef-search on Performance under FI-QA To evaluate the contribution of the scope constraint mechanism to the overall performance of the TSP-knowledge graph, we conducted the following ablation experiment: We retained the HNSW and FIL-knowledge graphs, but removed the scope constraint of the FER-knowledge graph on the FIL-knowledge graph. The experimental results are shown in the table below. The results demonstrate that this scope constraint mechanism has a significant impact on the retrieval performance of the TSP-knowledge graph framework on both datasets. Tables 11 and 12 present the results of this ablation experiment.

[0085] Table 11 Impact of Range Constraints on Performance under FI-QA-mini

[0086] Table 12 Impact of Range Constraints on Performance under FI-QA

[0087] The MRR scores of the two ablation experiments are as follows: Figure 13 As shown.

[0088] (4) Supplementary Experiment With the continuous improvement of the performance of large language models (MLMs) and the ongoing expansion of their context windows, relying solely on the first 10 search results is no longer sufficient to comprehensively and accurately evaluate the actual performance of a retrieval framework. Therefore, this example includes supplementary experiments, comparing only the best-performing TSP-Knowledge Graph and the second-best performing HNSW from the previous comparative experiments. In this experiment, we increased the number of returned search results from 20 to 50, while keeping other parameters unchanged. The experimental dataset consists of 64 samples randomly selected from FI-QA. This experiment employs a new evaluation criterion to determine whether the returned search results are sufficient to support the answer to the question; the specific calculation formula is as follows: (8), Where: R: The number of datasets is 64 here, R * The number of search results is sufficient to support the sample size of the question answers.

[0089] Experimental results are as follows Figure 14 , 15 As shown, TSP-RAG fully utilizes the structural information of the knowledge graph and the logical chain constructed by multi-hop logical reasoning capabilities through a two-stage progressive retrieval mechanism, and achieves excellent retrieval performance by combining it with HNSW vector retrieval. Although the retrieval time of TSP-RAG is several times that of HNSW, the overhead of this retrieval stage is acceptable considering the time consumed in the subsequent large language model inference stage.

[0090] The following case study will illustrate the complete query process of the system.

[0091] When a user enters the question: "What should be done if the correct voltages are not found between pin 1 and pin 2 of electrical connector DP1203?", the system first uses its built-in large language model to extract the key entity "Electrical connector DP1203" from the question. Then, based on this entity, the system performs entity matching and retrieval in the FER-knowledge graph, returning relevant fragment numbers (e.g., ['74-21 _05', '79-05 _12', '77-05 _05', '73-00 _032', ……]).

[0092] Meanwhile, the system calculated that the weight parameter for adjusting Ef-search was 0.8691, which means that the size of the Ef-search parameter can be appropriately reduced to speed up the retrieval. Next, the system passed the aforementioned fragment number and Ef-search weight parameter to the second-stage FIL-knowledge graph and HNSW for retrieval.

[0093] The following is an example of a retrieval chain for a FIL-knowledge graph: "if Do the Repair Confirmation at the end of this task.": {"If theRepair Confirmation is not MAWtisfactory, then continue. ": {"if Do not find the maintenance mesMAWges": {" Continue. ": {"if The inspection isMAWtisfactory": {…….}}}}}.

[0094] Here are some examples of search results for HNSW: ['START LEVER POSITIONCONNECTOR DP1203RANGECUTOFFPIN 1 TO PIN2GREATER THAN 22 VDCIDLEPIN 1 TO PIN 2LESS THAN 5 VDC\n(f) If you find thecorrect voltages above, then replace the HMU.\n1) These are the tasks: HMURemoval, AMM TASK 73-21-10-000-801-F00, HMU Installation,...'] Finally, the system sends the fragments and chains retrieved from the FIL-knowledge graph, along with the fragments retrieved from HNSW, to the large language model for inference and integration. The system's final response is: "Examine and repair the wiring between pin 2 and the applicable circuit breaker, then open the circuit breakers and install MAWfety tags, and connect the connector DP1203 to the HMU."

[0095] The FIKAS system developed in this example aims to automate the extraction of effective fault isolation knowledge from massive, multi-source data, assisting engineers in information retrieval and thereby improving the efficiency of aero-engine fault isolation. Specifically, the system constructs an HNSW index and two knowledge graphs (knowledge graph storage) to support the TSP-RAG retrieval process by processing and extracting knowledge from multiple source files. Through comparative and ablation experiments, we verified the significant performance advantages of TSP-RAG and the effectiveness of each module. Finally, the system adopts a front-end and back-end separation architecture, and the simplified front-end interface greatly facilitates the practical use by engineers. The implementation path is as follows: Figure 15 .

[0096] The knowledge and information involved in aero-engine fault isolation is vast and wide-ranging, and traditional manual retrieval and integration methods are often inefficient. Therefore, the FIKAS system developed in this paper aims to solve two core challenges in this field: processing multi-source information and accurately retrieving complex information. In summary, this invention first designs a multi-source file knowledge extraction workflow driven by dual agents, realizing the entire process from raw data identification, preprocessing, segmented storage to vectorized storage. Subsequently, based on dual knowledge graphs, a two-stage progressive hybrid retrieval mechanism, and parameter adaptive mechanisms, a TSP-RAG architecture is constructed, effectively balancing efficiency and recall in the retrieval stage. Through comparative and ablation experiments, we verify the significant performance advantages of TSP-RAG and the effectiveness of each module. Case studies further confirm the application value of this system in practical fault isolation. Finally, the system adopts a front-end and back-end separation architecture and designs a simplified front-end interface, greatly facilitating engineers' actual operation and effectively improving the efficiency of aero-engine fault isolation. Furthermore, the ideas involved in the system can be applied to other aero-engine tasks.

Claims

1. An aeroengine fault data processing method, characterised in that, Firstly, the original data is preprocessed by the MAW workflow, and then the semantic segmentation and vectorization index construction of the text are completed through the domain adaptive large language model and the dynamic code execution mechanism. Secondly, the two-stage progressive retrieval enhancement generation architecture TSP-RAG is proposed. The first stage is executed by the FER-knowledge graph: based on the user question and the extracted keywords, keyword matching is performed first, and then vector retrieval is performed in the knowledge graph to determine the relevant task range and calculate the ef weight parameter for HNSW index optimization according to the density of similarity; the second stage is completed by the FIL-knowledge graph and the adaptive HNSW retrieval module: the FIL-knowledge graph performs accurate retrieval using the task range defined in the first stage, part of the results is directly output as the candidate answer, and the other part is expanded to build a hierarchical reasoning path through multi-hop relationship and organized as a trie structure, i.e. reasoning tree; at the same time, the adaptive HNSW retrieval module dynamically adjusts the search breadth according to the obtained ef weight, performs vector retrieval and content-level deduplication on the results, and finally, the nodes retrieved by the FIL-knowledge graph and the HNSW retrieval results are semantically fused and reordered, and together with the reasoning tree, they are input into the large language model to generate answers.

2. The method of claim 1, wherein, Before preprocessing the original data, multi-source data conversion is also needed. First, through format analysis and recognition technology, discrete and format inconsistent original data is mapped to a unified standardized intermediate representation, and then multi-dimensional automatic data cleaning is performed; After data cleaning, the MD file is transferred to the data processing agent. The data processing agent adopts an adaptive segmentation strategy: for short text, semantic segmentation is directly performed using the prompt engineering; For long text, structured processing scripts are generated through the model and executed in a controlled environment to achieve efficient division. Finally, the model performs recursive verification to ensure reasonable segmentation granularity. The processed data and metadata are persistently stored in a high-performance relational database to support subsequent vectorization index construction and efficient retrieval. The vectorization of segmented data is completed through a word embedding model.

3. The method of claim 2, wherein, The word embedding model uses the Qwen3-word embedding-4B model as the base model. Considering the hardware conditions and the number of samples, the LoRA fine-tuning strategy is used for domain adaptation. The embedding model is fine-tuned using the multi-negative example contrast learning format. The training data uses the multi-negative example format [V2][-V2], where each training sample consists of a query, a positive sample pos, i.e. a fault isolation description with high semantic correlation, and three hard negative samples neg, i.e. irrelevant content from other tasks. A total of 5,500 high-quality samples are constructed, divided into 90% training set and 10% test set. The training process is optimized by the InfoNCE loss function. The loss function formula is as follows: (1), wherein, is a problem, is a positive sample, is the i-th negative sample, is a similarity function, is the number of negative samples, is a temperature coefficient.

4. The method of claim 3, wherein, In the process of knowledge graph construction, a large language model is used to assist entity and relationship extraction technology. The Qwen3-8B model is selected as the basic extraction model, and the LoRA fine-tuning strategy is used to adapt the model to the domain. The training data uses the Alpaca format, which includes explicit instructions, input context, and expected output to effectively guide the model to learn complex semantic relationship extraction logic: {"instruction": "…", "input": "…", "output": "…"}. The dataset is constructed using the knowledge distillation method: a large parameter strong reasoning ability language model is used as the teacher model, and a distillation dataset containing 5,500 samples is finally constructed. The fine-tuning task uses Causal Language Modeling Loss: (2), in, For the first indivual , For the first One goal , Represents the original model parameters Plus Introduced low-rank update , This indicates that only the answer / output part is considered. Loss was calculated. An independent validation set consisting of 200 long text paragraphs and their corresponding triples was also constructed for fine-grained performance analysis and generalization ability verification. The specific verification method is as follows: The F1 score was calculated by combining the precision (number of correctly predicted triples / total number of predicted triples) and recall (number of correctly predicted triples / total number of labeled triples). The F1 score formula is as follows: (3), Table4: Final fine-tuning results and test results. The fine-tuned model achieved a 4.45% performance improvement.

5. An aeroengine fault data processing method according to claim 4, wherein, The retrieval phase of the FER-knowledge graph in the two-stage progressive retrieval enhanced generation architecture TSP-RAG performs a frequency-aware retrieval strategy that dynamically switches between exact match and semantic approximate match search based on entity popularity. If the number of nodes is low, it is a low-frequency entity, and the exact match result is retained. At the same time, keyword vector retrieval is performed, and entity-level and sentence-level vector retrieval are fused. If it is a high-frequency entity, discard the exact match and keyword vector retrieval to avoid noise, and rely only on relationship semantics and sentence semantics for retrieval. A diversity-driven ef weight is introduced to achieve semantic adaptive HNSW optimization. Finally, the function outputs the average ef weight and the de-duplicated task list, the former is used to optimize the breadth of vector retrieval, and the latter is passed to the second stage of FIL-knowledge graph retrieval as a task constraint.

6. An aeroengine fault data processing method according to claim 5, wherein, The FER-knowledge graph structure uses standard triples, and the nodes also have Task and Number and Type attributes and 2560-dimensional vector attributes. The relationship edges also have 2560-dimensional vector attributes. The FER-knowledge graph performs entity relationship extraction, and the extraction format requires [Entity1, Entity1 Type, Relationship, Entity2, Entity2 Type]. The original text includes the following entity types: Fault / Phenomenon, System / Component, Task / Program, Manual / Document, Status / Indication, Location, Action, Maintenance Information, and Type as the type attribute of the entity. After extraction, each entity and relationship is vectorized and stored as a vector attribute. The FER-knowledge graph retrieves based on user input questions and keywords in the question. According to the density of the cosine similarity value of the retrieval result, the ef-search value of the HNSW algorithm retrieval stage is dynamically and adaptively adjusted. The specific effect is to return a weight value between 1 and 2 to adjust the value. The calculation formula is as follows: (4), wherein w d , w m , w v is a weight coefficient, m is the average value of the numerical values, v is the overall variance of the numerical values, d is diversity is a diversity index, the formula of which is: (5), Where k is the number of different elements, n is the number of search results, when the result is more intensive, that is, the variance and diversity index and the average value is smaller, according to the formula, the returned weight value is smaller, thereby reducing the value of ef-search to speed up the speed of HNSW retrieval, and vice versa, increasing the value of ef-search to expand the search breadth and improve the recall rate.

7. An aeroengine fault data processing method according to claim 6, wherein, The FIL-knowledge graph adopts multi-hop logical connection, and the nodes also have Task and Number attributes and 2560-dimensional vector attributes. The relationship edges also have 2560-dimensional vector attributes, which are the core components of the second stage retrieval and work cooperatively with the adaptive HNSW. The knowledge content of the FIL-knowledge graph is derived from the structured logic of each task in the original aero-engine fault isolation document, and is extracted by the fine-tuned extraction model from the following chapters: Description, Possible Causes, Circuit Breakers, Related Data, Fault Isolation Procedure, Initial Evaluation, and Repair Confirmation. According to the semantic characteristics, the chapters are divided into two categories: descriptive chapters Related Data: extracted as triples [task number, task name, related description]; procedural chapters, i.e., the remaining chapters: parsed as multi-level coherent steps and constructed as structured paths [main step, condition, sub-step] to support multi-hop reasoning; all extraction units are vectorized by the fine-tuned word embedding model, and the embedding vectors are stored as node or relationship attributes in the graph to provide high-fidelity semantic representation for subsequent semantic retrieval and path reasoning.

8. The method of claim 7, wherein, In the two-stage progressive retrieval enhanced generation architecture TSP-RAG, after obtaining the task range retrieved by the FER-knowledge graph, the FIL-knowledge graph structures the results into a hierarchical triple tree for downstream reasoning, including: task pattern extraction: standardized task identifiers are extracted by regular expressions to achieve alignment across knowledge graphs; dual-modal retrieval: including exclusion mode and inclusion mode, where the exclusion mode: retrieves knowledge unrelated to the given task to ensure the breadth of semantic coverage; the inclusion mode: focuses on the task-related subgraph to improve retrieval accuracy, to balance novelty and relevance, the retrieval result score of the inclusion mode is downgraded; path expansion: starting from the top-ranked entities, perform bounded depth-first search, terminate when the path reaches the maximum depth or both ends cannot be expanded; Trie structuring: the retrieved paths are organized into prefix trees Trie to support hierarchical representation and facilitate structured reasoning by large language models; post-processing: remove null values and replace empty objects with their key names to ensure that the output results meet the JSON format specification, and improve semantic clarity and downstream compatibility.

9. An aeroengine fault data processing method according to claim 8, wherein, After the two-stage progressive retrieval enhancement generation architecture TSP-RAG retrieval is completed, a high threshold similarity τ=0.95 is used to identify and eliminate the repeated entities in the FIL-knowledge graph and the HNSW retrieval result, then, through a query-aware reordering mechanism, the fusion result is uniformly sorted with the original query semantics as an anchor point, finally, the hierarchical reasoning structure and the reordered retrieval result are jointly input into a large language model, and the large language model generates an answer.

10. An aero-engine fault data processing system comprising a construction function block and a question and answer function block, the construction function block completes data preparation through uploading files, customizing a chunking strategy and a knowledge graph, and the question and answer function block relies on Langchain to realize dialogue management, long memory storage and MCP dynamic loading, characterized in that, An aeroengine fault handling method as claimed in any one of claims 1 to 9 is performed.

Citation Information

Patent Citations

  • Knowledge base retrieval method and system based on mixed weight and knowledge graph

    CN119377374A

  • Consumer right protection multi-source legal knowledge graph construction and intelligent retrieval method

    CN120743931A

  • Material similarity calculation method and system based on high-dimensional features and multi-modal features

    CN120873636A

  • Multi-path logic generation method and system based on aviation accident knowledge graph

    CN121094080A

  • Quickly customized industry knowledge graph query and retrieval interface system

    CN121212366A