Rumor detection method and device based on graph neural architecture search and medium

Through the method based on graph neural architecture search, the optimal neural network architecture is automatically designed, which solves the problems of low design efficiency and poor applicability of graph neural network architecture in the existing technology, and achieves efficient rumor detection and improved model applicability.

CN118585696AActive Publication Date: 2024-09-03SOUTH CHINA UNIV OF TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410759742.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-03
Estimated Expiration
2044-06-13

AI Technical Summary

Technical Problem

In the existing technology, in rumor detection, the graph neural network architecture design has low efficiency and insufficient flexibility, making it difficult to adapt to different data scenarios, resulting in low detection efficiency and poor model applicability.

Method used

A method based on graph neural architecture search is used to construct the search space, including node aggregation in the classic graph neural network, source information-oriented node feature enhancement and skip connection operations, and the architecture parameters and model parameters are optimized through the super network to design an adaptive Network architecture to realize automated design of optimal neural network architecture.

Benefits of technology

It improves the efficiency of rumor detection and the applicability of the model in different scenarios, reduces manual design costs, improves the effectiveness and flexibility of the architecture, and can learn the characteristics of the communication network faster and filter out noise that deviates from the topic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585696A
    Figure CN118585696A
Patent Text Reader

Abstract

The invention discloses a rumor detection method and device based on graph neural architecture search and a medium, and belongs to the technical field of Internet. The method comprises: constructing a search space; performing continuous relaxation on the search space to construct a super network, and creating a hybrid candidate operation parameterized by architecture parameters for each edge on the super network; initializing parameters of the super network; alternately reducing verification loss and training loss through gradient descent so as to optimize model parameters and architecture parameters of the super network; when a pruning round is optimized, one edge is selected in the super network according to an edge selection criterion for pruning, the architecture parameters of the edge are fixed, and optimization is not carried out any more; after it is determined that all the edges on the super network are optimized, a network architecture is obtained; and training the obtained network architecture, and obtaining a pre-training model for rumor detection after training. According to the method, the optimal neural architecture is automatically designed to learn the characteristics of information propagation, so that the detection efficiency and the applicability of the model in different scenes are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to a rumor detection method, device and medium based on graph neural architecture search. Background Art

[0002] With the increasing development of the Internet, more and more people are getting information through social networks. Social platforms have greatly increased the speed and quantity of information dissemination and have become an inseparable part of people's lives. However, while social networks bring many conveniences, they also create conditions for the spread of rumors. Rumors often cause great harm to those who are rumored, and even mislead the public to aggravate social panic and trigger a social trust crisis. It can be seen that timely identification and refutation of rumors on social networks is an important topic. However, relying solely on manual detection of rumors in massive information will consume a lot of manpower and material resources, with low efficiency and prone to lag. Therefore, studying automatic rumor detection methods is of great significance to curbing the spread of rumors.

[0003] Many works focus on identifying rumors based on content features, such as language features, emotional features, etc. However, rumors are usually deliberately fabricated and have content features that are very close to real information. It is still insufficient to identify rumors only by content. In social networks, the spread of information will cause feedback and interaction from users, thus forming a propagation network. As a social effect feature of source information, the propagation network helps to identify the authenticity of the source information. In recent years, there have been many works that use information propagation networks for rumor detection. By extracting features through various neural network models, the effectiveness of using information propagation networks has been proved. With the development of graph neural networks, it has shown great advantages in graph data processing and is more suitable for learning structural features in propagation networks. Therefore, more and more works apply graph neural networks to rumor detection.

[0004] However, the graph neural network structures applicable to different data sets are often quite different. Current studies have designed a variety of network architectures to learn propagation features, but the data scenarios in reality are complex and diverse, and the network architectures designed manually on a certain data set may not be effectively applicable to new scenarios. Designing a neural network for each data set requires a lot of manpower costs, is inefficient and lacks flexibility. With the development of neural architecture search, its effectiveness in many fields has been proven. Therefore, a graph neural architecture search method is designed specifically for rumor detection tasks to automatically design the optimal neural network architecture, which can learn the characteristics of the propagation network more flexibly and efficiently, thereby improving the efficiency of detection and the applicability of the model in different scenarios. Summary of the invention

[0005] In order to solve at least one of the technical problems existing in the prior art to a certain extent, the purpose of the present invention is to provide a rumor detection method, device and medium based on graph neural architecture search.

