A method and application for generating user decision requirements based on task-related keywords

By building a user demand corpus and knowledge graph, and recommending decision-making needs based on task keywords, the problem of users having difficulty making decisions in an information redundant environment is solved, high-value information recommendation is realized, and information acquisition efficiency is improved.

CN114298023BActive Publication Date: 2024-09-20NAT UNIV OF DEFENSE TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111556977.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-18
Publication Date
2024-09-20
Estimated Expiration
2041-12-18

AI Technical Summary

Technical Problem

In the case of information redundancy, it is difficult for users to make decisions efficiently and quickly. When existing technologies build portraits based on users or products, they lack demand recommendations from the user's perspective and cannot help users discover high-value information.

Method used

By building a user demand corpus and knowledge graph, we can automatically generate demand points that users may be concerned about based on task keywords, and use pre-trained prediction models to recommend decision-making needs and form a demand list to help users sort out high-value information.

Benefits of technology

It effectively solves the problem of users having difficulty making decisions in an information redundant environment, provides high-value information recommendations from the user's perspective, and improves the efficiency of information acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114298023B
    Figure CN114298023B
Patent Text Reader

Abstract

The present application discloses a method and application for generating user decision requirements driven by task keywords, the method comprising: obtaining a user description text sentence and performing word segmentation to obtain a demand description word set; querying the task keyword node corresponding to each word segmentation in the demand description word set in the knowledge graph to generate a task keyword set; taking the task keyword in the task keyword set as the central node, querying the knowledge graph for a number of associated nodes with the shortest associated path with each central node, adding the task keyword corresponding to the associated node to the task keyword set to form a new word set; screening the task keyword with an occurrence frequency greater than a preset value from the word set, inputting the task keyword into a pre-trained prediction model, obtaining the demand statement associated with each task keyword and recommending it to the user; the present invention recommends decision demand points to the user, formulates a demand list for the user, and assists the user in discovering and sorting out high-value information or knowledge in the information fog.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of natural language processing, and more specifically, to a method and application for generating user decision requirements based on task keyword-driven methods. Background Art

[0002] In recent years, artificial intelligence technologies such as natural language processing have developed rapidly and have been widely used in various industrial and commercial fields. In today's information age with the explosion of various data volumes, users of platforms in different fields will face the problem of being unable to make decisions efficiently and quickly due to a large amount of redundant information. For example, when consumers on commercial shopping platforms are faced with a variety of product recommendations, it is difficult to clearly identify their own purchasing needs. Therefore, developing accurate user needs has become a research hotspot in recent years.

[0003] At present, there are two main research directions for developing user needs. One is to build user portraits from users, and the other is to build product portraits from products. The former is more representative of Shi Wenxing et al., who proposed a hierarchical clustering portrait recommendation model based on the improved firefly optimization weighted K-means algorithm, and analyzed the user power business needs in a certain area by building user portraits; Wang Renwu et al., who accurately located the information needs of academic users by building information behavior tags and research interest tags for library academic user portraits, thereby improving the user's information acquisition efficiency and the quality of library academic resource recommendation services. The latter is more representative of Gu Ying et al., who proposed a competitive intelligence mining framework based on online product reviews, and built product portraits from two aspects: product theme characteristics and user emotional attitude characteristics, to help companies effectively identify the advantages and disadvantages of their own brands and competitors; Li Xiang et al., who proposed a product user demand insight method based on SPSS and online review analysis, derived product attribute requirements and product scenario adaptability requirements by corresponding to product characteristics and user demand indicators under usage scenarios, and built product portraits, solving the current problems of insufficient application of methods and lack of objectivity in product user demand insight.

[0004] However, whether building user portraits from the user's perspective or building product portraits from the product's perspective, current user demand development is mostly aimed at improving the company's economic benefits and optimizing product design and manufacturing. It is rare to truly start from the user's perspective and recommend to the user the demand points that he or she may be concerned about, and help the user discover and sort out high-value information. Summary of the invention

[0005] In response to at least one defect or improvement need in the prior art, the present invention provides a method and application for generating user decision needs driven by task keywords. By collecting users' historical demand points, a user demand corpus and knowledge graph are constructed, and demand points that users may pay attention to when making decisions are automatically generated based on task keywords. The purpose is to help users discover and sort out high-value information or knowledge, and solve the problem that users are unable to make decisions efficiently and quickly when faced with a large amount of redundant information.

