DATA EXPANSION SYSTEM, DATA EXPANSION METHOD, AND PROGRAM

The data expansion system uses a VAE model to automate the generation of virtual search queries with named entities, addressing the inefficiency of manual data preparation in NER systems, thereby enhancing their accuracy and reducing the time and effort required for training data creation.

JP7549706B2Active Publication Date: 2024-09-11RAKUTEN GROUP INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023091581
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-06-29
Filing Date
2023-06-02
Publication Date
2024-09-11
Estimated Expiration
2043-06-02

AI Technical Summary

Technical Problem

The conventional method of preparing search queries with named entities is time-consuming due to the need for extensive manual preparation of training data, which is inefficient and labor-intensive.

Method used

A data expansion system that utilizes a Variational Auto Encoder (VAE) model to generate virtual search queries with named entities based on past search queries, automating the data augmentation process and reducing the effort required for manual data preparation.

Benefits of technology

The system efficiently generates realistic and varied training data for Named Entity Recognition (NER) models, enhancing their accuracy without the need for extensive manual data preparation, thus improving the efficiency and effectiveness of search query processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007549706000006
    Figure 0007549706000006
  • Figure 0007549706000012
    Figure 0007549706000012
  • Figure 0007549706000001
    Figure 0007549706000001
Patent Text Reader

Abstract

To save the trouble of preparing a search query including a unique expression.SOLUTION: An acquisition unit (302) of a data expansion system (1) acquires a first search query including a first unique expression that has been input in a previous search. A first learning unit (303) executes learning of a first model which outputs a second search query including a virtual second unique expression different from the first unique expression on the basis of the first search query. A data expansion unit (307) executes data expansion on the basis of a second search query output by the learned first model.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a data augmentation system, a data augmentation method, and a program. [Background technology]

[0002] Conventionally, in the field of natural language processing, a named entity recognition task (named entity extraction task) for recognizing (extracting) a named entity contained in a character string is known. For example, Patent Document 1 describes a method for using a machine learning technique to train a model for recognizing named entities by learning training data including various named entities in order to recognize named entities that are difficult to define in a dictionary database. [Prior art documents] [Patent documents]

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

[0004] In recent years, the recognition of named entities included in search queries has also been considered. However, when attempting to recognize named entities included in search queries using Patent Document 1, it is necessary to manually prepare a large amount of training data, which is very time-consuming. This also applies when preparing a search query including named entities for a purpose other than preparing training data. For this reason, in conventional techniques, it was time-consuming to prepare a search query including named entities.

[0005] One objective of the present disclosure is to reduce the effort required to prepare search queries that include named entities. [Means for solving the problem]

[0006] The data expansion system according to the present disclosure includes an acquisition unit that acquires a first search query that was actually input in a previously executed search and includes a first named entity; a first learning unit that performs learning of a first model that outputs a second search query that includes a virtual second named entity different from the first named entity based on the first search query; and a data expansion unit that performs data expansion based on the second search query output by the trained first model. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 illustrates an example of an overall configuration of a data expansion system. [Diagram 2] FIG. 1 is a diagram showing an example of a state in which a user uses a search service. [Diagram 3] FIG. 1 illustrates an example of a learning phase of a VAE model. [Figure 4] FIG. 1 illustrates an example of the generalization phase of a trained VAE model. [Diagram 5] FIG. 1 is a diagram illustrating an example of functions realized by the data expansion system. [Figure 6] FIG. 11 is a diagram illustrating an example of a search target database. [Figure 7] FIG. 11 is a diagram illustrating an example of a search history database. [Figure 8] FIG. 4 is a diagram illustrating an example of a dictionary database. [Figure 9] FIG. 1 is a diagram showing an example of a training database for a NER model. [Figure 10] FIG. 1 illustrates an example of a training database for a VAE model. [Figure 11] FIG. 13 is a diagram illustrating an example of tags associated with individual characters included in the first search query. [Figure 12] FIG. 11 is a flow diagram illustrating an example of processing executed in the data expansion system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] [1. Overall configuration of the data augmentation system] An example of an embodiment of a data expansion system according to the present disclosure will be described. In this embodiment, a case where the data expansion system is used for a search service will be described as an example. The search service is a service for searching for web pages based on a search query input by a user. The data expansion system 1 can be used for any purpose other than the search service. An example of the other purpose will be described in a modified example described later.

[0009] 1 is a diagram showing an example of the overall configuration of a data expansion system. For example, the data expansion system 1 includes a search server 10, a user terminal 20, and a learning terminal 30. Each of the search server 10, the user terminal 20, and the learning terminal 30 can be connected to a network N such as the Internet or a LAN.

[0010] The search server 10 is a server computer that executes searches. The control unit 11 includes at least one processor. The storage unit 12 includes a volatile memory such as a RAM and a non-volatile memory such as a flash memory. The communication unit 13 includes at least one of a communication interface for wired communication and a communication interface for wireless communication.

[0011] The user terminal 20 is a computer of a user who uses the search service. For example, the user terminal 20 is a personal computer, a smartphone, a tablet terminal, or a wearable terminal. The physical configurations of the control unit 21, the storage unit 22, and the communication unit 23 are similar to those of the control unit 11, the storage unit 12, and the communication unit 13, respectively. The operation unit 24 is an input device such as a touch panel or a mouse. The display unit 25 is a liquid crystal display or an organic EL display.

[0012] The learning terminal 30 is a computer that executes data extension. Data extension refers to newly generating second data different from the first data based on the first data prepared in advance. The second data includes content similar to the first data. For example, the second data is obtained by changing at least a part of the first data. A first search query described later corresponds to the first data. A second search query described later corresponds to the second data. In this embodiment, data extension regarding training data for constructing a machine learning model is taken as an example.

[0013] For example, the learning terminal 30 is a personal computer, a server computer, or a tablet terminal. The physical configurations of the control unit 31, the storage unit 32, the communication unit 33, the operation unit 34, and the display unit 35 are the same as those of the control unit 11, the storage unit 12, the communication unit 13, the operation unit 24, and the display unit 25, respectively.

[0014] The programs stored in the storage units 12, 22, and 32 may be supplied via the network N. Each computer may also include at least one of a reading unit (e.g., a memory card slot) that reads a computer-readable information storage medium and an input / output unit (e.g., a USB port) for inputting and outputting data to and from an external device. For example, a program stored in an information storage medium may be supplied via at least one of the reading unit and the input / output unit.

[0015] Furthermore, the data expansion system 1 only needs to include at least one computer, and is not limited to the example of Fig. 1. For example, the data expansion system 1 may include only the learning terminal 30, without including the search server 10 and the user terminal 20. In this case, the search server 10 and the user terminal 20 exist outside the data expansion system 1. For example, the data expansion system 1 may include the learning terminal 30 and another computer different from the search server 10 and the user terminal 20.

[0016] [2. Overview of the Data Augmentation System] 2 is a diagram showing an example of how a user uses a search service. For example, when a user accesses the search server 10, a top page P1 of the search service is displayed on the display unit 25. The user inputs a search query into an input form F10 on the top page P1. The user can input any character string as the search query. The user can also include spaces to separate words in the search query.

[0017] For example, when a user selects the button B11, the search server 10 executes a search for web pages based on the search query input by the user. For the search itself, various known search engines can be used. The search server 10 acquires a plurality of web pages that match the search query as search results and transmits them to the user terminal 20. When the user terminal 20 receives the search results from the search server 10, a search result page P2 is displayed on the display unit 25. In this embodiment, an English search query is taken as an example, but the data expansion system 1 can support any other language, such as Japanese or Chinese.

[0018] In the example of FIG. 2, a search query such as "white wind engineer boots" is entered. "White Wind" is the name of an apparel brand that exists only in the world of this embodiment. "Engineer boots" is a type of shoe. It is considered that the user entered the search query of FIG. 2 with the intention of searching for a web page for "engineer boots" sold by "White Wind".

[0019] However, the words included in the search query have various meanings. Therefore, even if the search server 10 executes a search using only the character string included in the search query, there is a possibility that a search result page P2 that is not intended by the user will be displayed. For example, the word "white" is also the name of a color. If there is another apparel brand such as "engineer", the word "engineer" is also the name of the other apparel brand. Depending on the meanings of these words, there is a possibility that a web page that is not intended by the user will be searched.

[0020] Therefore, the search server 10 recognizes named entities included in the search query and attributes of the named entities by using a named entity recognition (NER) model Mner that utilizes a machine learning technique. The named entities themselves may be various expressions that are targets of recognition in a named entity recognition task (named entity extraction task). For example, the named entities are expressions such as proper nouns, colors, sizes, materials, dates, quantities, or amounts.

