The invention discloses a multi-document question and answer retrieval method combining a generative
language model and a semantic document atlas, which further perfects and optimizes the construction and traversal mode of a document knowledge atlas, and respectively designs a bert-
class model-based atlas construction and a KGP3
algorithm-based retrieval traversal mode optimization. In the
graph traversal process, a main problem and an obtained node are combined, a sub-problem related to next needed node information is generated, the most appropriate document node is accurately selected from neighbor nodes, the correlation between the node and an initial problem is judged, and if the node and the initial problem are not related, the node and the initial problem are not listed in a follow-up retrieval
list. The method is efficient, has
traceability and
interpretability, and abstractly summarizes the whole process of selecting the next hop node in
graph traversal by the model. In order to reduce the cost, the small
encoder-decoder T5 model is improved, and a contrast learning mechanism is introduced into the model, so that the retrieval performance of the small model is further improved.