[0006] The first technical solution adopted by the present invention is:

[0007] A rumor detection method based on graph neural architecture search includes the following steps:

[0008] Constructing a search space; wherein the candidate operations in the search space include node aggregation in classic graph neural networks, source information-guided node feature enhancement, and skip connection operations;

[0009] Continuously relaxing the search space to construct a hypernetwork, creating hybrid candidate operations parameterized by the architecture parameters for each edge on the hypernetwork;

[0010] Randomly initialize the parameters of the hypernetwork;

[0011] Alternately reduce validation loss and training loss through gradient descent to optimize the model parameters and architecture parameters of the hypernetwork;

[0012] When the optimization reaches the pruning round, an edge is selected in the hypernetwork for pruning according to the edge selection criterion, that is, the mixed operation is replaced by the candidate operation with the highest probability on the edge, and the architectural parameters of the edge are fixed and no further optimization is performed;

[0013] After ensuring that all edges on the hypernetwork are optimized, the network architecture is obtained;

[0014] The obtained network architecture is trained, and a pre-trained model for rumor detection is obtained after training.

[0015] Furthermore, the classic graph neural network includes: Graph Convolution Network (GCN), Graph Attention Network (GAT), Graph sampling and aggregation network (Graph sample and aggregate, GraphSAGE) or Graph Isomorphism Network (GIN).

[0016] Furthermore, the source information-guided node feature enhancement method includes: a gating mechanism, a source information enhancement mechanism, and a linear transformation, and each mechanism includes two node fusion methods: splicing and summation.

[0017] Furthermore, for the node v on the information propagation graph i The expressions for feature enhancement are:

[0018] 1) Gating mechanism:

[0019]

[0020]

[0021] 1.1) Splicing and fusion:

[0022]

[0023] 1.2) Sum and Fusion:

[0024]

[0025] In the formula, represents the gate vector of layer l, and represents the trainable weight parameters, Represents node v i In the original feature vector of the lth layer, c represents the root node, represents the feature vector of the root node at layer l, Represents node v i The feature vector after passing through the gating mechanism at layer l, Represents node v i In the final representation vector at the lth layer, ⊙ represents the Hadamard product, and || represents the concatenation operation;

[0026] 2) Source information enhancement mechanism:

[0027] 2.1) Splicing and fusion:

[0028]

[0029] 2.2) Sum and Fusion:

[0030]

[0031] 3) Linear transformation:

[0032]

[0033] In the formula, Represents trainable weight parameters.

[0034] Furthermore, the step of continuously relaxing the search space to construct a super network includes:

[0035] Construct a directed acyclic graph as a hypernetwork, where each node represents a hidden layer in the hypernetwork, and each hidden layer can accept the output of all previous layers as input; each edge e i,j It represents the mixing operation performed from the i-th layer to the j-th layer. The mixing operation is calculated as:

[0036]

[0037] In the formula, O represents the set of all candidate operations, represents the weight parameter of operation o, and σ represents the sigmoid function.

[0038] Furthermore, the architecture parameter optimization of the hypernetwork is expressed as a two-level optimization problem:

[0039]

[0040]

[0041] In the formula, and They represent training loss and validation loss respectively. The loss function is the cross entropy function. The approximate gradient algorithm proposed by DARTS is used for alternating optimization of gradient descent. w is the network parameter inside the neural network, α is the architecture parameter of the network architecture, and min α Indicates that under α The minimum value, argmin w Indicates The value of w when it reaches the minimum.

[0042] Furthermore, the side selection criteria include:

[0043] 1) Edge determinism:

[0044] For edge e on the hypernetwork i,j , the weight parameters of the candidate operations it contains are considered as a distribution, namely:

[0045]

[0046] In the formula, p (i,j) For edge e i,j The weight distribution of candidate operations on , O is the set of candidate operations, For edge e i,j The weight of a candidate operation on is the weight of other candidate operations in the candidate operation set;

[0047] The uncertainty of the distribution is measured by entropy, and the weight distribution p is calculated. (i,j) The entropy of is:

[0048]

[0049] Based on the calculated entropy, we further define edge e i,j The certainty is:

[0050] EC(i,j) =exp(-H(p (i,j) ))

[0051] 2) Trend stability:

[0052] For edge e on the hypernetwork i,j , in the current optimization round T, the weight parameter for each candidate operation o The historical values ​​within the window size K are fitted with a polynomial to obtain the function of round t

