Training method, prediction method, device, equipment and medium for bid-rigging detection model

By independently inputting bidding documents and key objects of interest in the bid-rigging detection model, and using multiple encoder layers to optimize the prediction results, the problem of insufficient detection efficiency and accuracy in the existing technology is solved, and a more efficient and accurate rigging is achieved. mark detection.

CN118446271BActive Publication Date: 2024-10-113RD CONSTRUCTION (SHENZHEN) CO LTD OF CHINA CONSTRUCTION 5TH ENGINEERING BUREAU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410917732.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-10-11
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

The existing bid-rigging detection methods are relatively fixed, and it is difficult to effectively improve detection efficiency and accuracy, especially when determining whether the network information or bid documents of the main bidder and the accompanying bidder are the same.

Method used

By introducing the first text input module and the second text input module into the bid-rigging detection model, the bidding documents and key objects of interest are input respectively, and the encoding vectors are output through multiple encoder layers until the prediction results meet the predetermined conditions, thereby improving the accuracy of the model. Focus your attention on the object.

Benefits of technology

It has significantly improved the efficiency and accuracy of target detection, enhanced the model's focusing ability, feature learning, interpretability and flexibility, and has a wider scope of application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118446271B_ABST
    Figure CN118446271B_ABST
Patent Text Reader

Abstract

The present application discloses a training method, prediction method, device, equipment and medium for a bid-rigging detection model; the method comprises: extracting a training sample from a pre-constructed training set as a current training sample; inputting the current training sample and the key focus object corresponding to the current training sample into the bid-rigging detection model through a first text input module and a second text input module respectively, and outputting the prediction result of the current training sample through the bid-rigging detection model; if the prediction result of the current training sample does not meet a predetermined condition, repeating the above operation until the prediction result of the current training sample meets the predetermined condition. The embodiments of the present application can improve the attention of the bid-rigging detection model to the key focus object, thereby effectively improving the efficiency and accuracy of bid-rigging detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of artificial intelligence technology, and in particular to a training method, prediction method, device, equipment and medium for a bid-rigging detection model. Background Art

[0002] At present, the bidding units mainly use the following two methods to detect bid rigging: 1) Determine whether the network information or unit information of the main bidder and the supporting bidder is the same. The network information can be the IP address or Mac address; the unit information can be the unit name, mailing address, contact information, etc. 2) Determine whether the bid documents of the main bidder and the supporting bidder are the same. The above detection methods are relatively fixed. Summary of the invention

[0003] The present application provides a training method, prediction method, device, equipment and medium for a bid-rigging detection model, which can improve the attention of the bid-rigging detection model to key focus objects, thereby effectively improving the efficiency and accuracy of bid-rigging detection.

[0004] In a first aspect, an embodiment of the present application provides a method for training a bid-rigging detection model, the method comprising:

[0005] Extract a training sample from the pre-constructed training set as the current training sample;

[0006] Inputting the current training sample and the key focus object corresponding to the current training sample into the bid-rigging detection model respectively through the first text input module and the second text input module, and outputting the prediction result of the current training sample through the bid-rigging detection model;

[0007] If the prediction result of the current training sample does not meet the predetermined condition, the above operation is repeatedly performed until the prediction result of the current training sample meets the predetermined condition.

[0008] In a second aspect, an embodiment of the present application provides a prediction method of a bid-rigging detection model, the method comprising:

[0009] Inputting the bidding document to be detected and the key objects of concern corresponding to the bidding document to be detected into the pre-trained bid-rigging detection model through the first text input module and the second text input module respectively;

[0010] Outputting the prediction result of the bidding document to be detected through the bid-rigging detection model;

[0011] According to the prediction result of the bidding document to be detected, it is determined whether the bidding document to be detected is a normal bidding document or an abnormal bidding document.

[0012] In a third aspect, the present application also provides a training device for a bid-rigging detection model, the device comprising: a sample extraction module, a training execution module and a training control module; wherein:

[0013] The sample extraction module is used to extract a training sample from a pre-constructed training set as a current training sample;

[0014] The training execution module is used to input the current training sample and the key focus object corresponding to the current training sample into the bid-rigging detection model through the first text input module and the second text input module respectively, and output the prediction result of the current training sample through the bid-rigging detection model;

[0015] The training control module is used to repeatedly perform the above operation if the prediction result of the current training sample does not meet the predetermined condition, until the prediction result of the current training sample meets the predetermined condition.