[0006] To achieve the above object, according to a first aspect of the present invention, a method for generating user decision requirements based on task keyword driving is provided, which comprises:

[0007] Obtain the user description text sentence and perform word segmentation to obtain a demand description word set;

[0008] In the pre-created knowledge graph, query the task subject word node corresponding to each word in the requirement description word set to generate a task subject word set;

[0009] Taking each task theme word in the task theme word set as a central node, searching the knowledge graph for a number of associated nodes with the shortest associated paths with each of the central nodes, and adding the task theme words corresponding to the associated nodes to the task theme word set to form a new word set;

[0010] A number of task subject words with an occurrence frequency greater than a preset value are selected from the word set and input into a pre-trained prediction model to obtain a demand statement associated with each task subject word and recommend it to the user.

[0011] 2. The method for generating user decision requirements according to claim 1, wherein the process of creating the knowledge graph comprises:

[0012] Abstract each user demand text sentence stored in the user demand corpus to obtain the task subject words corresponding to the user demand text sentence as the subject word tags of the user demand text sentence;

[0013] The task keywords are used as the bottom nodes of the knowledge graph, and the predefined basic types of user needs are used as the top nodes of the knowledge graph;

[0014] The bottom-level nodes and top-level nodes are associated to form a task-themed knowledge graph.

[0015] Preferably, the above method for generating user decision requirements further includes:

[0016] Abstract and summarize the subject words of each task to form the middle layer nodes of the knowledge graph;

[0017] The bottom nodes, middle nodes and top nodes are associated in the form of a tree structure to form a task subject word knowledge graph.

[0018] Preferably, in the above method for generating user decision requirements, the training method of the prediction model is:

[0019] Abstract each user demand text sentence stored in the user demand corpus to obtain the task subject words corresponding to the user demand text sentence as the subject word tags of the user demand text sentence;

[0020] Each user demand text sentence is segmented and vectorized to obtain a text sequence composed of multiple character vectors. The text sequence and its corresponding keyword labels are used as training samples to train the model to obtain a trained prediction model.

[0021] Preferably, the above-mentioned method for generating user decision requirements uses the text sequence and its corresponding topic word labels as training samples to train the model to obtain a trained prediction model, including:

[0022] The prediction model to be trained learns the contextual relationship between adjacent character vectors in the text sequence, as well as the relationship between the task topic words and the user demand text sentences corresponding to the text sequence;

[0023] The maximum likelihood estimation method is used to construct the loss function, which is:

[0024]

[0025] Where k represents the size of the context window; P(x i |x i-k ,…,x i-1 :θ) represents the probability value of the i-th character in the text sequence being successfully predicted by the k characters to its left, and θ is the estimated parameter of the maximum likelihood function;

[0026] The model parameters of the prediction model to be trained are adjusted until the loss function is minimized to obtain a trained prediction model.

[0027] Preferably, the above method for generating user decision requirements further includes:

[0028] Receive and sort the user-filtered requirement statements to form and save a requirement list.

[0029] Preferably, in the above-mentioned method for generating user decision requirements, the step of obtaining a user description text statement comprises:

[0030] A user description text is obtained, and the user description text is divided into sentences using Chinese punctuation marks to obtain user description text sentences.

[0031] According to a second aspect of the present invention, there is provided a user decision demand generation device based on task keyword driving, comprising:

[0032] The word segmentation module is used to obtain the user description text sentence and perform word segmentation to obtain a demand description word set;

[0033] The first query module is used to query the task subject word node corresponding to each word segment in the requirement description word set in the pre-created knowledge graph to generate a task subject word set;

[0034] The second query module is used to take each task theme word in the task theme word set as a central node, query a number of associated nodes with the shortest associated path with each of the central nodes in the knowledge graph, and add the task theme words corresponding to the associated nodes to the task theme word set to form a new word set;

[0035] The recommendation module is used to filter several task theme words with an occurrence frequency greater than a preset value from the word set, and input them into a pre-trained prediction model to obtain the demand sentence associated with each task theme word and recommend them to the user.

