Method, system, device and medium for acquiring point of interest

By training the first and second models and combining them with a pre-set language model, the problem of low accuracy and coverage in the mining of interest points and gameplay highlights in existing technologies has been solved, achieving more efficient acquisition of interest points and improving the accuracy and richness of tourist attraction information.

CN117573993BActive Publication Date: 2026-11-27SHANGHAI TRAVEL INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311607140.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-28
Publication Date
2026-11-27
Estimated Expiration
2043-11-28

AI Technical Summary

Technical Problem

Existing technologies have low accuracy and coverage in mining interest-based gameplay highlights, making it difficult to effectively obtain interest-based information from scenarios such as tourist attractions.

Method used

By training the first and second models and combining them with a pre-defined language model, interest point data for the target scene is generated and integrated through multiple methods, including data cleaning, expansion, and multi-level extraction. The Bart and Bert models are used for model training and data processing, and ChatGPT is used for data augmentation and information extraction.

Benefits of technology

It improved the accuracy and coverage of interest point and highlight discovery results, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117573993B_ABST
    Figure CN117573993B_ABST
Patent Text Reader

Abstract

The present disclosure provides a point of interest acquisition method, system, device and medium, wherein the method comprises: acquiring a plurality of groups of first sample data; wherein the first sample data comprises sample scene information of any sample scene, sample point of interest association data of each point of interest in the sample scene, and corresponding sample comment data; training a first model based on each group of sample scene information and corresponding sample point of interest association data; training a second model based on each group of sample point of interest association data and corresponding sample comment data; acquiring target scene information; inputting the target scene information into the first model to obtain corresponding first target point of interest data; acquiring other target point of interest data corresponding to the target scene information using at least one predetermined manner; inputting the first target point of interest data and each other target point of interest data into the second model, and outputting a point of interest corresponding to the target scene information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of artificial intelligence, and in particular to a method, system, device, and medium for acquiring points of interest. Background Technology

[0002] With the rapid development of generative AI, AIGC (Artificial Intelligence Generated Content), represented by ChatGPT (Chat Generative Pre-trained Transformer), is gaining momentum, sparking a wave of generative language models and triggering a new round of technological upgrades. Generative AI (Artificial Intelligence) and AIGC technologies have broader application prospects in the industrial internet field. Synthetic data based on generative AI and AIGC technologies will become a core element for the widespread application and capability enhancement of artificial intelligence technology across various industries, supporting the future development of artificial intelligence. NLP (Neuro-Linguistic Programming) technology has undergone two key paradigm shifts in just a few years. However, for mining points of interest and highlights in scenarios such as tourist attractions, existing feasible acquisition solutions generally suffer from low accuracy and coverage in the mining results. Summary of the Invention

[0003] The technical problem to be solved by this disclosure is to overcome the shortcomings of low accuracy and coverage in the mining of interest points and gameplay highlights in the prior art, and to provide a method, system, device and medium for acquiring interest points.

[0004] This disclosure solves the above-mentioned technical problems through the following technical solution:

[0005] According to a first aspect of this disclosure, a method for acquiring points of interest is provided, the method comprising:

[0006] Obtain several sets of first sample data;

[0007] The first sample data includes sample scene information of any sample scene, sample interest point association data of each interest point in the sample scene, and corresponding sample comment data; wherein, the sample comment data is used to characterize the type to which the corresponding interest point belongs.

[0008] Based on the scene information of each group of samples and the corresponding interest point association data, a first model is trained to predict the interest point situation in any scene.

[0009] Based on the associated data of each group of sample interest points and the corresponding sample comment data, a second model is trained to predict the classification of several interest points.

[0010] Obtain target scene information;

[0011] The target scene information is input into the first model to obtain the corresponding first target interest point data;

[0012] At least one preset method is used to obtain other target interest point data corresponding to the target scene information;

[0013] The first target interest point data and each of the other target interest point data are input into the second model, and the interest points corresponding to the target scene information are output.