[0016] In a fourth aspect, an embodiment of the present application further provides a prediction device for a bid-rigging detection model, the device comprising: an input module, an output module and a prediction module; wherein:

[0017] The input module is used to input the bidding documents to be detected and the key objects of concern corresponding to the bidding documents into the pre-trained bid-rigging detection model through the first text input module and the second text input module respectively;

[0018] The output module is used to output the prediction result of the bidding document to be detected through the bid-rigging detection model;

[0019] The prediction module is used to determine whether the bidding document to be detected is a normal bidding document or an abnormal bidding document according to the prediction result of the bidding document to be detected.

[0020] In a fifth aspect, an embodiment of the present application provides an electronic device, including:

[0021] one or more processors;

[0022] a memory for storing one or more programs,

[0023] When the one or more programs are executed by the one or more processors, the one or more processors implement the training method and prediction method of the bid-rigging detection model described in any embodiment of the present application.

[0024] In a sixth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored, and when the program is executed by a processor, the training method and prediction method of the bid-rigging detection model described in any embodiment of the present application are implemented.

[0025] The embodiment of the present application proposes a training method, prediction method, device, equipment and medium for a bid-rigging detection model. First, a training sample is extracted from a pre-constructed training set as the current training sample; then, the current training sample and the key focus object corresponding to the current training sample are respectively input into the bid-rigging detection model through the first text input module and the second text input module, and the prediction result of the current training sample is output through the bid-rigging detection model; if the prediction result of the current training sample does not meet the predetermined condition, the above operation is repeated until the prediction result of the current training sample meets the predetermined condition. That is to say, in the technical solution of the present application, the bidding documents and the key focus object can be respectively input into the bid-rigging detection model through the first text input module and the second text input module, so as to improve the attention of the bid-rigging detection model to the key focus object. In the existing detection method, it is judged whether the network information or unit information of the main bidder and the supporting bidder is the same; or it is judged whether the bid documents of the main bidder and the supporting bidder are the same. Therefore, compared with the prior art, the training method, prediction method, device, equipment and medium of the bid-rigging detection model proposed in the embodiments of the present application can improve the attention of the bid-rigging detection model to key focus objects, thereby effectively improving the efficiency and accuracy of bid-rigging detection; and the technical solution of the embodiments of the present application is simple and convenient to implement, easy to popularize, and has a wider scope of application. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram of a flow chart of a method for training a bid-rigging detection model provided in an embodiment of the present application;

[0027] Figure 2 A schematic diagram of the structure of a bid-rigging detection model provided in an embodiment of the present application;

[0028] Figure 3 A schematic diagram of a flow chart of a method for training a bid-rigging detection model provided in another embodiment of the present application;

[0029] Figure 4 A schematic diagram of a flow chart of a method for outputting a coding vector through an encoder layer provided in an embodiment of the present application;

[0030] Figure 5 A schematic diagram of the structure of an encoder provided in one embodiment of the present application;

[0031] Figure 6 A schematic diagram of a flow chart of a prediction method of a bid-rigging detection model provided in an embodiment of the present application;

[0032] Figure 7 A schematic diagram of the structure of a training device for a bid-rigging detection model provided in an embodiment of the present application;

[0033] Figure 8A schematic diagram of the structure of a prediction device for a bid-rigging detection model provided in an embodiment of the present application;

[0034] Fig. 9 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0035] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.

[0036] Figure 1 This is a flow chart of a method for training a bid-rigging detection model provided in an embodiment of the present application. The method can be performed by a training device or electronic device for a bid-rigging detection model. The device or electronic device can be implemented by software and / or hardware, and the device or electronic device can be integrated in any smart device with network communication function. Figure 1 As shown, the training method of the bid-rigging detection model may include the following steps:

[0037] S101. Extract a training sample from a pre-constructed training set as a current training sample.

[0038] In a specific embodiment of the present application, a training set may be pre-constructed, and the training samples in the training set are composed of bidding documents, and the bidding documents may be winning bidding documents or losing bidding documents.

[0039] S102. Input the current training sample and the key focus object corresponding to the current training sample into the bid-rigging detection model through the first text input module and the second text input module respectively, and output the prediction result of the current training sample through the bid-rigging detection model.

