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

By using the mask structure to output the prediction results in the target detection model, the problem of low efficiency and accuracy of target detection in the existing technology is solved, a more efficient detection effect is achieved, and the scope of application is wider.

CN118469040BActive Publication Date: 2024-10-013RD CONSTRUCTION (SHENZHEN) CO LTD OF CHINA CONSTRUCTION 5TH ENGINEERING BUREAU

Patent Information

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

AI Technical Summary

Technical Problem

Existing bid-rigging detection methods have low efficiency and accuracy when judging whether the network information or unit information of the main bidder and the accompanying bidder are the same, or when judging whether the bid documents of the main bidder and the accompanying bidder are the same, and are difficult to be effective. Findings refer to anomalies.

Method used

Provides a training method and prediction method for the target detection model. By extracting training samples from the pre-built training set, inputting them and the key objects of interest into the target detection model respectively, the mask structure is used to output the prediction results until the requirements are met. Predetermined conditions improve the ability of the detection model to detect anomalies.

Benefits of technology

It improves the efficiency and accuracy of mark-around detection and achieves higher detection efficiency. The technical solution is simple, easy to popularize, and has a wider scope of application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118469040B_ABST
    Figure CN118469040B_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 training set as a current training sample; inputting the current training sample and a key focus object into the bid-rigging detection model respectively, and outputting the prediction result of the current training sample based on a mask structure of a predetermined key focus object through the bid-rigging detection model; wherein the mask structure is composed of a row field sequence, a column field sequence and a mask value matrix; each mask value in the main diagonal of the mask value matrix and the lower left area of ​​the main diagonal is an unmasked mask value; a specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value; if the prediction result does not meet the predetermined condition, the above operation is repeated until the prediction result meets the predetermined condition. The present application can improve the ability of the bid-rigging detection model to discover reference anomalies, 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 ability of the bid-rigging detection model to discover reference anomalies, 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] The current training sample and the key focus object corresponding to the current training sample are respectively input into the bid-rigging detection model, and the prediction result of the current training sample is output by the bid-rigging detection model based on the predetermined mask structure of the key focus object; wherein the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; each mask value in the main diagonal of the mask value matrix and in the lower left area of ​​the main diagonal is an unmasked mask value; and a specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value;