[0014] Preferably, the step of acquiring other target interest point data corresponding to the target scene information using at least one preset method includes:

[0015] The target scene information is input into a preset language model to obtain the second target interest point data;

[0016] The step of inputting the first target interest point data and each of the other target interest point data into the second model, and outputting the interest points corresponding to the target scene information, includes:

[0017] The first target interest point data and the second target interest point data are input into the second model, and the interest points corresponding to the target scene information are output.

[0018] Preferably, before training the first model and / or before training the second model, the acquisition method further includes:

[0019] Perform data cleaning on the first sample data;

[0020] And / or,

[0021] The first sample data is augmented.

[0022] Preferably, the step of training a first model for predicting interest point situations in any scene based on the sample scene information and the sample interest point association data includes:

[0023] Keyword filtering is performed on the sample scene information and the sample interest point association data to obtain the first sample scene information and the first sample interest point association data;

[0024] The first model is trained using the filtered first sample scene information and the first sample interest point association data to predict the interest point situation in any scene.

[0025] Preferably, the step of training a second model for predicting the classification of several interest points based on the sample interest point association data and the sample comment data includes:

[0026] Data augmentation processing is performed on each group of sample interest point association data and the corresponding sample comment data to obtain second sample interest point association data and first sample comment data;

[0027] The enhanced second sample interest point association data and the corresponding first sample comment data are used to train a second model for predicting the classification of several interest points.

[0028] Preferably, the step of inputting the target scene information into a preset language model to obtain second target interest point data includes:

[0029] Obtain the target scene information;

[0030] The preset language model is used to perform multi-level extraction operations on the target scene information to obtain the second target interest point data;

[0031] The extraction results of the previous extraction operation are used as the initial extraction data for the next extraction operation.

[0032] Preferably, the step of performing multi-level extraction operations on the target scene information using the preset language model to obtain the second target interest point data includes:

[0033] The target scene information is input into the preset language model for extraction to obtain the corresponding first intermediate result;

[0034] The first intermediate result is input into the preset language model to obtain the second target interest point data.

[0035] According to a second aspect of this disclosure, a point-of-interest (POI) acquisition system is provided, the acquisition system comprising:

[0036] The sample data acquisition module is used to acquire several sets of first sample data; wherein, the first sample data includes sample scene information of any sample scene, sample interest point association data of each interest point in the sample scene, and corresponding sample comment data; wherein, the sample comment data is used to characterize the type to which the corresponding interest point belongs.

[0037] The first model training module is used to train a first model for predicting the interest point situation in any scene based on the scene information of each group of samples and the corresponding sample interest point association data.

[0038] The second model training module is used to train a second model for predicting the classification of several interest points based on the interest point association data of each group of samples and the corresponding sample comment data.

[0039] The target scene information acquisition module is used to acquire target scene information.

[0040] The first interest point acquisition module is used to input the target scene information into the first model to obtain the corresponding first target interest point data;

[0041] The second point of interest acquisition module is used to acquire other target point of interest data corresponding to the target scene information using at least one preset method;

[0042] The point of interest output module is used to input the first target point of interest data and each of the other target point of interest data into the second model, and output the point of interest corresponding to the target scene information.

[0043] According to a third aspect of this disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program to implement the point of interest acquisition method described in the first aspect of this disclosure.

[0044] According to a fourth aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method for acquiring points of interest as described in the first aspect of this disclosure.

[0045] Based on common knowledge in the field, the preferred conditions described can be combined arbitrarily to obtain the preferred embodiments of this disclosure.

[0046] The positive and progressive effects of this disclosure are as follows:

[0047] The method for obtaining points of interest provided in this disclosure generates points of interest for the target scene through a first model and other methods, and inputs the points of interest obtained by different methods into a second model to obtain effective points of interest for the target scene. By integrating points of interest obtained by multiple methods, the accuracy and coverage of the results of point of interest mining are effectively improved, thereby enhancing the user experience. Attached Figure Description

[0048] Figure 1 This is a flowchart illustrating a method for obtaining points of interest in one embodiment of this disclosure;