[0021] An attribute is a classification of a named entity. Depending on the type of named entity, an attribute may be called a category or genre. For example, an attribute may be information that allows a named entity to be classified from some perspective, such as "Brand," "Color," "Size," or "Material." A named entity has at least one attribute. A named entity can also be called an attribute value, which is a specific value of an attribute.

[0022] The machine learning technique used in the NER model Mner may be any of various techniques used in named entity recognition tasks. For example, the machine learning technique may be any of supervised learning, semi-supervised learning, and unsupervised learning. For example, the NER model Mner may be a model using a neural network, BERT, CharacterBERT, Transformer, or other techniques.

[0023] For example, other techniques may include a Sparse Linear OVR (one-versus-reset) model (e.g., DiSMEC, ProXML, PPDSparse, etc.), a Partitioning model (e.g., eXtreme-Text, Bonsai, NAPKINXC, Parabel, etc.), an Embedding model (also called a graph-based model, e.g., SLICE, AnnexML, etc.), or a Transformer-based model (e.g., XR-Transformer, LightXML, etc.).

[0024] For example, the search server 10 inputs a search query to the NER model Mner. The NER model Mner calculates a feature of the search query (e.g., a multidimensional vector indicating an embedded expression) based on the input search query. The NER model Mner outputs a named entity included in the search query and an attribute of the named entity based on the calculated feature. This series of processes can utilize the processes of the publicly known NER model Mner.

[0025] In the example of Fig. 2, the named entity "white wind" and the attribute "Brand" of this named entity are recognized from the search query. If a pair of a named entity and an attribute is associated as an index with a web page to be searched, the search results intended by the user can be displayed on a search result page P2 by searching for web pages that match the pair of a named entity and an attribute recognized from the search query.

[0026] If "white" in the search query is recognized as a named entity and the attribute "color" of the named entity "white" is recognized, there is a possibility that white shoes unrelated to the company "white wind" will be displayed on the search result page P2. In this regard, the NER model Mner is able to recognize the named entity "white wind" and its attribute "Brand" without making such a recognition, based on the order of words in the search query.

[0027] For example, the NER model Mner learns training data that is a pair of a training search query and a named entity and an attribute that is a correct answer. In order to improve the accuracy of the NER model Mner, it is necessary to prepare a large amount of training data, which is very time-consuming. Therefore, the data augmentation system 1 realizes data augmentation by generating new training data based on training data prepared in advance.

[0028] In this embodiment, a case where data augmentation is realized by using a VAE (Variational Auto Encoder) is taken as an example. The VAE is a method that combines an expectation-maximization (EM) algorithm, which is one of the methods for estimating parameters of a probabilistic model with variational Bayes, which is one of the solutions in a model with latent variables. Various methods can be applied to the VAE itself, and for example, it may be the method proposed by Kingma et al. (Auto-Encoding Variational Bayes, https: / / arxiv.org / abs / 1312.6114) or another method derived from this method.

[0029] Furthermore, in this embodiment, a VAE based on LSTM (Long Short Term Memory) will be described as an example of VAE. LSTM is a type of neural network that can learn long-term dependencies. For example, LSTM includes a memory cell, an input gate, an output gate, and a forget gate. The memory cell is a cell that stores a value for a certain period of time. The input gate, the output gate, and the forget gate control information input to the memory cell and information output from the memory cell. Hereinafter, a model for data expansion using VAE is called a VAE model.

[0030] FIG. 3 is a diagram showing an example of the learning phase of a VAE model. In this embodiment, a VAE model Mvae using BiLSTM is taken as an example. For example, the VAE model Mvae includes an encoder fenc and a decoder fdec. For example, each of the encoder fenc and the decoder fdec includes at least one hidden layer. In the example of FIG. 3, there are two hidden layers, but the number of hidden layers may be one or three or more. The hidden layer may be of any size, for example, 1024, or may be greater than or less than 1024.

[0031] In the following description, when it is necessary to distinguish between search queries, they will be distinguished by names such as the first search query to the fifth search query, as shown below. When there is no particular need to distinguish between the first search query to the fifth search query, they will simply be referred to as search queries. Furthermore, the named entities and attributes contained in each of the first search query to the fifth search query will be referred to as the first named entity to the fifth named entity and the first attribute to the fifth attribute, respectively. When there is no particular need to distinguish between the first named entity to the fifth named entity, they will simply be referred to as named entities. When there is no particular need to distinguish between the first attribute to the fifth attribute, they will simply be referred to as attributes.

[0032] First search query: The search query input to the VAE model Mvae when training the VAE model Mvae. Second search query: The search query output from the trained VAE model Mvae. Third search query: A search query output from the VAE model Mvae during learning of the VAE model Mvae. In this embodiment, the third search query is the same as the first search query. Fourth search query: A search query actually input in the search service before the learning of the NER model Mner and the VAE model Mvae is performed. In this embodiment, the fourth search query may be the first search query. Fifth search query: A search query input to the trained NER model Mner. The fifth search query may become the first search query in the future.

[0033] The encoder fenc learns a mapping from the first search query input during learning to an array of cell states of the LSTM, which is assumed to be normally distributed. In FIG. 3, the other parts of the first search query other than the first named entity are omitted, but the other parts may also be input to the encoder fenc, or the other parts of the first search query may be removed before being input to the encoder fenc. In other words, only the first named entity of the first search query may be input to the encoder fenc.

[0034] For example, when a first search query is input to the VAE model Mvae, an embedding representation of the first search query is calculated. The embedding representation of the first search query is input to the encoder fenc. The encoder fenc learns a mapping from the input embedding representation to an array (in FIG. 3, a box enclosing the characters of the parameters μ and σ, where n is an arbitrary natural number indicating the number of arrays). In this case, in order to ensure diversity throughout the VAE model Mvae, a substitution called reparameterization tricks may be performed. For details of this substitution, please refer to the paper by Kingma et al. mentioned above.

[0035] The decoder fdec learns a mapping from the average value of the cell states in the array to a third search query that is output during learning. For example, the decoder fdec obtains the cell states in the array to calculate an embedding representation of the third search query, which is the final output. In this embodiment, a case will be described in which the third search query is the same as the first search query. For this reason, the decoder fdec learns a mapping from the average value to the third search query such that the embedding representation calculated from the average value of the cell states in the array approaches the embedding representation of the first search query, which is the same as the third search query.

[0036] The method of learning by the encoder fenc and the method of learning by the decoder fdec can be any method used in VAE. The number of arrays of parameters μ, σ may be any number. In this embodiment, the distribution N(μ,σ) of parameters μ, σ follows a normal distribution N(0,1), but the distribution N(μ,σ) may follow a distribution other than the normal distribution N(0,1). When the learning phase is completed by repeating the learning of the VAE model Mvae, the creation of the trained VAE model Mvae is completed, and the process moves to the generalization phase. In the generalization phase, a second search query is generated using the trained VAE model Mvae.