[0053]

[0054] In the formula, ~ represents the function fitting relationship;

[0055] The stability of the function trend is expressed by the absolute value of the second-order derivative. i,j All candidate operations in the edge e are calculated by summing up the absolute values ​​of the second-order derivatives of their weight parameters at round T to characterize the edge e i,j The trend stability is calculated as follows:

[0056]

[0057] 3) Side selection criteria:

[0058] For edge e on the hypernetwork i,j , whose score is:

[0059] score i,j =EC (i,j) ×TS (i,j)

[0060] Score i,j The edge with the largest value is pruned.

[0061] Furthermore, the training of the obtained network architecture includes:

[0062] Input the feature matrix of the information propagation graph into the obtained network architecture to learn and update node features;

[0063] A global feature vector is obtained through the maximum pooling operation;

[0064] Input the global feature vector into the fully connected network layer and calculate the cross entropy loss;

[0065] The cross entropy loss is minimized by gradient descent, and the training ends when the preset optimization round is reached.

[0066] The second technical solution adopted by the present invention is:

[0067] A rumor detection device based on graph neural architecture search, comprising:

[0068] at least one processor;

[0069] at least one memory for storing at least one program;

[0070] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.

[0071] The third technical solution adopted by the present invention is:

[0072] A computer-readable storage medium stores a program executable by a processor, wherein the program executable by the processor is used to execute the method described above when executed by the processor.

[0073] Compared with the prior art, the present invention has the following advantages and effects:

[0074] 1) The rumor detection method based on graph neural architecture search disclosed in the present invention constructs a search space with targeted rumor detection tasks, adds node enhancement operations, allows the model to pay more attention to highly relevant content, and filters out noise that deviates from the topic. Compared with the general graph neural architecture search space, it is more in line with the needs of the task and can improve the effect of the architecture.

[0075] 2) The rumor detection method based on graph neural architecture search disclosed in the present invention designs a search strategy with a pruning mechanism, which can speed up the search and reduce the consumption of computing resources while ensuring the search effect.

[0076] 3) The rumor detection method based on graph neural architecture search disclosed in the present invention can adaptively search for the best network architecture on different data sets, reduce the consumption caused by manually designing the neural network architecture, improve efficiency and be more flexible. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the embodiments of the present invention or the drawings of related technical solutions in the prior art are introduced below. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0078] Figure 1 is a schematic diagram of a super network in an embodiment of the present invention;

[0079] Figure 2 is a schematic diagram of a hypernetwork pruning process in an embodiment of the present invention;

[0080] Figure 3 It is a process step diagram of a rumor detection method based on graph neural architecture search in an embodiment of the present invention. DETAILED DESCRIPTION

[0081] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limitations of the present invention. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0082] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0083] In the description of the present invention, the meaning of "several" is one or more, the meaning of "more" is two or more, and the meanings of "greater than", "less than", "exceed" and the like are understood as not including the number itself, and the meanings of "above", "below", "within" and the like are understood as including the number itself. If there is a description of the first and the second, it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. In addition, "and / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects before and after are in an "or" relationship.

[0084] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.

[0085] like Figure 3 As shown, this embodiment provides a rumor detection method based on graph neural architecture search, comprising the following steps:

[0086] S1. Construct a search space; the candidate operations in the search space include node aggregation in classic graph neural networks, source information-guided node feature enhancement, and skip connection operations.

[0087] In some embodiments, classic graph neural networks include: Graph Convolution Network (GCN), Graph Attention Network (GAT), Graph sampling and aggregation network (Graph sample and aggregate, GraphSAGE), and Graph Isomorphism Network (GIN).

[0088] The source information-oriented node feature enhancement method includes: gating mechanism, source information enhancement mechanism, linear transformation, and two node fusion methods, splicing and summation, for the node v on the information propagation graph. i The expressions for feature enhancement are:

[0089] 1) Gating mechanism:

[0090]

[0091]

[0092] 1.1) Splicing and fusion:

[0093]

[0094] 1.2) Sum and Fusion:

[0095]

[0096] in, represents the gate vector of layer l, and represents the trainable weight parameters, Represents node v i In the feature vector of the lth layer, c represents the root node, ⊙ represents the Hadamard product, Represents node v i In the final representation vector of the lth layer, || represents the concatenation operation;

[0097] 2) Source information enhancement mechanism:

[0098] 2.1) Splicing and fusion:

[0099]