[0040] The focus object in the embodiment of the present application can be composed of one or more important words involved in a plurality of predetermined bidding documents. The important words involved in the bidding documents in the embodiment of the present application can be key fields that affect whether the bidding unit wins the bid. For example, bidder qualifications, bid deposits, proof of financial status, quality assurance requirements, etc. In this step, if there are multiple important words involved in the bidding documents, core words can be first extracted from the multiple important words, and then the core words and other words can be combined around the core points to form an ordered or hierarchical structure to obtain a focus object composed of multiple key words.

[0041] The bid-rigging detection model in the embodiments of the present application may be an existing Transformer model, or may be obtained by improving the existing Transformer model. Figure 2 This is a schematic diagram of the structure of a bid-rigging detection model provided in an embodiment of the present application. Figure 2 As shown, the bid-rigging detection model is obtained by improving the existing Transformer model. The bid-rigging detection model in the embodiment of the present application may include: a first text input module (Input1), a second text input module (Input1), a first embedding layer (Embedding Layer1), a second embedding layer (Embedding Layer2), an encoder (Encoder), a decoder (Decoder) and a score output module (Score Output); wherein the encoder may include multiple encoder layers (Encoder Layer). Figure 2 The encoder shown in may include three encoder layers, namely: encoder layer 1, encoder layer 2 and encoder layer 3; similarly, the decoder may also include multiple decoder layers. Figure 2 The decoder shown in may include three decoder layers, namely: decoder layer 1, decoder layer 2 and decoder layer 3. Specifically, the first text input module is used to input the current training sample into the first embedding layer; the second text input module is used to input the key focus object corresponding to the current training sample into the second embedding layer; the first embedding layer is used to convert the current training sample into the embedding representation of the current training sample, and input the embedding representation of the current training sample into the encoder; the second embedding layer is used to convert the key focus object into the embedding representation of the key focus object, and input the embedding representation of the key focus object into the encoder; the encoder is used to output the encoding vector of the current training sample based on the embedding representation of the current training sample and the embedding representation of the key focus object, and input the encoding vector of the current training sample into the decoder; the decoder is used to decode the encoding vector of the current training sample, output the decoding vector of the current training sample, and input the decoding vector of the current training sample into the score output module; the score output module is used to output the predicted score of the current training sample.

[0042] S103: If the prediction result of the current training sample does not meet the predetermined condition, the above operation is repeatedly performed until the prediction result of the current training sample meets the predetermined condition.

[0043] The training method of the bid-rigging detection model proposed in the embodiment of the present application first extracts a training sample from the pre-constructed training set as the current training sample; then the current training sample and the key focus object corresponding to the current training sample are respectively input into the bid-rigging detection model through the first text input module and the second text input module, and the prediction result of the current training sample is output through the bid-rigging detection model; if the prediction result of the current training sample does not meet the predetermined condition, the above operation is repeated until the prediction result of the current training sample meets the predetermined condition. That is to say, in the technical solution of the present application, the bidding documents and the key focus object can be respectively input into the bid-rigging detection model through the first text input module and the second text input module, so as to improve the attention of the bid-rigging detection model to the key focus object. In the existing detection method, it is determined whether the network information or unit information of the main bidder and the supporting bidder are the same; or it is determined whether the bid documents of the main bidder and the supporting bidder are the same. Therefore, compared with the prior art, the training method of the bid-rigging detection model proposed in the embodiment of the present application can improve the attention of the bid-rigging detection model to key focus objects, thereby effectively improving the efficiency and accuracy of bid-rigging detection; and the technical solution of the embodiment of the present application is simple and convenient to implement, easy to popularize, and has a wider scope of application.

[0044] Figure 3 A flowchart of a method for training a bid-rigging detection model provided in another embodiment of the present application is provided. The above technical solution is further optimized and expanded, and can be combined with the above optional implementations. Figure 3 As shown, the training method of the bid-rigging detection model may include the following steps:

[0045] S301. Extract a training sample from a pre-constructed training set as a current training sample.

[0046] S302. Input the current training sample and the key focus object into the first embedding layer and the second embedding layer respectively through the first text input module and the second text input module, and convert the current training sample and the key focus object into the embedded representation of the current training sample and the embedded representation of the key focus object respectively through the first embedding layer and the second embedding layer.