[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 further provides a prediction method of a bid-rigging detection model, the method comprising:

[0009] Inputting 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 respectively;

[0010] The prediction result of the bidding document to be detected is outputted through the bid-rigging detection model based on the predetermined mask structure of the key focus object; wherein the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; each mask value in the main diagonal of the mask value matrix and in the lower left area of ​​the main diagonal is an unmasked mask value; and a specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value;

[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 text extraction module, a training execution module and a training control module; wherein:

[0013] The text extraction module is used to extract a training sample from a pre-built 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 respectively, and output the prediction result of the current training sample based on the predetermined mask structure of the key focus object through the bid rigging detection model; wherein the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; each mask value in the main diagonal of the mask value matrix and the lower left area of ​​the main diagonal is an unmasked mask value; and the specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value;

[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 to be detected into the pre-trained bid-rigging detection model respectively;

[0018] The output module is used to output the prediction result of the bidding document to be detected based on the predetermined mask structure of the key focus object through the bid rigging detection model; wherein the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; each mask value in the main diagonal of the mask value matrix and in the lower left area of ​​the main diagonal is an unmasked mask value; and a specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value;

[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 fourth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored, which, when executed by a processor, implements the training method and prediction method of the bid-rigging detection model described in any embodiment of the present application.

[0025] The embodiment of the present application proposes a training method, prediction method, device, equipment and medium for a bid-rigging detection model, firstly extracting a training sample from a pre-constructed training set as a current training sample; then inputting the current training sample and the key focus object corresponding to the current training sample into the bid-rigging detection model respectively, and outputting the prediction result of the current training sample based on the mask structure of the key focus object through the bid-rigging detection model; wherein the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; each mask value in the main diagonal of the mask value matrix and the lower left area of ​​the main diagonal is an unmasked mask value; and a specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value; if the prediction result of the current training sample does not meet the predetermined condition, repeating the above operation 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 training samples and the key focus objects can be respectively input into the bid rigging detection model, so that the bid rigging detection model outputs the prediction results of the training samples based on the mask structure of the key focus objects, thereby improving the ability of the bid rigging detection model to detect reference anomalies. In the existing detection method, it is determined whether the network information or unit information of the main bidder and the supporting bidder is the same; or it is determined whether the bids 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 embodiment of the present application can improve the ability of the bid rigging detection model to detect reference anomalies, 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. 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 a flow chart of a method for training a bid-rigging detection model provided in another embodiment of the present application;

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

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

[0030] Figure 5 A schematic diagram of the structure of a decoder layer provided in an 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 8 A 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 respectively, and output the prediction result of the current training sample based on the mask structure of the key focus object determined in advance through the bid rigging detection model; wherein the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; each mask value in the main diagonal of the mask value matrix and the lower left area of ​​the main diagonal is an unmasked mask value; and a specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value.

[0040] The main diagonal of the mask value matrix in the embodiment of the present application is composed of the mask values ​​corresponding to the positions of the characters of the focused object in the row field sequence and the positions in the column field sequence; the mask values ​​in the lower left area of ​​the main diagonal are composed of the mask values ​​corresponding to the positions of the characters of the focused object in the row field sequence and the positions after the characters in the column field sequence; the specific mask values ​​in the upper right area of ​​the main diagonal are composed of the mask values ​​corresponding to the positions of several consecutive characters in the focused object and the N characters after the consecutive characters in the row field sequence and the positions of the consecutive characters in the column field sequence, N is a natural number greater than or equal to 1; the mask values ​​in the remaining area are masked mask values. The unmasked mask value in the embodiment of the present application is 1; the masked mask value is 0.

[0041] Assume that the key focus object in the embodiment of the present application is "this project is located in Beijing, this project is located in Shanghai." The mask structure of the above key focus objects in the embodiment of the present application can be shown in the following Table 1:

[0042]

[0043] Table 1

[0044] In the above Table 1, assuming that several consecutive characters are "this project", and "this project" and the three characters after "this project" "this project is located in the north" and "this project is located above" are defined as specific characters, then the mask value corresponding to the position of "this project is located in the north" in the row field sequence and the position of "this project" in the column field is a specific mask value; and the mask value corresponding to the position of "this project is located above" in the row field sequence and the position of "this project" in the column field is a specific mask value.

[0045] In a specific embodiment of the present application, since the specific mask value of the upper right area of ​​the main diagonal is an unmasked mask value, the decoder will not only rely on the information before the current position when generating the output result for each position, but can also consider the information after the current position. In this way, the decoder can better capture the relationship between different characters of the focus object, thereby improving the accuracy and fluency of the generated information.

[0046] 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.

[0047] The training method of the bid-rigging detection model proposed in the embodiment of the present application first extracts a training sample 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, and the bid-rigging detection model outputs the prediction result of the current training sample based on the mask structure of the key focus object; wherein the mask structure is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; each mask value in the main diagonal of the mask value matrix and the lower left area of ​​the main diagonal is an unmasked mask value; and a specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value; 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 mask structures of the training samples and the key focus objects can be respectively input into the bid-rigging detection model, so that the bid-rigging detection model outputs the prediction results of the training samples based on the mask structure of the key focus objects, thereby improving the ability of the bid-rigging detection model to detect reference anomalies. In the existing detection method, it is determined whether the network information or unit information of the main bidder and the supporting bidder is the same; or it is determined whether the bids 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 embodiment of the present application can improve the ability of the bid-rigging detection model to detect reference anomalies, 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.

[0048] Figure 2 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 2 As shown, the training method of the bid-rigging detection model may include the following steps:

[0049] S201. Extract a training sample from a pre-constructed training set as a current training sample.

[0050] S202. 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.

[0051] Figure 3This is a schematic diagram of the structure of a bid-rigging detection model provided in an embodiment of the present application. Figure 3 As shown in the figure, the bid-rigging detection model is obtained by improving the existing Transformer model. The model may include: a first text input module (Input1), a second text input module (Input2), a first embedding layer (Embedding Layer1), a second embedding layer (Embedding Layer2), an encoder (Encoder), a decoder (Decoder) and a result output module (FinalOutput); wherein the encoder may include multiple encoder layers (Encoder Layer), and the decoder may also include multiple decoder layers (Decoder Layer). Figure 3 The encoder shown in may include three encoder layers, namely: encoder layer 1, encoder layer 2 and encoder layer 3; Figure 3 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 encoder is used to encode the current training sample based on the embedding representation of the current training sample, output the encoding vector of the current training sample, and input the encoding vector of the current training sample into the decoder; 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 decoder; the decoder is used to determine the mask structure of the key focus object according to the embedding representation of the key focus object, decode the encoding vector of the current training sample based on the mask structure of the key focus object, output the decoding vector of the current training sample, and input the decoding vector of the current training sample into the result output module; the result output module is used to output the prediction result of the current training sample.

[0052] S203: Input the embedded representation of the current training sample to the encoder, and output the encoding vector of the current training sample through the encoder.

[0053] S204, inputting the encoding vector of the current training sample and the embedded representation of the focused object into the decoder respectively, and outputting the decoding vector of the current training sample based on the mask structure of the focused object through the decoder.

[0054] S205 , inputting the decoding vector of the current training sample into a result output module, and outputting the prediction result of the current training sample through the result output module.

[0055] S206: 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.

[0056] The training method of the bid-rigging detection model proposed in the embodiment of the present application first extracts a training sample 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, and the prediction result of the current training sample is outputted by the bid-rigging detection model based on the mask structure of the key focus object; wherein the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; each mask value in the main diagonal of the mask value matrix and the lower left area of ​​the main diagonal is an unmasked mask value; and a specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value; 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 training samples and the key focus objects can be respectively input into the bid rigging detection model, so that the bid rigging detection model outputs the prediction results of the training samples based on the mask structure of the key focus objects, thereby improving the ability of the bid rigging detection model to detect reference anomalies. In the existing detection method, it is determined whether the network information or unit information of the main bidder and the supporting bidder is the same; or it is determined whether the bids 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 embodiment of the present application can improve the ability of the bid rigging detection model to detect reference anomalies, 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.

[0057] Figure 4 A flowchart of a method for outputting a decoding vector through a decoder layer provided in an 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 4 As shown, the method of outputting a decoded vector through a decoder layer may include the following steps:

[0058] 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.

[0059] S402: Input the embedding representation of the current training sample to the encoder, and output the encoding vector of the current training sample through the encoder.

[0060] S403: Use the encoding vector of the current training sample and the embedded representation of the focused object as current residual input data.

[0061] S404: Use the first decoder layer among the multiple decoder layers as the current decoder layer, input the current residual input data into the current decoder layer, and output the current decoding vector of the current training sample based on the mask structure of the focused object through the current decoder layer.

[0062] S405. Use the encoding vector of the current training sample and the current decoding vector of the current training sample as current residual input data; use the next decoder layer of the current decoder layer as the current decoder layer, and repeat the above operation until the decoding vector of the current training sample is output through the last decoder layer among multiple decoder layers.

[0063] Figure 5 This is a schematic diagram of the structure of the decoder layer provided in one embodiment of the present application. Figure 5 As shown, the decoder layer in the embodiment of the present application may include: a first residual unit, a second residual unit and a third residual unit; wherein the first residual unit may include: a masked multi-head attention layer and a first residual connection and regularization layer; the second residual unit may include: a multi-head attention layer and a second residual connection and regularization layer; the third residual unit may include: a feedforward layer and a third residual connection and regularization layer. Specifically, the masked multi-head attention layer is used to output the masked attention result of the current training sample in the current decoder layer based on the mask structure of the focused object; the current residual input data and the masked attention result are respectively input to the first residual connection and regularization layer; the first residual connection and regularization layer is used to output the first regularized result of the current training sample in the current decoder layer, and the first regularized result of the current training sample in the current decoder layer is respectively input to the multi-head attention layer and the second residual connection and regularization layer; the multi-head attention layer is used to output the attention result of the current training sample in the current decoder layer, and the current training sample in the current The attention result in the front decoder layer is input to the second residual connection and regularization layer; the second residual connection and regularization layer is used to output the second regularization result of the current training sample in the current decoder layer, and the second regularization result of the current training sample in the current decoder layer is input to the feedforward layer and the third residual connection and regularization layer respectively; the feedforward layer is used to output the feedforward result of the current training sample in the current decoder layer, and the feedforward result of the current training sample in the current decoder layer is input to the third residual connection and regularization layer; the third residual connection and regularization layer is used to output the third regularization result of the current training sample in the current decoder layer.

[0064] The training method of the bid-rigging detection model proposed in the embodiment of the present application first extracts a training sample 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, and the prediction result of the current training sample is outputted by the bid-rigging detection model based on the mask structure of the key focus object; wherein the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; each mask value in the main diagonal of the mask value matrix and the lower left area of ​​the main diagonal is an unmasked mask value; and a specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value; 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 training samples and the key focus objects can be respectively input into the bid rigging detection model, so that the bid rigging detection model outputs the prediction results of the training samples based on the mask structure of the key focus objects, thereby improving the ability of the bid rigging detection model to detect reference anomalies. In the existing detection method, it is determined whether the network information or unit information of the main bidder and the supporting bidder is the same; or it is determined whether the bids 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 embodiment of the present application can improve the ability of the bid rigging detection model to detect reference anomalies, 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.

[0065] 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:

[0066] S601. Input the bidding documents to be detected and the key focus objects corresponding to the bidding documents to be detected into a pre-trained bid rigging detection model respectively.

[0067] S602. Output the prediction results of the bidding documents to be detected based on the mask structure of the key focus objects determined in advance through the bid rigging detection model; wherein, the mask structure of the key focus objects is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus objects in the row field sequence and each character position of the key focus objects in the column field sequence; each mask value in the main diagonal of the mask value matrix and in the lower left area of ​​the main diagonal is an unmasked mask value; and a specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value.

[0068] 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.

[0069] 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.

[0070] The prediction method of the bid-rigging detection model proposed in the embodiment of the present application is to first input the bidding document to be detected and the key focus object corresponding to the bidding document to be detected into a pre-trained bid-rigging detection model respectively; then, the bid-rigging detection model outputs the prediction result of the bidding document to be detected based on the mask structure of the key focus object; wherein, the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; each mask value in the main diagonal of the mask value matrix and the lower left area of ​​the main diagonal is an unmasked mask value; and the specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value; and then, based on 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. That is to say, in the technical solution of the present application, the training samples and the key focus objects can be respectively input into the bid-rigging detection model, so that the bid-rigging detection model outputs the prediction results of the training samples based on the mask structure of the key focus objects, thereby improving the ability of the bid-rigging detection model to detect reference anomalies. In the existing detection method, it is determined whether the network information or unit information of the main bidder and the supporting bidder is the same; or it is determined whether the bids 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 ability of the bid-rigging detection model to detect reference anomalies, 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.

[0071] 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 text extraction module 701, a training execution module 702 and a training control module 703; wherein,

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

[0073] 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 respectively, and output the prediction result of the current training sample based on the predetermined mask structure of the key focus object through the bid rigging detection model; wherein the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; each mask value in the main diagonal of the mask value matrix and the lower left area of ​​the main diagonal is an unmasked mask value; and the specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value;

[0074] 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.

[0075] The training device for the bid-rigging detection model described above can execute the method provided in any embodiment of the present application, and has the functional modules and beneficial effects corresponding to 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.

[0076] 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,

[0077] 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 to be detected into a pre-trained bid-rigging detection model respectively;

[0078] The output module 802 is used to output the prediction result of the bidding document to be detected based on the predetermined mask structure of the key focus object through the bid rigging detection model; wherein the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; each mask value in the main diagonal of the mask value matrix and in the lower left area of ​​the main diagonal is an unmasked mask value; and a specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value;

[0079] 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.

[0080] The prediction device of the bid rigging detection model described above can execute the method 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.

[0081] 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.

[0082] 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).

[0083] 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.

[0084] 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.

[0085] 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. 9Not 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.

[0086] 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.

[0087] 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.

[0088] 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.

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

[0090] 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.

[0091] 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.

[0092] 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.

[0093] 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).

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

[0095] 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.

[0096] 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 training method for a bid-rigging detection model, It is characterized in that The bid-rigging detection model comprises: a first text input module, a second text input module, a first embedding layer, a second embedding layer, an encoder, a decoder and a result output module; 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 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 respectively, 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 input into the encoder, and the encoder outputs the encoding vector of the current training sample; the encoding vector of the current training sample and the embedded representation of the key focus object are input into the decoder respectively, and the decoder outputs the decoding vector of the current training sample based on the mask structure of the key focus object; the decoding vector of the current training sample is input into the result output module, and the prediction result of the current training sample is output through the result output module; wherein the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask value square matrix. The mask value matrix is ​​composed of mask values ​​corresponding to the positions of the characters of the focused object in the row field sequence and the positions of the characters of the focused object in the column field sequence; the mask values ​​in the main diagonal of the mask value matrix and the lower left area of ​​the main diagonal are unmasked mask values; the specific mask values ​​in the upper right area of ​​the main diagonal are unmasked mask values; wherein, the mask values ​​in the lower left area of ​​the main diagonal are composed of mask values ​​corresponding to the positions of the characters of the focused object in the row field sequence and the positions after the characters in the column field sequence; the specific mask values ​​in the upper right area of ​​the main diagonal are composed of mask values ​​corresponding to the positions of several consecutive characters in the focused object and the N characters after the several consecutive characters in the row field sequence and the positions of the several consecutive characters in the column field sequence, and N is a natural number greater than or equal to 1; the mask values ​​in the remaining areas are masked mask values; the unmasked mask value is 1; the masked mask value is 0; 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, It is characterized in that The decoder comprises a plurality of decoder layers; the encoding vector of the current training sample and the embedded representation of the focused object are respectively input into the decoder, and the decoder outputs the decoding vector of the current training sample based on the mask structure of the focused object, including: Using the encoding vector of the current training sample and the embedded representation of the focused object as current residual input data; Using a first decoder layer among the multiple decoder layers as a current decoder layer, inputting the current residual input data into the current decoder layer, and outputting a current decoding vector of the current training sample based on the mask structure of the focused object through the current decoder layer; The encoding vector of the current training sample and the current decoding vector of the current training sample are used as the current residual input data; the next decoder layer of the current decoder layer is used as the current decoder layer, and the above operation is repeated until the decoding vector of the current training sample is output through the last decoder layer among the multiple decoder layers.

3. The method according to claim 2, It is characterized in that The decoder layer includes: a first residual unit, a second residual unit and a third residual unit; wherein the current residual input data is input to the current decoder layer, and the current encoding vector of the current training sample is output through the current decoder layer based on the mask structure of the focused object, including: Inputting the current residual input data into the first residual unit, and outputting the first regularization result of the current training sample in the current decoder layer through the first residual unit based on the mask structure of the focused object; wherein the first residual unit includes: a masked multi-head attention layer and a first residual connection and regularization layer; Inputting the first regularization result to the second residual unit, and outputting the second regularization result of the current training sample in the current decoder layer through the second residual unit; wherein the second residual unit includes: a multi-head attention layer and a second residual connection and regularization layer; The second regularization result is input to the third residual unit, and the third regularization result of the current training sample in the current decoder layer is output through the third residual unit, and the current decoding vector is obtained from the third regularization result; wherein the third residual unit includes: a feedforward layer and a third residual connection and regularization layer.

4. The method according to claim 3, It is characterized in that Inputting the current residual input data into the first residual unit, and outputting a first regularization result of the current training sample in the current decoder layer based on the mask structure of the focused object through the first residual unit, comprising: Inputting the current residual input data into the masked multi-head attention layer, and outputting the masked attention result of the current training sample in the current decoder layer based on the mask structure of the focused object through the masked multi-head attention layer; The current residual input data and the mask 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.

5. A prediction method for a bid-rigging detection model, It is characterized in that The bid-rigging detection model comprises: a first text input module, a second text input module, a first embedding layer, a second embedding layer, an encoder, a decoder and a result output module; the method comprises: The bidding document to be detected and the key focus object corresponding to the bidding document to be detected are respectively input into the first embedding layer and the second embedding layer 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 through the first embedding layer and the second embedding layer respectively; the embedded representation of the bidding document to be detected is input into the encoder, and the encoder outputs the encoding vector of the bidding document to be detected; the encoding vector of the bidding document to be detected and the embedded representation of the key focus object are respectively input into the decoder, and the decoder outputs the decoding vector of the bidding document to be detected based on the mask structure of the key focus object; the decoding vector of the bidding document to be detected is input into the result output module, and the result output module outputs the prediction result of the bidding document to be detected; wherein the mask structure of the key focus object is composed of The mask value matrix is ​​composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; each mask value in the main diagonal of the mask value matrix and the lower left area of ​​the main diagonal is an unmasked mask value; the specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value; wherein, each mask value in the lower left area of ​​the main diagonal is composed of mask values ​​corresponding to the position of each character of the key focus object in the row field sequence and the position after the position of the character in the column field sequence; the specific mask value in the upper right area of ​​the main diagonal is composed of mask values ​​corresponding to the positions of several consecutive characters in the key focus object and N characters after the consecutive characters in the row field sequence and the positions of the consecutive characters in the column field sequence, and N is a natural number greater than or equal to 1; each mask value in the remaining area is a masked mask value; the unmasked mask value is 1; the masked mask value is 0; 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, It is characterized in that The bid-rigging detection model includes: a first text input module, a second text input module, a first embedding layer, a second embedding layer, an encoder, a decoder and a result output module; the device includes: a text extraction module, a training execution module and a training control module; wherein, The text extraction module is used to extract a training sample from a pre-built training set as a current training sample; The training execution module is used to 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; input the embedded representation of the current training sample into the encoder, and output the encoding vector of the current training sample through the encoder; input the encoding vector of the current training sample and the embedded representation of the key focus object into the decoder respectively, and output the decoding vector of the current training sample through the decoder based on the mask structure of the key focus object; input the decoding vector of the current training sample into the result output module, and output the prediction result of the current training sample through the result output module; wherein the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask sequence. The code value matrix is ​​composed of the mask values ​​corresponding to the positions of the characters of the key focus object in the row field sequence and the positions of the characters of the key focus object in the column field sequence; the mask values ​​in the main diagonal of the mask value matrix and the lower left area of ​​the main diagonal are unmasked mask values; the specific mask values ​​in the upper right area of ​​the main diagonal are unmasked mask values; wherein, the mask values ​​in the lower left area of ​​the main diagonal are composed of the mask values ​​corresponding to the positions of the characters of the key focus object in the row field sequence and the positions after the characters in the column field sequence; the specific mask values ​​in the upper right area of ​​the main diagonal are composed of the mask values ​​corresponding to the positions of several consecutive characters in the key focus object and the N characters after the consecutive characters in the row field sequence and the positions of the consecutive characters in the column field sequence, and N is a natural number greater than or equal to 1; the mask values ​​in the remaining area are masked mask values; the unmasked mask value is 1; the masked mask value is 0; 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, It is characterized in that The bid-rigging detection model includes: a first text input module, a second text input module, a first embedding layer, a second embedding layer, an encoder, a decoder and a result output module; the device includes: 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; input the embedded representation of the bidding document to be detected into the encoder, and output the encoding vector of the bidding document to be detected through the encoder; The output module is used to input the encoding vector of the bidding document to be detected and the embedded representation of the key focus object into the decoder respectively, and the decoder outputs the decoding vector of the bidding document to be detected based on the mask structure of the key focus object; the decoding vector of the bidding document to be detected is input into the result output module, and the prediction result of the bidding document to be detected is output through the result output module; wherein the mask structure of the key focus object is composed of a row field sequence, a column field sequence and a mask value matrix; the mask value matrix is ​​composed of mask values ​​corresponding to each character position of the key focus object in the row field sequence and each character position of the key focus object in the column field sequence; the main diagonal of the mask value matrix is And each mask value in the lower left area of ​​the main diagonal is an unmasked mask value; the specific mask value in the upper right area of ​​the main diagonal is an unmasked mask value; wherein, each mask value in the lower left area of ​​the main diagonal is composed of mask values ​​corresponding to the positions of each character of the focused object in the row field sequence and the position after the position of the character in the column field sequence; the specific mask value in the upper right area of ​​the main diagonal is composed of mask values ​​corresponding to the positions of a number of consecutive characters in the focused object and the N characters after the consecutive characters in the row field sequence and the positions of the consecutive characters in the column field sequence, N is a natural number greater than or equal to 1; each mask value in the remaining area is a masked mask value; the unmasked mask value is 1; the masked mask value is 0; 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, It is 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, It is 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.

Citation Information

Patent Citations

  • Text error correction model training method and device and text error correction processing method and device

    CN111950292A

  • Bidding model training method and device, bidding sorting method and device, equipment and storage medium

    CN114693416A

  • Bidding document information extraction method and device, equipment and storage medium

    CN116205212A

  • Abnormal huddling bidding and bidding behavior identification method, device and equipment and medium

    CN116484231A

  • Image processing method, text recognition method and apparatus

    US20220415072A1

Cited By

  • Bidder hypergraph association analysis method and system based on bid behavior recognition

    CN120374240A

  • A bidder hypergraph correlation analysis method and system based on surrounding bid behavior identification

    CN120374240B