[0049] Figure 2 This is a schematic diagram of the process for obtaining other target points of interest data in one embodiment of this disclosure;

[0050] Figure 3 This is a schematic diagram of the process of training a first model in one embodiment of the present disclosure;

[0051] Figure 4 This is a flowchart illustrating the processing of the Bart model (Bidirectional and Auto-Regressive Transformers, a model that combines contextual information and autoregressive properties) in one embodiment of this disclosure.

[0052] Figure 5 This is a schematic diagram of the process of training a second model in one embodiment of the present disclosure;

[0053] Figure 6 This is a schematic diagram of the process for obtaining second target point of interest data in one embodiment of this disclosure;

[0054] Figure 7 This is a schematic diagram of the data processing flow of a preset language model in one embodiment of the present disclosure;

[0055] Figure 8 This is a schematic diagram of the structure of a method for obtaining points of interest in one embodiment of this disclosure;

[0056] Figure 9 This is a schematic diagram of the structure of a point-of-interest acquisition system in one embodiment of the present disclosure;

[0057] Figure 10 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation

[0058] The present disclosure is further illustrated below by way of embodiments, but the present disclosure is not limited to the scope of the embodiments described herein.

[0059] Example 1

[0060] like Figure 1 As shown in this embodiment, a method for obtaining points of interest is provided, the method comprising:

[0061] S11: Obtain several sets of first sample data. The first sample data includes sample scene information for any sample scene, sample interest point association data for each interest point in the sample scene, and corresponding sample comment data.

[0062] In one specific implementation, the first sample data consists of descriptions and reviews of points of interest (POIs) related to tourism.

[0063] In this embodiment of the disclosure, the sample comment data is used to characterize the type of the corresponding point of interest. The type of point of interest can be a highlight type or a non-highlight type. The highlight type is the point of interest that is determined to be a good point of interest based on the sample comment data, while the non-highlight type is the point of interest that is determined to be a bad point of interest based on the sample comment data. Thus, the point of interest belonging to the highlight type is output, thereby improving the accuracy of obtaining the relevant point of interest for the corresponding target scene.

[0064] S12: Based on the scene information of each group of samples and the corresponding sample interest point association data, train a first model for predicting the interest point situation in any scene.

[0065] S13: Based on the interest point association data of each group of samples and the corresponding sample comment data, a second model is trained to predict the classification of several interest points.

[0066] S14: Obtain target scene information for the target scene.

[0067] S15: Input the target scene information into the first model to obtain the corresponding first target interest point data.

[0068] S16: Use at least one preset method to obtain other target interest point data corresponding to the target scene information.

[0069] S17: Input the first target interest point data and each of the other target interest point data into the second model, and output the interest points corresponding to the target scene information.

[0070] like Figure 2 As shown, in one specific implementation, the step of acquiring other target interest point data corresponding to the target scene information using at least one preset method includes:

[0071] S21: Input the target scene information into a preset language model to obtain the second target interest point data.

[0072] S22: The step of inputting the first target interest point data and each of the other target interest point data into the second model and outputting the interest points corresponding to the target scene information includes:

[0073] S23: Input the first target interest point data and the second target interest point data into the second model, and output the interest points corresponding to the target scene information.

[0074] The method for obtaining points of interest provided in this disclosure generates points of interest for the target scene through a first model and other methods, and inputs the points of interest obtained by different methods into a second model to obtain effective points of interest for the target scene. By integrating points of interest obtained by multiple methods, the accuracy and coverage of the results are effectively improved.

[0075] In a preferred embodiment, before training the first model and / or before training the second model, the acquisition method further includes: performing data cleaning on the first sample data; and / or performing data augmentation on the first sample data.

[0076] In one specific implementation, ChatGPT (a large language model) is used to augment the first sample data. By cleaning and augmenting the first sample data, the training performance of the first and second models is greatly improved.

[0077] like Figure 3 As shown in the embodiment of this disclosure, the step of training a first model for predicting interest point situations in any scene based on the sample scene information and the sample interest point association data includes:

[0078] S31: Perform keyword filtering on the sample scene information and the sample interest point association data to obtain the first sample scene information and the first sample interest point association data.

[0079] S32: Train the first sample scene information and the first sample interest point association data after filtering to obtain the first model for predicting the interest point situation in any scene.

[0080] In a specific implementation, the first model is the Bart model, which uses keyword matching to extract POI gameplay highlights. Examples of keywords include "globally unique," "world-renowned," and "first in China." Template matching is performed based on these prior keywords, and the matched gameplay highlights are then post-processed (i.e., the next step after processing) to improve the accuracy of the results.

[0081] In one specific implementation, the Bart model includes two phases: a pre-training phase and a fine-tuning phase.

[0082] Pre-training Phase: The two core processes of the Bart model during pre-training are: using arbitrary noise functions (Token Masking, Token Deletion, Text Infilling, Sentence Permutation, and Document Rotation) to corrupt the original text input to the Bart model during pre-training; the encoder encodes, computes, and extracts features from the corrupted text; the decoder uses cross-attention and the hidden state results of the encoder's last layer to perform attention aggregation computation, thereby reconstructing the corrupted text in an autoregressive manner. The model uses the decoder's output at this point and the original text before it was corrupted by the noise function to calculate the cross-entropy loss, and then uses this cross-entropy loss to optimize the entire Bart model. During the pre-training phase of the Bart model, five noise functions are used to corrupt the original input text and add noise to it.

[0083] Among them, such as Figure 4 As shown, the five noise functions are: Token Masking: randomly samples a token from the original input text and replaces it with the [MASK] special character; Token Deletion: randomly samples a token from the original input text and deletes it; Text Infilling: randomly replaces a "span consisting of several tokens" in the original input text with a [MASK] special character, and the length of the token in the replaced text span is randomly sampled from a Poisson distribution (λ=3); Sentence Permutation: splits the original input text into clauses according to periods, then shuffles and rearranges these clauses into new text; and Document Rotation: uniformly and randomly samples a token from the original input text, and rotates all the text content before this token to the end of all the text content after this token, so that the new text begins with the selected token. The specific processing process and implementation principle of the Bart model are mature technologies in this field, so they will not be elaborated here.

[0084] Fine-tuning phase: After the pre-training phase, the pre-trained Bart model and the sequence feature representation output by the Bart model can be fine-tuned in different downstream tasks.

[0085] This disclosure fine-tunes the text generation task. Since the Bart model has an autoregressive decoder (which is trained in an autoregressive manner during pre-training), the Bart model can be fine-tuned for downstream tasks such as sequence text generation (e.g., abstract question answering, summarizing).

[0086] In the downstream task of Sequence Generation, the sequence index encoding of the text is input into the encoder of the Bart model, and then the decoder generates the sequence text in an autoregressive manner.

[0087] During the fine-tuning phase, when the decoder generates text in an autoregressive manner, the sequence index encoding of all text is also input into the decoder for calculation and guidance (teacher mode). However, in the subsequent test and inference phase, the decoder generates text in a fully autoregressive manner, and only the feature representation vectors of the hidden states of all previously generated text are input into the current iteration of the decoder to generate the next token.

[0088] The Bart model can be used to quickly and accurately generate the first target interest point data for the corresponding target scene.

[0089] like Figure 5 As shown in the embodiment of this disclosure, the step of training a second model for predicting the classification of several interest points based on the sample interest point association data and the sample comment data includes:

[0090] S51: Perform data augmentation processing on each group of sample interest point association data and corresponding sample comment data to obtain second sample interest point association data and first sample comment data.

[0091] S52: Train the second model by combining the enhanced second sample interest point association data and the corresponding first sample comment data for each group to obtain the second model used to predict the classification of several interest points.