[0047] In this step, the first embedding layer and the second embedding layer convert the current training sample and the focus object into the embedding representation of the current training sample and the embedding representation of the focus object respectively. The following methods can be used: 1) Pre-construct a vocabulary, which can include all words or tokens that can be involved, and assign a unique integer ID to each word or token. 2) The current training sample input by the first text input module and the focus object input by the second text input module are respectively segmented, and then each word or token is replaced by its ID in the vocabulary. 3) Find the ID corresponding to each word or token in the pre-constructed weight matrix to obtain the embedding vector of each word or token. 4) For a sample containing multiple words or tokens, each word or token will correspond to an embedding vector. These embedding vectors can be directly concatenated to form a long vector to obtain the embedding representation of the text data. During the model training process, the weight matrix of the embedding layer is one of the learnable parameters. Through optimization algorithms such as back propagation and gradient descent, the model will continuously adjust these embedding vectors so that they can better capture the semantic relationship and context information between words when performing specific tasks.

[0048] S303, inputting the embedded representation of the current training sample and the embedded representation of the focused object into the encoder respectively, outputting the encoding vector of the current training sample through the encoder; and obtaining the prediction result of the current training sample based on the encoding vector of the current training sample.

[0049] The encoder in the embodiment of the present application may include multiple encoder layers; the multiple encoder layers are connected in series. In this step, the embedded representation of the current training sample is used as the current residual data, and the embedded representation of the focused object is used as the current focused data; then the first encoder layer among the multiple encoder layers is used as the current encoder layer, and the current residual data and the current focused data are respectively input into the current encoder layer, and the current encoding vector of the current training sample is output through the current encoder layer; then the current encoding vector is used as the current residual data, the embedded representation of the focused object is used as the current focused data, and the next encoder layer of the current encoder layer is used as the current encoder layer, and the above operation is repeated until the encoding vector of the current training sample is output through the last encoder layer among the multiple encoder layers.

[0050] S304: If the prediction result of the current training sample does not meet the predetermined condition, the above operation is repeatedly performed until the prediction result of the current training sample meets the predetermined condition.

[0051] This application uses the first text input module and the second text input module to input the current training sample and its corresponding focus object into the bid-rigging detection model, respectively, and can obtain the following significant benefits: 1) Improve the model's focusing ability: Highlighting the focus object separately can help the model learn these key information more accurately, so that it can more effectively identify and focus on these key contents when processing data, and improve the accuracy and efficiency of detection. 2) Enhance feature learning: Two independent text input modules can give the model the opportunity to learn and extract features from different angles. The current training sample may contain a lot of background information, while the focus object is the part that needs special attention. Separate input allows the model to better understand which features are closely related to the focus object, thereby optimizing the feature weights and improving model performance. 3) Improve model interpretability: This structure helps to improve the interpretability of the model, because it can clearly see the impact of the focus object on the final prediction result, which is very helpful for subsequent model debugging, optimization and result verification. 4) Flexible response to complex scenarios: In some scenarios, the focus object may appear in different forms or require special contextual understanding. Independent input can customize the preprocessing or feature extraction steps for these specific objects, making the model more flexible and adaptable. 5) Optimize resource allocation: Independent input can also allow the model to dynamically adjust the allocation of computing resources as needed. For computationally intensive tasks, especially when processing large-scale data sets, it can more efficiently utilize resources and reduce unnecessary computing burdens. In summary, the independent input method proposed in this application can not only improve the detection accuracy and efficiency of the model, but also enhance the interpretability and flexibility of the model. It is one of the effective strategies for optimizing machine learning tasks.

[0052] The training method of the bid-rigging detection model proposed in the embodiment of the present application first extracts a training sample from the pre-constructed training set as the current training sample; then the current training sample and the key focus object corresponding to the current training sample are respectively input into the bid-rigging detection model through the first text input module and the second text input module, and the prediction result of the current training sample is output through the bid-rigging detection model; if the prediction result of the current training sample does not meet the predetermined condition, the above operation is repeated until the prediction result of the current training sample meets the predetermined condition. That is to say, in the technical solution of the present application, the bidding documents and the key focus object can be respectively input into the bid-rigging detection model through the first text input module and the second text input module, so as to improve the attention of the bid-rigging detection model to the key focus object. In the existing detection method, it is determined whether the network information or unit information of the main bidder and the supporting bidder are the same; or it is determined whether the bid documents of the main bidder and the supporting bidder are the same. Therefore, compared with the prior art, the training method of the bid-rigging detection model proposed in the embodiment of the present application can improve the attention of the bid-rigging detection model to key focus objects, thereby effectively improving the efficiency and accuracy of bid-rigging detection; and the technical solution of the embodiment of the present application is simple and convenient to implement, easy to popularize, and has a wider scope of application.