[0036] According to the third aspect of the present invention, there is also provided a computer device, which includes at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit executes the steps of any one of the above-mentioned user decision demand generation methods.

[0037] According to a fourth aspect of the present invention, there is also provided a computer-readable medium storing a computer program executable by a computer device, wherein when the computer program runs on the computer device, the computer device executes the steps of any one of the above-mentioned methods for generating user decision needs.

[0038] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:

[0039] The method for generating user decision requirements based on task keyword-driven provided by the present invention uses "task keyword" as a requirement label in a user requirement corpus and also as a node label in a task keyword knowledge graph to construct a user requirement corpus and a knowledge graph library; queries the task keyword node corresponding to each word segment in the requirement description word set in the knowledge graph according to the requirement description word set corresponding to the user description text sentence, and queries several associated nodes with the shortest associated path with each task keyword node in the knowledge graph, and adds the task keyword corresponding to the associated node to the task keyword set to form a new word set; selects several task keyword with an occurrence frequency greater than a preset value from the word set, and inputs them into a pre-trained prediction model to obtain the requirement statement associated with each task keyword and recommend it to the user; recommends decision requirement points to the user through the present invention, formulates a requirement list for the user, and assists the user in discovering and sorting out high-value information or knowledge in the information fog. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 A flowchart of a method for generating user decision requirements based on task keyword driving provided in this embodiment;

[0042] Figure 2 A flowchart of the task subject word knowledge graph establishment process provided in this embodiment;

[0043] Figure 3 A schematic diagram of the composition of the prediction model provided in this embodiment;

[0044] Figure 4 A logic block diagram of a user decision demand generation device based on task keyword drive provided in this embodiment;

[0045] Figure 5 A logical block diagram of a computer device provided in this embodiment. DETAILED DESCRIPTION

[0046] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0047] The terms "first", "second", "third", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0048] In addition, in order to avoid obscuring the understanding of the present invention by the skilled person, well-known or widely used techniques, elements, structures and processes may not be described or shown in detail. Although the drawings represent exemplary embodiments of the present invention, the drawings are not necessarily drawn to scale, and certain features may be enlarged or omitted to better illustrate and explain the present invention.

[0049] This solution provides a method for generating user decision requirements based on task keyword-driven methods. It has a certain degree of versatility and can be applied to multiple fields such as commercial shopping platforms and public security system platforms. The following is an explanation using a commercial shopping platform as an example.

[0050] Figure 1 This is a flow chart of a method for generating user decision requirements based on task keyword driving provided in this embodiment. Figure 1 , the method mainly comprises the following steps:

[0051] S1 obtains the user description text sentence and performs word segmentation to obtain a demand description word set;

[0052] In this embodiment, the user refers to a consumer in a commercial shopping platform, and the demand statement input by the user in the commercial shopping platform through voice or text is the user description text.

[0053] In a specific example, the method for obtaining the user description text sentence is:

[0054] The user description text is obtained, and the user description text is segmented into sentences using Chinese punctuation marks to obtain user description text sentences. The jieba open source word segmentation tool is used to segment the user description text sentences and display them line by line to generate a demand description word set.

[0055] S2 searches the pre-created knowledge graph for the task subject word node corresponding to each word segment in the requirement description word set to generate a task subject word set;

[0056] In this implementation, it is first necessary to build a user demand corpus and a task subject word knowledge graph. The process of building the user demand corpus specifically includes:

[0057] (1) Collect user demand data;

[0058] In this embodiment, there are two ways to obtain user demand corpus. One is to obtain it from the historical data of user operations on the commercial shopping platform: for example, a crawler algorithm based on a focused network is used to obtain the historical data of users on the commercial shopping platform (in text form), including product search records, customer service chat records, pre-sales and after-sales consultation records, product browsing records, and information about products or stores that are followed; the other is to obtain it by manual writing: an expert team is formed to analyze and write user demand corpus according to different user demand types (essential needs, one-way needs, and attractive needs).

[0059] (2) Build a user demand corpus;

