Social relation identification method based on novel progressive graph reasoning

Through progressive graph reasoning and multi-level information fusion methods, the visual features of individuals, pairs and groups in the image are extracted, combined with the calculation of intimacy, which solves the problem of existing methods ignoring intrinsic interactive information and achieves more accurate Social relationship identification and intimacy quantification.

CN118608884APending Publication Date: 2024-09-06SICHUAN UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310161914.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing image-based social relationship recognition methods ignore the inherent interactive information between individuals, dyads, and groups, leading to recognition errors and making it difficult to quantify the degree of intimacy between two people.

Method used

Using a method based on progressive graph reasoning, through visual Transformer and gated graph neural network, the visual features of individuals, pairs and groups are extracted, combined with social interaction field theory to calculate intimacy, and formed using a multi-level information fusion method Comprehensive representation of social relationships.

Benefits of technology

It effectively reduces the error in social relationship recognition, improves the model's ability to recognize social relationships between people in images, and can quantify intimacy and make up for the edge information lost in the graph reasoning process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0004094483140000011
    Figure HDA0004094483140000011
  • Figure HDA0004094483140000023
    Figure HDA0004094483140000023
  • Figure HDA0004094483140000012
    Figure HDA0004094483140000012
Patent Text Reader

Abstract

The invention provides a social relation identification method based on novel progressive graph reasoning. At present, an image-based method is mainly used for identifying a social relationship in a binary level. In fact, the social relation structure is nested in a layered manner, that is, individuals and two-tuples are nested in a group structure. However, the existing research based on computer vision does not consider a hierarchical nested structure, so that internal interaction among individuals, two-tuples and groups is ignored, and the relation reasoning effect is poor. In order to solve the problem, a novel progressive graph inference model is provided. The method comprises a calculation method of intimacy between figures, construction of an individual-binary graph and a binary-group graph to enhance reasoning of the social relation, and fusion of visual features and graph reasoning knowledge by utilizing Transform to form comprehensive representation of the social relation. Experiments prove that the method has good practicability and can be widely applied to accurate identification of the social relation in the social media image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to image recognition problems in the field of computer vision, and in particular to a social relationship recognition method based on multimedia images. Background Art

[0002] People living in society inevitably interact with people around them. These various interactions form different social relationships. Specifically, social relationships are formed when two or more people interact. Effectively and accurately identifying these relationships is not only crucial to social psychology research, but also important for improving and maintaining physical and mental health. In addition, social relationships are also widely used in many fields such as measuring the vitality of urban space, predicting fashion trends, and exploring human trajectories.

[0003] With the rapid development of multimedia and visual technology, more and more studies have begun to focus on the social relationships between people in images. At present, the mainstream image-based methods can be divided into two frameworks: directly using the visual features of people and scenes to predict the relationship between each pair of people, or using graph neural networks to explore the logical constraints between multiple pairs of people. Specifically, these methods focus more on using the features of individuals (such as faces, clothing, postures), objects (such as bags, cups), and scenes to identify pairs of social relationships, while ignoring the intrinsic interactions between individuals, dyads, and groups. In other words, few studies have explored how human collectives influence the individuals and dyads within them. The problem is obvious. The existing methods ignore some of the multi-level information implicit in the image, resulting in some errors in the identified social relationships.

[0004] Using multi-level information to infer social relationships has been widely used in the field of social psychology, especially the Social Relations Model (SRM). A large number of psychologists have studied social relationships at the individual, dyad, and group levels through SRM. Specifically, at the individual level, they tend to focus on the individual's appearance and elements of interpersonal attractiveness; at the dyadic level, researchers use individual characteristics to explore interactions between humans; at the group level, researchers focus on the interactions between individuals within the group and their interactions with the entire group. Related research and methods based on SRM comprehensively consider the connections between individuals, dyads, and groups, which is of great significance for accurately reasoning about social relationships in images. Summary of the invention