[0053] Figure 4 A flow chart of a method for outputting a coding vector through an encoder layer provided in an embodiment of the present application. The above technical solution is further optimized and expanded, and can be combined with the above optional implementations. Figure 4 As shown, the method of outputting the encoding vector through the encoder layer may include the following steps:

[0054] S401. Input the current training sample and the key focus object into the first embedding layer and the second embedding layer respectively through the first text input module and the second text input module, and convert the current training sample and the key focus object into the embedded representation of the current training sample and the embedded representation of the key focus object respectively through the first embedding layer and the second embedding layer.

[0055] The embodiment of the present application can input the bidding documents and the key focus objects into the first embedding layer and the second embedding layer respectively through the first text input module and the second text input module, thereby improving the attention of the bid rigging detection model to the key focus objects.

[0056] S402: Using the embedded representation of the current training sample as current residual data, and using the embedded representation of the focused object as current focused data.

[0057] S403, taking the first encoder layer among the multiple encoder layers as the current encoder layer, inputting the current residual data and the current focused data into the first residual unit respectively, and outputting the first regularization result of the current training sample in the current encoder layer through the first residual unit.

[0058] S404, inputting the first regularization result and the current focused input data into the second residual unit respectively, outputting the second regularization result of the current training sample in the current encoder layer through the second residual unit, and obtaining the current encoding vector from the second regularization result.

[0059] S405. Use the current encoding vector as the current residual data, use the embedded representation of the focused object as the current focused data, use the next encoder layer of the current encoder layer as the current encoder layer, and repeat the above operations until the encoding vector of the current training sample is output through the last encoder layer among the multiple encoder layers.

[0060] Figure 5 This is a schematic diagram of the structure of an encoder provided in one embodiment of the present application. Figure 5 As shown, the encoder in the embodiment of the present application may include multiple encoder layers, and each encoder layer may include: a first residual unit and a second residual unit; wherein the first residual unit may include: a multi-head attention layer and a first residual connection and a regularization layer; the second residual unit may include: a feedforward layer and a second residual connection and a regularization layer. In the embodiment of the present application, the current training sample and the key focus object are first input into the first embedding layer and the second embedding layer respectively through the first text input module and the second text input module, and the current training sample and the key focus object are converted into the embedded representation of the current training sample and the embedded representation of the key focus object respectively through the first embedding layer and the second embedding layer; the embedded representation of the current training sample is used as the current residual data, and the embedded representation of the key focus object is used as the current key focus data; then the first encoder layer among the multiple encoder layers is used as the current encoder layer, the current residual data and the current key focus data are respectively input into the current encoder layer, and the current encoding vector of the current training sample is output through the current encoder layer; the current encoding vector is used as the current residual data, the embedded representation of the key focus object is used as the current key focus data, and the encoder layer next to the current encoder layer is used as the current encoder layer, and the above operations are repeated until the encoding vector of the current training sample is output through the last encoder layer among the multiple encoder layers.

[0061] The training method of the bid-rigging detection model proposed in the embodiment of the present application first extracts a training sample from the pre-constructed training set as the current training sample; then the current training sample and the key focus object corresponding to the current training sample are respectively input into the bid-rigging detection model through the first text input module and the second text input module, and the prediction result of the current training sample is output through the bid-rigging detection model; if the prediction result of the current training sample does not meet the predetermined condition, the above operation is repeated until the prediction result of the current training sample meets the predetermined condition. That is to say, in the technical solution of the present application, the bidding documents and the key focus object can be respectively input into the bid-rigging detection model through the first text input module and the second text input module, so as to improve the attention of the bid-rigging detection model to the key focus object. In the existing detection method, it is determined whether the network information or unit information of the main bidder and the supporting bidder are the same; or it is determined whether the bid documents of the main bidder and the supporting bidder are the same. Therefore, compared with the prior art, the training method of the bid-rigging detection model proposed in the embodiment of the present application can improve the attention of the bid-rigging detection model to key focus objects, thereby effectively improving the efficiency and accuracy of bid-rigging detection; and the technical solution of the embodiment of the present application is simple and convenient to implement, easy to popularize, and has a wider scope of application.

