Machine learning-based large model explainable RAG generation method

By constructing a hierarchical relevance propagation algorithm and a moth-and-flame optimization algorithm, a hierarchical bidirectional propagation network is built. The relevance weights and thresholds are dynamically optimized, achieving accurate source mapping between generated content and knowledge sources. This solves the problem of insufficient precision and transparency in the explanation of the relationship between generated content and knowledge sources, and improves the credibility and interpretability of generated content.

CN120996217BActive Publication Date: 2026-06-23GUANGXI POLICE ACAD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGXI POLICE ACAD
Filing Date
2025-08-06
Publication Date
2026-06-23

Smart Images

  • Figure CN120996217B_ABST
    Figure CN120996217B_ABST
Patent Text Reader

Abstract

The application discloses a large model explainable RAG generation method based on machine learning, comprising the following steps: performing semantic retrieval in a knowledge base based on a user input question to obtain relevant candidate document segments; constructing a hierarchical bidirectional propagation network by using an improved hierarchical relevance propagation algorithm, and respectively calculating forward and reverse relevance weight matrixes of generated content and the document segments; fusing the forward and reverse relevance weight matrixes to obtain a bidirectional relevance fusion matrix; adopting a moth flame optimization algorithm to dynamically optimize the fusion matrix with the accuracy of generated content and traceability transparency as target, and determining a final relevance threshold parameter set; generating a mapping labeling result based on the final optimized fusion matrix, and outputting final generated content and a traceability explanation report. The application realizes accurate and transparent explanation of the source of generated content, and significantly enhances the credibility and explainability of the large model generation result.
Need to check novelty before this filing date? Find Prior Art