[0005] The purpose of the present invention is to provide a social relationship recognition method based on a novel progressive graph reasoning (Progressive Graph Reasoning, PGR), which performs multi-stage reasoning on the visual features of individuals, dyads and groups in the image through individual-binary graphs and binary-group graphs to reduce the reasoning error of the current method. Secondly, since it is difficult to determine the degree of intimacy between two people based on visual features alone, the present invention further designs a method for calculating intimacy to quantify the degree of intimacy between two people, which is used to enrich the feature information required for social relationship reasoning. Finally, in order to effectively integrate the extracted visual features and graph reasoning knowledge, the present invention designs a multi-level information fusion method (Multi-level Information Fusion, MIF) to form a comprehensive representation of social relationships, while making up for the marginal information that may be lost during the graph reasoning process.

[0006] For the convenience of explanation, the following concepts are first introduced:

[0007] ResNet50: It uses residual networks to solve the problem of difficult learning of identity mapping functions, converts the learning of identity mapping into learning residual terms close to 0, optimizes the learning difficulty of the network, and solves problems such as gradient disappearance / explosion in deep networks.

[0008] Vision Transformer (ViT): This network consists of Patch Embedding and Transformer Encoder. As the network deepens, the resolution of the feature map gradually decreases and the depth continues to increase, which can obtain more detailed information about the characters in the image. In addition, the multi-head attention mechanism of Transformer Encoder can better explore global visual features to extract high-level semantic features of the image.

[0009] Gated Graph Neural Network (GGNN): GGNN is a GRU-based information transfer model that can transfer information between nodes in the constructed graph structure, thereby realizing the reasoning of node information in the graph. GGNN introduces a gating mechanism in Graph Neural Networks (GNN). Compared with other GNNs, it pays more attention to information transfer between nodes, which is more in line with the needs of social relationship reasoning in the present invention.

[0010] The present invention specifically adopts the following technical solutions:

[0011] A social relationship recognition method based on a novel progressive graph reasoning, characterized by:

[0012] a. Capture visual features through the encoder, including: individual facial features, clothing features, posture features, action features, binary interaction features, group foreground visual features and scene background visual features;

[0013] b. Calculate the attraction between characters through the Social Interaction Field (SIF) theory to explore the intimacy between each pair of characters and enrich the characteristics of social relationship reasoning;

[0014] c. Through the Progressive Graph Reasoning (PGR) framework and by utilizing the above-mentioned visual features and attractiveness features, we explore the intrinsic interactions between individuals, dyads, and groups, thereby correcting the errors that occur in the reasoning process and improving the reasoning process of social relationships.

[0015] d. Through the multi-level information fusion method (MIF), visual features and graph reasoning knowledge are integrated to form a comprehensive representation of social relationships to achieve social relationship recognition;

[0016] The method mainly includes the following steps:

[0017] (1) Data acquisition: Obtain image datasets for social relationship recognition;

[0018] (2) Feature extraction: The visual feature information of individuals and pairs is extracted through an encoder based on the Vision Transformer (ViT), and the visual feature information of groups and scenes is extracted through an encoder based on a convolutional neural network (Resnet-50);

[0019] (3) Calculation of intimacy between characters: The individual visual features extracted in step (2) and the distance between each pair of characters are input into the calculation formula to calculate intimacy;

[0020] (4) Progressive graph reasoning: The gated graph neural network (GGNN) is used to implement progressive graph structure reasoning and deduction. Individual visual features, intimacy features, binary visual features, group and scene visual features are input into the graph network to achieve social relationship reasoning.

[0021] (5) Multi-level information fusion: Binary visual features, group visual features, and progressive graph reasoning knowledge are input into the Transformer network for fusion to form a comprehensive representation of social relationships;

[0022] (6) Training model: Input the social relationship image data obtained in (1) into the network, add ViT's pre-trained model to speed up the network fitting and start training from scratch. The output of the network is the final classification result.

[0023] The beneficial effects of the present invention are:

[0024] (1) Make full use of the powerful local-global feature extraction capability of the visual Transformer to allow the computer to automatically extract image features, avoiding the shortcomings of expert-designed features such as low accuracy, slow timeliness, and high cost, and has a wide coverage and strong adaptability.

[0025] (2) Based on the characteristics of the hierarchical structure of people in images, a progressive graph reasoning network is designed to comprehensively and effectively utilize the feature information of individuals, binaries, and groups to infer social relationships, thereby solving the problem of insufficient reasoning in existing methods.

