The embodiment of the invention discloses an
image restoration method and device based on a multi-
modal large
language model and a medium, relates to the technical field of
natural language processing, and is used for solving the problems that existing
image restoration is low in efficiency and poor in effect, and the method comprises the steps: carrying out the training adjustment of an initial multi-
modal large
language model based on a multi-
modal data pair
training set, obtaining a multi-modal large
language model; extracting image features of the to-be-restored
image based on a preset image
encoder, and determining keywords corresponding to the to-be-restored
image based on the image features; according to a preset description template, obtaining an initial
image degradation description and reconstructing the initial
image degradation description to obtain a current
image degradation description; determining a restoration process of the to-be-restored
image based on the current image degradation description and the image
semantic representation of the to-be-restored image; and fusing the restoration process and the image
semantic representation into multi-modal input, inputting a preset multi-modal decoder to obtain a preliminary restoration result for the restoration process, and feeding back and adjusting the restoration process based on the preliminary restoration result to obtain an optimal restoration process.