[0060] The construction of user demand corpus is mainly a process of preprocessing the acquired corpus text, including defining the storage rules of the demand corpus and Chinese sentence segmentation and syntax recognition; in a specific example, the storage rules of the corpus are defined as line-by-line storage, each line is a natural language text sentence describing user needs, and the sentence form is a declarative sentence or a question sentence, and the corpus is saved in txt format. For the collected user demand corpus, the user demand corpus is segmented into sentences based on Chinese punctuation and segmentation symbols to form a Chinese sentence set, and then the text in the Chinese sentence set is further adjusted according to the storage rules through manual review.

[0061] Then, based on the user demand corpus, we build a task subject word knowledge graph. Figure 2 A flowchart of the task subject word knowledge graph establishment process provided in this embodiment; see Figure 2 , the establishment process includes:

[0062] (1) Corpus annotation: abstract each user demand text sentence stored in the user demand corpus, obtain the task keyword corresponding to the user demand text sentence, and use it as the keyword label of the user demand text sentence;

[0063] Specifically, each user demand text sentence stored in the user demand corpus is abstracted and described with a demand type keyword, i.e., the task subject word of the demand text sentence. For example, for a demand text sentence "What is the price of rice today?", the task subject word of the demand text sentence can be defined as "rice price".

[0064] The user demand text sentences are annotated according to the task keywords. The corpus annotation rule is "task keyword demand text sentence", separated by spaces, and the annotated corpus is stored in txt format. For example, "Rice price What is the price of rice today?".

[0065] Finally, the task keywords are labeled, and the task keyword of each requirement text sentence is used as the label of the requirement sentence.

[0066] (2) Constructing a task keyword knowledge graph: taking each of the task keywords as the bottom-level node of the knowledge graph, and taking the pre-defined basic types of user needs as the top-level node of the knowledge graph; associating the bottom-level nodes with the top-level nodes to form a task keyword knowledge graph.

[0067] The task keywords corresponding to each user demand text sentence are used as the bottom-level nodes of the knowledge graph. At the same time, multiple basic types of user needs are defined as the top-level nodes of the knowledge graph to form the key nodes in the task keyword knowledge graph.

[0068] In a specific example, the predefined basic types of user needs include essential needs, one-way needs, and attractive needs. Among them, essential needs refer to the basic requirements of consumer users for the products or service factors provided by merchants or enterprises. In other words, they are the promised benefits provided by merchants or enterprises to consumer users. One-way needs refer to the needs in which the user's satisfaction is proportional to the degree of satisfaction of the needs. They are variable benefits provided by merchants or enterprises to consumer users, such as price discounts. They refer to needs that are not actively proposed by consumer users, nor are they overly expected by consumer users. They are non-committed benefits provided by merchants or enterprises to customers.

[0069] In an optional embodiment, it also includes:

[0070] A combination of bottom-up and top-down approaches is adopted to construct the middle-layer nodes of the knowledge graph; specifically, based on the bottom-level nodes and top-level nodes, the task keywords are abstracted and summarized by knowledge induction to form the middle-layer nodes of the knowledge graph, and the middle-layer nodes are sequentially associated with the top-level nodes corresponding to the three basic demand types; for example, "rice price" (bottom-level node) can be abstracted and summarized as "basic needs of life" (middle-level node), and "basic needs of life" can be classified into the basic demand type of "essential needs" (top-level node).

[0071] Finally, the bottom nodes, middle nodes and top nodes are associated in the form of a tree structure to form a task keyword knowledge graph.

[0072] In this embodiment, a keyword fuzzy query method is used to query the task subject word node corresponding to each word segment in the requirement description word set in the above-mentioned task subject word knowledge graph to generate a task subject word set.

[0073] S3 takes each task theme word in the task theme word set as a central node, searches for a number of associated nodes with the shortest associated paths with each of the central nodes in the knowledge graph, and adds the task theme words corresponding to the associated nodes to the task theme word set to form a new word set;

[0074] In this embodiment, each task keyword in the task keyword set is used as a central node, and the other three task keyword nodes with the shortest associated paths are queried in the knowledge graph and added to the task keyword set to form a new word set.

[0075] S4 selects several task theme words with an occurrence frequency greater than a preset value from the word set, and inputs them into a pre-trained prediction model to obtain a demand statement associated with each task theme word and recommend it to the user.

