The application discloses a multi-
modal document reordering method and
system based on answer quality driving and a medium, relates to the technical field of
artificial intelligence, and inputs a query question into a rearrangement
large model to output a document rearrangement result; the training process of the rearrangement
large model is as follows: an initial candidate document set corresponding to the query question is acquired through a multi-
modal retriever and is taken as the input of a rearranger, and through screening and rearrangement, a rearranged document subset and a thinking process are generated; the document subset and the thinking process are input into a sandbox, the sandbox is internally deployed with a frozen parameter answer model, is used for
parallel processing of multiple different rearrangement results of the same question, and generates corresponding multiple answers; a format consistency reward is set by using the output of the rearranger, a
document filtering reward is set by using the rearranged document subset, and an answer quality reward is set by using the similarity between the answers and standard answers, so as to optimize the parameters of the rearranger; and the reordering method improves the document sorting quality and the question and answer accuracy.