Information processing device, method, and program

The system addresses the challenge of using generative AI for search queries by extracting and evaluating keyword subsets to generate relevant search queries, enhancing search relevance and effectiveness.

JP7566387B1Active Publication Date: 2024-10-15VAIABLE CORP

Patent Information

Application Number
JP2024075128
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-10-15
Estimated Expiration
2044-05-07

AI Technical Summary

Technical Problem

Existing methods fail to effectively utilize generative AI models for creating search queries from input sentences and performing searches using subsets of keywords that accurately represent the original intent.

Method used

An information processing system that extracts multiple keywords from an input sentence, creates subsets of these keywords, generates sentences using a generative AI model to exclude non-subset keywords, evaluates the relevance of these sentences, and executes searches using the most relevant subsets as search queries.

Benefits of technology

Enables the use of generative AI models to create search queries that accurately reflect the original input sentence intent, improving the relevance and effectiveness of search results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007566387000001_ABST
    Figure 0007566387000001_ABST
Patent Text Reader

Abstract

A generative AI model is used to create a search query from the input sentence and perform a search. [Solution] The information processing device includes an extraction unit that extracts multiple keywords from an input sentence, a subset creation unit that creates multiple keyword subsets from the extracted multiple keywords, a sentence generation unit that inputs a prompt to a generative AI model instructing a sentence to be generated from the subset for each of the multiple subsets so as not to include keywords not included in the subset, and obtains the generated sentence from the output of the generative AI model, an evaluation unit that evaluates the relevance between the input sentence and the generated sentence for each of the multiple subsets, and a search unit that performs a search using at least one of the subsets as an important search query in descending order of relevance.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device, a method, and a program. [Background technology]