[0026] (3) By fusing visual features and graph reasoning knowledge through Transformer, a comprehensive social relationship representation can be formed, which improves the model's ability to recognize the social relationships of people in the image, while also compensating for the edge information that may be lost when information is transmitted between nodes in the graph neural network. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic diagram of the principle of incremental reasoning.

[0028] Figure 2 It is the overall framework of the Progressive Graph Reasoning (PGR) framework.

[0029] Figure 3 A framework for individual interaction feature fusion.

[0030] Figure 4 Details of the progressive graph structure, including the Individual-Dyad Graph (IDG) and the Dyad-Group Graph (DGG).

[0031] Figure 5 It is a framework for Multi-level Information Fusion (MIF).

[0032] Figure 6 This is the confusion matrix of the present invention on the PISC-F dataset and the comparison with the other three latest methods.

[0033] Figure 7 It is the representation of social relations at different reasoning stages in the latent feature space of the present invention on the dataset PISC-F.

[0034] Figure 8 These are some examples of images that are correctly and incorrectly recognized by the present invention on the PISC-F dataset. DETAILED DESCRIPTION

[0035] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It is necessary to point out that the following embodiments are only used to further illustrate the present invention and cannot be understood as limiting the scope of protection of the present invention. Technical personnel familiar with the relevant field of technology may make some non-essential improvements and adjustments to the present invention based on the above invention content for specific implementation, which should still fall within the scope of protection of the present invention.

[0036] A social relationship recognition method based on a new progressive graph reasoning method. Figure 1 The basic principle of progressive reasoning

[0037] (1) The PISC-C, PISC-F, and PIPA datasets were divided into training and test sets at a ratio of 8:2. All samples were resized to a uniform size of 224x224 pixels. The training samples were enhanced online through data augmentation methods such as random rotation, random flipping, cutout, mixup, and normalization to prevent model overfitting and enhance generalization ability.

[0038] (2) Through Figure 2 ViT extracts individual facial features, clothing features, posture features, action features, and binary interaction features. Figure 2 Resnet-50 extracts visual feature information of groups and scenes;

[0039] (3) The individual visual features extracted in step (2) and the distance between each pair of people Figure 3 The framework is used to calculate the intimacy.

[0040] (4) Each person's visual features and the intimacy features obtained in step (3) are combined to form individual interaction features; then Figure 4 The framework is used to build a specific graph neural network using GGNN. The individual interaction features and the visual features of the binary group are input into the individual-binary graph structure to complete the first stage of reasoning and obtain some preliminary reasoning knowledge. Then, the knowledge of the first graph reasoning and the visual features of the group and scene are input into the binary-group graph structure to complete the second stage of reasoning to correct the erroneous results of the preliminary reasoning.

[0041] (5) The binary visual features, group visual features obtained in step (2) and the graph reasoning knowledge obtained in step (4) are converted into information of the same dimension, and then Figure 5The converted features are concatenated with a learnable vector of the same dimension, and then the concatenated comprehensive information is input into the Transformer network for learning to obtain a comprehensive representation of social relationship recognition, while compensating for the edge information that may be lost during graph reasoning.

[0042] (6) The experiment uses a 64-bit Ubuntu system, an Intel(R) Xeon(R) Silver 4114CPU@2.20GHz CPU, 128GB of memory, and an NVIDIA RTX3090 graphics card with 24GB of video memory. The deep learning framework used is PyTorch 1.8.0. The present invention uses a cross-entropy loss function to calculate the loss value between the predicted value and the true label, and optimizes the model through the Adamw optimizer. The momentum decay is set to 0.9, the input amount of each batch of samples (batch size) is set to 64, the total number of training times (epochs) is 200 rounds, the initial learning rate is 0.001, and the learning rate decay is reduced by one tenth every 20 epochs. The experimental results of the present invention (PGR-SRR) are shown in Table 1, where the mean average precision (mAP) on PISC-C and PISC-F is 88.7% and 76.5%, and the accuracy (Acc.) on the PIPA dataset is 73.2%. In addition, Figure 6 , Figure 7 and Figure 8 Some visualization results of the experiment of the present invention.