[0100] 2.2) Sum and Fusion:

[0101]

[0102] 3) Linear transformation:

[0103]

[0104] In the formula, Represents trainable weight parameters.

[0105] S2. The search space is constructed as a hypernetwork through continuous relaxation, and hybrid candidate operations parameterized by architecture parameters are created for each edge on the hypernetwork.

[0106] Construct a directed acyclic graph as a hypernetwork, where each node represents a hidden layer in the hypernetwork, and each hidden layer can accept the output of all previous layers as input; each edge e i,j represents the blending operation performed from layer i to layer j. The blending operation is calculated as:

[0107]

[0108] Among them, O represents the set of all candidate operations, represents the weight parameter of operation o, and σ represents the sigmoid function.

[0109] S3. Randomly initialize the parameters of the hypernetwork.

[0110] S4. Alternately reduce the validation loss and training loss through gradient descent to optimize the model parameters and architecture parameters of the hypernetwork.

[0111] The optimization of architecture parameters can be formulated as a two-level optimization problem:

[0112]

[0113]

[0114] in, and They represent training loss and validation loss respectively. The loss function is the cross entropy function. The approximate gradient algorithm proposed by DARTS is used for alternating optimization of gradient descent.

[0115] S5. When the optimization reaches the pruning round, an edge is selected in the hypernetwork for pruning according to the edge selection criterion, that is, the mixed operation is replaced by the candidate operation with the highest probability on the edge, and the architectural parameters of the edge are fixed without further optimization.

[0116] As an optional implementation, the edge selection criteria are as follows:

[0117] 1) Edge determinism:

[0118] For edge e on the hypernetwork i,j , the weight parameters of the candidate operations it contains are considered as a distribution, namely:

[0119]

[0120] The uncertainty of the distribution is measured by entropy, and the weight distribution p is calculated. (i,j) The entropy of is:

[0121] H(p (i,j) )=-∑ o∈O p (i,j) log(p (i,j) ) (12)

[0122] Based on the calculated entropy, we further define edge e i,j The certainty is:

[0123] EC (i,j) =exp(-H(p (i,j) )) (13)

[0124] 2) Trend stability:

[0125] For edge e on the hypernetwork i,j , in the current optimization round T, the weight parameter for each candidate operation o The historical values ​​within the window size K are fitted with a polynomial to obtain the function of round t

[0126]

[0127] The stability of the function trend is expressed by the absolute value of the second-order derivative. i,j All candidate operations in the edge e are calculated by summing up the absolute values ​​of the second-order derivatives of their weight parameters at round T to characterize the edge e i,j The trend stability is calculated as follows:

[0128]

[0129] 3) Side selection criteria:

[0130] For edge e on the hypernetwork i,j , whose score is:

[0131] score i,j =EC (i,j) ×TS (i,j) (16)

[0132] Score i,j The edge with the largest value is pruned.

[0133] S6. Repeat steps S4-S5 until the operations of all edges on the supernetwork are determined and the network architecture is obtained.

[0134] S7. The trained network architecture.

[0135] In some embodiments, step S7 specifically includes the following steps:

[0136] S71, inputting the feature matrix of the information propagation graph into the obtained network architecture, and learning to update node features;

[0137] S72, obtaining a global feature vector through a maximum pooling operation;

[0138] S73, inputting the global feature vector into the fully connected network layer, and calculating the cross entropy loss;

[0139] S74. Minimize the cross entropy loss by gradient descent, and the training ends when the specified optimization round is reached.

[0140] S8. After the training is completed, a pre-trained model for rumor detection is obtained.

[0141] The above method is explained in detail below with reference to the accompanying drawings and specific embodiments.

[0142] The super network topology of this embodiment is as follows Figure 1 As shown in (a), each node X (L) represents the hidden layer in the network, and L represents the number of layers. Figure 1 (b) is an example with L = 2 layers. The directed edge e from hidden layer i to hidden layer j i,j Represents the mixed operation performed on the input feature vector, which is the weighted sum of all candidate operations o(x) in the search space O Right now:

[0143]

[0144] Among them, σ represents the sigmoid function, and the weight of the mixing operation is a vector with a dimension of O Parameterized. Candidate operations include node aggregation operations of classic graph neural networks, source information-guided node feature enhancement operations, and skip connection operations. Classic graph neural networks include graph convolutional neural networks, graph attention networks, graph sampling and aggregation networks, and graph isomorphism networks. Source information-guided node feature enhancement methods include: gating mechanism, source information enhancement mechanism, linear transformation, and two node fusion methods: splicing and summation.