[0062] Figure 6 The flowchart of the prediction method of the bid-rigging detection model provided in one embodiment of the present application is shown in FIG. The method can be executed by a prediction device or electronic device of the bid-rigging detection model, which can be implemented by software and / or hardware, and can be integrated in any smart device with network communication function. Figure 6 As shown, the prediction method of the bid-rigging detection model may include the following steps:

[0063] S601. Input the bidding documents to be detected and the key objects of concern corresponding to the bidding documents to be detected into a pre-trained bid-rigging detection model through the first text input module and the second text input module respectively.

[0064] The embodiment of the present application can input the bidding documents to be detected and the key focus objects corresponding to the bidding documents to be detected into the bid rigging detection model through the first text input module and the second text input module respectively, thereby improving the bid rigging detection model's attention to the key focus objects.

[0065] S602: Output the prediction results of the bidding documents to be detected through the bid-rigging detection model.

[0066] S603: Determine whether the bidding document to be detected is a normal bidding document or an abnormal bidding document according to the prediction result of the bidding document to be detected.

[0067] The prediction result in the embodiment of the present application can be the score predicted by the bid rigging detection model for the bidding document; if the score of the bidding document is greater than or equal to the predetermined score, it can be determined that the bidding document to be detected is a normal bidding document; if the score of the bidding document is less than the predetermined score, it can be determined that the bidding document to be detected is an abnormal bidding document.

[0068] The prediction method of the bid-rigging detection model proposed in the embodiment of the present application first inputs the bidding documents to be detected and the key objects of concern corresponding to the bidding documents into the pre-trained bid-rigging detection model through the first text input module and the second text input; then outputs the prediction results of the bidding documents to be detected through the bid-rigging detection model; and then determines whether the bidding documents to be detected are normal bidding documents or abnormal bidding documents according to the prediction results of the bidding documents to be detected. That is to say, in the technical solution of the present application, the bidding documents and the key objects of concern can be input into the bid-rigging detection model through the first text input module and the second text input module, respectively, so as to improve the attention of the bid-rigging detection model to the key objects of concern. In the existing detection method, it is judged whether the network information or unit information of the main bidder and the supporting bidder are the same; or it is judged whether the bid documents of the main bidder and the supporting bidder are the same. Therefore, compared with the prior art, the prediction method of the bid-rigging detection model proposed in the embodiment of the present application can improve the attention of the bid-rigging detection model to the key objects of concern, thereby effectively improving the efficiency and accuracy of bid-rigging detection; and the technical solution of the embodiment of the present application is simple and convenient to implement, easy to popularize, and has a wider scope of application.

[0069] Figure 7 A schematic diagram of the structure of a training device for a bid-rigging detection model provided in an embodiment of the present application. Figure 7 As shown, the training device of the bid-rigging detection model includes: a sample extraction module 701, a training execution module 702 and a training control module 703; wherein,

[0070] The sample extraction module 701 is used to extract a training sample from a pre-built training set as a current training sample;

[0071] The training execution module 702 is used to input the current training sample and the key focus object corresponding to the current training sample into the bid-rigging detection model through the first text input module and the second text input module, and output the prediction result of the current training sample through the bid-rigging detection model;

[0072] The training control module 703 is used to repeatedly perform the above operation if the prediction result of the current training sample does not meet the predetermined condition, until the prediction result of the current training sample meets the predetermined condition.

[0073] The training device for the bid-rigging detection model described above can execute the training method for the bid-rigging detection model provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in this embodiment, please refer to the training method for the bid-rigging detection model provided in any embodiment of the present application.

[0074] Figure 8 This is a schematic diagram of the structure of a prediction device for a bid-rigging detection model provided in an embodiment of the present application. Figure 8 As shown, the prediction device of the bid-rigging detection model includes: an input module 801, an output module 802 and a prediction module 803; wherein,

[0075] The input module 801 is used to input the bidding documents to be detected and the key objects of concern corresponding to the bidding documents into the pre-trained bid-rigging detection model through the first text input module and the second text input module respectively;

[0076] The output module 802 is used to output the prediction result of the bidding document to be detected through the bid-rigging detection model;

[0077] The prediction module 803 is used to determine whether the bidding document to be detected is a normal bidding document or an abnormal bidding document according to the prediction result of the bidding document to be detected.

[0078] The prediction device of the bid rigging detection model can execute the prediction method of the bid rigging detection model provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in this embodiment, please refer to the prediction method of the bid rigging detection model provided in any embodiment of the present application.