[0076] In this embodiment, the 10 most frequently occurring task keywords are selected from the word set as the input of the model. The prediction model uses the GPT-2 open source Chinese text generation model. Figure 3 The following is a schematic diagram of the prediction model provided in this embodiment. The training method of the prediction model is as follows:

[0077] Abstract each user demand text sentence stored in the user demand corpus to obtain the task subject words corresponding to the user demand text sentence as the subject word tags of the user demand text sentence;

[0078] Each user demand text sentence is segmented and vectorized to obtain a text sequence composed of multiple character vectors. The text sequence and its corresponding keyword labels are used as training samples to train the model. Through training, the prediction model learns the contextual relationship between adjacent character vectors in the text sequence, as well as the relationship between the task keyword and the user demand text sentence corresponding to the text sequence.

[0079] The principle of model training is to use the maximum likelihood estimation method to train the input training text sequence (x1, x2, ..., xm), and continuously adjust the parameters of the neural network through the SGD strategy, so that the neural network can predict the next character more accurately given the previous text, and the loss function becomes smaller and smaller. The loss function is:

[0080]

[0081] Where k represents the size of the context window; P(x i |x i-k ,…,x i-1 :θ) represents the probability value of the i-th character in the text sequence being successfully predicted by its k adjacent characters, and θ is the estimated parameter of the maximum likelihood function;

[0082] The model parameters of the prediction model to be trained are adjusted until the loss function is minimized to obtain a trained prediction model.

[0083] In this embodiment, the 10 screened task keywords are used as the input of the GPT-2 model. The model predicts and outputs 10 corresponding demand statements and makes demand recommendations to the user. The user selects several (no more than 10) demand items that he or she most wants to pay attention to through editing, modification, and deletion operations, and sorts them according to the user's level of attention, and finally saves them in the form of a demand list.

[0084] It should be noted that although the operations of the methods of the embodiments of this specification are described in a specific order in the above-mentioned embodiments, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted in the flowchart can change the order of execution. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step for execution, and / or one step can be decomposed into multiple steps for execution.

[0085] This embodiment also provides a device for generating user decision requirements based on task keyword-driven, which can be implemented in software and / or hardware and can be integrated on a computer device; Figure 4 For the logic block diagram of the device for generating the user decision demand, please refer to Figure 4 , the device includes a word segmentation module, a first query module, a second query module and a recommendation module;

[0086] Among them, the word segmentation module is used to obtain the user description text sentence and perform word segmentation to obtain the demand description word set;

[0087] The first query module is used to query the task subject word node corresponding to each word in the demand description word set in the pre-created knowledge graph to generate a task subject word set;

[0088] The second query module is used to take each task theme word in the task theme word set as a central node, query a number of associated nodes with the shortest associated path with each of the central nodes in the knowledge graph, and add the task theme words corresponding to the associated nodes to the task theme word set to form a new word set;

[0089] The recommendation module is used to filter several task subject words with an occurrence frequency greater than a preset value from the word set, and input them into a pre-trained prediction model to obtain a demand statement associated with each task subject word and recommend it to the user.

[0090] For the specific definition of the user decision demand generation device driven by task keywords, please refer to the definition of the user decision demand generation method driven by task keywords above, which will not be repeated here. Each module in the above-mentioned user decision demand generation device driven by task keywords can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0091] This embodiment also provides a computer device, such as Figure 5 As shown, it includes at least one processor and at least one memory, wherein a computer program is stored in the memory. When the computer program is executed by the processor, the processor executes the steps of the user decision demand generation method driven by task keywords in Example 1. In this embodiment, the types of processors and memories are not specifically limited, for example: the processor can be a microprocessor, a digital information processor, an on-chip programmable logic system, etc.; the memory can be a volatile memory, a non-volatile memory, or a combination thereof, etc.

[0092] The computer device may also communicate with one or more external devices (such as a keyboard, a pointing terminal, a display, etc.), may communicate with one or more terminals that enable a user to interact with the computer device, and / or communicate with any terminal (such as a network card, a modem, etc.) that enables the computer device to communicate with one or more other computing terminals. Such communication may be performed through an input / output (I / O) interface. Furthermore, the computer device may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter.