[0043] Table 1 Test results of different algorithms on PISC-C, PISC-F and PIPA datasets

[0044]

[0045] Note:We use the per-class recall(in%)and the mAP(in%)for PISC andAcc(in%)for PIPA.Best results are highlighted.Int:intimate:Non:non-intimate;No:no relation.

Claims

1. A social relationship recognition method based on a novel progressive graph reasoning, characterized by: a. Capture visual features through the encoder, including: individual facial features, clothing features, posture features, action features, binary interaction features, group foreground visual features and scene background visual features; b. Calculate the attraction between characters through the Social Interaction Field (SIF) theory to explore the intimacy between each pair of characters and enrich the characteristics of social relationship reasoning; c. Through the Progressive Graph Reasoning (PGR) framework and by using the above visual features and attractiveness features, we explore the intrinsic interactions between individuals, dyads, and groups, thereby correcting the errors in the reasoning process and improving the reasoning process of social relationships; d. Through the multi-level information fusion method (MIF), visual features and graph reasoning knowledge are integrated to form a comprehensive representation of social relationships to achieve social relationship recognition; The method mainly includes the following steps: (1) Data acquisition: Obtain image datasets for social relationship recognition; (2) Feature extraction: The visual feature information of individuals and pairs is extracted through an encoder based on the Vision Transformer (ViT), and the visual feature information of groups and scenes is extracted through an encoder based on a convolutional neural network (Resnet-50); (3) Calculation of intimacy between characters: The individual visual features extracted in step (2) and the distance between each pair of characters are input into the calculation formula to calculate intimacy; (4) Progressive graph reasoning: The gated graph neural network (GGNN) is used to implement progressive graph structure reasoning and deduction. Individual visual features, intimacy features, binary visual features, group and scene visual features are input into the graph network to achieve social relationship reasoning. (5) Multi-level information fusion: Binary visual features, group visual features, and progressive graph reasoning knowledge are input into the Transformer network for fusion to form a comprehensive representation of social relationships; (6) Training model: Input the social relationship image data obtained in (1) into the network, add ViT's pre-trained model to speed up the network fitting and start training from scratch. The output of the network is the final classification result.

2. The social relationship identification method based on novel progressive graph reasoning as claimed in claim 1 is characterized in that In the intimacy calculation method in step (3), the intimacy is defined as follows: the intimacy between each pair of characters is inversely proportional to the square of the distance between the characters and directly proportional to the social influence of the characters; the input of the formula is the visual features of two separate individuals and the Euclidean distance between the two, that is, the visual features of the individuals are used as the social influence of the characters, and the Euclidean distance between the characters is used as the distance between the characters.

3. The social relationship identification method based on novel progressive graph reasoning as claimed in claim 1 is characterized in that The progressive graph reasoning framework in step (4) consists of three parts: individual interaction feature calculation, individual-binary graph reasoning and binary-group graph reasoning. Specifically, the module first fuses the visual features and intimacy features of each person to form individual interaction features. Then, the individual interaction features and the visual features of the binary group are input into the individual-binary graph structure to complete the first stage of reasoning and obtain some preliminary reasoning knowledge. Then, the visual features are input into the binary-group graph structure to complete the second stage of reasoning by combining the knowledge of the first graph reasoning with the visual features of the group and the scene to correct the erroneous results of the preliminary reasoning.

4. The social relationship identification method based on novel progressive graph reasoning as claimed in claim 1 is characterized in that In step (5), the MIF module first converts binary visual features, group visual features, and graph reasoning knowledge into information of the same dimension, then concatenates the converted features with a learnable vector of the same dimension, and then inputs the concatenated comprehensive information into the Transformer network for learning to obtain a comprehensive representation of social relationship recognition, while compensating for the edge information that may be lost during the graph reasoning process.

Citation Information

Patent Citations

  • Image data processing method and device and related equipment

    CN112183353A

  • Social relation recognition method based on character attributes and contexts

    CN112183465A

  • Face data identity recognition method based on generative adversarial network

    CN112949535A

  • Volleyball group behavior recognition method based on local graph convolutional network

    CN113297936A