[0079] Fig. 9 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. Fig. 9 A block diagram of an exemplary electronic device suitable for implementing the embodiments of the present application is shown. Fig. 9 The electronic device 12 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0080] like Fig. 9 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).

[0081] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0082] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.

[0083] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Fig. 9 not shown, usually called a "hard drive"). Although Fig. 9 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present application.

[0084] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0085] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 12, and / or may communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the electronic device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via a bus 18. It should be understood that although Fig. 9 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0086] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the training method and prediction method of the bid-rigging detection model provided in the embodiment of the present application.

[0087] The embodiment of the present application also provides a computer storage medium.

[0088] The computer-readable storage medium of the embodiment of the present application may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive lists) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination therewith.

[0089] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0090] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0091] Computer program code for performing the operation of the present application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).

[0092] The embodiment of the present application also provides a computer program product.

[0093] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer program products, which can include one or more computer programs, which can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor, which can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0094] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A method for training a bid-rigging detection model, characterized in that: The bid-rigging detection model at least comprises: a first text input module, a second text input module, a first embedding layer, a second embedding layer and an encoder; the encoder comprises a plurality of encoder layers; the plurality of encoder layers are connected in series; the method comprises: Extract a training sample from the pre-constructed training set as the current training sample; The current training sample and the key focus object corresponding to the current training sample are input into the first embedding layer and the second embedding layer respectively through the first text input module and the second text input module, and the current training sample and the key focus object are converted into the embedded representation of the current training sample and the embedded representation of the key focus object respectively through the first embedding layer and the second embedding layer; the embedded representation of the current training sample is used as the current residual data, and the embedded representation of the key focus object is used as the current key focus data; the first encoder layer among the multiple encoder layers is used as the current encoder layer, and the current residual data and the current key focus data are input into the current encoder layer respectively, and the current encoding vector of the current training sample is output through the current encoder layer; the current encoding vector is used as the current residual data, the embedded representation of the key focus object is used as the current key focus data, and the next encoder layer of the current encoder layer is used as the current encoder layer, and the above operations are repeatedly performed until the encoding vector of the current training sample is output through the last encoder layer among the multiple encoder layers; and the prediction result of the current training sample is obtained based on the encoding vector of the current training sample; If the prediction result of the current training sample does not meet the predetermined condition, the above operation is repeatedly performed until the prediction result of the current training sample meets the predetermined condition.

2. The method according to claim 1, characterized in that The encoder layer includes: a first residual unit and a second residual unit; the current residual data and the current focused data are respectively input into the current encoder layer, and the current encoding vector of the current training sample is output through the current encoder layer, including: Inputting the current residual data and the current focused data into the first residual unit respectively, and outputting a first regularization result of the current training sample in the current encoder layer through the first residual unit; The first regularization result and the current focused input data are respectively input into the second residual unit, and the second regularization result of the current training sample in the current encoder layer is output through the second residual unit, and the current encoding vector is obtained from the second regularization result.

3. The method according to claim 2, characterized in that The first residual unit includes: a multi-head attention layer and a first residual connection and regularization layer; the current residual data and the current focused data are respectively input into the first residual unit, and the first regularization result of the current training sample in the current encoder layer is output through the first residual unit, including: Input the current residual data and the current focused data into the multi-head attention layer respectively, and output the attention result of the current training sample in the current encoder layer through the multi-head attention layer; The current residual data and the attention result are respectively input into the first residual connection and regularization layer, and the first regularization result is output through the first residual connection and regularization layer.

4. The method according to claim 3, characterized in that: The second residual unit includes: a feedforward layer and a second residual connection and a regularization layer; the first regularization result and the current focused data are respectively input into the second residual unit, and the second regularization result of the current training sample in the current encoder layer is output through the second residual unit, including: Inputting the first regularization result and the current focused input data into the feedforward layer respectively, and outputting the feedforward result of the current training sample in the current encoder layer through the feedforward layer; The first regularization result and the feedforward result are respectively input into the second residual connection and the regularization layer, and the second regularization result is output through the second residual connection and the regularization layer.

