The application discloses a multi-round multi-
modal toxicity detection method and device, and relates to the technical field of
natural language processing and
computer vision. The method comprises the following steps: obtaining multi-round dialogue data of a Chinese
social platform, constructing a multi-
modal dialogue
data set containing text and images and performing preprocessing to obtain a processed multi-
modal data set; designing a multi-dimensional labeling
system, performing multi-dimensional
toxicity type labeling on each dialogue, and calculating a labeled real cumulative
toxicity score; constructing a systematic evaluation framework, and setting a toxicity content evaluation task; based on a
test sample data set and the set toxicity content evaluation task, performing toxicity detection on the
test sample data set by using a pre-trained visual
language model, outputting a cumulative toxicity
score predicted by the pre-trained visual
language model, and calculating a cumulative toxicity detection accuracy; and based on the cumulative toxicity detection accuracy, performing evaluation, and outputting a model
evaluation result. The application can improve the evaluation of original visual content understanding ability.