Intelligent management system and method for power marketing archives
Through the semantic coding and deep learning technology of the electric power marketing archives intelligent management system, the problem of information overload in electric power marketing archives is solved, fast and accurate information retrieval is achieved, and the retrieval efficiency and matching degree are improved.
Patent Information
- Application Number
- CN202411151284.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The surge in the number of power marketing archives has led to information overload. It is difficult for users to quickly locate the required information when looking for specific archives. Traditional keyword search cannot deeply understand the context and deep meaning of user queries, resulting in retrieval results that do not fully match needs.
An intelligent management system for electric power marketing archives is designed. By obtaining the archive query request input by the user, it conducts semantic coding analysis of text descriptions and keywords, uses deep learning technology to perform single-item interactive matching, and generates retrieval results, including an archive query request acquisition module. , semantic encoding module, keyword extraction module, granular unidirectional attention interactive scan matching module and retrieval result generation module.
Intelligent semantic matching reduces the time users spend sifting through massive files, improves retrieval efficiency, enables users to quickly obtain the information they need, and deeply analyzes the semantic features of text to provide retrieval results that better match user needs.
Smart Images

Figure CN118656535A
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent management, and specifically to an intelligent management system and method for power marketing archives. Background Art
[0002] With the rapid development of the power industry, the number of power marketing archives has grown exponentially, which has not only brought about a surge in the amount of information, but also caused the problem of information overload.
[0003] When users try to retrieve specific archival information, they may encounter a series of challenges. Specifically, when users try to find specific archives, they are often overwhelmed by massive amounts of data, and the diversity and complexity of archives also increase the difficulty of retrieval. Users need to spend a lot of time screening and identifying, and it is difficult to quickly locate the required information, which not only affects work efficiency, but may also lead to the omission of key information.
[0004] In addition, traditional keyword searches are usually based on literal matching and fail to deeply understand the context and deeper meaning of user queries, resulting in search results that do not fully match user needs.
[0005] Therefore, an intelligent management system for power marketing archives is desired to improve retrieval efficiency and ensure that users can quickly and accurately obtain the required archives, thereby improving the service level and operational efficiency of the entire power industry. Summary of the invention
[0006] This application is made in consideration of the above problems. One purpose of this application is to provide an intelligent management system and method for power marketing archives.
[0007] An embodiment of the present application provides an intelligent management system for power marketing archives, which includes: an archive query request acquisition module, which is used to acquire an archive query request input by a user.
[0008] The archive query text description extraction module is used to extract the archive query text description from the archive query request.
[0009] The archive query text semantic encoding module is used to perform semantic encoding on the archive query text description to obtain an archive query text semantic encoding feature vector.
[0010] The power marketing archive extraction module is used to extract alternative power marketing archives from the power marketing archive library.
[0011] The candidate power marketing archive keyword extraction module is used to input the candidate power marketing archive into the keyword extractor to obtain a set of candidate power marketing archive keywords.
[0012] The candidate power marketing archive keyword semantic encoding module is used to input each candidate power marketing archive keyword in the set of candidate power marketing archive keywords into a semantic encoder to obtain a set of candidate power marketing archive keyword semantic encoding feature vectors.
[0013] The archive query text-alternative power marketing archive keyword matching module is used to use the archive query text semantic encoding feature vector as the query feature vector, and input the query feature vector and the set of the alternative power marketing archive keyword semantic encoding feature vector into the granular unidirectional attention interactive scanning matching module to obtain a unidirectional matching result representation vector as the unidirectional matching result representation feature.
[0014] A retrieval result generating module is used to obtain a retrieval result based on the one-way matching result representation feature, wherein the retrieval result is used to indicate whether to return the candidate power marketing archive as a query result.
[0015] For example, according to the intelligent management system of power marketing archives according to the embodiment of the present application, the alternative power marketing archive keyword extraction module is used to: input the alternative power marketing archive into a keyword extractor based on an AIGC (generative artificial intelligence) model to obtain a set of alternative power marketing archive keywords.
[0016] For example, according to the intelligent management system of power marketing archives according to the embodiment of the present application, the semantic encoding module of the alternative power marketing archive keywords is used to: input each alternative power marketing archive keyword in the set of alternative power marketing archive keywords into a semantic encoder based on the Bert model (bidirectional transformer model) to obtain a set of semantic encoding feature vectors of the alternative power marketing archive keywords.
[0017] For example, according to the intelligent management system of power marketing archives according to the embodiment of the present application, the archive query text-alternative power marketing archive keyword matching module includes: a query-alternative power marketing archive semantic similarity calculation unit, which is used to calculate the semantic similarity between the query feature vector and each alternative power marketing archive keyword semantic encoding feature vector in the set of alternative power marketing archive keyword semantic encoding feature vectors to obtain a set of query-alternative power marketing archive one-way matching semantic measurement coefficients.
[0018] The query-alternative power marketing archive one-way matching semantic metric weight value calculation unit is used to normalize the set of query-alternative power marketing archive one-way matching semantic metric coefficients to obtain a set of query-alternative power marketing archive one-way matching semantic metric weight values.
[0019] The query-alternative power marketing archive semantic feature weighting unit is used to calculate the weighted sum of the set of alternative power marketing archive keyword semantic encoding feature vectors using the set of query-alternative power marketing archive one-way matching semantic measurement weight values as weights to obtain the query-alternative power marketing archive one-way matching interactive reshaping feature vector.
[0020] The query-alternative power marketing semantic feature difference calculation unit is used to calculate the difference feature vector between the query-alternative power marketing archive one-way matching interactive reshaping feature vector and the query feature vector as the one-way matching result representation vector.
[0021] For example, according to the intelligent management system of power marketing archives according to the embodiment of the present application, the query-alternative power marketing archive semantic similarity calculation unit is used to: cascade the query feature vector and each alternative power marketing archive keyword semantic coding feature vector in the set of alternative power marketing archive keyword semantic coding feature vectors to obtain a set of query-alternative power marketing archive semantic coding joint feature vectors.
[0022] After respectively calculating the matrix product of each query-alternative power marketing archive semantic coding joint feature vector in the set of query-alternative power marketing archive semantic coding joint feature vectors and the weight matrix, the obtained feature vector is added to the bias vector by position to obtain a set of query-alternative power marketing archive semantic coding joint bias feature vectors.
[0023] The set of query-alternative power marketing archive semantic encoding joint bias feature vectors is input into a sigmoid activation function to obtain a set of query-alternative power marketing archive one-way matching semantic metric coefficients.
[0024] For example, according to the intelligent management system of power marketing archives according to the embodiment of the present application, the query-alternative power marketing archive one-way matching semantic metric weight value calculation unit is used to: use each query-alternative power marketing archive one-way matching semantic metric coefficient in the set of query-alternative power marketing archive one-way matching semantic metric coefficients as the exponent of a natural constant to calculate an exponential function value with e as the base to obtain a set of logarithmic values of the query-alternative power marketing archive one-way matching semantic metric coefficients.
[0025] The sum of the logarithmic values of the one-way matching semantic metric coefficients of each query-alternative power marketing archive in the set of logarithmic values of the one-way matching semantic metric coefficients of the query-alternative power marketing archive is calculated to obtain the total sum of the one-way matching semantic metric values of the query-alternative power marketing archive.
[0026] Each logarithm of the one-way matching semantic metric coefficient of the query-alternative power marketing archive in the set of logarithm of the one-way matching semantic metric coefficient of the query-alternative power marketing archive is divided by the total sum of the one-way matching semantic metric of the query-alternative power marketing archive to obtain a set of weight values of the one-way matching semantic metric of the query-alternative power marketing archive.
[0027] For example, according to the intelligent management system of power marketing archives according to the embodiment of the present application, the retrieval result generation module is used to: input the one-way matching result representation vector into the classifier-based retrieval result generator to obtain the retrieval result, and the retrieval result is used to indicate whether to return the alternative power marketing archive as a query result.
[0028] For example, according to the intelligent management system of power marketing archives according to the embodiment of the present application, it also includes a training module for training the keyword extractor based on the AIGC model, the semantic encoder based on the Bert model, the granular unidirectional attention interactive scanning matching module and the classifier-based retrieval result generator.
[0029] For example, according to the intelligent management system of power marketing archives of an embodiment of the present application, the training module includes: a training data acquisition unit, used to acquire training data, the training data including a training archive query text description extracted from a training archive query request input by a user, training candidate power marketing archives extracted from a power marketing archive library, and real retrieval results.
[0030] The training file query text semantic encoding unit is used to perform semantic encoding on the training file query text description to obtain a training file query text semantic encoding feature vector.
[0031] The training candidate power marketing archive keyword extraction unit is used to input the training candidate power marketing archive into the keyword extractor based on the AIGC model to obtain a set of training candidate power marketing archive keywords.
[0032] The training candidate power marketing archive keyword semantic encoding unit is used to input each training candidate power marketing archive keyword in the set of training candidate power marketing archive keywords into the semantic encoder based on the Bert model to obtain a set of training candidate power marketing archive keyword semantic encoding feature vectors.
[0033] The training archive query text-alternative power marketing archive keyword matching unit is used to use the semantic encoding feature vector of the training archive query text as the training query feature vector, and input the set of the training query feature vector and the training alternative power marketing archive keyword semantic encoding feature vector into the granular unidirectional attention interactive scanning matching module to obtain the training unidirectional matching result representation vector.
[0034] The training retrieval result generating unit is used to input the training one-way matching result representation vector into the classifier-based retrieval result generator to obtain the training retrieval result.
[0035] The classification loss calculation unit is used to calculate the cross entropy loss function value between the training retrieval result and the real retrieval result to obtain the classification loss function value.
[0036] The one-way matching result loss calculation unit is used to calculate the one-way matching result loss function value of the training one-way matching result representation vector.
[0037] A loss training unit is used to train the keyword extractor based on the AIGC model, the semantic encoder based on the Bert model, the granular one-way attention interactive scanning matching module and the classifier-based retrieval result generator based on the weighted sum of the classification loss function value and the one-way matching result loss function value as the loss function value and through back propagation of gradient descent.
[0038] The embodiment of the present application also provides an intelligent management method for power marketing archives, which includes: obtaining an archive query request input by a user; extracting an archive query text description from the archive query request; semantically encoding the archive query text description to obtain an archive query text semantic encoding feature vector; extracting alternative power marketing archives from a power marketing archive library; inputting the alternative power marketing archives into a keyword extractor to obtain a set of alternative power marketing archive keywords; inputting each alternative power marketing archive keyword in the set of alternative power marketing archive keywords into a semantic encoder to obtain a set of alternative power marketing archive keyword semantic encoding feature vectors; using the archive query text semantic encoding feature vector as a query feature vector, inputting the query feature vector and the set of alternative power marketing archive keyword semantic encoding feature vectors into a granular unidirectional attention interactive scanning matching module to obtain a unidirectional matching result representation vector as a unidirectional matching result representation feature; based on the unidirectional matching result representation feature, obtaining a retrieval result, the retrieval result is used to indicate whether to return the alternative power marketing archive as a query result; wherein, using the archive query text semantic encoding feature vector as a query feature vector, the query feature vector and the set of alternative power marketing archive keyword semantic encoding feature vectors are input into a granular unidirectional attention interactive scanning matching module to obtain a unidirectional matching result representation vector as a unidirectional matching result representation feature; based on the unidirectional matching result representation feature, obtaining a retrieval result, the retrieval result is used to indicate whether to return the alternative power marketing archive as a query result; wherein, using the archive query text semantic encoding feature vector as a query feature vector, the query feature vector and the set of alternative power marketing archive keyword semantic encoding feature vectors are input into a granular unidirectional attention interactive scanning matching module to obtain a unidirectional matching result representation vector as a unidirectional matching result representation feature. The method comprises the following steps: taking the query feature vector as a query feature vector, inputting the query feature vector and the set of the candidate power marketing archive keyword semantic encoding feature vectors into a granular one-way attention interactive scanning matching module to obtain a one-way matching result representation vector as a one-way matching result representation feature, including: calculating the semantic similarity between the query feature vector and each candidate power marketing archive keyword semantic encoding feature vector in the set of the candidate power marketing archive keyword semantic encoding feature vectors to obtain a set of query-alternative power marketing archive one-way matching semantic measurement coefficients; normalizing the set of query-alternative power marketing archive one-way matching semantic measurement coefficients to obtain a set of query-alternative power marketing archive one-way matching semantic measurement weight values; calculating the weighted sum of the set of the candidate power marketing archive keyword semantic encoding feature vectors with the set of the query-alternative power marketing archive one-way matching semantic measurement weight values as a weight to obtain a query-alternative power marketing archive one-way matching interactive reshaping feature vector; and calculating the differential feature vector between the query-alternative power marketing archive one-way matching interactive reshaping feature vector and the query feature vector as the one-way matching result representation vector.
[0039] According to the power marketing archive intelligent management system and method of the embodiment of the present application, it obtains the archive query request input by the user, extracts the alternative power marketing archive from the power marketing archive, and uses the archive data analysis and processing technology based on deep learning to respectively perform the text description of the archive query request and the semantic coding analysis of the keywords of the alternative power marketing archive, thereby automatically obtaining the retrieval result of whether to return the alternative power marketing archive as the query result based on the single interactive matching feature between the query archive text semantics and the semantic features of the keywords of the alternative power marketing archive. In this way, through intelligent semantic matching, the time for users to screen in massive archives is reduced, the efficiency of retrieval is improved, and users can quickly obtain the required information. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings of the embodiments of the present application are briefly introduced below. Obviously, the drawings described below only relate to some embodiments of the present application, and are not intended to limit the present application.
[0041] Figure 1 A schematic diagram of the application architecture of the power marketing archive intelligent management system in an embodiment of the present application is shown.
[0042] Figure 2 A structural diagram of the power marketing archive intelligent management system in an embodiment of the present application is shown.
[0043] Figure 3 A structural diagram of the archive query text-alternative power marketing archive keyword matching module of the power marketing archive intelligent management system in an embodiment of the present application is shown.
[0044] Figure 4 A flow chart of the intelligent management method of power marketing archives in an embodiment of the present application is shown.
[0045] Figure 5 An application scenario diagram of the intelligent management system for power marketing archives in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0046] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work also fall within the scope of protection of the present application.
[0047] The terms used in this specification are those common terms currently widely used in the art in consideration of the functions of the present application, but these terms may vary according to the intentions of those skilled in the art, precedents, or new technologies in the art. In addition, specific terms may be selected, and in this case, their detailed meanings will be described in the detailed description of the present application. Therefore, the terms used in the specification should not be understood as simple names, but rather as a general description based on the meaning of the terms and the present application.
[0048] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules can be used and run on the user terminal and / or server. The modules are only illustrative, and different aspects of the system and method can use different modules.
[0049] Flowcharts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. At the same time, other operations may also be added to these processes, or a certain step or several steps of operations may be removed from these processes.
[0050] Figure 1 A schematic diagram of the application architecture of the intelligent management system for power marketing archives in an embodiment of the present application is shown, including a server 100 and a terminal device 200.
[0051] The terminal device 200 and the server 100 can be connected via the Internet to achieve mutual communication. Optionally, the above-mentioned Internet uses standard communication technology and / or protocol. The Internet is usually the Internet, but it can also be any network, including but not limited to any combination of a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or a virtual private network. In some embodiments, the data exchanged through the network can be represented by technologies and / or formats including Hyper Text Markup Language (HTML), Extensible Markup Language (XML), etc. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec), etc. can be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above-mentioned data communication technologies.
[0052] The server 100 can provide various network services for the terminal device 200, wherein the server 100 can be a single server, a server cluster consisting of several servers, or a cloud computing center. Specifically, the server 100 may include a processor 110 (Center Processing Unit, CPU), a memory 120, an input device 130, and an output device 140, etc. The input device 130 may include a keyboard, a mouse, a touch screen, etc., and the output device 140 may include a display device, such as a liquid crystal display (Liquid Crystal Display, LCD), a cathode ray tube (Cathode Ray Tube, CRT), etc.
[0053] The memory 120 may include a read-only memory (ROM) and a random access memory (RAM), and provides the processor 110 with program instructions and data stored in the memory 120. In the embodiment of the present application, the memory 120 may be used to store the corresponding method of the intelligent management system of power marketing archives in the embodiment of the present application.
[0054] The processor 110 calls the program instructions stored in the memory 120, and the processor 110 is used to execute the steps of any one of the power marketing archive intelligent management methods in the embodiments of the present application according to the obtained program instructions.
[0055] In addition, the application architecture diagram in the embodiment of the present application is intended to more clearly illustrate the technical solution in the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. Of course, for other application architectures and business applications, the technical solution provided in the embodiment of the present application is also applicable to similar problems.
[0056] The following is a non-restrictive description of the intelligent management system for power marketing archives provided according to at least one embodiment of the present application through several examples or embodiments. As described below, different features in these specific examples or embodiments can be combined with each other without conflicting with each other to obtain new examples or embodiments, and these new examples or embodiments also fall within the scope of protection of the present application.
[0057] In response to the above technical problems, the technical concept of the present application is to obtain the archive query request input by the user, extract the alternative power marketing archives from the power marketing archive library, and use the archive data analysis and processing technology based on deep learning to respectively perform the text description of the archive query request and the semantic coding analysis of the keywords of the alternative power marketing archives, so as to automatically obtain the retrieval result of whether to return the alternative power marketing archive as the query result based on the single interactive matching feature between the semantics of the query archive text and the semantic features of the keywords of the alternative power marketing archives. In this way, through intelligent semantic matching, the time for users to screen in massive archives is reduced, the efficiency of retrieval is improved, and users can quickly obtain the required information. At the same time, the semantic features of the text can be deeply analyzed to understand the deep meaning of the user's query, thereby providing retrieval results that better match the user's needs.
[0058] Figure 2The schematic diagram of the structure of the intelligent management system 800 of power marketing archives in the embodiment of the present application is shown. The intelligent management system 800 of power marketing archives includes: an archive query request acquisition module 810, which is used to obtain the archive query request input by the user; an archive query text description extraction module 820, which is used to extract the archive query text description from the archive query request; an archive query text semantic encoding module 830, which is used to semantically encode the archive query text description to obtain the archive query text semantic encoding feature vector; a power marketing archive extraction module 840, which is used to extract alternative power marketing archives from the power marketing archive library; an alternative power marketing archive keyword extraction module 850, which is used to input the alternative power marketing archive into a keyword extractor to obtain a set of alternative power marketing archive keywords; an alternative power marketing archive keyword semantic encoding module 860, which is used to semantically encode the archive query text description to obtain a semantic encoding feature vector of the archive query text; Each alternative power marketing archive keyword in the set of alternative power marketing archive keywords is input into a semantic encoder to obtain a set of semantic encoding feature vectors of alternative power marketing archive keywords; an archive query text-alternative power marketing archive keyword matching module 870 is used to use the archive query text semantic encoding feature vector as a query feature vector, and input the query feature vector and the set of alternative power marketing archive keyword semantic encoding feature vectors into a granular unidirectional attention interactive scanning matching module to obtain a unidirectional matching result representation vector as a unidirectional matching result representation feature; a retrieval result generation module 880 is used to obtain a retrieval result based on the unidirectional matching result representation feature, and the retrieval result is used to indicate whether to return the alternative power marketing archive as a query result.
[0059] Specifically, in the technical solution of the present application, first, the archive query request input by the user is obtained. Then, in order for the system to accurately understand the user's query intention and needs, so as to conduct a deeper understanding and analysis of the needs and intentions, in the technical solution of the present application, the archive query text description is extracted from the archive query request, so that the description information of the user's required archives, including keywords, features, etc., can be extracted from it, providing decision support for subsequent further semantic understanding.
[0060] Then, in order to further capture and mine the semantic meaning of the user's query intention between the contexts implied in the archive query text description, in the technical solution of the present application, the archive query text description is semantically encoded to obtain a semantic encoding feature vector of the archive query text, so that the system can more deeply analyze the semantic meaning and information conveyed in the archive query text description.
[0061] Next, the candidate power marketing archives are extracted from the power marketing archive library.
[0062] Then, considering that the candidate power marketing archive contains some keyword information that usually represents the theme, key content or characteristics of the text, these keyword information have an important influence on whether it meets the user's query intention. Therefore, in the technical solution of the present application, the candidate power marketing archive is input into the keyword extractor based on the AIGC model to capture the core key information of the candidate power marketing archive, thereby obtaining a set of keywords for the candidate power marketing archive.
[0063] Accordingly, the candidate power marketing archive keyword extraction module 850 is used to: input the candidate power marketing archive into a keyword extractor based on the AIGC model to obtain a set of candidate power marketing archive keywords.
[0064] Next, considering that each candidate power marketing archive keyword in the set of candidate power marketing archive keywords contains semantic associations between contexts, and the semantic encoder is able to extract semantic information from each candidate power marketing archive keyword, but the semantic encoder is limited to subtle and complex language patterns. Based on this, in the technical solution of the present application, each candidate power marketing archive keyword in the set of candidate power marketing archive keywords is input into a semantic encoder based on the Bert model to capture the subtle semantic associations of each candidate power marketing archive keyword, and obtain a set of semantic encoding feature vectors of the candidate power marketing archive keywords.
[0065] Accordingly, the candidate power marketing archive keyword semantic encoding module 860 is used to: input each candidate power marketing archive keyword in the set of candidate power marketing archive keywords into a semantic encoder based on the Bert model to obtain a set of semantic encoding feature vectors of the candidate power marketing archive keyword.
[0066] Further, in order to more accurately evaluate whether the alternative power marketing archives meet the user's query intention, so as to improve the similarity calculation and correlation degree matching of the semantic coding features of the alternative power marketing archive keywords, in the technical solution of the present application, the archive query text semantic coding feature vector is used as the query feature vector to interactively match the set of the alternative power marketing archive keyword semantic coding feature vectors. Specifically, the archive query text semantic coding feature vector is used as the query feature vector, and the query feature vector and the set of the alternative power marketing archive keyword semantic coding feature vector are input into the granular unidirectional attention interactive scanning matching module to obtain the unidirectional matching result representation vector. In particular, the granular unidirectional attention interactive scanning matching module can accurately capture the deep semantic connection between the query feature and the semantic coding features of the alternative power marketing archive keywords through meticulous granular scanning. In detail, first, the semantic metric coefficient between the query feature vector and each alternative power marketing archive keyword semantic coding feature vector is calculated, which helps to determine the matching semantic relevance and similarity between them. Then, the calculated semantic metric coefficients are normalized to obtain weight values, and these weight values are used to perform weighted fusion on the semantic encoding feature vectors of the candidate power marketing archive keywords to highlight the semantic features of the power marketing archives that are most relevant and similar to the query feature vector in the semantic encoding features of the candidate power marketing archive keywords. Finally, the one-way matching interactive reshaping features obtained after weighted fusion are differentially calculated with the query feature vector, which helps to more deeply understand the degree of semantic matching between the candidate power marketing archive keywords and the archive query text, thereby achieving more accurate matching retrieval.
[0067] Accordingly, if Figure 3As shown, the archive query text-alternative power marketing archive keyword matching module 870 includes: a query-alternative power marketing archive semantic similarity calculation unit 871, which is used to calculate the semantic similarity between the query feature vector and each alternative power marketing archive keyword semantic encoding feature vector in the set of alternative power marketing archive keyword semantic encoding feature vectors to obtain a set of query-alternative power marketing archive one-way matching semantic measurement coefficients; a query-alternative power marketing archive one-way matching semantic measurement weight value calculation unit 872, which is used to normalize the set of query-alternative power marketing archive one-way matching semantic measurement coefficients to obtain a query. A set of query-alternative power marketing archive one-way matching semantic metric weight values; a query-alternative power marketing archive semantic feature weighting unit 873, used to calculate the weighted sum of the set of alternative power marketing archive keyword semantic encoding feature vectors using the set of query-alternative power marketing archive one-way matching semantic metric weight values as weights to obtain a query-alternative power marketing archive one-way matching interactive reshaping feature vector; a query-alternative power marketing semantic feature differential calculation unit 874, used to calculate the differential feature vector between the query-alternative power marketing archive one-way matching interactive reshaping feature vector and the query feature vector as the one-way matching result representation vector.
[0068] Among them, the query-alternative power marketing archive semantic similarity calculation unit 871 is used to: cascade the query feature vector and each alternative power marketing archive keyword semantic coding feature vector in the set of alternative power marketing archive keyword semantic coding feature vectors to obtain a set of query-alternative power marketing archive semantic coding joint feature vectors; calculate the matrix product of each query-alternative power marketing archive semantic coding joint feature vector in the set of query-alternative power marketing archive semantic coding joint feature vectors and the weight matrix, and then add the obtained feature vector and the bias vector by position to obtain a set of query-alternative power marketing archive semantic coding joint bias feature vectors; input the set of query-alternative power marketing archive semantic coding joint bias feature vectors into the sigmoid activation function to obtain the set of query-alternative power marketing archive one-way matching semantic measurement coefficients.
[0069] Among them, the query-alternative power marketing archive one-way matching semantic metric weight value calculation unit 872 is used to: use each query-alternative power marketing archive one-way matching semantic metric coefficient in the set of query-alternative power marketing archive one-way matching semantic metric coefficients as the exponent of a natural constant to calculate an exponential function value with base e to obtain a set of query-alternative power marketing archive one-way matching semantic metric coefficient logarithmic values; calculate the sum of the logarithmic values of each query-alternative power marketing archive one-way matching semantic metric coefficient in the set of query-alternative power marketing archive one-way matching semantic metric coefficient logarithmic values to obtain the total sum of query-alternative power marketing archive one-way matching semantic metric; divide each query-alternative power marketing archive one-way matching semantic metric coefficient logarithmic value in the set of query-alternative power marketing archive one-way matching semantic metric coefficient logarithmic value by the total sum of query-alternative power marketing archive one-way matching semantic metric to obtain the set of query-alternative power marketing archive one-way matching semantic metric weight values.
[0070] In a specific example, the archive query text-alternative power marketing archive keyword matching module 870 is used to: use the archive query text semantic encoding feature vector as the query feature vector, input the query feature vector and the set of the alternative power marketing archive keyword semantic encoding feature vectors into the granular unidirectional attention interactive scanning matching module, and process them with the following interactive scanning matching formula to obtain a unidirectional matching result representation vector; wherein the interactive scanning matching formula is: ;in, and The query feature vector and the candidate power marketing archive keyword semantic encoding feature vector are respectively Semantic encoding feature vectors of candidate power marketing archive keywords, It is cascade processing. is the weight matrix, is the bias vector, is the sigmoid function, is the first in the set of semantic metric coefficients for one-way matching between the query and the candidate power marketing archives. The semantic metric coefficient of one-way matching between query and alternative power marketing archives, Indicated by natural constant The exponential function with base , is the number of feature vectors in the set of semantically encoded feature vectors of the candidate power marketing archive keywords, is the first in the set of semantic metric weight values of the query-alternative power marketing archive one-way matching query-alternative power marketing archive one-way matching semantic metric weight value, is the query-alternative power marketing profile one-way matching interaction reshaping feature vector, It means subtracting by position. is the one-way matching result representation vector.
[0071] Then, the one-way matching result representation vector is input into the classifier-based search result generator to obtain a search result, and the search result is used to indicate whether to return the alternative power marketing archive as a query result. That is, the one-way matching result representation feature obtained by performing a one-way interactive matching using the archive query text semantic encoding feature vector and the set of the alternative power marketing archive keyword semantic encoding feature vector is classified to automatically obtain a search result of whether to return the alternative power marketing archive as a query result. In this way, through intelligent semantic matching, the time for users to screen through massive archives is reduced, the efficiency of retrieval is improved, and users can quickly obtain the required information. At the same time, the semantic features of the text can be deeply analyzed to understand the deep meaning of the user's query, thereby providing search results that better match the user's needs.
[0072] Accordingly, the retrieval result generating module 880 is used to: input the one-way matching result representation vector into the classifier-based retrieval result generator to obtain the retrieval result, and the retrieval result is used to indicate whether to return the candidate power marketing archive as the query result.
[0073] It should be understood that the role of the classifier is to use the given categories and known training data to learn classification rules and classifiers, and then classify (or predict) unknown data. Logistic regression, SVM, etc. are often used to solve binary classification problems. For multi-class classification problems, logistic regression or SVM can also be used, but multiple binary classifications are required to form a multi-classification, but this is prone to errors and inefficient. Commonly used multi-classification methods include the Softmax classification function.
[0074] In a preferred example, the set of the archive query text semantic encoding feature vector and the set of the candidate power marketing archive keyword semantic encoding feature vector respectively express the encoded text semantic features of the archive query text description and the set of keywords of the candidate power marketing archive. Therefore, after the archive query text semantic encoding feature vector is input into the interactive scanning matching module of granular unidirectional attention as the query feature vector and the set of the candidate power marketing archive keyword semantic encoding feature vector, the obtained one-way matching result representation vector will also cause the one-way attention weight difference of the interactive scanning matching due to the difference in the distribution of the encoded text semantic features based on the semantic difference of the source text, thereby having the class regression interpretability loss attributed to the complex semantic interactive matching, thereby affecting the accuracy of the classification result. Based on this, the present application considers optimizing the one-way matching result representation vector.
[0075] The one-way matching result representation vector is input into a retrieval result generator based on a classifier to obtain the retrieval result, including: optimizing the one-way matching result representation vector to obtain an optimized one-way matching result representation vector, and inputting the optimized one-way matching result representation vector into a retrieval result generator based on a classifier to obtain the retrieval result.
[0076] The step of optimizing the one-way matching result representation vector to obtain an optimized one-way matching result representation vector comprises the following steps: calculating the autocorrelation matrix of the one-way matching result representation vector, namely: ;in, represents the one-way matching result representation vector, represents the transpose of a vector, represents matrix multiplication, Denotes the autocorrelation matrix.
[0077] The one-way matching result representation vector is multiplied by the self-association matrix in a query manner to obtain an intermediate feature vector, that is: ;in, represents the one-way matching result representation vector, represents the autocorrelation matrix, represents matrix multiplication, Denotes the intermediate eigenvector.
[0078] Calculate the autocorrelation matrix Row vector and Inner product sum of row vectors distance, to obtain the first weight matrix and the second weight matrix , expressed as: ;in, and The autocorrelation matrix is represented by Row vector and row vector, represents the transpose of a vector, represents matrix multiplication, represents the autocorrelation matrix, represents the first weight matrix, represents the first weight matrix The eigenvalues of the positions, represents the second weight matrix, represents the second weight matrix The eigenvalues of the positions, Represents the calculation vector distance.
[0079] The first weight matrix and the second weight matrix After matrix multiplication, further matrix multiplication is performed with the intermediate feature vector to obtain an optimized one-way matching result representation vector, namely: ;in, represents the first weight matrix, represents the second weight matrix, represents the intermediate eigenvector, represents matrix multiplication, The optimized one-way matching result represents a vector.
[0080] That is, for the eigenvalue bit-by-bit scattered association response space of the one-way matching result representation vector, the deep embedding structure in the high-order association space is obtained through the joint embedding space of the vector inner product embedding space and the vector independent embedding space, and the decomposable association response sub-dimensions of the eigenvalue bit-by-bit scattered association response space of the one-way matching result representation vector are represented as a set of spatial sub-dimensions to further perform dependency space mapping of the decomposable association response sub-dimensions of the deep embedding structure of the one-way matching result representation vector, so as to improve the interpretability of the solution space of the class regression solution of the one-way matching result representation vector based on the association distribution through the complex dimensional representation of the association response, thereby improving the accuracy of the classification result obtained by the one-way matching result representation vector.
[0081] Furthermore, in the technical solution of the present application, the intelligent management system for power marketing archives also includes a training module for training the keyword extractor based on the AIGC model, the semantic encoder based on the Bert model, the granular unidirectional attention interactive scanning matching module and the classifier-based retrieval result generator.
[0082] The training module includes: a training data acquisition unit for acquiring training data, wherein the training data includes a training file query text description extracted from a training file query request input by a user, a training candidate power marketing file extracted from a power marketing archive, and a real retrieval result; a training file query text semantic encoding unit for semantically encoding the training file query text description to obtain a training file query text semantic encoding feature vector; a training candidate power marketing file keyword extraction unit for inputting the training candidate power marketing file into the keyword extractor based on the AIGC model to obtain a set of training candidate power marketing file keywords; a training candidate power marketing file keyword semantic encoding unit for inputting each training candidate power marketing file keyword in the set of training candidate power marketing file keywords into the semantic encoder based on the Bert model to obtain a set of training candidate power marketing file keyword semantic encoding feature vectors; a training file query text-alternative power marketing file keyword matching unit for semantically encoding the training file query text. The feature vector is used as a training query feature vector, and the set of the training query feature vector and the training candidate power marketing archive keyword semantic encoding feature vector is input into the granular one-way attention interactive scanning matching module to obtain a training one-way matching result representation vector; a training retrieval result generation unit is used to input the training one-way matching result representation vector into the classifier-based retrieval result generator to obtain a training retrieval result; a classification loss calculation unit is used to calculate the cross entropy loss function value between the training retrieval result and the real retrieval result to obtain a classification loss function value; a one-way matching result loss calculation unit is used to calculate the one-way matching result loss function value of the training one-way matching result representation vector; a loss training unit is used to train the keyword extractor based on the AIGC model, the semantic encoder based on the Bert model, the granular one-way attention interactive scanning matching module and the classifier-based retrieval result generator based on the classification loss function value and the weighted sum of the one-way matching result loss function value as the loss function value and through gradient descent back propagation.
[0083] In a preferred embodiment of the present application, in the training of the AIGC model-based keyword extractor, the Bert model-based semantic encoder, the granular unidirectional attention interactive scanning matching module and the classifier-based retrieval result generator based on the classification loss function value and through gradient descent back propagation, a one-way matching result loss function value other than the classification loss function value is further introduced, that is, the model is trained through gradient back propagation based on the weighted sum of the classification loss function value and the one-way matching result loss function value as the loss function value.
[0084] Specifically, the one-way matching result loss calculation unit is used to: calculate a first one-way matching result weight matrix and a second one-way matching result weight matrix based on the training one-way matching result representation vector, wherein the first one-way matching result weight matrix The feature value of the position is the first Eigenvalues and The mean of the eigenvalues, and the weight matrix of the second one-way matching result The feature value of the position is the first Eigenvalues and Half of the absolute value of the difference in eigenvalues; perform query matrix multiplication of the training one-way matching result representation vector with the first one-way matching result weight matrix and the second one-way matching result weight matrix to obtain the first one-way matching result intermediate vector and the second one-way matching result intermediate vector; calculate the vector inner product of the first one-way matching result intermediate vector and the second one-way matching result intermediate vector to obtain the first one-way matching result loss term; perform matrix multiplication of the first one-way matching result weight matrix and the second one-way matching result weight matrix, and calculate the result matrix norm to obtain a second one-way matching result loss term; and subtract the product of a predetermined weight hyperparameter and the second one-way matching result loss term from the first one-way matching result loss term to obtain a one-way matching result loss function value.
[0085] The calculation process of the one-way matching result loss function value is specifically expressed by the following loss calculation formula: ;in, , is the training one-way matching result representation vector, and They are respectively the first and The eigenvalues at the positions, and are the first one-way matching result weight matrix and the second one-way matching result weight matrix. The eigenvalues of the positions, and are respectively the first one-way matching result weight matrix and the second one-way matching result weight matrix, is the predetermined weight hyperparameter, is the norm of the matrix being calculated, is matrix multiplication, is the one-way matching result loss function value.
[0086] That is, in the above preferred example, the one-way matching result loss function uses the structured feature representation of the short-range-long-range cross-scale detail link of the training one-way matching result representation vector to perform the query composition of the detail inner product space in the training one-way matching result representation vector, so as to approximate the low-rank independent observable composition of the link detail composition provided by the structured detail interaction of the training one-way matching result representation vector. In this way, by training with the one-way matching result loss function, the distributed detail group of the training one-way matching result representation vector can be used to decompose the detail group on the basis of detail complexity, so as to promote the classification regression decomposition recognition of the complex feature structure of the training one-way matching result representation vector, and improve the classification training efficiency. In this way, through intelligent semantic matching, the time for users to screen in massive archives is reduced, the efficiency of retrieval is improved, and users can quickly obtain the required information. At the same time, the semantic features of the text can be deeply analyzed, and the deep meaning of the user's query can be understood, so as to provide retrieval results that better match the user's needs.
[0087] Based on the above embodiments, see Figure 4 , which is a flow chart of a method for intelligent management of power marketing archives in an embodiment of the present application. For example, the method for intelligent management of power marketing archives can be executed by a server, which can be Figure 1 The server 100 shown in FIG. Figure 4 As shown, according to the embodiment of the present application, the intelligent management method of power marketing archives includes the following steps: S510, obtaining an archive query request input by a user; S520, extracting an archive query text description from the archive query request; S530, semantically encoding the archive query text description to obtain an archive query text semantic encoding feature vector; S540, extracting an alternative power marketing archive from a power marketing archive library; S550, inputting the alternative power marketing archive into a keyword extractor to obtain a set of alternative power marketing archive keywords; S560, extracting each alternative in the set of alternative power marketing archive keywords. The power marketing archive keywords are input into a semantic encoder to obtain a set of semantic encoding feature vectors of alternative power marketing archive keywords; S570, using the archive query text semantic encoding feature vector as the query feature vector, the query feature vector and the set of semantic encoding feature vectors of the alternative power marketing archive keywords are input into a granular unidirectional attention interactive scanning matching module to obtain a unidirectional matching result representation vector as a unidirectional matching result representation feature; S580, based on the unidirectional matching result representation feature, a retrieval result is obtained, and the retrieval result is used to indicate whether to return the alternative power marketing archive as a query result.
[0088] Here, those skilled in the art can understand that the specific operations of each step in the above-mentioned power marketing archive intelligent management method have been referred to above. Figure 2 to Figure 3 The description of the power marketing archive intelligent management system 800 has been introduced in detail, and therefore, its repeated description will be omitted.
[0089] Figure 5 FIG. 1 is an application scenario diagram of the intelligent management system for power marketing archives according to an embodiment of the present application. Figure 5 As shown, in this application scenario, first, the archive query request input by the user is obtained (for example, Figure 5 D1 as shown in the figure) and extracting candidate power marketing archives from the power marketing archive library (e.g. Figure 5 Then, the archive query request and the candidate power marketing archive are input to a server (for example, Figure 5 In S) as shown in , the server is capable of using the power marketing archive intelligent management algorithm to process the archive query request and the alternative power marketing archive to obtain a retrieval result indicating whether to return the alternative power marketing archive as a query result.
[0090] Based on the above embodiments, another exemplary embodiment of an electronic device is also provided in the embodiments of the present application. In some possible implementations, the electronic device in the embodiments of the present application may include a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor can implement the steps of the intelligent management method of power marketing archives in the above embodiments when executing the program.
[0091] For example, in the case of electronic equipment Figure 1 Taking the server 100 in the example as an example, the processor in the electronic device is the processor 110 in the server 100, and the memory in the electronic device is the memory 120 in the server 100.
[0092] The embodiment of the present application also provides a computer-readable storage medium having computer-executable instructions stored thereon. When the computer-executable instructions are executed by a processor, the method for intelligent management of power marketing archives according to the embodiment of the present application described with reference to the above figures can be executed. The computer-readable storage medium includes, but is not limited to, for example, volatile memory and / or non-volatile memory. The volatile memory may, for example, include a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may, for example, include a read-only memory (ROM), a hard disk, a flash memory, etc.
[0093] The embodiment of the present application also provides a computer program product or a computer program, which includes computer executable instructions, and the computer executable instructions are stored in a computer readable storage medium. The processor of the computer device reads the computer executable instructions from the computer readable storage medium, and the processor executes the computer executable instructions, so that the computer device executes the power marketing archive intelligent management method according to the embodiment of the present application.
[0094] Those skilled in the art will appreciate that the contents disclosed in this application may be subject to various modifications and improvements. For example, the various devices or components described above may be implemented by hardware, or by software, firmware, or a combination of some or all of the three.
[0095] In addition, although the present application makes various references to certain units in the system according to embodiments of the present application, any number of different units can be used and run on the client and / or server. The units are illustrative only, and different aspects of the system and method can use different units.
[0096] Those skilled in the art will appreciate that all or part of the steps in the above method can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk. Optionally, all or part of the steps in the above embodiment can also be implemented using one or more integrated circuits. Accordingly, each module / unit in the above embodiment can be implemented in the form of hardware or in the form of software function modules. The present application is not limited to any particular form of combination of hardware and software.
[0097] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this application belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology, and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined as such herein.
[0098] The above is an explanation of the present application and should not be considered as limiting thereof. Although several exemplary embodiments of the present application have been described, those skilled in the art will readily appreciate that many modifications may be made to the exemplary embodiments without departing from the novel teachings and advantages of the present application.
Claims
1. An intelligent management system for power marketing archives, characterized in that: include: The file query request acquisition module is used to obtain the file query request input by the user; The archive query text description extraction module is used to extract the archive query text description from the archive query request; the archive query text semantic encoding module is used to semantically encode the archive query text description to obtain the archive query text semantic encoding feature vector; A power marketing archive extraction module, used to extract candidate power marketing archives from a power marketing archive library; a candidate power marketing archive keyword extraction module, used to input the candidate power marketing archive into a keyword extractor to obtain a set of candidate power marketing archive keywords; a candidate power marketing archive keyword semantic encoding module, used to input each candidate power marketing archive keyword in the set of candidate power marketing archive keywords into a semantic encoder to obtain a set of candidate power marketing archive keyword semantic encoding feature vectors; An archive query text-alternative power marketing archive keyword matching module is used to use the archive query text semantic encoding feature vector as the query feature vector, and input the query feature vector and the set of the alternative power marketing archive keyword semantic encoding feature vectors into a granular unidirectional attention interactive scanning matching module to obtain a unidirectional matching result representation vector as a unidirectional matching result representation feature; a retrieval result generation module is used to obtain a retrieval result based on the unidirectional matching result representation feature, and the retrieval result is used to indicate whether to return the alternative power marketing archive as a query result; wherein the archive query text-alternative power marketing archive keyword matching module includes: a query-alternative power marketing archive semantic similarity calculation unit, which is used to calculate the semantic similarity between the query feature vector and each alternative power marketing archive keyword semantic encoding feature vector in the set of the alternative power marketing archive keyword semantic encoding feature vectors. a query-alternative power marketing archive one-way matching semantic metric coefficient set; a query-alternative power marketing archive one-way matching semantic metric weight value calculation unit, used to normalize the query-alternative power marketing archive one-way matching semantic metric coefficient set to obtain a query-alternative power marketing archive one-way matching semantic metric weight value set; a query-alternative power marketing archive semantic feature weighting unit, used to use the query-alternative power marketing archive one-way matching semantic metric weight value set as a weight to calculate the weighted sum of the set of alternative power marketing archive keyword semantic encoding feature vectors to obtain a query-alternative power marketing archive one-way matching interactive reshaping feature vector; a query-alternative power marketing semantic feature differential calculation unit, used to calculate the differential feature vector between the query-alternative power marketing archive one-way matching interactive reshaping feature vector and the query feature vector as the one-way matching result representation vector.
2. The intelligent management system for power marketing archives according to claim 1 is characterized in that: The candidate power marketing archive keyword extraction module is used to: input the candidate power marketing archive into the keyword extractor based on the AIGC model to obtain a set of candidate power marketing archive keywords.
3. The intelligent management system for power marketing archives according to claim 2 is characterized in that: The candidate power marketing archive keyword semantic encoding module is used to: input each candidate power marketing archive keyword in the set of candidate power marketing archive keywords into a semantic encoder based on the Bert model to obtain a set of semantic encoding feature vectors of the candidate power marketing archive keyword.
4. The intelligent management system for power marketing archives according to claim 3 is characterized in that: The query-alternative power marketing archive semantic similarity calculation unit is used to: cascade the query feature vector and each alternative power marketing archive keyword semantic coding feature vector in the set of alternative power marketing archive keyword semantic coding feature vectors to obtain a set of query-alternative power marketing archive semantic coding joint feature vectors; calculate the matrix product of each query-alternative power marketing archive semantic coding joint feature vector in the set of query-alternative power marketing archive semantic coding joint feature vectors and a weight matrix, and then add the obtained feature vector and the bias vector by position to obtain a set of query-alternative power marketing archive semantic coding joint bias feature vectors; input the set of query-alternative power marketing archive semantic coding joint bias feature vectors into a sigmoid activation function to obtain a set of query-alternative power marketing archive one-way matching semantic measurement coefficients.
5. The intelligent management system for power marketing archives according to claim 4 is characterized in that: The query-alternative power marketing archive one-way matching semantic metric weight value calculation unit is used to: use each query-alternative power marketing archive one-way matching semantic metric coefficient in the set of query-alternative power marketing archive one-way matching semantic metric coefficients as an exponent of a natural constant to calculate an exponential function value with e as the base to obtain a set of query-alternative power marketing archive one-way matching semantic metric coefficient logarithmic values; Calculating the sum of the logarithmic values of the one-way matching semantic metric coefficients of each query-alternative power marketing archive in the set of logarithmic values of the one-way matching semantic metric coefficients of the query-alternative power marketing archive to obtain the total sum of the one-way matching semantic metric values of the query-alternative power marketing archive; Each logarithm of the one-way matching semantic metric coefficient of the query-alternative power marketing archive in the set of logarithm of the one-way matching semantic metric coefficient of the query-alternative power marketing archive is divided by the total sum of the one-way matching semantic metric of the query-alternative power marketing archive to obtain a set of weight values of the one-way matching semantic metric of the query-alternative power marketing archive.
6. The intelligent management system for power marketing archives according to claim 5 is characterized in that: The retrieval result generating module is used to: input the one-way matching result representation vector into a classifier-based retrieval result generator to obtain the retrieval result, and the retrieval result is used to indicate whether to return the candidate power marketing archive as a query result.
7. The intelligent management system for power marketing archives according to claim 6 is characterized in that: It also includes a training module for training the keyword extractor based on the AIGC model, the semantic encoder based on the Bert model, the granular unidirectional attention interactive scanning matching module and the classifier-based retrieval result generator.
8. The intelligent management system for power marketing archives according to claim 7 is characterized in that: The training module includes: a training data acquisition unit, used to acquire training data, wherein the training data includes a training archive query text description extracted from a training archive query request input by a user, a training candidate power marketing archive extracted from a power marketing archive library, and a real retrieval result; a training archive query text semantic encoding unit, used to semantically encode the training archive query text description to obtain a training archive query text semantic encoding feature vector; a training candidate power marketing archive keyword extraction unit, used to input the training candidate power marketing archive into the keyword extractor based on the AIGC model to obtain a set of training candidate power marketing archive keywords; a training candidate power marketing archive keyword semantic encoding unit, used to input each training candidate power marketing archive keyword in the set of training candidate power marketing archive keywords into the semantic encoder based on the Bert model to obtain a set of training candidate power marketing archive keyword semantic encoding feature vectors; a training archive query text-candidate power marketing archive keyword matching unit, used to perform semantic encoding on the training archive query text description to obtain a training archive query text semantic encoding feature vector; a training candidate power marketing archive keyword extraction unit, used to input the training candidate power marketing archive into the keyword extractor based on the AIGC model to obtain a training candidate power marketing archive keyword semantic encoding feature vector; a training candidate power marketing archive keyword semantic encoding unit, used to input each training candidate power marketing archive keyword in the set of training candidate power marketing archive keywords into the semantic encoder based on the Bert model to obtain a training candidate power marketing archive keyword semantic encoding feature vector set; a training archive query text-candidate power marketing archive keyword matching unit, used to perform semantic encoding on the training archive query text description to obtain a training archive query text semantic encoding feature vector ... The vector is used as a training query feature vector, and the set of the training query feature vector and the training candidate power marketing archive keyword semantic encoding feature vector is input into the granular one-way attention interactive scanning matching module to obtain a training one-way matching result representation vector; a training retrieval result generation unit is used to input the training one-way matching result representation vector into the classifier-based retrieval result generator to obtain a training retrieval result; a classification loss calculation unit is used to calculate the cross entropy loss function value between the training retrieval result and the real retrieval result to obtain a classification loss function value; a one-way matching result loss calculation unit is used to calculate the one-way matching result loss function value of the training one-way matching result representation vector; a loss training unit is used to train the keyword extractor based on the AIGC model, the semantic encoder based on the Bert model, the granular one-way attention interactive scanning matching module and the classifier-based retrieval result generator based on the classification loss function value and the weighted sum of the one-way matching result loss function value as the loss function value and through gradient descent back propagation.
9. A method for intelligent management of power marketing archives, characterized in that: include: Get the archive query request input by the user; Extracting a file query text description from the file query request; Performing semantic coding on the archive query text description to obtain an archive query text semantic coding feature vector; extracting candidate power marketing archives from the power marketing archive library; Inputting the candidate power marketing archive into a keyword extractor to obtain a set of candidate power marketing archive keywords; Inputting each candidate power marketing archive keyword in the set of candidate power marketing archive keywords into a semantic encoder to obtain a set of semantic encoding feature vectors of the candidate power marketing archive keywords; The semantic encoding feature vector of the archive query text is used as the query feature vector, and the query feature vector and the set of the semantic encoding feature vectors of the candidate power marketing archive keywords are input into the granular one-way attention interactive scanning matching module to obtain a one-way matching result representation vector as the one-way matching result representation feature; based on the one-way matching result representation feature, a retrieval result is obtained, and the retrieval result is used to indicate whether to return the candidate power marketing archive as the query result; wherein, the semantic encoding feature vector of the archive query text is used as the query feature vector, and the query feature vector and the set of the semantic encoding feature vectors of the candidate power marketing archive keywords are input into the granular one-way attention interactive scanning matching module to obtain a one-way matching result representation vector as the one-way matching result representation feature, including: calculating the query feature vector and the alternative power marketing archive keyword representation vector; The method comprises the following steps: determining the semantic similarity between each alternative power marketing archive keyword semantic encoding feature vector in the set of semantic encoding feature vectors of the marketing archive keywords to obtain a set of semantic measurement coefficients for one-way matching of query and alternative power marketing archives; normalizing the set of semantic measurement coefficients for one-way matching of query and alternative power marketing archives to obtain a set of semantic measurement weight values for one-way matching of query and alternative power marketing archives; using the set of semantic measurement weight values for one-way matching of query and alternative power marketing archives as weights to calculate the weighted sum of the set of semantic encoding feature vectors of the alternative power marketing archive keywords to obtain a one-way matching interactive reshaping feature vector for query and alternative power marketing archives; and calculating the differential feature vector between the one-way matching interactive reshaping feature vector of query and alternative power marketing archives and the query feature vector as the one-way matching result representation vector.
Citation Information
Patent Citations
Intelligent retrieval method and system based on big data
CN117688132A
College student informatization management system and method based on big data
CN118193846A
Interactive response method and system based on large language model
CN118467703A
Intelligent semantic document recommendation method and device, and computer-readable storage medium
WO2020224097A1
Multi-granularity fusion model-based intelligent semantic chinese sentence matching method, and device
WO2021164199A1
Cited By
Network security protection operation and maintenance management system and method
CN119094246A
Scientific and technological achievement management platform and method based on data intelligence
CN119166801A
Digital human interaction system and method based on smart community
CN119357345A