5. A prediction method for a bid-rigging detection model, characterized in that: The bid-rigging detection model at least comprises: a first text input module, a second text input module, a first embedding layer, a second embedding layer and an encoder; the encoder comprises a plurality of encoder layers; the plurality of encoder layers are connected in series; the method comprises: The bidding document to be detected and the key focus object corresponding to the bidding document to be detected are input into the first embedding layer and the second embedding layer respectively through the first text input module and the second text input module, and the bidding document to be detected and the key focus object are converted into the embedded representation of the bidding document to be detected and the embedded representation of the key focus object respectively through the first embedding layer and the second embedding layer; the embedded representation of the bidding document to be detected is used as the current residual data, and the embedded representation of the key focus object is used as the current key focus data; the first encoder layer among the multiple encoder layers is used as the current encoder layer, The current residual data and the current key attention data are respectively input into the current encoder layer, and the current encoding vector of the bidding document to be detected is output through the current encoder layer; the current encoding vector is used as the current residual data, the embedded representation of the key attention object is used as the current key attention data, and the next encoder layer of the current encoder layer is used as the current encoder layer, and the above operation is repeatedly performed until the encoding vector of the bidding document to be detected is output through the last encoder layer of the multiple encoder layers; and the prediction result of the bidding document to be detected is obtained based on the encoding vector of the bidding document to be detected; According to the prediction result of the bidding document to be detected, it is determined whether the bidding document to be detected is a normal bidding document or an abnormal bidding document.

6. A training device for a bid-rigging detection model, characterized in that: The bid-rigging detection model at least comprises: a first text input module, a second text input module, a first embedding layer, a second embedding layer and an encoder; the encoder comprises a plurality of encoder layers; the plurality of encoder layers are connected in series; the device comprises: a sample extraction module, a training execution module and a training control module; wherein, The sample extraction module is used to extract a training sample from a pre-constructed training set as a current training sample; The training execution module is used to input the current training sample and the key focus object corresponding to the current training sample into the first embedding layer and the second embedding layer respectively through the first text input module and the second text input module, and convert the current training sample and the key focus object into the embedded representation of the current training sample and the embedded representation of the key focus object respectively through the first embedding layer and the second embedding layer; use the embedded representation of the current training sample as the current residual data, and use the embedded representation of the key focus object as the current key focus data; use the first encoder layer among the multiple encoder layers as the current encoder layer, input the current residual data and the current key focus data into the current encoder layer respectively, and output the current encoding vector of the current training sample through the current encoder layer; use the current encoding vector as the current residual data, the embedded representation of the key focus object as the current key focus data, and use the next encoder layer of the current encoder layer as the current encoder layer, and repeat the above operations until the encoding vector of the current training sample is output through the last encoder layer among the multiple encoder layers; and obtain the prediction result of the current training sample based on the encoding vector of the current training sample; The training control module is used to repeatedly perform the above operation if the prediction result of the current training sample does not meet the predetermined condition, until the prediction result of the current training sample meets the predetermined condition.

7. A prediction device for a bid-rigging detection model, characterized in that: The bid-rigging detection model at least comprises: a first text input module, a second text input module, a first embedding layer, a second embedding layer and an encoder; the encoder comprises a plurality of encoder layers; the plurality of encoder layers are connected in series; the device comprises: an input module, an output module and a prediction module; wherein, The input module is used to input the bidding document to be detected and the key focus object corresponding to the bidding document to be detected into the first embedding layer and the second embedding layer respectively through the first text input module and the second text input module, and convert the bidding document to be detected and the key focus object into the embedded representation of the bidding document to be detected and the embedded representation of the key focus object respectively through the first embedding layer and the second embedding layer; use the embedded representation of the bidding document to be detected as the current residual data, and use the embedded representation of the key focus object as the current key focus data; use the first encoder layer of the multiple encoder layers as the current encoder layer, input the current residual data and the current key focus data into the current encoder layer respectively, and output the current encoding vector of the bidding document to be detected through the current encoder layer; use the current encoding vector as the current residual data, the embedded representation of the key focus object as the current key focus data, and use the next encoder layer of the current encoder layer as the current encoder layer, and repeat the above operations until the encoding vector of the bidding document to be detected is output through the last encoder layer of the multiple encoder layers; The output module is used to obtain the prediction result of the bidding document to be detected based on the encoding vector of the bidding document to be detected; The prediction module is used to determine whether the bidding document to be detected is a normal bidding document or an abnormal bidding document according to the prediction result of the bidding document to be detected.

8. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the training method of the bid-rigging detection model as described in any one of claims 1 to 4, and the prediction method of the bid-rigging detection model as described in claim 5.

9. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, it implements the training method of the bid-rigging detection model as described in any one of claims 1 to 4, and the prediction method of the bid-rigging detection model as described in claim 5.