[0145] The network parameters of the constructed hypernetwork are randomly initialized. The goal of architecture search is to learn a set of architecture parameters α = {α (i,j)}, at the end of the search, by using the operation with the highest probability, i.e. Replace Mix Operation This results in a discrete architecture where each layer can receive no more than two inputs. The optimization process of the architecture parameters can be expressed as a two-level optimization problem:

[0146]

[0147]

[0148] in, and Denote the training loss and validation loss respectively, and the cross entropy loss function is used. The optimization goal is to find the validation loss Minimize the architectural parameter α * , where the weight w * is obtained by minimizing the training loss, i.e. The gradient value is calculated according to the approximate gradient proposed by the classic DARTS algorithm, so that the architecture parameter α and the network parameter w are alternately optimized by gradient descent.

[0149] When the optimization reaches the manually specified pruning round, an edge e is selected in the hypernetwork according to the edge selection criterion. i,j To perform pruning operations, the process is as follows Figure 2 As shown. Replace the mixed operation on the selected edge with the candidate operation with the highest probability, and fix the architecture parameter α of the edge (i,j) , no more optimization is performed. Each pruning round performs a pruning operation on the super network until all edges in the entire network architecture are determined and the final architecture is obtained.

[0150] After obtaining the final network architecture, the feature matrix of the information propagation graph in the data set is input into it, the node features are learned and updated, and a global feature vector of the propagation graph is obtained through the maximum pooling operation. The global feature vector is then input into the fully connected network layer and optimized using the gradient descent method. The network architecture is trained by minimizing the cross entropy loss of the predicted label and the true label distribution until the specified round of training is completed, and a pre-trained model is obtained.

[0151] In summary, the present invention proposes a rumor detection method based on graph neural architecture search, which automatically designs the optimal neural architecture to learn the characteristics of information propagation, while improving the detection efficiency and the applicability of the model in different scenarios. The characteristics of the method of the present invention are: the search space not only includes the node aggregation operation in the classic graph neural network, but also adds a source information-guided node feature enhancement method; the search strategy designs a pruning mechanism based on gradient descent to improve the search efficiency. It should be noted that the present invention is a complementary framework to the existing rumor detection model based on graph neural network, which can be combined with the existing model to provide a more flexible and efficient new optimization idea.

[0152] This embodiment also provides a rumor detection device based on graph neural architecture search, including:

[0153] at least one processor;

[0154] at least one memory for storing at least one program;

[0155] When the at least one program is executed by the at least one processor, the at least one processor implements Figure 3 The method shown.

[0156] A rumor detection device based on graph neural architecture search in this embodiment can execute a rumor detection method based on graph neural architecture search provided by an embodiment of the method of the present invention, can execute any combination of implementation steps of the method embodiment, and has the corresponding functions and beneficial effects of the method.

[0157] The present application also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes Figure 3 The method shown.

[0158] This embodiment also provides a storage medium storing instructions or programs that can execute a rumor detection method based on graph neural architecture search provided by an embodiment of the method of the present invention. When the instructions or programs are run, any combination of implementation steps of the method embodiment can be executed, and the corresponding functions and beneficial effects of the method can be obtained.

[0159] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.

[0160] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.

[0161] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0162] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0163] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0164] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0165] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0166] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

[0167] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A rumor detection method based on graph neural architecture search, characterized in that: The following steps are involved: Constructing a search space; wherein the candidate operations in the search space include node aggregation in classic graph neural networks, source information-guided node feature enhancement, and skip connection operations; Continuously relaxing the search space to construct a hypernetwork, creating hybrid candidate operations parameterized by the architecture parameters for each edge on the hypernetwork; Randomly initialize the parameters of the hypernetwork; Alternately reduce validation loss and training loss through gradient descent to optimize the model parameters and architecture parameters of the hypernetwork; When the optimization reaches the pruning round, an edge is selected in the hypernetwork for pruning according to the edge selection criteria, and the architecture parameters of the edge are fixed and no further optimization is performed; After ensuring that all edges on the hypernetwork are optimized, the network architecture is obtained; The obtained network architecture is trained, and a pre-trained model for rumor detection is obtained after training.