[0092] In a specific implementation, the second model is the BERT model (Bidirectional Encoder Representations from Transformers, a context-based pre-trained model). It employs a combination of manual annotation and ChatGPT data augmentation. Initially, the manual annotations are mostly positive samples, which are then augmented with negative samples using ChatGPT (Chat Generative Pre-trained Transformer, a large-scale language model). Among the numerous candidate Points of Interest (POIs) gameplay highlight information, there are some short phrases that are not gameplay highlights, such as "hidden deep in the forest." These phrases are not gameplay highlights, so data augmentation is needed to remove non-gameplay highlight POIs. Before any dataset is available, a small portion needs to be manually annotated, and then the dataset is augmented using ChatGPT. The augmented dataset serves as the dataset for POI gameplay highlight type discrimination, thereby obtaining the second model. The accuracy of POI gameplay highlight is improved through the second model.

[0093] like Figure 6 As shown, the step of inputting the target scene information into a preset language model to obtain second target interest point data in this embodiment of the present disclosure includes:

[0094] S61: Obtain the target scene information.

[0095] S62: The preset language model is used to perform multi-level extraction operations on the target scene information to obtain the second target interest point data.

[0096] The extraction results of the previous extraction operation are used as the initial extraction data for the next extraction operation.

[0097] Furthermore, such as Figure 7 As shown, the step of performing multi-level extraction operations on the target scene information using the preset language model to obtain the second target interest point data includes:

[0098] S71: Input the target scene information into the preset language model for extraction to obtain the corresponding first intermediate result.

[0099] S72: Input the first intermediate result into the preset language model to obtain the second target interest point data.

[0100] In one specific implementation, the preset language model is ChatGPT. Specifically, ChatGPT obtains the second target interest point result in two stages:

[0101] The first stage involves identifying the possible element types within the sentence (corresponding to the three tasks: entity, relation, or event). This allows for the filtering out of unnecessary information, reducing search and computational complexity. For example, if the input to ChatGPT is: "Given sentence: sentence. Given a list of entity / relation / event types: [...]. What entity / relation / event types might be included in this sentence?", then we can obtain entities related to attractions / destination, relations such as tourist features / cultural features, and specific events such as natural disasters.

[0102] In the second stage, information extraction is performed on each element identified in the first stage according to the task to obtain the corresponding second target interest point.

[0103] Because some problems are quite complex, a problem template chain was designed, meaning that the extraction of a certain element may depend on the extraction of some previous elements. Given a sentence x and a problem hint q, the model is expected to predict the triple T(x) = {(s1,r1,o1),…,(s...}. n ,r n ,o n )}, where type((s n ,r n ,o n ))∈TT, where TT is a list of potential triple types. Formally, for an output triple (s,r,o), the process is represented as: p((s,r,o)|x,q)=p(r|x,q1)p((s,o)|x,q r )……

[0104] Here, q1 is the problem generated using the relation type list R and the corresponding template from the first stage, while q r This involves generating questions using templates related to the relationship types extracted prior to the second stage. Furthermore, for target scene information with complex object values, more QA transformations are performed. Complex object values ​​refer to objects with multiple attributes. The second target point of interest can be obtained quickly and accurately through at least the methods described above.

[0105] The method for obtaining points of interest provided in this disclosure generates points of interest for the target scene through a first model and other methods, and inputs the points of interest obtained by different methods into a second model to obtain effective points of interest for the target scene. By integrating points of interest obtained by multiple methods, the accuracy and coverage of the results are effectively improved.

[0106] like Figure 8 As shown below, the implementation principle of the method for obtaining points of interest disclosed in this paper will be explained in detail with examples:

[0107] First, we collected and organized descriptions and reviews of relevant Points of Interest (POIs) in the tourism sector;

[0108] Preprocess the collected data (such as data cleaning, data augmentation, data enhancement, etc.);

[0109] The first model training dataset and the second model training dataset are constructed based on the preprocessed data; the data from the first model training dataset are input into the pre-trained Bart model to train the Bart model for this specific generation task.

[0110] Input the data from the second model training dataset into the pre-trained Bert model to train the Bert model for this specific classification task.