[0093] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0094] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0095] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for generating user decision requirements based on task keyword driving, characterized in that: include: Obtain the user description text sentence and perform word segmentation to obtain a demand description word set; In the pre-created knowledge graph, query the task subject word node corresponding to each word in the requirement description word set to generate a task subject word set; Taking each task theme word in the task theme word set as a central node, searching the knowledge graph for a number of associated nodes with the shortest associated paths with each of the central nodes, and adding the task theme words corresponding to the associated nodes to the task theme word set to form a new word set; A plurality of task subject words with a frequency of occurrence greater than a preset value are selected from the word set, and the results are input into a pre-trained prediction model to obtain a demand statement associated with each task subject word and recommend the demand statement to the user; Wherein, the training method of the prediction model is: Abstract each user demand text sentence stored in the user demand corpus to obtain the task subject words corresponding to the user demand text sentence as the subject word tags of the user demand text sentence; Each user demand text sentence is segmented and vectorized to obtain a text sequence composed of multiple character vectors. The text sequence and its corresponding keyword labels are used as training samples to train the model to obtain a trained prediction model.

2. The method for generating user decision requirements according to claim 1, characterized in that: The creation process of the knowledge graph includes: Abstract each user demand text sentence stored in the user demand corpus to obtain the task subject words corresponding to the user demand text sentence as the subject word tags of the user demand text sentence; The task keywords are used as the bottom nodes of the knowledge graph, and the predefined basic types of user needs are used as the top nodes of the knowledge graph; The bottom-level nodes and top-level nodes are associated to form a task-themed knowledge graph.

3. The method for generating user decision requirements according to claim 2, characterized in that: Also includes: Abstract and summarize the subject words of each task to form the middle layer nodes of the knowledge graph; The bottom nodes, middle nodes and top nodes are associated in the form of a tree structure to form a task subject word knowledge graph.

4. The method for generating user decision requirements according to claim 1, characterized in that: The text sequence and its corresponding topic word labels are used as training samples to train the model to obtain a trained prediction model, including: The prediction model to be trained learns the contextual relationship between adjacent character vectors in the text sequence, as well as the relationship between the task topic words and the user demand text sentences corresponding to the text sequence; The maximum likelihood estimation method is used to construct the loss function, which is: in, Indicates the size of the context window; Indicates the first Characters are separated by The probability value of successful prediction of a character, are the estimated parameters of the maximum likelihood function; The model parameters of the prediction model to be trained are adjusted until the loss function is minimized to obtain a trained prediction model.

5. The method for generating user decision requirements according to claim 1, characterized in that: Also includes: Receive and sort the user-filtered requirement statements to form and save a requirement list.

6. The method for generating user decision requirements according to claim 1, characterized in that: The obtaining of the user description text statement comprises: A user description text is obtained, and the user description text is divided into sentences using Chinese punctuation marks to obtain user description text sentences.

7. A user decision demand generation device based on task keyword drive, characterized in that: include: The word segmentation module is used to obtain the user description text sentence and perform word segmentation to obtain a demand description word set; The first query module is used to query the task subject word node corresponding to each word segment in the requirement description word set in the pre-created knowledge graph to generate a task subject word set; The second query module is used to take each task theme word in the task theme word set as a central node, query a number of associated nodes with the shortest associated path with each of the central nodes in the knowledge graph, and add the task theme words corresponding to the associated nodes to the task theme word set to form a new word set; A recommendation module, used to select a number of task subject words with a frequency greater than a preset value from the word set, and input them into a pre-trained prediction model to obtain a demand statement associated with each task subject word and recommend it to the user; Wherein, the training method of the prediction model is: Abstract each user demand text sentence stored in the user demand corpus to obtain the task subject words corresponding to the user demand text sentence as the subject word tags of the user demand text sentence; Each user demand text sentence is segmented and vectorized to obtain a text sequence composed of multiple character vectors. The text sequence and its corresponding keyword labels are used as training samples to train the model to obtain a trained prediction model.

8. A computer device, characterized in that: The method comprises at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit executes the steps of the method according to any one of claims 1 to 6.

9. A computer-readable medium, characterized in that It stores a computer program executable by a computer device. When the computer program is run on the computer device, the computer device executes the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Recommendation systems and methods using interest correlation

    US20080294621A1

  • Intention recognition method, device and computer readable storage medium

    WO2021008015A1

  • KR20210040891A