2. According to claim 1, a rumor detection method based on graph neural architecture search is characterized in that: The classic graph neural network includes: graph convolutional neural network, graph attention network, graph sampling and aggregation network or graph isomorphism network.

3. According to the rumor detection method based on graph neural architecture search in claim 1, it is characterized in that: The source information-guided node feature enhancement method includes: a gating mechanism, a source information enhancement mechanism, and a linear transformation. Each mechanism includes two node fusion methods: splicing and summation.

4. The rumor detection method based on graph neural architecture search according to claim 3 is characterized in that: For node v on the information diffusion graph i The expressions for feature enhancement are: 1) Gating mechanism: 1.1) Splicing and fusion: 1.2) Sum and Fusion: In the formula, represents the gate vector of layer l, and represents the trainable weight parameters, Represents node v i In the original feature vector of the lth layer, c represents the root node, represents the feature vector of the root node at layer l, Represents node v i The feature vector after passing through the gating mechanism at layer l, Represents node v i In the final representation vector at the lth layer, ⊙ represents the Hadamard product, and || represents the concatenation operation; 2) Source information enhancement mechanism: 2.1) Splicing and fusion: 2.2) Sum and Fusion: 3) Linear transformation: Where W i (l) Represents trainable weight parameters.

5. The rumor detection method based on graph neural architecture search according to claim 1 is characterized in that: The step of continuously relaxing the search space to construct a hypernetwork includes: Construct a directed acyclic graph as a hypernetwork, where each node represents a hidden layer in the hypernetwork, and each hidden layer can accept the output of all previous layers as input; each edge e i,j It represents the mixing operation performed from the i-th layer to the j-th layer. The mixing operation is calculated as: In the formula, O represents the set of all candidate operations, represents the weight parameter of operation o, and σ represents the sigmoid function.

6. The rumor detection method based on graph neural architecture search according to claim 1 is characterized in that: The architectural parameter optimization of the hypernetwork is formulated as a two-level optimization problem: In the formula, and They represent training loss and validation loss respectively, w is the network parameter inside the neural network, α is the architecture parameter of the network architecture, min a Indicates that under α The minimum value, argmin w Indicates The value of w when it reaches the minimum.

7. The rumor detection method based on graph neural architecture search according to claim 1 is characterized in that: The side selection criteria include: 1) Edge determinism: For edge e on the hypernetwork i,j , the weight parameters of the candidate operations it contains are considered as a distribution, namely: In the formula, p (i,j) For edge e i,j The weight distribution of candidate operations on , O is the set of candidate operations, For edge e i,j The weight of a candidate operation on is the weight of other candidate operations in the candidate operation set; The uncertainty of the distribution is measured by entropy, and the weight distribution p is calculated. (i,j) The entropy of is: Based on the calculated entropy, we further define edge e i,j The certainty is: EC (i,j) =exp(-H(p (i,j) )) 2) Trend stability: For edge e on the hypernetwork i,j , in the current optimization round T, the weight parameter for each candidate operation o The historical values ​​within the window size K are fitted with a polynomial to obtain the function of round t In the formula, ~ represents the function fitting relationship; The stability of the function trend is expressed by the absolute value of the second-order derivative. i,j All candidate operations in the edge e are calculated by summing up the absolute values ​​of the second-order derivatives of their weight parameters at round T to characterize the edge e i,j The trend stability is calculated as follows: 3) Side selection criteria: For edge e on the hypernetwork i,j , whose score is: score i,j =EC (i,j) ×TS (i,j) Score i,j The edge with the largest value is pruned.

8. The rumor detection method based on graph neural architecture search according to claim 1 is characterized in that: The training of the obtained network architecture comprises: Input the feature matrix of the information propagation graph into the obtained network architecture to learn and update node features; A global feature vector is obtained through the maximum pooling operation; Input the global feature vector into the fully connected network layer and calculate the cross entropy loss; The cross entropy loss is minimized by gradient descent, and the training ends when the preset optimization round is reached.

9. A rumor detection device based on graph neural architecture search, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 8.

10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to perform the method according to any one of claims 1 to 8 when executed by the processor.

Citation Information

Patent Citations

  • Remote sensing SAR target detection method based on combination of network pruning and parameter quantification

    CN114170512A

  • Model search method, device and equipment, storage medium and program product

    CN115114470A

  • Searching method and device of graph neural network architecture, prediction method and product

    CN116861953A

  • Neural architecture searching apparatus, neural architecture searching method, and program

    WO2023223394A1