[0111] Based on the trained first model, multiple first POI gameplay options are generated corresponding to the target scene information (e.g., if the input target scene information includes Lingyin Temple, the first POI gameplay options obtained are Lingying Temple, one of the top ten famous temples in China, and quite large in scale).

[0112] Based on the large model ChatGPT, multiple second POI gameplays are generated corresponding to the target scene information (e.g., if the input target scene information includes Lingyin Temple, the second POI gameplays obtained are Lingyin Temple and China's Top Ten Famous Places).

[0113] Multiple first POI gameplay options and multiple second POI gameplay options are input into the second model. The model determines whether the corresponding POI gameplay option is a highlight gameplay option and outputs the highlight gameplay option (e.g., inputting the top ten famous temples in China and the top ten famous temples in China into the second model, determining that the top ten famous temples in China is a highlight gameplay option, and outputting the top ten famous temples in China), thereby obtaining the point of interest gameplay options corresponding to the target scene information.

[0114] This disclosure proposes a method for acquiring points of interest (POIs), which includes four parts: data preprocessing and model dataset construction; generation of first POI data by a first model; generation of second POI data by other models; and classification of POI highlights by a second model. The first model generation part fine-tunes a pre-trained Bart model using a self-constructed dataset, and then predicts POI highlights based on the fine-tuned Bart model. The other model generation part uses the large model ChatGPT to achieve zero-shot information extraction, obtaining the POI's gameplay highlights. The second model classification part expands the data using the self-constructed dataset and ChatGPT's data augmentation capabilities, fine-tunes the pre-trained Bart model for classification tasks, and then classifies the gameplay highlights generated in the first two stages based on the fine-tuned second model, improving accuracy. Furthermore, compared to traditional text mining methods, this method mines richer and more comprehensive highlight information, achieving higher coverage while maintaining accuracy.

[0115] Example 2

[0116] like Figure 9 As shown in this embodiment, a point-of-interest (POI) acquisition system is provided, the acquisition system comprising:

[0117] The sample data acquisition module 100 is used to acquire several sets of first sample data; wherein, the first sample data includes sample scene information of any sample scene, sample interest point association data of each interest point in the sample scene, and corresponding sample comment data; wherein, the sample comment data is used to characterize the type to which the corresponding interest point belongs.

[0118] The first model training module 200 is used to train a first model for predicting the interest point situation in any scene based on the scene information of each group of samples and the corresponding sample interest point association data.

[0119] The second model training module 300 is used to train a second model for predicting the classification of several interest points based on the associated data of each group of sample interest points and the corresponding sample comment data.

[0120] The target scene information acquisition module 400 is used to acquire target scene information of the target scene.

[0121] The first point of interest acquisition module 500 is used to input the target scene information into the first model to obtain the corresponding first target point of interest data.

[0122] The second point of interest acquisition module 600 is used to acquire other target point of interest data corresponding to the target scene information using at least one preset method.

[0123] The point of interest output module 700 is used to input the first target point of interest data and each of the other target point of interest data into the second model, and output the point of interest corresponding to the target scene information.

[0124] The second point of interest acquisition module in this embodiment is further configured to input the target scene information into a preset language model to obtain second target point of interest data.

[0125] The point of interest output module in this embodiment is further configured to input the first target point of interest data and the second target point of interest data into the second model, and output the point of interest corresponding to the target scene information.

[0126] The point of interest acquisition module in this embodiment is further configured to perform data cleaning on the first sample data; and / or to perform data augmentation on the first sample data.

[0127] In one specific implementation, the first model training module includes a keyword filtering unit and a first training unit.

[0128] The keyword filtering unit is used to filter the sample scene information and the sample interest point association data using keywords to obtain the first sample scene information and the first sample interest point association data.

[0129] The first training unit is used to train the first sample scene information and the first sample interest point association data after screening to obtain the first model for predicting the interest point situation in any scene.

[0130] In one specific implementation, the second model training module includes a data augmentation unit and a second training unit.

[0131] The data augmentation unit is used to perform data augmentation processing on each group of sample interest point association data and the corresponding sample comment data to obtain second sample interest point association data and first sample comment data.

[0132] The second training unit is used to train the enhanced second sample interest point association data and the corresponding first sample comment data for each group to obtain the second model for predicting the classification of several interest points.

[0133] In one specific implementation, the second point of interest acquisition module includes: an information acquisition unit and an point of interest output unit.

[0134] The information acquisition unit is used to acquire the target scene information.

[0135] The point of interest output unit is used to perform multi-level extraction operations on the target scene information using the preset language model to obtain the second target point of interest data; wherein the extraction result of the previous level extraction operation is used as the initial extraction data for the next level extraction operation.

[0136] The point of interest output unit is further configured to input the target scene information into the preset language model for extraction to obtain the corresponding first intermediate result; and input the first intermediate result into the preset language model to obtain the second target point of interest data.

[0137] It should be noted that the working principle of the interest point acquisition system in this embodiment is the same as that of the interest point acquisition method in Embodiment 1, so it will not be described again here.

[0138] The interest point acquisition system provided in this disclosure generates interest points for the corresponding target scene through a first model and other methods, and inputs the interest points obtained by different methods into a second model to obtain effective interest points for the corresponding target scene. By integrating interest points obtained by multiple methods, the accuracy and coverage of the results are effectively improved.

[0139] Example 3

[0140] Figure 10 This is a schematic diagram of the structure of an electronic device according to Embodiment 3 of this disclosure. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the methods described in the above embodiments. Figure 10 The electronic device 30 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.

[0141] like Figure 10 As shown, the electronic device 30 can be represented in the form of a general computing device, such as a server device. The components of the electronic device 30 may include, but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including memory 32 and processor 31).