[0002] Conventionally, a method is known that includes a step of generating, for a given document, at least one query data that can be answered by the document using a language model, and a step of using data consisting of pairs (Document, Query) of each of the documents belonging to a specific domain and the query data generated for the document, for learning a search model for a dialogue bot (Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2023-76413 A Summary of the Invention [Problem to be solved by the invention]

[0004] The present invention aims to provide an information processing device, method, and program that can use a generative AI model to create a search query from an input sentence and perform a search. [Means for solving the problem]

[0005] A first aspect of the present disclosure is an information processing device including an extraction unit that extracts a plurality of keywords from an input sentence, a subset creation unit that creates a plurality of keyword subsets from the extracted plurality of keywords, a sentence generation unit that inputs a prompt to a generative AI model for each of the plurality of subsets, instructing the generation of a sentence from the subset so as not to include keywords that are not included in the subset, and obtains a generated sentence from the output of the generative AI model, an evaluation unit that evaluates a relevance between the input sentence and the generated sentence for each of the plurality of subsets, and a search unit that performs a search using at least one of the subsets as an important search query in descending order of relevance.

[0006] A second aspect of the present disclosure is an information processing method, in which an extraction unit extracts a plurality of keywords from an input sentence, a subset creation unit creates a plurality of keyword subsets from the extracted plurality of keywords, a sentence generation unit inputs a prompt to a generative AI model instructing a sentence to be generated from each of the plurality of subsets so as not to include keywords not included in the subset, and obtains a generated sentence from the output of the generative AI model, an evaluation unit evaluates the relevance between the input sentence and the generated sentence for each of the plurality of subsets, and a search unit performs a search using at least one of the subsets as an important search query in descending order of the relevance.

[0007] A third aspect of the present disclosure is an information processing program for causing a computer to function as the information processing device of the first aspect. Effect of the Invention

[0008] According to the disclosed technology, a generative AI model can be used to create a search query from an input sentence and perform a search. [Brief description of the drawings]

[0009] [Figure 1] 1 is a block diagram showing a configuration of an information processing system according to an embodiment of the present invention; [Diagram 2] FIG. 2 is a schematic block diagram of an example of a computer that functions as a management server of the present embodiment. [Diagram 3] FIG. 2 is a block diagram showing a configuration of a management server according to the present embodiment. [Figure 4] 10 is a flowchart showing the contents of a search processing routine of a management server according to the present embodiment. [Diagram 5] FIG. 13 is a diagram illustrating an example of generating a search query using a generative AI model and executing a search. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

[0011] <Outline of this embodiment> Even after the emergence of generative AI (Artificial Intelligence) models, keyword search is still used in many situations, such as RAG (Retrieval Augmented Generation) and recommendations. Therefore, the selection of search keywords is very important.

[0012] Therefore, in this embodiment, under the premise that a subset consisting of a plurality of keywords must be taken into consideration for the search intent, a recommendation is made as to what kind of subset should be used as a search keyword.

[0013] <System Configuration of the Present Embodiment> As shown in Fig. 1, the information processing system 100 according to the first embodiment includes a management server 10 installed on the side of a service management company, and a user terminal 24 operated by a user. The management server 10 is an example of an information processing device. For simplicity, Fig. 1 shows an example in which two user terminals 24 are provided, but three or more user terminals 24 may be provided.

[0014] The management server 10 and the user terminal 24 are connected via a network 26 such as the Internet.

[0015] The user terminal 24 may be a smartphone terminal, a mobile phone, a PDA (Personal Digital Assistant) terminal, or a notebook computer terminal.

[0016] FIG. 2 is a block diagram showing the hardware configuration of the management server 10 of this embodiment.

[0017] 2, the management server 10 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a storage 14, an input unit 15, a display unit 16, and a communication interface (I / F) 17. Each component is connected to each other via a bus 19 so as to be able to communicate with each other.

[0018] The CPU 11 is a central processing unit, and executes various programs and controls each part. That is, the CPU 11 reads a program from the ROM 12 or the storage 14, and executes the program using the RAM 13 as a working area. The CPU 11 controls each of the above components and performs various arithmetic processing according to the program stored in the ROM 12 or the storage 14. In this embodiment, the ROM 12 or the storage 14 stores a program for performing various processing.

[0019] The ROM 12 stores various programs including a search processing program and various data. The RAM 13 temporarily stores programs or data as a working area. The storage 14 is configured with an HDD (Hard Disk Drive) or an SSD (Solid State Drive) and stores various programs including an operating system and various data. The search processing program is an example of an information processing program.

[0020] The input unit 15 includes a pointing device such as a mouse, and a keyboard, and is used to perform various input operations. The input unit 15 acquires an input sentence input by a user at the user terminal 24. The input sentence is, for example, text data expressing the content that the user wishes to search for.

[0021] The display unit 16 is, for example, a liquid crystal display, and displays various information. The display unit 16 may function as the input unit 15 by adopting a touch panel system.

[0022] The communication interface 17 is an interface for communicating with other devices, and uses standards such as Ethernet (registered trademark), FDDI, and Wi-Fi (registered trademark).

[0023] Next, a description will be given of the functional configuration of the management server 10. As shown in Fig. 3, the management server 10 functionally comprises an acquisition unit 30, an extraction unit 32, a keyword reception unit 33, a subset creation unit 34, a sentence generation unit 36, an evaluation unit 38, a subset extraction unit 39, a subset reception unit 40, a search unit 42, a search result output unit 44, and a model storage unit 52.

[0024] The acquisition unit 30 acquires an input sentence accepted from the user terminal 24 .

[0025] The extraction unit 32 extracts a plurality of keywords from an input sentence.

[0026] For example, the extraction unit 32 uses the generative AI model 52A to extract multiple keywords K from the input sentence S. As an example, a prompt such as "Please guess three to four keywords necessary to explain this input" is input to the generative AI model 52A, and multiple keywords K are obtained from the output of the generative AI model 52A (see FIG. 5).

[0027] The method of extracting keywords is not limited to the method using the generative AI model, and other extraction methods may be used.

[0028] The keyword receiving unit 33 presents a screen displaying the multiple keywords extracted by the extraction unit 32 to the user terminal 24, and receives, from the user terminal 24, a request to delete or add a keyword.

[0029] The subset creation unit 34 creates a plurality of keyword subsets based on the result of deleting or adding received keywords from the extracted plurality of keywords.

[0030] Specifically, the subset creation unit 34 mechanically combines the extracted keywords to create a subset Ks(n) (see FIG. 5). For example, as all combinations for the four keywords, 14 (=4C4+4C3+4C2+4C1) subsets Ks(1) to Ks(14) are created.

[0031] Here, when there are a large number of keywords, etc., restrictions may be imposed not on all combinations of keywords but on an arbitrary number of keywords, a threshold value, etc. For example, multiple subsets may be created with the number of keywords included in the subset within a predetermined range (for example, 3 to 4, or 3 or less).

[0032] The sentence generation unit 36 ​​inputs a prompt to the generative AI model 52A, for each of a plurality of subsets, instructing the generative AI model 52A to generate a sentence from the subset without including any keywords that are not included in the subset, and obtains the generated sentence from the output of the generative AI model 52A.

[0033] Specifically, each subset is used as input, and a subset generation sentence S'(n) is generated that better represents the original input sentence and does not use keywords that are not included in the subset (see FIG. 5). For example, for subsets Ks(1) to Ks(14), subset generation sentences S'(1) to S'(14) are generated.

[0034] Here, the prompt may indicate that if generating a sentence from the subset is difficult, then no sentence will be generated.

[0035] For example, a prompt such as "Based on a subset of keywords, generate a sentence that is as close as possible to the original input sentence. However, the generated sentence must be based only on the subset of keywords and cannot include other keywords. If it is difficult to generate a sentence based only on the subset of keywords, output 'N / A'" is input into the generative AI model, and the generated sentence is obtained from the output of the generative AI model.

[0036] The evaluation unit 38 evaluates the relevance between the input sentence S and the generated sentence S'(n) for each of the plurality of subsets.

[0037] The subset extraction unit 39 extracts at least one subset as an important keyword in descending order of relevance.

[0038] Specifically, the subset extraction unit 39 extracts, in descending order of the score indicating the relevance, subsets whose scores indicating the relevance are equal to or greater than a threshold as important keywords.

[0039] The subset receiving unit 40 presents to the user terminal 24 a screen displaying the subsets extracted as important keywords by the subset extracting unit 39, and receives requests to delete or add subsets, or edit the order of the subsets.

[0040] The search unit 42 executes a search in the search target database using the extracted important keywords in descending order of relevance as a search query.

[0041] Specifically, the search unit 42 uses the extracted important keywords in descending order of relevance score as a search query, and executes a search using a search engine with the search engine's database as a search target database.

[0042] The search unit 42 further compares the search results when the subset is used as a search query with the sentence S'(n) generated for the subset, and reranks the search results (see FIG. 5). This makes it possible to determine whether the search results are similar from the perspective of the subset Ks(n).

[0043] The search result output unit 44 presents the results of the search by the search unit 42, divided into subsets extracted as important keywords.

[0044] The model storage unit 52 stores the generative AI model 52A. The generative AI model 52A may be stored in an external device other than the management server 10. In this case, the management server 10 may transmit a prompt to the external device and acquire the output of the generative AI model 52A.

[0045] Here, an example of the generating AI model 52A is ChatGPT (Internet search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search <url: https: gemini.google.com ?hl="ja">) and other generative AIs. The generative AI model 52A is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the generative AI model 52A, and inference data such as voice data indicating a voice, text data indicating a text, and image data indicating an image is input. The generative AI model 52A infers from the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.

[0046] <Function of information processing system> Next, the operation of the information processing system 100 according to this embodiment will be described.

[0047] When the management server 10 receives an input sentence from the user terminal 24, it executes a search processing routine shown in Fig. 4. The search processing routine is an example of an information processing method.

[0048] In step S100, the acquiring unit 30 acquires an input sentence accepted from the user terminal 24.

[0049] In step S102, the extraction unit 32 extracts a plurality of keywords from the input sentence.

[0050] In step S103, the keyword receiving unit 33 presents a screen displaying the multiple keywords extracted by the extraction unit 32 to the user terminal 24, and receives from the user terminal 24 a command to delete or add a keyword.

[0051] In step S104, the subset creating unit 34 creates a plurality of keyword subsets based on the result of deleting or adding the received keywords from the extracted plurality of keywords.

[0052] In step S106, the sentence generation unit 36 ​​inputs a prompt to the generative AI model 52A for each of the multiple subsets, instructing the generative AI model 52A to generate a sentence from the subset without including any keywords that are not included in the subset, and obtains the generated sentence from the output of the generative AI model 52A.

[0053] In step S108, the evaluation unit 38 evaluates the relevance between the input sentence S and the generated sentence S'(n) for each of the plurality of subsets.

[0054] In step S109, the subset extraction unit 39 extracts at least one subset as an important keyword in descending order of relevance.

[0055] In step S110, the subset receiving unit 40 presents a screen to the user terminal 24 displaying the subsets extracted as important keywords by the subset extraction unit 39, and accepts deletion or addition of subsets, or editing of the order of the subsets.

[0056] In step S112, the search unit 42 performs a search on the search target database using the extracted important keywords as a search query in descending order of relevance, reflecting the received deletion or addition of a subset, or editing of the order of the subsets.

[0057] In step S114, the search unit 42 further compares the search results when the subset is used as a search query with the sentences S'(n) generated for the subset, and performs reranking of the search results. The search result output unit 44 then outputs the search results, divided into subsets extracted as important keywords, together with the reranking results to the user terminal 24, and ends the search processing routine.

[0058] As described above, according to the information processing system of this embodiment, multiple keyword subsets are created from multiple keywords extracted from an input sentence, and for each subset, a generative AI model is used to generate a sentence that does not include keywords not included in the subset, and a search is performed using the subsets in descending order of relevance to the original input sentence as important search queries. This makes it possible to create a search query from the input sentence using the generative AI model and perform a search.

[0059] In the above embodiment, the case where the relevance between the input sentence S and the generated sentence S'(n) is evaluated has been described as an example, but the present invention is not limited to this. The sentence generation unit 36 ​​may obtain the embedding of the generated sentence from the output of the generative AI model 52A, and the evaluation unit 38 may evaluate the relevance between the embedding of the input sentence and the embedding of the generated sentence for each of the multiple subsets. In this way, the sentence generation unit 36 ​​does not necessarily need to generate S' as a sentence, and an embedding may be used as long as it is a method that allows a comparison between Ks(n) and the original S.

[0060] The evaluation unit 38 may further evaluate the coverage of the input sentence for a set of sentences generated for each of the subsets whose relevance score is equal to or greater than the threshold. When the coverage score is less than the threshold, the evaluation unit 38 evaluates the coverage of the input sentence for a result of adding a sentence generated for a subset whose relevance score is less than the threshold to a set of sentences generated for each of the subsets whose relevance score is equal to or greater than the threshold. In addition, a subset is identified when the score indicating coverage is equal to or greater than the threshold after adding a sentence generated for a subset whose relevance score is less than the threshold, and the search unit 42 performs a search by giving priority to the identified subset as a search query. In this way, coverage may be taken into account. When S'' obtained from the set of adopted sentences S' does not cover the input sentence S and is covered by adding S'(n), S'(n) can be adopted as a search query by giving priority to it. [Explanation of symbols]

[0061] 10 Management Server 11 CPU 14. Storage 15 Input section 16 Display 17 Communication Interface 24 User terminals 26 Network 30 Acquisition Department 32 Extraction part 33 Keyword Reception Section 34 Subset Creation Unit 36 Sentence generator 38 Evaluation Section 39 Subset extraction part 40 Subset Reception Unit 42 Search section 44 Search result output section 52 Model memory section 52A Generative AI Model 100 Information Processing Systems< / url:>

Claims

1. an extraction unit that extracts a plurality of keywords from an input sentence; a subset creation unit that creates a plurality of keyword subsets from the extracted plurality of keywords; a sentence generation unit that inputs a prompt to a generative AI model for each of the plurality of subsets, the prompt instructing the model to generate a sentence from the subset so as not to include keywords not included in the subset, and obtains a generated sentence from the output of the generative AI model; an evaluation unit that evaluates the relevance between the input sentence and the generated sentence for each of the plurality of subsets; a subset extraction unit that extracts at least one of the subsets as an important keyword in descending order of the relevance; An information processing device comprising:

2. The information processing apparatus according to claim 1 , further comprising a search unit that executes a search using the extracted important keywords as a search query.

3. The information processing apparatus according to claim 1 , wherein the subset creating unit creates a plurality of subsets, each of which has a number of keywords within a predetermined range.

4. The information processing apparatus according to claim 1 , wherein the subset extraction unit extracts, in descending order of the score indicating the relevance, the subsets whose score indicating the relevance is equal to or greater than a threshold as important keywords.

5. the evaluation unit further evaluates coverage of a set of sentences generated for each of the subsets whose relevance scores are equal to or greater than a threshold with respect to the input sentence; If the score indicating coverage is less than the threshold, adding the sentences generated for the subsets whose relevance scores are less than the threshold to a set of sentences generated for each of the subsets whose relevance scores are equal to or greater than the threshold, and evaluating the coverage of the result with respect to the input sentence; Identifying a subset when, as a result of adding sentences generated for the subset whose relevance score is less than a threshold, the score indicating coverage is equal to or greater than a threshold; The information processing apparatus according to claim 4 , wherein the subset extraction unit prioritizes the specified subset and extracts it as an important keyword.

6. The information processing device according to claim 2 , wherein the search unit further compares search results when the subset is used as a search query with sentences generated for the subset, and reranks the search results.

7. a keyword receiving unit that presents the plurality of keywords extracted by the extracting unit to a user and receives deletion or addition of a keyword from the user; The information processing apparatus according to claim 1 , wherein the subset creating unit creates a plurality of keyword subsets from the results of deleting or adding the received keywords from the extracted plurality of keywords.

8. 2. The information processing apparatus according to claim 1, further comprising a subset accepting unit that presents the subsets extracted as important keywords by the subset extracting unit and accepts deletion or addition of the subsets or editing of the order of the subsets.

9. 3. The information processing apparatus according to claim 2, further comprising a search result output unit that presents search results by said search unit, divided into the subsets extracted as the important keywords.

10. The extraction unit extracts a plurality of keywords from the input sentence, a subset creation unit creating a plurality of keyword subsets from the extracted plurality of keywords; a sentence generation unit inputs a prompt to a generative AI model for each of the plurality of subsets, the prompt instructing the model to generate a sentence from the subset so as not to include any keyword not included in the subset, and obtains a generated sentence from an output of the generative AI model; an evaluation unit evaluates the relevance between the input sentence and the generated sentence for each of the plurality of subsets; A subset extraction unit extracts at least one of the subsets as an important keyword in descending order of the relevance. Information processing methods.

11. An information processing program for causing a computer to function as the information processing device according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Method and device for dynamically changing retrieval formula and storing medium housing dynamically changing program of retrieval formula

    JP1999161659A

  • Information retrieval device, information retrieval method, program, and recording medium recorded with the program

    JP2005173847A

  • Method, computer device, and computer program for providing dialogue dedicated to domain by using language model

    JP2023076413A

Cited By

  • Information processing system, information processing method, and information processing program

    JP2026132068A

  • Search system, search method and search program

    JP7806953B1

  • Search system, search method, and search program

    JP7907817B1