The present invention belongs to the field of image classification technology, and specifically relates to a class-level relationship constraint and structured graph enhancement method,
system, medium and terminal. Clustering is used to construct the visual representation distribution of the
data set image, and a hierarchical structured relationship is constructed based on the distribution information; the typical batch construction process is extended under the guidance of the relationship, and the associated knowledge is hierarchically aggregated through graph
smoothing operations to enhance the representation learning ability of the model in a guided knowledge manner; a sampling strategy based on visual distribution is designed to construct intra-class and inter-class constraints, and at the same time, the course construction and class-level distribution regularization operations are combined to further explicitly enhance the visual representation. Finally, the enhanced visual representation is used for classification tasks, thereby improving the visual classification effect. This innovative method provides an
effective solution to the visual classification problem by deeply mining and utilizing the distribution information of the visual representation.