[0142] Bus 33 includes a data bus, an address bus, and a control bus.

[0143] The memory 32 may include volatile memory, such as random access memory (RAM) 321 and / or cache memory 322, and may further include read-only memory (ROM) 323.

[0144] The memory 32 may also include a program / utility 325 having a set (at least one) of program modules 324, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.

[0145] The processor 31 performs various functional applications and data processing, such as the methods described in the above embodiments of this disclosure, by running computer programs stored in the memory 32.

[0146] Electronic device 30 can also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). This communication can be performed via input / output (I / O) interface 35. Furthermore, the model-generating device 30 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 36. Figure 10As shown, network adapter 36 communicates with other modules of the model-generated device 30 via bus 33. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the model-generated device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.

[0147] It should be noted that although several units / modules or sub-units / modules of the electronic device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.

[0148] Example 4

[0149] This embodiment provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps in the method described above.

[0150] The readable storage medium may be more specifically adopted, including but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device, or any suitable combination thereof.

[0151] In possible implementations, this disclosure can also be implemented as a program product comprising program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps of the methods described above.

[0152] The program code for executing this disclosure can be written using any combination of one or more programming languages. The program code can be executed entirely on a user device, partially on a user device, as a standalone software package, partially on a user device and partially on a remote device, or entirely on a remote device.

[0153] While specific embodiments of this disclosure have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of this disclosure is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of this disclosure, but all such changes and modifications fall within the scope of protection of this disclosure.

Claims

