Model retrieval optimization method for improving GraphRAG system multi-hop reasoning capacity
Патент · CN B
Полный текст
The invention discloses a model retrieval optimization method for improving GraphRAG system multi-hop reasoning capacity, belonging to the field of artificial intelligence and natural language processing. The method is based on the multi-hop reasoning problem proposed by the user, utilizes a large language model to extract key reasoning nodes in the multi-hop reasoning problem, determines conditions of starting and ending nodes retrieved in map data, and digs a causal chain path related to the problem by combining a map retrieval algorithm. Further, the method constructs a multi-hop reasoning question-answer pair training data set through a synthetic data generation technology, and optimizes multi-hop reasoning performance of the large language model in a specific field by adopting LoRA fine tuning strategies. The method effectively enhances the accuracy and logic of GraphRAG systems in processing complex multi-hop reasoning tasks, and can greatly improve the overall reasoning capacity and output quality of the question-answering system.