[0037] FIG. 4 is a diagram showing an example of the generalization phase of the trained VAE model Mvae. In the generalization phase of this embodiment, the encoder fenc is not involved, so the encoder fenc is omitted in FIG. 4. The VAE model Mvae is a sequence sampled from a normal distribution (in FIG. 4, the distribution N1(μ, σ 2 )~N n (μ,σ 2 The decoder fdec generates the second search query by setting the average value of the box surrounding the first search query (x,y) as the starting cell state. For example, this average value is calculated based on a random number. That is, each time the process of generating the second search query is executed, the average value calculated internally is different. Therefore, the second search query output from the trained VAE model Mvae changes probabilistically or randomly.

[0038] For example, the second search query replaces a part of the first search query with another character. Which character in the first search query is replaced with which character changes probabilistically or randomly by the process of the decoder fdec. The replaced characters may be close to each other in the embedding representation in the vector space (the characters may be replaced with semantically similar characters), or may not be close to each other in the embedding representation (the characters may be replaced with semantically dissimilar characters). The second search query may be composed of only the second named entity, or may include the second named entity and another expression.

[0039] Furthermore, some characters of the words in the first search query may be replaced with other characters to generate a second search query including a fictitious word that does not exist in reality. For example, the "h" and "t" of the word "white" in the first search query may be replaced with "k" and "j", respectively, to generate a second search query including the fictitious word "wkije" that does not exist in reality. Since coined words are sometimes used for proper nouns such as the names of apparel brands, even if the words are fictitious, they may be useful for data expansion.

[0040] In this embodiment, the second search query is, in principle, a non-existent virtual search query, not the first search query actually input in a past search. For example, the second search query includes a named entity such as a virtual apparel brand, a virtual color, a virtual size, or a virtual material. However, the second search query may coincidentally be the same as a search query input in a past search. The second search query may also coincidentally be an actual search query.

[0041] In the example of FIG. 4, the second search query "blue wind" similar to the embedded representation of the first search query "white wind" is output from the VAE model Mvae. The second search query "good bitter spirit" similar to the embedded representation of the first search query "great big spirit" is output from the VAE model Mvae. The second search query "XYZ institute" similar to the embedded representation of the first search query "XYZ rabo" is output from the VAE model Mvae. All of these second search queries are assumed to be fictitious apparel brands that do not actually exist.

[0042] In FIG. 4, a fictitious apparel brand is shown as an example of the second search query, but if the first search query includes a first named entity other than the apparel brand, the VAE model Mvae can generate a second search query including a second named entity similar to the other first named entity. For example, if the VAE model Mvae is trained on a first search query including a home appliance manufacturer, restaurant, person's name, or place name, a second search query indicating a fictitious home appliance manufacturer, restaurant, person's name, or place name is generated. For example, if the VAE model Mvae is trained on a first search query including a color, size, or material name, a second search query indicating a fictitious color, size, or material is generated.

[0043] For example, the VAE model Mvae outputs second search queries with different contents one after another. The VAE model Mvae can output new second search queries one after another, without the involvement of the encoder fenc, by the parameters μ and σ in the array. Since the second search queries are output probabilistically or randomly, the contents of a certain second search query A are subtly different from the contents of another second search query B. For example, the second search query A and the second search query B are partially or completely different. However, the second search queries output from the VAE model Mvae may include ones that are the same as each other by chance.

[0044] In this embodiment, training data for the NER model Mner is generated based on the second search query output by the VAE model Mvae. For example, the second search query is input to the NER model Mner that is created with a small amount of training data, and the second named entity and the second attribute are estimated. Although the NER model Mner does not have high accuracy, it is assumed that the second named entity and the second attribute of the second search query similar to the first search query trained by the NER model Mner can be estimated with a certain degree of accuracy.

[0045] For example, data expansion is performed by generating a pair of the second search query, the second named entity, and the second attribute as new training data for the NER model Mner. Additional learning of the NER model Mner that was created for the time being is performed based on the new training data. This can save the effort of preparing training data for the NER model Mner. Details of this embodiment will be described below.

[0046] [3. Functions realized by the data augmentation system] FIG. 5 is a diagram showing an example of functions realized by the data expansion system 1. As shown in FIG.

[0047] [3-1. Functions realized by the search server] The search server 10 includes a data storage unit 100 and a search unit 101. The data storage unit 100 is realized by the storage unit 12. The search unit 101 is realized by the control unit 11.

[0048] [Data storage section] The data storage unit 100 stores data necessary for executing a search. For example, the data storage unit 100 stores a search target database DB1 and a search history database DB2.

[0049] FIG. 6 is a diagram showing an example of the search target database DB1. The search target database DB1 is a database in which data related to search targets is stored. In this embodiment, a web page corresponds to the search target. Therefore, the part explaining the web page can be read as the search target. The search target is not limited to a web page as long as it is something that can be searched. For example, as in the third modification, a product may correspond to the search target. Other examples of the search target include content such as a video or a song.

[0050] For example, the search target database DB1 stores URLs of web pages and indexes of the web pages. In this embodiment, attributes of the web pages and named entities contained in the web pages are stored in the search target database DB1 as the index. Hereinafter, these attributes are referred to as web page attributes. These named entities are referred to as web page named entities.

[0051] In this embodiment, a case will be described in which the creator of a web page specifies the web page attributes and web page specific expressions to be used as indexes, but the web page attributes and web page specific expressions may be automatically extracted from the web page by using a dictionary matching or machine learning technique. The search target database DB1 may also store other indexes such as keywords extracted from the web page.

[0052] 7 is a diagram showing an example of the search history database DB2. The search history database DB2 is a database that stores data related to searches performed in the past. For example, the search history database DB2 stores the fourth search query actually entered by the user, the URL of the web page selected from the search result page P2, and the search date and time. The search date and time is the date and time when the search was performed. The search history database DB2 may store data of searches over the entire past period, or may store data of searches over a partial period.

[0053] For example, the data storage unit 100 stores a trained NER model Mner. The NER model Mner includes a parameter portion adjusted by training and a program portion in which the procedure of internal processing such as calculation of embedded representation is defined, so the data storage unit 100 stores data of the parameter portion of the NER model Mner and data of the program portion of the NER model Mner. These data may be collected as one data.

[0054] In this embodiment, the learning of the NER model Mner is executed by the learning terminal 30, so the search server 10 receives the trained NER model Mner from the learning terminal 30 and records the received trained NER model Mner in the data storage unit 100. The learning of the NER model Mner may be executed by the search server 10. In this case, the search server 10 has the same functions as the learning terminal 30.

[0055] [Search section] The search unit 101 executes a search. Here, a search after the trained NER model Mner is created will be described, but before the trained NER model Mner is created, the search unit 101 executes a search based on a fourth search query input by the user and updates the search history database DB2. In this case, since the trained NER model Mner has not been created, the web page attributes and web page named entities are not used in the search.

[0056] After the trained NER model Mner is created, for example, the search unit 101 executes a search based on a fifth search query input by a user. For example, the search unit 101 receives the fifth search query input by a user from the user terminal 20. The search unit 101 executes a search based on the received fifth search query and an index stored in the search target database DB1. Based on the execution result of the search, the search unit 101 generates display data (for example, HTML data) of the search result page P2 and transmits it to the user terminal 20.

[0057] In this embodiment, the search unit 101 uses the web page attribute and the web page named entity as indexes, so the search unit 101 inputs the fifth search query input by the user to the trained NER model Mner. The NER model Mner calculates the feature amount of the input fifth search query, and outputs the fifth attribute and the fifth named entity according to the calculated feature amount.

[0058] The search unit 101 executes a search based on the fifth attribute and fifth named entity output from the NER model Mner and the web page attribute and web page named entity stored in the search target database DB1. In the search, other elements such as keywords may also be taken into consideration. Here, it is assumed that a web page associated with the same web page attribute and web page named entity as the fifth attribute and fifth named entity output from the NER model Mner is searched for, but the search itself may be executed using a known search engine.

[0059] When the search unit 101 executes a search, it stores the fifth search query input by the user as the fourth search query in the search history database DB2. The search unit 101 stores the current date and time as the search date and time in the search history database DB2. When the user selects a web page included in the search result page P2, the search unit 101 stores the URL of the web page in the search history database DB2.

[0060] [3-2. Functions realized on user terminals] The user terminal 20 includes a data storage unit 200, a display control unit 201, and an operation reception unit 202. The data storage unit 200 is realized by the storage unit 22. The display control unit 201 and the operation reception unit 202 are realized by the control unit 21.

[0061] [Data storage section] The data storage unit 200 stores data necessary for executing a search. For example, the data storage unit 200 stores a browser necessary for displaying each of the top page P1 and the search result page P2. For example, the data storage unit 200 may store an application dedicated to a search service instead of a browser.

[0062] [Display control section] The display control unit 201 causes various screens to be displayed on the display unit 25. For example, based on the display data received from the search server 10, the display control unit 201 causes the display unit 25 to display each of the top page P1 and the search result page P2.

[0063] [Operation reception section] The operation receiving unit 202 receives various operations. For example, the operation receiving unit 202 receives operations for each of the top page P1 and the search result page P2.

[0064] [3-3. Functions realized on the learning device] The learning terminal 30 includes a data storage unit 300, a comparison unit 301, an acquisition unit 302, a first learning unit 303, a judgment unit 304, a second learning unit 305, an attribute estimation unit 306, a data extension unit 307, and an additional learning unit 308. The data storage unit 300 is realized by the memory unit 32. The comparison unit 301, the acquisition unit 302, the first learning unit 303, the judgment unit 304, the second learning unit 305, the attribute estimation unit 306, the data extension unit 307, and the additional learning unit 308 are realized by the control unit 31.

[0065] [Data storage section] The data storage unit 300 stores data necessary for data expansion. For example, the data storage unit 300 stores a dictionary database DB3, a training database DB4 for the NER model Mner, and a training database DB5 for the VAE model Mvae.

[0066] 8 is a diagram showing an example of the dictionary database DB3. The dictionary database DB3 is a database related to first named entities. For example, a large number of pairs of first attributes and first named entities are stored in the dictionary database DB3. For example, all or a part of the web page attributes and web page named entities stored in the search target database DB1 may be acquired and stored in the dictionary database DB3 as the first attributes and first named entities.

[0067] The dictionary database DB3 may store the first attribute and the first named entity input by a creator who creates the NER model Mner and the VAE model Mvae. In addition, for example, the dictionary database DB3 may store attributes and named entities acquired from a service other than the search service (e.g., an Internet encyclopedia service) as the first attribute and the first named entity.

[0068] 9 is a diagram showing an example of a training database DB4 for the NER model Mner. The training database DB4 for the NER model Mner is a database in which training data for the NER model Mner is stored. For example, the training data is a pair of a first search query that was actually input in a past search, and a first named entity and a first attribute. For example, the training data for the NER model Mner is manually prepared by a creator who creates the NER model Mner and the VAE model Mvae.

[0069] It should be noted that some tool may be used to automatically generate training data for the NER model Mner. When a tool is used, it is assumed that there is a limit to the amount of training data that can be generated for the NER model Mner. For this reason, it is assumed that it is necessary to expand the training data by data expansion of the NER model Mner using the method of this embodiment.

[0070] FIG. 10 is a diagram showing an example of a training database DB5 of the VAE model Mvae. The training database DB5 of the VAE model Mvae is a database in which training data of the VAE model Mvae is stored. For example, the training data of the VAE model Mvae includes a first search query that was actually input in a past search. In the example of FIG. 10, the training data of the VAE model Mvae includes the first search query and a third search query that is the same as the first search query, but since the third search query is the same as the first search query, the training data of the VAE model Mvae may include only the first search query.

[0071] 10, like FIG. 3, only the first named entity included in the first search query is shown, but the training data of the VAE model Mvae may include other parts of the first search query besides the first named entity. The training data of the VAE model Mvae only needs to include at least the first named entity of the first search query. The training data of the VAE model Mvae may be manually prepared by the creator who creates the NER model Mner and the VAE model Mvae, or some tool that automatically generates training data for the VAE model Mvae may be used.

[0072] For example, the data storage unit 300 stores the NER model Mner before learning. The NER model Mner before learning is a NER model Mner with parameters of initial values. When learning is performed by the second learning unit 305 described below, the parameters of the NER model Mner before learning are updated. When the parameters are updated, the data storage unit 300 stores the trained NER model Mner. Furthermore, when learning is performed by the additional learning unit 308 described below, the parameters are further updated. When the parameters are further updated, the data storage unit 300 stores the final trained NER model Mner.

[0073] For example, the data storage unit 300 stores a VAE model Mvae before learning. The VAE model Mvae before learning is a VAE model Mvae whose parameters are initial values. In this embodiment, the parameters μ and α correspond to the parameters. The VAE model Mvae before learning may include other parameters. The parameters of the VAE model Mvae are not fixed to a single value, but change probabilistically. Therefore, which value is used changes probabilistically depending on when the VAE model Mvae executes processing.

[0074] Since the VAE model Mvae includes a parameter portion adjusted by learning and a program portion in which the procedure of internal processing such as calculation of embedded representation is defined, the data storage unit 100 stores data of the parameter portion of the VAE model Mvae and data of the program portion of the VAE model Mvae. These data may be integrated into one data. When learning is performed by a first learning unit 303 described later, the parameters of the VAE model Mvae before learning are updated. When the parameters are updated, the data storage unit 300 stores the learned VAE model Mvae.

[0075] [Comparison section] Comparison unit 301 compares each of the multiple fourth search queries actually input in a search with dictionary database DB3. In this embodiment, multiple fourth search queries are stored in search history database DB2. Therefore, comparison unit 301 obtains multiple fourth search queries from search history database DB2. The fourth search queries may be stored in a database other than search history database DB2.

[0076] For example, the comparison unit 301 acquires each of a plurality of fourth search queries stored in the search history database DB2 from the search server 10. For each fourth search query, the comparison unit 301 determines whether or not the fourth search query includes any of the first named entities stored in the dictionary database DB3. In this embodiment, a case will be described in which this determination requires an exact match between the first named entity and a character string included in the fourth search query, but a partial match may also be allowed.

[0077] [Acquisition Department] The acquiring unit 302 acquires a first search query that includes a first named entity that was actually input in a previously executed search. The first search query may include a plurality of first named entities. In this embodiment, the acquiring unit 302 acquires a fourth search query that matches the dictionary database DB3 as the first search query. Here, the term "match" refers to including a first named entity stored in the dictionary database DB3.

[0078] For example, the acquisition unit 302 stores the fourth search query that matches the dictionary database DB3 as the first search query in the training database DB5 of the VAE model Mvae. The acquisition unit 302 may store the first search query as it is in the training database DB5 of the VAE model Mvae, or may store only the first named entity of the first search query in the training database DB5 of the VAE model Mvae. In this embodiment, the acquisition unit 302 also stores the third search query that is the same as the first search query in the training database DB5 of the VAE model Mvae.

[0079] In this embodiment, the search target database DB1 may store at least one of a fourth search query that does not include any named entity and a fourth search query that includes a named entity other than the first named entity. Therefore, the acquisition unit 302 narrows down all the fourth search queries to a fourth search query that is appropriate as the first search query based on the comparison result of the comparison unit 301. The acquisition unit 302 can acquire the first search query stored in the training database DB5 of the VAE model Mvae at any timing.

[0080] Note that the first search query may be narrowed down manually by the creator of the VAE model Mvae, rather than being the comparison result of the comparison unit 301. In this case, the comparison unit 301 is not included in the learning terminal 30. The acquisition unit 302 acquires the first search query created by the creator. For example, the acquisition unit 302 may acquire the first search query input from the operation unit 34. In this case, the creator may also specify the first named entity part and the first attribute of the first search query. The acquisition unit 302 may acquire the first named entity part and the first attribute specified by the creator.

[0081] [First Study Section] The first learning unit 303 executes learning of a VAE model Mvae that outputs a second search query including a virtual second named entity different from the first named entity based on the first search query. The VAE model Mvae is an example of a first model. Therefore, the description of the VAE model Mvae can be replaced with the description of the first model. The first model may be any model that can output a second search query when the first search query is input, and may be a model other than the VAE model Mvae.

[0082] For example, the first model may be a model using a GAN (Generative Adversarial Network). The GAN includes a Generator that generates new data from real data and a Discriminator that evaluates the generated data. The Generator and Discriminator included in the GAN can generate non-existent data in accordance with the characteristics of real data. The first model using the GAN receives a first search query as real data. The GAN generates a second search query in accordance with the first search query.

[0083] For example, the first model may be an unsupervised learning model using a method other than VAE and GAN. The other method may be a model used in principal component analysis or association analysis. The first model may be a supervised learning model or a semi-supervised learning model. For example, the first model may be a Bayesian neural network in which parameters are random variables.

[0084] The first model may use any machine learning method. The machine learning method of the first model may be the method exemplified in the description of the NER model Mner. For example, the first model may be a model that outputs a second search query when a first search query and data corresponding to randomly generated noise are input. The above-mentioned GAN is a type of such a first model. The input data together with the first search query may not be randomly generated noise.

[0085] In this embodiment, when learning the VAE model Mvae, in principle, learning is performed so that the input and the output are the same. Therefore, the learning unit performs learning so that when a first search query is input to the first model, a third search query that is the same as the first search query is output from the first model. This learning method is as described with reference to FIG. 3. The learning unit performs learning of mapping by the encoder fenc and learning of mapping by the decoder fdec.

[0086] In addition, when training the VAE model Mvae, the input and output may be different from each other. That is, the third search query may be different from the first search query. However, if the third search query is significantly different from the first search query, the mapping may not be trained accurately. Therefore, the third search query is similar to the first search query. For example, the third search query is a part of the first search query that has been changed.

[0087] In this embodiment, the first search query includes a plurality of characters. Each of the plurality of characters is associated with a tag related to the first named entity. The tag is information for classifying each character in the first named entity. In this embodiment, a case where a BIO (Begin Inside Outside) tag is used will be described, but the tag may be a BIOES (Begin Inside Outside End Single) tag or a tag based on another viewpoint.

[0088] FIG. 11 is a diagram showing an example of tags associated with individual characters included in the first search query. The BIO tag is a tag for classifying which part of the first named entity each individual character belongs to. The tag "B" means that the character is the start position of the first named entity. The tag "I" means that the character is included in the first named entity, but is not the start position but is in an intermediate position. The tag "O" means that the character is outside the first named entity.

[0089] Although omitted in the training database DB5 of the VAE model Mvae in Fig. 10, each character in the first search query is associated with either the tag "B", the tag "I", or the tag "O". The BIO tag may be manually specified by the creator of the VAE model Mvae, or may be automatically assigned by comparing the first named entity stored in the dictionary database DB3 with each character included in the first search query.

[0090] In the example of FIG. 11, the first search query "white wind" contains two words, the word "white" and the word "wind". "White wind" is also the first named entity. The word "white" is present at the start position of the first named entity, so the tag "B" is associated with it. The word "white" is present at an intermediate position, which is a position after the start position of the first named entity, so the tag "I" is associated with it. Although omitted in FIG. 11, if the part "engineer boots" is also used in learning, the tag "O" is associated with each word in this part.

[0091] As shown in FIG. 11, the first search query "white wind" is divided into characters. The first character "w" is associated with the tag "B". The second and subsequent characters "h" to "d" are associated with the tag "I". In this embodiment, since there are also attribute tags, in the example of FIG. 11, a tag such as "BRAND" is also associated. As for other attributes, it is assumed that there are also attribute tags such as "COLOR", "SIZE", and "MATERIAL". A symbol indicating a tag (in FIG. 11, the symbols <> and -) and a character string indicating the tag are inserted into the first search query.

[0092] In this embodiment, the first learning unit 303 performs learning based on tags associated with each of the multiple characters. The first learning unit 303 performs learning with each character tagged, which makes it easier to generate a virtual second search query in a specific language. For example, learning is performed so that tagging on a character-by-character basis does not change the entire first named entity, but rather generates a second search query in which only a part of it (for example, about one to three characters) is modified.

[0093] 11, the first search query may be associated with a first attribute related to the first named entity. For example, when the first search query is stored in the search target database DB1 as a fourth search query, a webpage attribute associated with the fourth search query may be used as the first attribute, or the creator of the VAE model Mvae may manually specify the first attribute. As another example, the first attribute may be stored together with the first named entity in the dictionary database DB3, and the first attribute associated with the first named entity included in the first search query may be associated with the first search query.

[0094] For example, the first learning unit 303 may perform learning based on the first search query and the first attribute. By learning using the first attribute, the first learning unit 303 becomes able to recognize first search queries associated with the same first attribute as being in the same group. Therefore, the VAE model Mvae becomes able to generate a second search query that is a mixture of a certain first search query and another first search query recognized as being in the same group, and thus can generate a realistic second search query.

[0095] [Judgment section] The determination unit 304 determines whether a predetermined condition is satisfied based on the second search query. The predetermined condition is a condition that serves as a criterion for determining whether or not to use the second search query in data expansion. Any condition related to the second search query can be set as the predetermined condition. In this embodiment, the first to third conditions described below will be described as examples of the predetermined condition.

[0096] (First Condition) For example, the determination unit 304 may determine whether a predetermined condition is satisfied by determining whether a second named entity included in the second search query has a predetermined number of characters or more. Hereinafter, this number of characters is referred to as the number of characters of the first condition. In this embodiment, three characters will be described as an example of the number of characters of the first condition, but the number of characters of the first condition may be any number of characters and is not limited to three characters. For example, the number of characters of the first condition may be two characters or four characters or more.

[0097] For example, when the second search query includes only one second named entity, the determination unit 304 determines whether the one second named entity has three or more characters. When the second search query includes multiple second named entities, the determination unit 304 determines whether each of the multiple second named entities has three or more characters. When the second search query includes some character string other than the second named entity, the determination unit 304 determines whether the second named entity has three or more characters without determining other character strings in the second search query.

[0098] (Second Condition) For example, the determination unit 304 may determine whether or not a predetermined condition according to the type of characters of the second named entity included in the second search query is satisfied. In this embodiment, three types, namely alphabet, numbers, and others, are given as examples, but the type of characters themselves may be any type that exists in the world. For example, hiragana, katakana, or kanji used in Japanese may correspond to the type of characters. Other examples of the type of characters may include lowercase letters, uppercase letters, full-width characters, and half-width characters.

[0099] In this embodiment, the second condition and the third condition will be described as an example of the predetermined condition according to the type of character. For example, the determination unit 304 determines whether or not the second named entity included in the second search query is composed of only numbers, as the second condition. If the second named entity included in the second search query is composed of only numbers, the determination unit 304 determines that the second condition is not satisfied, and if the second named entity included in the second search query includes characters other than numbers, the determination unit 304 determines that the second condition is satisfied.

[0100] (Third Condition) For example, as the third condition, the determination unit 304 determines whether the second named entity included in the second search query contains only alphabets and has a predetermined number of characters or more. Hereinafter, this number of characters is referred to as the number of characters in the third condition. In this embodiment, a case where the number of characters in the third condition is five characters will be described, but the number of characters in the third condition may be any number of characters, and may be two to four characters, or six or more characters.

[0101] For example, when the second search query includes only one second named entity consisting only of alphabetic characters, the determination unit 304 determines whether the one second named entity has five or more characters. When the second search query includes multiple second named entities consisting only of alphabetic characters, the determination unit 304 determines whether each of the multiple second named entities has five or more characters. When the second search query includes some other character string other than the second named entity consisting only of alphabetic characters, the determination unit 304 determines whether the second named entity has five or more characters without determining other character strings in the second search query.

[0102] Examples of the predetermined condition are not limited to the first to third conditions. For example, the predetermined condition may be an upper limit on the number of characters, such as 10 characters or less, in order to exclude second search queries that are too long. For example, the predetermined condition may be an upper limit on the number of types of characters included in the second search query in order to exclude second search queries that contain an unnaturally large number of types of characters.

[0103] [Second Study Section] The second learning unit 305 executes learning of the NER model Mner. The NER model Mner created by the second learning unit 305 is a model created temporarily with a small amount of training data. The temporarily created NER model Mner can recognize the fifth attribute related to the fifth named entity with a certain degree of accuracy. In this embodiment, additional learning is performed on the temporarily created NER model Mner by the additional learning unit 308 described below.

[0104] For example, the second learning unit 305 executes learning of the NER model Mner such that, when a first search query included in training data stored in a training database DB4 of the NER model Mner is input, a first named entity and a first attribute included in the training data are output. As the learning method of the NER model Mner itself, a learning method used in the machine learning technique used in the NER model Mner can be used.

[0105] [Attribute estimation part] The attribute estimation unit 306 estimates the second attribute for the second named entity based on the NER model Mner in which training data has been learned. In this embodiment, since the training data for the NER model Mner includes the first search query and the first attribute for the first named entity, the attribute estimation unit 306 estimates the second attribute based on the second model in which training data including the first search query and the first attribute has been learned.

[0106] For example, the attribute estimation unit 306 inputs the second search query to the trained NER model Mner (the NER model Mner created temporarily as described above). The trained NER model Mner calculates an embedding expression of the second search query, and outputs a second named entity and a second attribute according to the calculated embedding expression. The attribute estimation unit 306 acquires the second named entity and the second attribute output from the trained NER model Mner.

[0107] [Data Extension] The data augmentation unit 307 performs data augmentation based on the second search query output by the trained VAE model Mvae. In this embodiment, the data augmentation unit 307 performs data augmentation by recording the second search query in the data storage unit 100. The data augmentation unit 307 may perform data augmentation by recording the second search query in another computer other than the learning terminal 30 or an external information storage medium.

[0108] In this embodiment, since the VAE model Mvae is a model whose output is determined probabilistically or randomly, the data augmentation unit 307 performs data augmentation based on the second search query outputted probabilistically or randomly by the trained VAE model Mvae. Since the VAE model Mvae determines its output probabilistically or randomly by the probability density function to which the latent variables conform following a standard normal distribution, the data augmentation unit 307 performs data augmentation based on the second search query outputted probabilistically or randomly by the trained VAE model Mvae.

[0109] In this embodiment, the suitability of the second search query is determined by the determination unit 304, and the data expansion unit 307 performs data expansion when it is determined that a predetermined condition is satisfied. The data expansion unit 307 does not use the second search query that is not determined to satisfy the predetermined condition in the data expansion, and performs data expansion based on the second search query that is determined to satisfy the predetermined condition.

[0110] In this embodiment, the data extension unit 307 performs data extension by extending the training data of the NER model Mner based on the second search query. The NER model Mner is an example of the second model. Therefore, the description of the NER model Mner can be read as the second model. The second model is a model that recognizes a fifth named entity included in the fifth search query. When a search is performed based on the fifth search query, the fifth search query is stored in the search history database DB2 as a future first search query. When it is necessary to create a new NER model Mner, the fifth search query is used as the first search query.

[0111] In this embodiment, the data augmentation unit 307 expands the training data based on the second search query and the second attribute estimated by the attribute estimation unit 306. The data augmentation unit 307 performs data augmentation by generating new training data including a pair of the second search query and the second named entity and the second attribute included in the second search query. The input and output formats of this training data are the same as those in FIG. 9. For example, the data augmentation unit 307 stores the new training data in the training database DB5 of the NER model Mner. The data augmentation unit 307 may add some words to the second search query output from the VAE model Mvae. The data augmentation unit 307 may perform data augmentation based on the second search query including some words.

[0112] In addition, the VAE model Mvae may output not only the second search query but also the second attribute. For example, the VAE model Mvae may output the second attribute "Brand" together with the second search query "blue wind". As shown in FIG. 11, the VAE model Mvae can output the second attribute by tagging the first search query with the first attribute and then training the VAE model Mvae. In this case, the attribute estimation unit 306 may be omitted. The data extension unit 307 may store the second search query, the second named entity, and the second attribute output from the VAE model Mvae in the training database DB5 of the NER model Mner as new training data.

[0113] [Additional Learning Section] The additional learning unit 308 performs additional learning of the trained NER model Mner based on new training data output by data expansion. Additional learning refers to performing additional learning on the NER model Mner that has been trained to a certain extent. The additional learning unit 308 performs additional learning of the NER model Mner such that, when a second search query included in the new training data is input to the NER model Mner that has been trained to a certain extent, a second named entity and a second attribute included in the new training data are output. The method itself used in the additional learning may be the same as the method of the second learning unit 305.

[0114] [4. Processing performed by the data augmentation system] 12 is a flow diagram showing an example of processing executed by the data expansion system 1. This processing is executed by the control units 11, 21, and 31 operating in accordance with the programs stored in the storage units 12, 22, and 32.

[0115] 12, the learning terminal 30 acquires a plurality of fourth search queries stored in the search history database DB2 from the search server 10 (S1). In S1, the learning terminal 30 transmits an acquisition request to the search server 10 to acquire all or a part of the fourth search queries stored in the search history database DB2. Upon receiving this acquisition request, the search server 10 transmits all or a part of the fourth search queries stored in the search history database DB2 to the learning terminal 30.

[0116] The learning terminal 30 compares each of the multiple fourth search queries acquired in S1 with the dictionary database DB3 (S2). In S2, the learning terminal 30 determines whether or not a first named entity that is the same as a fourth named entity included in each of the multiple fourth search queries exists in the dictionary database DB3. The learning terminal 30 acquires each of the multiple fourth search queries that is determined to exist in the dictionary database DB3 by the comparison in S2 as a first search query (S3).

[0117] The learning terminal 30 stores the multiple first search queries acquired in S3 in a training database DB4 of the NER model Mner, and executes learning of the NER model Mner (S4). In S4, the learning terminal 30 adjusts the parameters of the NER model Mner so that when a first search query included in the training data of the NER model Mner is input, a first named entity and a first attribute included in the training data are output.

[0118] The learning terminal 30 generates training data for the VAE model Mvae based on the multiple first search queries acquired in S4 (S5). In S5, the learning terminal 30 generates, for each first search query, a pair of the first search query and a third search query that is the same as the first search query, as training data for the VAE model Mvae. The learning terminal 30 stores the generated multiple training data in a training database DB5 for the VAE model Mvae.

[0119] The learning terminal 30 executes learning of the VAE model Mvae based on the training data of the VAE model Mvae generated in S5 (S6). In S6, the learning terminal 30 causes the encoder fenc to learn a mapping from the first search query included in the training data to an array of cell states of the LSTM. The learning terminal 30 causes the decoder fdec to learn a mapping from the average value of the cell states of the array to a third search query included in the training data.

[0120] The learning terminal 30 acquires a second search query based on the VAE model Mvae trained in S6 (S7). In S7, the learning terminal 30 sets the average value of the array sampled from the normal distribution as the starting cell state without using the encoder fenc of the trained VAE model Mvae. The learning terminal 30 generates a second search query using the decoder fdec based on this starting cell state. The learning terminal 30 repeatedly generates the second search query. The trained VAE model Mvae outputs a different second search query each time, in principle, since the output is determined probabilistically or randomly.

[0121] The learning terminal 30 determines whether or not the second search query acquired in S7 satisfies a predetermined condition (S8). In S8, the learning terminal 30 determines whether or not the second search query satisfies each of the first to third conditions described above. The learning terminal 30 executes data expansion based on the determination result of S8 (S9). In S9, the learning terminal 30 inputs the second search query that satisfies the predetermined condition to the NER model Mner that has been created for the time being. The learning terminal 30 generates the second search query and the second named entity and second attribute output from the NER model Mner as new training data for the NER model Mner.

[0122] The learning terminal 30 performs additional learning of the NER model Mner based on the execution result of the data extension in S9 (S10). In S10, the learning terminal 30 performs learning of the NER model Mner created for the time being based on the new training data generated in S9. The learning terminal 30 transmits the trained NER model Mner to the search server 10 (S11). The search server 10 receives the trained NER model Mner (S12). A search using the trained NER model Mner is executed between the search server 10 and the user terminal 20 (S13), and this process ends.

[0123] The data augmentation system 1 of this embodiment performs learning of the VAE model Mvae based on the first search query actually input in a search performed in the past. The data augmentation system 1 performs data augmentation based on the second search query output by the trained VAE model Mvae. This allows the second search query to be automatically generated using the trained VAE model Mvae, thereby saving the effort of preparing the second search query. Since the trained VAE model Mvae is created based on the first search query actually input, a character string that is actually likely can be used as the second search query. When data augmentation is performed with a character string that is not actually possible, noise may increase due to data augmentation, but since data augmentation is performed with the second search query, which is a realistic character string, data augmentation can be performed with high accuracy.

[0124] Furthermore, the data augmentation system 1 performs data augmentation based on the second search query outputted probabilistically or randomly by the trained VAE model Mvae. As a result, since a probabilistic or random element is included in the second search query, a new second search query that is slightly different from the second search query outputted in the past can be outputted every time the trained VAE model Mvae outputs it, so that data augmentation can be performed efficiently. Since a large number of second search queries similar to each first search query can be generated, data augmentation with a wide variety can be realized.

[0125] In addition, the VAE model Mvae determines the output probabilistically or randomly by making the probability density function that the latent variables follow follow a standard normal distribution. Depending on the latent variables, which are probabilistic or random elements, the second search query output by the VAE model Mvae may be a string that is not realistically possible. However, by making the probability density function that the latent variables follow follow a standard normal distribution, the second search query is more likely to fall within a realistically possible range, thereby increasing the realism of the second search query. In other words, by making the latent variables fall within a certain range, it is possible to prevent the second search query from being generated that is far removed from the first search query used during learning, and to generate a second search query that is somewhat similar to the first search query.

[0126] In addition, the trained VAE model Mvae generates the second search query in the decoder fdec by setting the average value of the array sampled from the normal distribution as the starting cell state. This makes it easier for the VAE model Mvae, which uses the LSTM mechanism, to generate realistically plausible second search queries, improving the accuracy of data augmentation.

[0127] Furthermore, the data augmentation system 1 executes learning so that when the first search query is input to the VAE model Mvae, the VAE model Mvae outputs a third search query that is the same as the first search query. This makes it easier to keep the output from the VAE model Mvae within a range that does not deviate significantly from the input to the VAE model Mvae, making it easier to generate a realistically likely second search query.

[0128] Furthermore, the data augmentation system 1 acquires the fourth search query that matches the dictionary database DB3 as the first search query. As a result, even if noise that is inappropriate for training the VAE model Mvae is present in the actually input fourth search query, the noise can be filtered using the dictionary database DB3, thereby improving the accuracy of the VAE model Mvae.

[0129] The data augmentation system 1 also performs learning of the VAE model Mvae based on tags associated with each of the multiple characters included in the first search query, thereby enabling the generation of a realistically plausible second search query in accordance with the style of the first search query that is actually input.

[0130] The data augmentation system 1 also executes learning of the VAE model Mvae based on the first search query and the first attribute related to the first named entity. This makes it possible to create a VAE model Mvae that can handle a plurality of first attributes. For example, it becomes possible to generate a second search query including various second named entities such as brand names, sizes, colors, and functions using one VAE model Mvae.

[0131] Furthermore, the data expansion system 1 executes data expansion when it is determined that a predetermined condition is satisfied based on the second search query. This allows filtering based on the predetermined condition even if an inappropriate second search query is output for data expansion, thereby improving the accuracy of data expansion.

[0132] In addition, the data expansion system 1 determines whether a predetermined condition is satisfied by determining whether the second search query has a predetermined number of characters or more. This makes it possible to exclude an inappropriate second search query even if the second search query is outputted that is too short for data expansion, thereby improving the accuracy of data expansion.

[0133] In addition, the data expansion system 1 determines whether a predetermined condition according to the type of characters included in the second search query is satisfied. This makes it possible to exclude inappropriate second search queries according to the type of characters included in the second search query, thereby improving the accuracy of data expansion.

[0134] Furthermore, the data augmentation system 1 performs data augmentation by augmenting the training data of the NER model Mner based on the second search query. This reduces the effort required to prepare training data for the NER model Mner. Since the NER model Mner can be trained with more training data, the accuracy of the NER model Mner is improved.

[0135] In addition, the data augmentation system 1 augments the training data based on the second search query and the second attribute estimated based on the NER model Mner created for the time being, thereby reducing the effort required to assign the second attribute to the second search query.

[0136] Furthermore, the data augmentation system 1 estimates the second attribute based on the NER model Mner that has been trained on the first search query and training data including the first attribute. The NER model Mner that has been created is not accurate enough to handle unknown search queries, but can estimate the second attribute with a relatively high degree of accuracy for a second search query that has similar characteristics to the first search query. Therefore, the second attribute can be estimated with a relatively high degree of accuracy for the second search query, reducing the effort required to assign the second attribute.

[0137] In addition, the data augmentation system 1 performs additional learning of the trained NER model Mner based on new training data output by data augmentation. This saves the effort of creating training data for the NER model Mner. Since the NER model Mner can be trained with more training data, the accuracy of the NER model Mner is improved.

[0138] [5. Modifications] The present disclosure is not limited to the above-described embodiment, and may be modified as appropriate without departing from the spirit and scope of the present disclosure.

[0139] [5-1. Variation 1] For example, the data augmentation unit 307 may perform data augmentation by augmenting training data of a third model different from the VAE model Mvae based on the second search query. The third model may be the NER model Mner described in the embodiment, but is assumed to be another model here. That is, the third model is a higher-level concept including the second model, of which the NER model Mner is an example. The data augmentation system 1 can be used for data augmentation of some machine learning model other than the NER model Mner.

[0140] The third model may be a model that uses the second search query as training data, and may be used for any purpose. The machine learning method of the third model may be any method exemplified in the description of the first model or the second model. For example, the third model may be a model that estimates the attributes (e.g., age group, gender, or hobbies) of a user who inputs the second search query. In this case, the third model learns training data that is a pair of the second search query and the user attributes. For example, the third model may be a model that determines the genre of advertisements to be included in search results corresponding to the second search query. In this case, the third model learns training data that is a pair of the second search query and the genre of advertisements.

[0141] The data augmentation system 1 of the first modification executes data augmentation by augmenting the training data of a third model different from the VAE model Mvae based on the second search query. This reduces the effort required to prepare training data for the third model. Since the third model can be trained with more training data, the accuracy of the third model is improved.

[0142] [5-2. Variation 2] For example, the acquiring unit 302 may acquire a first search query that was actually input in a search performed during a specific period in the past. The specific period is a part of the past. For example, the specific period may be a period such as the most recent one week, one month, or one year. The specific period may not be the most recent period, but may be a period from a first time point in the past to a second time point in the past that is later than the first time point (for example, 2021 if the current time is June 2022). The specific period may be any period. For example, the time point when the first search query was input is identified by the search date and time of the search history database DB2. The acquiring unit 302 acquires only first search queries whose search date and time are included in the specific period.

[0143] The data augmentation system 1 of the second modification acquires a first search query that was actually input in a search performed in a specific period in the past. This makes it possible to realize data augmentation corresponding to trends in a specific period. For example, it becomes possible to generate a second search query that is similar in reality to a keyword that is currently popular.

[0144] [5-3. Variation 3] For example, the data extension system 1 can be used for any service other than the search service. For example, the data extension system 1 may be used for searching other services such as an electronic commerce service, a travel reservation service, an electronic payment service, a financial service, a communication service, or a content distribution service. In the third modification, a case where the data extension system 1 is used for an electronic commerce service will be described.

[0145] For example, in variant example 3, the search is a search for products in an electronic commerce service. The search server 10 provides the electronic commerce service. The search target is a product in the electronic commerce service. The search target database DB1 stores a URL to a product page for displaying information about the product and an index of the product in association with each other. The index is the title of the product page, a named entity related to the product, or an attribute related to the product.

[0146] In the third variant, the first search query is a search query actually entered in an e-commerce service. The second search query includes a second named entity relating to a virtual product. Although the contents indicated by the first search query and the second search query differ from those of the embodiment, the process of generating the second search query itself is the same as that of the embodiment. The VAE model Mvae generates a second search query for a fictitious product that is likely to be a real product.

[0147] The data expansion system 1 of the third modification can efficiently realize data expansion in electronic commerce services.

[0148] [5-4. Other variations] For example, the above modifications may be combined.

[0149] For example, in the embodiment, the case of expanding the training data of the NER model Mner has been exemplified, but other data expansion may be performed based on the second search query. For example, the dictionary database DB3 may be expanded based on the second search query. In another example, when knowledge (corpus) related to a search query is required for some purpose, data expansion may be performed by adding not only the actually input first search query but also a virtual second search query to increase the knowledge. That is, the data expansion system 1 can be used for data expansion other than the purpose of increasing training data for machine learning.

[0150] For example, the first model may not be a model whose output is determined probabilistically or randomly. In this case, the first search query and some noise data may be input to the first model, and the first model may generate a second search query by combining these. The noise data may be generated randomly or may be prepared in advance by the creator. For example, if the second attribute is not particularly used, the second attribute of the second search query does not need to be estimated. The second search query can be used for various purposes, and may be used as a reference for marketing, naming, etc. other than searching.

[0151] For example, the functions related to data expansion described as being realized by the learning terminal 30 may be realized by the search server 10 or another computer, or may be shared among multiple computers. For example, the data stored in the data storage unit 300 may be stored in a database server.

[0152] [6. Notes] For example, the data expansion system can be configured as follows. (1) an acquisition unit that acquires a first search query that includes a first named entity and that was actually entered in a previously executed search; a first learning unit that executes learning of a first model that outputs a second search query including a virtual second named entity different from the first named entity based on the first search query; A data augmentation unit that performs data augmentation based on the second search query output by the trained first model; A data augmentation system including: (2) The first model is a model in which an output is determined probabilistically or randomly, The data augmentation unit performs the data augmentation based on the second search query probabilistically or randomly output by the trained first model. 1. A data augmentation system according to claim 1. (3) The first model is a VAE (Variational Auto Encoder) model in which an output is determined probabilistically or randomly by a probability density function that a latent variable follows following a standard normal distribution, The data augmentation unit performs the data augmentation based on the second search query probabilistically or randomly output by the trained VAE model. (2) A data augmentation system according to claim 1. (4) The VAE model is An encoder that learns a mapping from the first search query input during the learning to an array of cell states of a Long Short Term Memory (LSTM) assumed to be normally distributed; a decoder that learns a mapping from average values ​​of the cell states in the array to third search queries output during the training; Including, The first model generates the second search query at the decoder by setting a mean value of the array sampled from the normal distribution as a starting cell state. (3) A data augmentation system according to claim 1. (5) the learning unit performs the learning such that, when the first search query is input to the first model, a third search query that is the same as the first search query is output from the first model. A data expansion system according to any one of (2) to (4). (6) The data expansion system further includes a comparison unit that compares each of a plurality of fourth search queries actually input in the search with a dictionary database related to the first named entity; The acquisition unit acquires the fourth search query that matches the dictionary database as the first search query. A data expansion system according to any one of (1) to (5). (7) the first search query comprises a plurality of characters; each of the plurality of characters is associated with a tag related to the first named entity; The learning unit performs the learning based on the tag associated with each of the plurality of characters. A data expansion system according to any one of (1) to (6). (8) The first search query is associated with a first attribute related to the first named entity; The learning unit performs the learning based on the first search query and the first attribute. A data expansion system according to any one of (1) to (7). (9) The data expansion system further includes a determination unit that determines whether a predetermined condition is satisfied based on the second search query; The data extension unit executes the data extension when it is determined that the predetermined condition is satisfied. A data expansion system according to any one of (1) to (8). (10) the determination unit determines whether the second named entity included in the second search query has a predetermined number of characters or more, thereby determining whether the predetermined condition is satisfied; (9) A data augmentation system according to (9). (11) the determination unit determines whether the predetermined condition according to a character type of the second named entity included in the second search query is satisfied; The data augmentation system according to (9) or (10). (12) The data augmentation unit performs the data augmentation by augmenting training data of a second model that recognizes a fifth named entity included in a fifth search query, based on the second search query. A data expansion system according to any one of (1) to (11). (13) The data augmentation system further includes an attribute estimation unit that estimates a second attribute related to the second named entity based on the second model that has been trained with the training data; The data augmentation unit augments the training data based on the second search query and the second attribute. 13. The data augmentation system according to claim 12. (14) the training data includes the first search query and a first attribute associated with the first named entity; The attribute estimation unit estimates the second attribute based on the second model in which the first search query and the training data including the first attribute have been trained. 13. The data augmentation system according to claim 12. (15) The data augmentation system further includes an additional learning unit that performs additional learning of the trained second model based on new training data output by the data augmentation. A data expansion system according to any one of (12) to (14). (16) The data augmentation unit performs the data augmentation by augmenting training data of a third model, different from the first model, based on the second search query. A data expansion system according to any one of (1) to (15). (17) The acquisition unit acquires the first search query that was actually input in the search executed during a specific period in the past. A data expansion system according to any one of (1) to (16). (18) The search is a search for a product in an e-commerce service; the first search query is a search query actually entered in the e-commerce service; the second search query includes the second named entity related to a virtual product; A data expansion system according to any one of (1) to (17). [Explanation of symbols]

[0153] 1 data expansion system, 10 search server, 11 control unit, 12 memory unit, 13 communication unit, 20 user terminal, 21 control unit, 22 memory unit, 23 communication unit, 24 operation unit, 25 display unit, 30 learning terminal, 31 control unit, 32 memory unit, 33 communication unit, 34 operation unit, 35 display unit, P1 top page, P2 search result page, 100 data storage unit, 101 search unit, 200 data storage unit, 201 display control unit, 202 operation reception unit, 300 data storage unit, 301 comparison unit, 302 acquisition unit, 304 judgment unit, 306 attribute estimation unit, 307 data expansion unit, 308 additional learning unit, B11 button, DB1 search target database, DB2 search history database, DB3 dictionary database, DB4 training database, DB5 training database, F10 input form.

Claims

1. an acquisition unit that acquires a first search query that includes a first named entity and that was actually input in a previously executed search; a first model that outputs a second search query including a hypothetical second named entity different from the first named entity based on the first search query, the first model being a Variational Auto Encoder (VAE) model in which an output is determined probabilistically or randomly as a probability density function to which a latent variable follows a standard normal distribution; and a first learning unit that executes learning of the first model. a data augmentation unit that performs data augmentation based on the second search query outputted probabilistically or randomly by the trained VAE model; Including, The VAE model is an encoder that learns a mapping from the first search query input during the learning to an array of cell states of a Long Short Term Memory (LSTM) assumed to be normally distributed; a decoder that learns a mapping from average values ​​of the cell states in the array to third search queries output during the training; Including, the VAE model generates the second search query at the decoder by taking a mean value of the array sampled from the normal distribution as a starting cell state; the first learning unit performs the learning such that, when the first search query is input to the VAE model, the decoder learns a mapping from the average value to the third search query such that an embedding representation calculated from the average value approaches an embedding representation of the first search query that is the same as the third search query. Data Augmentation System.

2. A comparison unit that compares each of a plurality of fourth search queries that were actually input in searches executed in the past, the plurality of fourth search queries including the fourth search query that includes a first named entity and at least one of the fourth search query that does not include the first named entity and the fourth search query that includes a named entity other than the first named entity, with a dictionary database regarding the first named entity; an acquisition unit that acquires the fourth search query that matches the dictionary database as a first search query; a first learning unit that executes learning of a first model that outputs a second search query including a virtual second named entity different from the first named entity based on the first search query; A data augmentation unit that performs data augmentation based on the second search query output by the trained first model; A data augmentation system including:

3. An acquisition unit that acquires a first search query that includes a first named entity, the first search query having a plurality of characters each associated with a tag related to the first named entity; a first learning unit that executes learning of a first model that outputs a second search query including a virtual second named entity different from the first named entity, based on the tags associated with each of the plurality of characters included in the first search query; A data augmentation unit that performs data augmentation based on the second search query output by the trained first model; A data augmentation system including:

4. An acquisition unit that acquires a first search query that includes a first named entity and that has been actually entered in a previously executed search, the first search query having a first attribute related to the first named entity associated therewith; a first learning unit that executes learning of a first model that outputs a second search query including a virtual second named entity different from the first named entity, based on the first search query and the first attribute; A data augmentation unit that performs data augmentation based on the second search query output by the trained first model; A data augmentation system including:

5. The data expansion system further includes a determination unit that determines whether a predetermined condition is satisfied based on the second search query; The data extension unit executes the data extension when it is determined that the predetermined condition is satisfied. The data expansion system according to any one of claims 1 to 4.

6. the determination unit determines whether the second named entity included in the second search query has a predetermined number of characters or more, thereby determining whether the predetermined condition is satisfied; The data augmentation system according to claim 5 .

7. the determination unit determines whether the predetermined condition according to a character type of the second named entity included in the second search query is satisfied; The data augmentation system according to claim 5 .

8. An acquisition unit that acquires a first search query that includes a first named entity and that was actually entered in a previously executed search; a first learning unit that executes learning of a first model that outputs a second search query including a virtual second named entity different from the first named entity based on the first search query; a data expansion unit that performs data expansion by expanding the training data of the second model that recognizes a fifth named entity included in a fifth search query input by a user after the second model whose training data has been learned is created, based on the second search query output by the trained first model; A data augmentation system including:

9. The data augmentation system further includes an attribute estimation unit that estimates a second attribute related to the second named entity based on the second model in which the training data has been learned; The data augmentation unit augments the training data based on the second search query and the second attribute. The data augmentation system according to claim 8.

10. the training data includes the first search query and a first attribute associated with the first named entity; The attribute estimation unit estimates the second attribute based on the second model in which the first search query and the training data including the first attribute have been trained. The data augmentation system of claim 9.

11. The data augmentation system further includes an additional learning unit that performs additional learning of the trained second model based on new training data output by the data augmentation. The data augmentation system of claim 9.

12. The data augmentation unit performs the data augmentation by augmenting training data of a third model, different from the first model, based on the second search query. The data expansion system according to any one of claims 1 to 4.

13. The acquisition unit acquires the first search query that was actually input in the search executed during a specific period in the past. The data expansion system according to any one of claims 1 to 4.

14. The search is a search for a product in an e-commerce service; the first search query is a search query actually entered in the e-commerce service; the second search query includes the second named entity related to a virtual product; The data expansion system according to any one of claims 1 to 4.

15. obtaining a first search query that includes a first named entity, the first search query having been actually entered in a previously executed search; a first model that outputs a second search query including a hypothetical second named entity different from the first named entity based on the first search query, the first model being a Variational Auto Encoder (VAE) model in which an output is determined probabilistically or randomly as a probability density function to which a latent variable follows a standard normal distribution; performing data augmentation based on the second search query probabilistically or randomly output by the trained VAE model; 1. A data augmentation method, comprising: The VAE model is an encoder that learns a mapping from the first search query input during the learning to an array of cell states of a Long Short Term Memory (LSTM) assumed to be normally distributed; a decoder that learns a mapping from average values ​​of the cell states in the array to third search queries output during the training; Including, the VAE model generates the second search query at the decoder by taking a mean value of the array sampled from the normal distribution as a starting cell state; The data augmentation method includes performing the learning such that, when the first search query is input to the VAE model, the decoder learns a mapping from the average value to the third search query such that an embedding calculated from the average value approaches an embedding of the first search query that is the same as the third search query. Data augmentation methods.

16. an acquisition unit that acquires a first search query that includes a first named entity and that was actually input in a previously executed search; a first learning unit that executes learning of a first model that outputs a second search query including a hypothetical second named entity different from the first named entity based on the first search query, the first model being a Variational Auto Encoder (VAE) model in which an output is determined probabilistically or randomly as a probability density function to which a latent variable follows follows a standard normal distribution; a data augmentation unit that performs data augmentation based on the second search query outputted probabilistically or randomly by the trained VAE model; The computer functions as The VAE model is an encoder that learns a mapping from the first search query input during the learning to an array of cell states of a Long Short Term Memory (LSTM) assumed to be normally distributed; a decoder that learns a mapping from average values ​​of the cell states in the array to third search queries output during the training; Including, the VAE model generates the second search query at the decoder by taking a mean value of the array sampled from the normal distribution as a starting cell state; the first learning unit performs the learning such that, when the first search query is input to the VAE model, the decoder learns a mapping from the average value to the third search query such that an embedding representation calculated from the average value approaches an embedding representation of the first search query that is the same as the third search query. program.

Citation Information

Patent Citations

  • Learning method, extraction method, learning program and information processor

    JP2020140676A

  • Learning method, learning program, and learning device

    WO2021038886A1