1. A method for acquiring points of interest, characterized in that, The acquisition method includes: Obtain several sets of first sample data; The first sample data includes sample scene information of any sample scene, sample interest point association data of each interest point in the sample scene, and corresponding sample comment data; wherein, the sample comment data is used to characterize the type to which the corresponding interest point belongs. Based on the scene information of each group of samples and the corresponding interest point association data, a first model is trained to predict the interest point situation in any scene. Based on the associated data of each group of sample interest points and the corresponding sample comment data, a second model is trained to predict the classification of several interest points. Obtain target scene information; The target scene information is input into the first model to obtain the corresponding first target interest point data; At least one preset method is used to obtain other target interest point data corresponding to the target scene information; The first target interest point data and each of the other target interest point data are input into the second model, and the interest points corresponding to the target scene information are output. The step of acquiring other target interest point data corresponding to the target scene information using at least one preset method includes: The target scene information is input into a preset language model to obtain the second target interest point data; The step of inputting the first target interest point data and each of the other target interest point data into the second model, and outputting the interest points corresponding to the target scene information, includes: The first target interest point data and the second target interest point data are input into the second model, and the interest points corresponding to the target scene information are output. The step of inputting the target scene information into a preset language model to obtain the second target interest point data includes: Obtain the target scene information; The preset language model is used to perform multi-level extraction operations on the target scene information to obtain the second target interest point data; The extraction results of the previous extraction operation are used as the initial extraction data for the next extraction operation. The step of performing multi-level extraction operations on the target scene information using the preset language model to obtain the second target interest point data includes: The target scene information is input into the preset language model for extraction to obtain the corresponding first intermediate result; The first intermediate result is input into the preset language model to obtain the second target interest point data.

2. The method for obtaining points of interest according to claim 1, characterized in that, Before training to obtain the first model, and / or before training to obtain the second model, the acquisition method further includes: Perform data cleaning on the first sample data; And / or, The first sample data is augmented.

3. The method for acquiring points of interest according to claim 1, characterized in that, The step of training a first model for predicting interest point conditions in any scene based on the sample scene information and the sample interest point association data includes: Keyword filtering is performed on the sample scene information and the sample interest point association data to obtain the first sample scene information and the first sample interest point association data; The first model is trained using the filtered first sample scene information and the first sample interest point association data to predict the interest point situation in any scene.

4. The method for obtaining points of interest according to claim 1, characterized in that, The step of training a second model for predicting the classification of several interest points based on the sample interest point association data and the sample comment data includes: Data augmentation processing is performed on each group of sample interest point association data and the corresponding sample comment data to obtain second sample interest point association data and first sample comment data; The enhanced second sample interest point association data and the corresponding first sample comment data are used to train a second model for predicting the classification of several interest points.

5. A system for acquiring points of interest, characterized in that, The acquisition system includes: The sample data acquisition module is used to acquire several sets of first sample data; wherein, the first sample data includes sample scene information of any sample scene, sample interest point association data of each interest point in the sample scene, and corresponding sample comment data; wherein, the sample comment data is used to characterize the type to which the corresponding interest point belongs. The first model training module is used to train a first model for predicting the interest point situation in any scene based on the scene information of each group of samples and the corresponding sample interest point association data. The second model training module is used to train a second model for predicting the classification of several interest points based on the interest point association data of each group of samples and the corresponding sample comment data. The target scene information acquisition module is used to acquire target scene information. The first interest point acquisition module is used to input the target scene information into the first model to obtain the corresponding first target interest point data; The second point of interest acquisition module is used to acquire other target point of interest data corresponding to the target scene information using at least one preset method; The point of interest output module is used to input the first target point of interest data and each of the other target point of interest data into the second model, and output the point of interest corresponding to the target scene information; The second interest point acquisition module is further configured to: input the target scene information into a preset language model to obtain second target interest point data; The point of interest output module is further configured to: input the first target point of interest data and the second target point of interest data into the second model, and output the point of interest corresponding to the target scene information; The second point of interest acquisition module includes: an information acquisition unit and an point of interest output unit; The information acquisition unit is used to acquire the target scene information; The point of interest output unit is used to perform multi-level extraction operations on the target scene information using the preset language model to obtain the second target point of interest data; wherein, the extraction result of the previous extraction operation is used as the initial extraction data for the next extraction operation. The point of interest output unit is further configured to input the target scene information into the preset language model for extraction to obtain the corresponding first intermediate result; and input the first intermediate result into the preset language model to obtain the second target point of interest data.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes a computer program, it implements the method for acquiring points of interest as described in any one of claims 1-4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method for acquiring points of interest as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Interest point state identification method and device

    CN112559649A

  • Interest model training method, interest point recommendation method, interest model training device, interest point recommendation device and equipment

    CN112559879A