Information processing device, classification method, and classification program
The information processing device classifies data based on similarity with category-related information, addressing the limitations of machine learning classifiers by achieving accurate categorization without them.
Patent Information
- Application Number
- JP2023510005
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-31
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2041-03-31
AI Technical Summary
Existing classification methods using machine learning classifiers require sufficient learning data for each category to achieve high accuracy, limiting their effectiveness without adequate training data.
An information processing device that acquires target data and related information to classify it into categories based on the degree of similarity between the target data and category-related information, without relying on machine learning classifiers.
Enables accurate and automated classification of data without the need for machine learning classifiers, allowing for efficient data categorization even with limited training data.
Smart Images

Figure 0007568064000001 
Figure 0007568064000002 
Figure 0007568064000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device or the like that classifies data to be classified into categories. [Background technology]
[0002] In recent years, as a large amount of various data has been collected and accumulated, the cost required for classifying the accumulated data to effectively use it has also increased. As a technology for reducing such costs, for example, Patent Document 1 listed below can be mentioned. Patent Document 1 listed below discloses an information processing device that classifies product data related to products or services sold via a network into various categories.
[0003] More specifically, the information processing device described in Patent Document 1 uses product data classified into hierarchical categories as learning data and determines a category using a classifier trained to output a hierarchical category classification result for a product indicated by input product data. This information processing device can automatically classify product data, thereby reducing the human cost required for classifying product data. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent Publication No. 2019-164402 Summary of the Invention [Problem to be solved by the invention]
[0005] However, when using a classifier constructed by machine learning as in Patent Document 1, there is a problem that a highly accurate classification result cannot be output unless there is sufficient learning data for each category. One aspect of the present invention aims to provide an information processing device or the like that can automatically classify data without using a classifier constructed by machine learning. [Means for solving the problem]
[0006] An information processing device according to one aspect of the present invention comprises a data acquisition means for acquiring target data to be classified into one of a plurality of categories, and a classification means for classifying the target data into one of the plurality of categories based on a similarity indicating the degree of similarity between target-related information related to the target data and category-related information related to the category.
[0007] A classification method according to one aspect of the present invention includes at least one processor acquiring target data to be classified into one of a plurality of categories, and classifying the target data into one of the plurality of categories based on a similarity indicating the degree of similarity between object-related information related to the target data and category-related information related to the category.
[0008] A classification program according to one aspect of the present invention causes a computer to function as a data acquisition means for acquiring target data to be classified into one of a plurality of categories, and a classification means for classifying the target data into one of the plurality of categories based on a similarity indicating the degree of similarity between target-related information related to the target data and category-related information related to the category. Effect of the Invention
[0009] According to one aspect of the present invention, data can be automatically classified without using a classifier constructed by machine learning. [Brief description of the drawings]
[0010] [Figure 1] 1 is a block diagram showing a configuration of an information processing device according to a first exemplary embodiment of the present invention. [Diagram 2] FIG. 2 is a flow chart showing the flow of a classification method according to the first exemplary embodiment of the present invention. [Diagram 3]FIG. 11 is a block diagram showing a configuration of an information processing device according to a second exemplary embodiment of the present invention. [Figure 4] 4 is a flowchart showing a flow of a classification method executed by the information processing device. [Diagram 5] FIG. 2 is a diagram illustrating an example of classification of target data by the information processing device. [Figure 6] FIG. 11 is a block diagram showing a configuration of an information processing device according to an exemplary embodiment 3 of the present invention. [Figure 7] 11 is a diagram showing an example of calculation of a similarity based on a result of a web search by the information processing device. FIG. [Figure 8] 11A and 11B are diagrams illustrating an example of calculation of a similarity based on a similarity between web pages detected by a web search, performed by the information processing device. [Figure 9] FIG. 11 is a block diagram showing a configuration of an information processing device according to an exemplary embodiment 4 of the present invention. [Figure 10] 11 is a diagram illustrating an example of calculation of an overall similarity by the information processing device. FIG. [Figure 11] 4 is a flowchart showing a flow of a classification method executed by the information processing device. [Figure 12] FIG. 1 is a diagram illustrating an example of a computer that executes instructions of a program, which is software that realizes each function of an information processing device according to each exemplary embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Example Embodiment 1 A first exemplary embodiment of the present invention will be described in detail with reference to the drawings. This exemplary embodiment is a basic form of the exemplary embodiments described later.
[0012] (Configuration of information processing device 1) The configuration of an information processing device 1 according to this exemplary embodiment will be described with reference to Fig. 1. Fig. 1 is a block diagram showing the configuration of the information processing device 1. As shown in Fig. 1, the information processing device 1 includes a data acquisition unit 11 and a classification unit 12.
[0013] The data acquisition unit 11 acquires target data to be classified into any one of a plurality of categories.
[0014] The classification unit 12 classifies the target data into one of the multiple categories based on a similarity indicating a degree of similarity between object-related information related to the target data and category-related information related to the category.
[0015] As described above, the information processing device 1 according to this exemplary embodiment is configured to include a data acquisition means for acquiring target data to be classified into one of a plurality of categories, and a classification means for classifying the target data into one of the plurality of categories based on a similarity indicating the degree of similarity between target-related information related to the target data and category-related information related to the category.
[0016] When the target-related information related to the target data is similar to the category-related information related to the category, the target data is likely to fit the category. Therefore, according to the above-mentioned configuration in which the target data is classified based on the similarity between the target-related information and the category-related information, the target data can be classified into an appropriate category. Furthermore, according to the above-mentioned configuration, it is not necessary to use a classifier constructed by machine learning. In this way, according to the information processing device 1 according to the present exemplary embodiment, it is possible to obtain an effect that the target data can be automatically classified without using a classifier constructed by machine learning.
[0017] (Conversion pattern determination program) The functions of the information processing device 1 described above can also be realized by a program. The classification program according to this exemplary embodiment is configured to cause a computer to function as a data acquisition means for acquiring target data to be classified into one of a plurality of categories, and a classification means for classifying the target data into one of a plurality of categories based on a similarity indicating a degree of similarity between target-related information related to the target data and category-related information related to the category. Therefore, according to the classification program according to this exemplary embodiment, it is possible to obtain an effect that the target data can be automatically classified without using a classifier constructed by machine learning.
[0018] (Classification method flow) The flow of the classification method according to this exemplary embodiment will be described with reference to Fig. 2. Fig. 2 is a flow diagram showing the flow of the classification method. Note that the execution subject of each step in this classification method may be a processor included in the information processing device 1, or may be a processor included in another device, or each step may be a processor provided in a different device.
[0019] In S11, at least one processor acquires target data to be classified into one of a plurality of categories.
[0020] At S12, at least one processor classifies the target data into one of the multiple categories based on a similarity indicating the degree of similarity between object-related information related to the target data and category-related information related to the category.
[0021] As described above, the classification method according to the present exemplary embodiment includes a configuration in which at least one processor acquires target data to be classified into one of a plurality of categories, and classifies the target data into one of the plurality of categories based on a similarity indicating a degree of similarity between target-related information related to the target data and category-related information related to the category. Therefore, the classification method according to the present exemplary embodiment has an effect of automatically classifying target data without using a classifier constructed by machine learning.
[0022] Exemplary embodiment 2 (Configuration of information processing device 2) The configuration of the information processing device 2 according to this exemplary embodiment will be described with reference to Fig. 3. Fig. 3 is a block diagram showing the configuration of the information processing device 2. As shown in the figure, the information processing device 2 includes a control unit 20 that controls each unit of the information processing device 2, and a storage unit 21 that stores various data used by the information processing device 2. The information processing device 2 also includes a communication unit 22 that allows the information processing device 2 to communicate with other devices, an input unit 23 that accepts input of various data to the information processing device 2, and an output unit 24 that allows the information processing device 2 to output various data.
[0023] The control unit 20 includes a data acquisition unit 201, a classification data acquisition unit 202, a related information acquisition unit 203, a similarity calculation unit 204, and a classification unit 205. The storage unit 21 stores classification data 211 and a related information DB 212.
[0024] The data acquisition unit 201 acquires target data to be classified into one of a plurality of categories. The target data may be any data that can be classified, and may be, for example, text data, image data, or audio data. The target data may be, for example, an item name included in a database or a data table.
[0025] The classification data acquisition unit 202 acquires classification data 211 indicating a plurality of categories into which the target data is to be classified, and identifies categories that are candidates for classification of the target data. There are no particular limitations on the classification categories, and it is sufficient to predefine in the classification data 211 an appropriate category into which the target data is to be classified.
[0026] The categories may be hierarchical. In this case, the category data 211 may be data indicating each category and its hierarchy (for example, major categories, medium categories, minor categories, etc.).
[0027] The related information acquisition unit 203 acquires target related information related to the target data. The target related information may be information related to the target data. In this exemplary embodiment, an example is described in which a search result for the target data is acquired as the target related information. More specifically, the related information acquisition unit 203 searches the related information DB 212 for information related to the target data, and acquires the information detected by this search as the target related information.
[0028] The related information DB 212 is a database that records various information that may be related to the target data. The related information DB 212 may be prepared in advance according to the target data. The related information DB 212 may be stored in the information processing device. 2 The information may be stored in an external device.
[0029] For example, if the target data is text data indicating the name of a product, the related information DB212 may use various text data such as descriptions of various products and reviews of various products. In addition, for example, a database or a data lake of a company that handles products or services related to the target data may be used as the related information DB212.
[0030] Also, for example, a database storing data extracted by data enrichment targeting various data related to various products and services that may be related to the target data may be used as the related information DB 212. Data enrichment is a service that enhances the utility value of the target data by extracting various information related to the target data and using it as additional information for the data. In this case, the category determined by the information processing device 2 may be added to the related information DB 212 as information related to the target data. In this case, it can be said that the information processing device 2 is performing data enrichment on the target data.
[0031] Furthermore, when the target data is image data, the related information acquiring unit 203 may search the related information DB 212 for images similar to the target data or text data related to the target data.
[0032] Furthermore, the related information acquisition unit 203 acquires category-related information related to the category. The category-related information may be information related to a target category. In this exemplary embodiment, an example will be described in which, like the target data described above, information related to a category is searched for in the related information DB 212, and the search results are acquired as category-related information. Note that the search for the target data and the search for the category may be performed on the same related information DB 212, or may be performed on related information DBs 212 in which different data is recorded.
[0033] The similarity calculation unit 204 calculates a similarity indicating the degree of similarity between the search results indicated by the object-related information and the search results indicated by the category-related information. The method of calculating the similarity of the search results will be described in the third embodiment.
[0034] The classification unit 205 classifies the target data into one of a plurality of categories based on the similarity calculated by the similarity calculation unit 204, i.e., the similarity indicating the degree of similarity between the target-related information related to the target data and the category-related information related to the category. Specifically, the classification unit 205 classifies the target data into a category corresponding to the category-related information having the highest similarity among a plurality of candidate categories for classification.
[0035] As described above, the information processing device 2 according to this exemplary embodiment includes a related information acquisition unit 203 that acquires search results for target data as target related information and search results for categories as category related information, and a similarity calculation unit 204 that calculates a similarity indicating the degree of similarity between the search results indicated by the target related information and the search results indicated by the category related information, and a classification unit 205 that classifies the target data into a category corresponding to the category related information with the highest similarity.
[0036] The search results of a search for target data are relevant to the target data and therefore are appropriate information as target-related information. Similarly, the search results of a search for a category are also appropriate information as category-related information. The degree of similarity between the search results can be quantified as a similarity. Therefore, according to the information processing device 2 according to this exemplary embodiment, in addition to the effect of the information processing device 1 according to the exemplary embodiment 1, the effect of being able to more appropriately classify the target data can be obtained.
[0037] (Classification method flow) The flow of the classification method according to this exemplary embodiment will be described with reference to Fig. 4. Fig. 4 is a flow diagram showing the flow of the classification method executed by the information processing device 2. Note that, below, Fig. 5 showing an example of classification will also be described.
[0038] In S21, the data acquisition unit 201 acquires target data to be classified into one of a plurality of categories. For example, in the example of Fig. 5, the data acquisition unit 201 acquires text data of the word "Tapita" (product name) as target data.
[0039] In S22, the classification destination data acquisition unit 202 acquires the classification destination data 211 stored in the storage unit 21, and identifies candidate categories for the classification destination of the target data acquired in S21. For example, in the example of Fig. 5, when classifying the target data "Tapioca" into a large category, the classification destination data acquisition unit 202 identifies the large categories "Drinks" and "Food" from among the categories from large to small categories shown in the classification destination data 211.
[0040] In S23, the related information acquisition unit 203 searches the related information DB 212 for information related to the target data acquired in S21. Then, the search results obtained by this search are acquired as target related information. For example, in the example of FIG. 5, when searching the related information DB 212 in which text data such as product information and reviews of various products are stored, product information and reviews containing the character string "Tap tea" are detected, and the text data of the product information and reviews are acquired as target related information. Note that this search is not limited to a full-text match search of the text data, and may be a partial match search. For example, in the case of "Tap tea", the character string "Tap" or "Tea" obtained by dividing the character string may be searched.
[0041] In S24, the related information acquisition unit 203 searches the related information DB 212 for information related to each category indicated in the classification destination data acquired in S22. Then, each search result obtained by this search is acquired as category related information for each category. For example, in the example of FIG. 5, when searching the related information DB 212 storing text data such as product information and reviews of various products, product information and reviews containing the character string "drink" are detected, and the text of the product information and reviews are acquired as category related information. Similarly, by searching the character string "food", product information and reviews containing this character string are detected, and the text of the product information and reviews are also acquired as category related information. Note that the process of S24 may be performed before the process of S23, or these processes may be performed in parallel.
[0042] In S25, the similarity calculation unit 204 calculates a similarity indicating the degree of similarity between the search results indicated by the object-related information acquired in S23 and the search results indicated by the category-related information acquired in S24. This process is performed for each of the categories identified in S22. For example, in the example of FIG. 5, the similarity between the search results for "Tap Tea" and the search results for "Drinks" is calculated to be 0.9, and the similarity between the search results for "Tap Tea" and the search results for "Food" is calculated to be 0.7.
[0043] In S26, the classification unit 205 classifies the target data into the category with the highest similarity calculated by the similarity calculation unit 204. For example, in the example of FIG. 5, the similarity between the search results of "Tap Tea" and "Drinks" is 0.9, and the similarity between the search results of "Tap Tea" and "Food" is 0.7, so that "Tap Tea" is classified into the large category "Drinks". Then, the classification unit 205 outputs the calculated similarity to the output unit 24. This ends the classification method shown in FIG. 4. The calculated similarity may be transmitted to another device via the communication unit 22 and output, or the calculated similarity may be stored in the storage unit 21.
[0044] If the classification destination classified in S26 has a lower classification destination, classification to the lower classification destination may be performed following the process of S26. In this case, after the process of S26 is completed, the process returns to the process of S22, and a category that is a candidate for the lower classification destination is identified in S22, and the process of S23 to S26 is then performed to determine the category of the lower classification destination.
[0045] For example, in the example of FIG. 5, after the major category of "Tap Tea" is determined to be "Drinks", the categories of "Alcohol" and "Tea", which are sub-categories of "Drinks", are candidates for classification. The similarity between the search results of "Tap Tea" and "Alcohol" is calculated to be 0.05, and the similarity between the search results of "Tap Tea" and "Tea" is calculated to be 0.95. As a result, the sub-category of "Tap Tea" is determined to be "Tea". Note that when determining a lower category, it is not necessary to perform the process of S23 again, and the object related information obtained when determining a higher category can be used as is.
[0046] Furthermore, since the medium category "tea" has subcategories "tapioca milk tea" and "green tea", these categories become candidates for the next classification. The similarity between the search results for "tapioca tea" and "tapioca milk tea" is calculated to be 0.97, and the similarity between the search results for "tapioca tea" and "green tea" is calculated to be 0.25. As a result, the subcategory of "tapioca tea" is determined to be "tapioca milk tea". Through the above process, appropriate classification results are obtained for the target data "tapioca tea", with the large category "drinks", the medium category "tea", and the subcategory "tapioca milk tea".
[0047] In the above example, the categories are determined in order from the highest category, but the categories may be determined in order from the lowest category. If the categories are determined in order from the lowest category, the number of categories identified as possible classification destinations in S22 will be large, and it will be necessary to obtain related information for these many categories in S24. On the other hand, once the lower category is determined, the higher category is automatically determined, so in this case, it is not necessary to repeat the processes of S22 to S26 in FIG. 4 multiple times.
[0048] In addition, the categories determined for each hierarchy may be different when determining categories from the top down and when determining categories from the bottom down. For this reason, for example, the information processing device 2 may perform both a process of determining categories from the top down and a process of determining categories from the bottom down, and output the categories for each hierarchy determined by each process. In this case, the user of the information processing device 2 may adopt the one of the output categories that the user determines to be appropriate as the final category.
[0049] Exemplary embodiment 3 The third exemplary embodiment of the present invention will be described in detail with reference to the drawings. Note that components having the same functions as those described in the second exemplary embodiment are denoted by the same reference numerals, and the description thereof will not be repeated.
[0050] (Configuration of information processing device 2A) The configuration of an information processing device 2A according to this exemplary embodiment will be described with reference to Fig. 6. Fig. 6 is a block diagram showing the configuration of the information processing device 2A. The information processing device 2A differs from the information processing device 2 shown in Fig. 3 in that it includes a web search unit 203A and that the related information DB 212 is not stored in the storage unit 21.
[0051] The web search unit 203A performs a web search on the target data and outputs the search results to the related information acquisition unit 203. That is, in this exemplary embodiment, the target related information acquired by the related information acquisition unit 203 is the result of a web search of the target data by the web search unit 203A. The search method is not particularly limited. For example, if the search is based on text data, the web search unit 203A may perform a full-text match search or a partial match search. Also, for example, if the target data is image data, the web search unit 203A may search for images similar to the image data.
[0052] Similarly, the web search unit 203A also performs a web search for each category that is a candidate for categorizing the target data, and outputs the search result to the related information acquisition unit 203. That is, in this exemplary embodiment, the category-related information acquired by the related information acquisition unit 203 is the result of the web search of each category by the web search unit 203A.
[0053] Therefore, in this exemplary embodiment, the similarity calculation unit 204 calculates a similarity indicating the degree of similarity between the results of a web search for the target data indicated by the target-related information and the results of a web search for each category indicated by the category-related information.
[0054] (Summary of similarity calculation method) The outline of the similarity calculation method in this exemplary embodiment will be described with reference to Fig. 7. Fig. 7 is a diagram showing an example of similarity calculation based on the results of a web search. More specifically, Fig. 7 shows an example in which the target data is "tap tea" and the candidate categories for classification are "alcohol" and "tea."
[0055] In the example of Fig. 7, the web search unit 203A performs a web search for the target data "Tap tea". The search result is shown as SR1 in Fig. 7. As shown in SR1, various web pages containing the character string "Tap tea" are detected by the web search.
[0056] Similarly, in the example of Fig. 7, web search unit 203A also performs web searches on the candidate categories for classification, "alcohol" and "tea." These search results are shown as SR2 and SR3 in Fig. 7. As shown in SR2 and SR3, the web search finds various web pages that contain the character string "alcohol," as well as various web pages that contain the character string "tea."
[0057] Each search result as described above is output to the related information acquisition unit 203, which acquires target related information and category related information (hereinafter, collectively referred to as related information) from the output search results. Note that the related information acquisition unit 203 does not need to treat all of the detection results by the web search unit 203A as related information, and it is sufficient to acquire search results necessary for calculating the similarity as related information. For example, the related information acquisition unit 203 may acquire a predetermined number of the top search results of the web search unit 203A as related information.
[0058] Then, the similarity calculation unit 204 calculates the similarity using the related information acquired by the related information acquisition unit 203. In the example of Fig. 7, the similarity between the search results of the target data "Tap Tea" and the search results of the category "Alcohol" is calculated to be 0.2, and the similarity between the search results of the target data "Tap Tea" and the search results of the category "Tea" is calculated to be 0.6. In this case, the classification unit 205 classifies the target data "Tap Tea" into the category "Tea" which has a higher similarity.
[0059] (Details of how similarity is calculated) Next, the details of the method of calculating the similarity by the similarity calculation section 204 will be described with reference to Fig. 8. Fig. 8 is a diagram showing an example of calculation of the similarity based on the similarity between web pages detected by a web search.
[0060] Figure 8 shows the web page P detected as the top search result for the target data "Tap tea". I 1 and the web page P found as the second top search result. I FIG. 8 shows the top search result for the category "tea", web page P C 1 and the second top result, webpage P C It shows 2.
[0061] The similarity calculation unit 204 calculates the similarity sim(P I i ,P C j) may be used to calculate the similarity between the search results for the target data "tap tea" and the search results for the category "tea."
[0062] For example, the similarity calculation unit 204 calculates the degree of overlap of words used in the web pages or documents to be similarly calculated, the degree of overlap of domain names, or the degree of overlap of words included in file paths as the similarity between the web pages sim(P I i ,P C j For example, the overlapping degree may be calculated by the Jaccard-Index. In this case, the similarity between web pages is calculated as sim(P I i ,P C j ) is expressed by the following formula: sim(P I i ,P C j )=J(bow(P I i ),bow(P C j )) In addition, bow(P I i ) is a web page P I i Similarly, bow(P C j ) is a web page P C j Of course, the Jaccard-Index is just one example, and any method for calculating the similarity between sets obtained from each search result can be applied.
[0063] The similarity calculation unit 204 may use the similarity between each web page calculated as described above to calculate the similarity between the target data and the category (more precisely, the similarity between the target related information and the category related information) according to the formula (1) shown in Fig. 8. In formula (1), r(i, j) is a weight. In other words, when formula (1) is used, the similarity calculation unit 204 performs a calculation of multiplying the similarity between the web pages by the weight r(i, j) according to the search ranking for all combinations of each search ranking from 1st to 10th, and calculates the sum of each calculation result as the similarity between the target related information and the category related information.
[0064] Of course, it is not essential to multiply by a weight. However, multiplying by a weight is preferable because it makes it possible to increase the likelihood that a valid similarity is calculated. For example, the weighting for the degree of similarity between top search results may be heavier than the weighting for the degree of similarity between lower search results. This is because top search results are often more closely related to the target data or category than lower search results. Specifically, for example, r(i,j)=(1 / i)·(1 / j) may be used.
[0065] The method of calculating the similarity shown in FIGS. 7 and 8 can also be applied to calculating the similarity of search results obtained by searching the related information DB 212.
[0066] Here, when a search is performed on the web or the related information DB 212, a variety of search results may be obtained, ranging from those highly related to the target data or category to those less related. Therefore, if the search results contained in the target related information and the category related information are all less related to the target data or category, it is possible that an appropriate similarity will not be calculated.
[0067] Therefore, in the information processing device 2A according to the present exemplary embodiment, as described above, object-related information indicating search results from the top to the bottom obtained by searching for object data is used. Also, category-related information indicating search results from the top to the bottom obtained by searching for categories is used. Specifically, the similarity calculation unit 204 is configured to calculate the similarity based on the degree of similarity between each of the search results from the top to the bottom indicated by the object-related information and the category-related information.
[0068] Therefore, according to the information processing device 2A according to this exemplary embodiment, in addition to the effects of the information processing device 1 according to the exemplary embodiment 1, the effect of increasing the likelihood that search results highly related to the target data or the category are included in the object-related information and the category-related information, thereby increasing the accuracy of the similarity, can be obtained. Also, even if the object-related information and the category-related information include search results that are less related to the target data or the category, it becomes possible to calculate an appropriate similarity overall.
[0069] Furthermore, as described above, in the information processing device 2A according to this exemplary embodiment, the similarity calculation unit 204 may be configured to weight the degree of similarity between higher-ranked search results more heavily than the degree of similarity between lower-ranked search results when calculating the similarity.
[0070] In many cases, the top search results are more closely related to the target data or category than the bottom search results. Therefore, according to the information processing device 2A according to this exemplary embodiment, in addition to the effect of the information processing device 1 according to the exemplary embodiment 1, the effect of being able to increase the accuracy of calculating a valid similarity can be obtained.
[0071] Exemplary embodiment 4 The present invention 4 The exemplary embodiment of the present invention will be described in detail with reference to the drawings. Note that components having the same functions as those described in the exemplary embodiment 3 are denoted by the same reference numerals, and the description thereof will not be repeated.
[0072] (Configuration of information processing device 2B) The configuration of an information processing device 2B according to this exemplary embodiment will be described with reference to Fig. 9. Fig. 9 is a block diagram showing the configuration of the information processing device 2B. The information processing device 2B differs from the information processing device 2A shown in Fig. 6 in that it includes a hierarchical structure identification unit 203B and that hierarchical information 211B is stored in the storage unit 21.
[0073] Hierarchical structure identification unit 203B identifies a higher-level category for each of the candidate categories for classification destination based on hierarchical information 211B indicating the hierarchical structure of categories. Specifically, hierarchical information 211B indicates the higher-level category and the lower-level category for each category indicated in classification destination data 211. Note that only the lower-level category is indicated for the highest-level category, and only the higher-level category is indicated for the lowest-level category. Thus, hierarchical structure identification unit 203B can identify the higher-level category for each of the candidate categories for classification destination acquired by classification destination data acquisition unit 202 by referring to hierarchical information 211B.
[0074] In this exemplary embodiment, the web search unit 203A performs a web search on each of the target data and the candidate categories into which the target data is to be classified, and also performs a web search on the categories higher than the target data, and outputs the search results to the related information acquisition unit 203. For this reason, the related information acquisition unit 203 in this exemplary embodiment acquires higher category related information, which is information related to the higher category of the category, in addition to the target related information and category related information.
[0075] The similarity calculation unit 204 also calculates the similarity between the target related information and the category related information, and calculates a higher level similarity indicating the degree of similarity between the target related information and the higher level category related information. The classification unit 205 then classifies the target data based on the similarity and higher level similarity calculated as described above. More specifically, the similarity calculation unit 204 calculates an overall similarity from the similarity and the higher level similarity, and the classification unit 205 classifies the target data based on this overall similarity.
[0076] (Calculation method of overall similarity) A method for calculating the overall similarity will be described with reference to Fig. 10. Fig. 10 is a diagram showing an example of calculating the overall similarity. In this example, the target data is "tap tea", and the candidates for classification are the sub-categories "beer" and "tapioca milk tea".
[0077] In this example, the classification data acquisition unit 202 acquires the minor classification categories "beer" and "tapioca milk tea" as classification candidate categories from the classification data 211. Then, the hierarchical structure identification unit 203B identifies that the higher category of "beer" is "alcohol" and that the higher category of "tapioca milk tea" is "tea". Note that the hierarchical structure identification unit 203B may also identify even higher categories.
[0078] Next, the web search unit 203A performs a web search on the target data "Tapioca tea", the candidate categories of "beer" and "tapioca milk tea", and their higher-level categories of "alcohol" and "tea". The related information acquisition unit 203 then acquires the target related information, category related information, and higher-level category related information indicating the search results.
[0079] Next, the similarity calculation unit 204 calculates the similarity sim(I,C) between the object-related information and the category-related information, and calculates the upper similarity sim recursive Calculate (I, parent(C)).
[0080] In the example of FIG. 10, the similarity sim(I,C) between the object-related information of “Tap Tea” and the category-related information of “Beer” is compared with the higher-level similarity sim(I,C) between the object-related information of “Tap Tea” and the category-related information of “Alcohol” (a higher-level category of “Beer”). recursive (I, parent(C)) are both calculated as 0.05. In addition, the similarity sim(I, C) between the object related information of "Tapioca Tea" and the category related information of "Tapioca Milk Tea" is calculated as 0.97, and the upper similarity sim(I, C) between the object related information of "Tapioca Tea" and the higher-level category related information of "Tea" (the higher-level category of Tapioca Milk Tea) is calculated as 0.97. recursive (I, parent(C)) is calculated to be 0.95.
[0081] Here, the similarity calculation unit 204 calculates the overall similarity sim using the formula (2) shown in FIG. recursive (I,C) may be calculated. In addition, α in the formula (2) is a weighting value set between 0 and 1. When the formula (2) is used, when α is less than 0.5, the weighting for the similarity sim(I,C) between the object-related information and the category-related information is set to be less than the weighting for the higher-level similarity sim(I,C) between the object-related information and the higher-level category-related information. recursive The weighting is heavier than that for (I, parent(C)). For this reason, it is preferable to set α to less than 0.5. It is also preferable to set the weighting for categories even higher than the higher category even lower than that for the higher category. This allows categories close to the candidate category to be classified into to have a higher influence.
[0082] For example, when α=0.2, the overall similarity between "tap tea" and "beer" is sim recursive (I,C)=0.8×0.05+0.2×0.05=0.05. In addition, the overall similarity sim recursive (I,C) = 0.8 x 0.97 + 0.2 x 0.95 = 0.97.
[0083] The classification unit 205 classifies the target data based on the overall similarity for each category calculated in this manner. In the example of Fig. 10, the classification unit 205 classifies "Tapioca milk tea" into "Tapioca tea" which has a higher overall similarity.
[0084] (Classification method flow) The flow of the classification method according to this exemplary embodiment will be described with reference to Fig. 11. Fig. 11 is a flow diagram showing the flow of the classification method executed by the information processing device 2B. Note that S31 and S32 are similar to S21 and S22 in Fig. 4, and therefore the description will not be repeated here.
[0085] In S33, the hierarchical structure identification unit 203B identifies a higher-level category of the category identified in S32 based on the hierarchical information 211B. If there is a higher-level category above the identified higher-level category, the hierarchical structure identification unit 203B may also identify that category. This process may be repeated until the highest-level category is identified. For example, in a case where three hierarchical levels of categories, namely, major classification, medium classification, and minor classification, are defined, when a minor classification category is identified in S32, the hierarchical structure identification unit 203B may identify at least a medium classification category and further identify a major classification category. If there is no higher-level category above the category identified in S32, classification may be performed based on the similarity between the object-related information and the category-related information, as in the exemplary embodiment 2 or 3.
[0086] In S34, the web search unit 203A performs a web search for information related to the target data acquired in S31, and outputs the search results to the related information acquisition unit 203, which acquires the search results as the target related information. For example, the related information acquisition unit 203 may acquire a predetermined number of top search results as the target related information.
[0087] In S35, related information acquisition unit 203 selects one of the multiple categories identified in S32. Then, in the following S36, web search unit 203A performs a web search for information related to the category selected in S35 and outputs the search results to related information acquisition unit 203, which acquires the search results as category-related information.
[0088] In S37, web search unit 203A searches the web for information related to a higher-level category (specified in S33) of the category selected in S35, and outputs the search results to related information acquisition unit 203. Then, related information acquisition unit 203 acquires the search results as higher-level category related information.
[0089] In S38, the similarity calculation unit 204 calculates the similarity between the object-related information acquired in S34 and the category-related information acquired in S36, and also calculates the similarity between the object-related information acquired in S34 and the higher-level category-related information acquired in S37. Then, in S39, the similarity calculation unit 204 calculates an overall similarity from the similarities calculated in S38.
[0090] In S40, the related information acquisition unit 203 determines whether or not the calculation of the overall similarity has been completed for all of the multiple categories identified in S32. If it is determined that the calculation has been completed (YES in S40), the process proceeds to S41. On the other hand, if the related information acquisition unit 203 determines that the calculation of the overall similarity has not been completed (NO in S40), the process returns to S35 and selects one category that has not been used in the calculation of the overall similarity.
[0091] In S41, the classification unit 205 classifies the target data into the category with the highest overall similarity among the multiple categories identified in S32, whereby the classification method of FIG.
[0092] As described above, in the information processing device 2B according to this exemplary embodiment, when multiple categories to be classified are in a hierarchical structure, the classification unit 205 classifies the target data into one of multiple categories based on the similarity between the target-related information and the category-related information and the higher-level similarity indicating the degree of similarity between the target-related information and the higher-level category-related information.
[0093] Therefore, according to the information processing device 2B of this exemplary embodiment, in addition to the effects of the information processing device 1 of exemplary embodiment 1, the effect of being able to classify target data into an appropriate category is obtained even in cases where an appropriate category cannot be identified solely from the similarity between the target-related information and the category-related information.
[0094] This is because, when categories have a hierarchical structure, if the target data can be classified into the correct category, the similarity between the target related information and the higher-level category related information is often high. For example, the correct classification of target data "tapioca tea" is the higher-level category "tea" and the lower-level category "tapioca milk tea." In this case, the related information of "tapioca tea" (target related information) and the related information of "tea" (higher-level category The similarity to related information will be higher.
[0095] For example, in the above example, assume that a classification called "tapioca sour" exists in the lower category. In this case, there may be no difference between the similarity between the related information of "tapioca tea" and the related information of "tapioca sour" and the similarity between the related information of "tapioca tea" and the related information of "tapioca milk tea", or the similarity between the related information of "tapioca sour" and the related information of "tapioca tea" and the related information of "tapioca milk tea" may be higher. Even in such a case, if the higher-level category of "tapioca sour" is, for example, "alcohol", the similarity between the related information of "tapioca tea" and the related information of "alcohol" is considered to be lower than the similarity between the related information of "tapioca tea" and the related information of "tea". Therefore, by classifying based on the higher-level similarity, it is possible to correctly classify "tapioca tea" into "tapioca milk tea".
[0096] [Modifications] In the information processing device 2A according to the exemplary embodiment 3 and the information processing device 2B according to the exemplary embodiment 4, the search result searched in the related information DB 212 may be regarded as related information, similarly to the information processing device 2 according to the exemplary embodiment 2. Note that the related information here refers to any one or all of the target data related information, the category related information, and the higher category related information.
[0097] Furthermore, information processing device 2A and information processing device 2B may treat both the web search results and the search results of related information DB 212 as related information. Furthermore, when information processing device 2B treats the search results of related information DB 212 as related information, it may omit web search unit 203A.
[0098] In addition, in each of the exemplary embodiments described above, the similarity between the target data and the category may also be calculated, and the target data may be classified taking the similarity into consideration. For example, the similarity between the target data name and the category name may be calculated based on the commonality of character strings contained in those names.
[0099] The execution entity of each process described in each of the above exemplary embodiments is arbitrary and is not limited to the above examples. In other words, an information processing system having the same functions as the information processing devices 1, 2, 2A, and 2B can be constructed by a plurality of devices that can communicate with each other. For example, an information processing system having the same functions as the information processing devices 2, 2A, and 2B can be constructed by distributing the blocks shown in Figures 3, 6, and 9 among a plurality of devices.
[0100] [Software implementation example] A part or all of the functions of the information processing devices 1, 2, 2A, and 2B may be realized by hardware such as an integrated circuit (IC chip), or may be realized by software.
[0101] In the latter case, the information processing devices 1, 2, 2A, and 2B are realized, for example, by a computer that executes instructions of a program, which is software that realizes each function. An example of such a computer (hereinafter, referred to as computer C) is shown in FIG. 12. The computer C includes at least one processor C1 and at least one memory C2. The memory C2 stores a program P for operating the computer C as the information processing devices 1, 2, 2A, and 2B. In the computer C, the processor C1 reads and executes the program P from the memory C2, thereby realizing each function of the information processing devices 1, 2, 2A, and 2B.
[0102] The processor C1 may be, for example, a central processing unit (CPU), a graphic processing unit (GPU), a digital signal processor (DSP), a micro processing unit (MPU), a floating point number processing unit (FPU), a physics processing unit (PPU), a microcontroller, or a combination of these. The memory C2 may be, for example, a flash memory, a hard disk drive (HDD), a solid state drive (SSD), or a combination of these.
[0103] The computer C may further include a RAM (Random Access Memory) for expanding the program P during execution and for temporarily storing various data. The computer C may further include a communication interface for transmitting and receiving data to and from other devices. The computer C may further include an input / output interface for connecting input / output devices such as a keyboard, a mouse, a display, and a printer.
[0104] Furthermore, the program P can be recorded on a non-transitory tangible recording medium M that can be read by the computer C. Such a recording medium M can be, for example, a tape, a disk, a card, a semiconductor memory, or a programmable logic circuit. The computer C can obtain the program P via such a recording medium M. Furthermore, the program P can be transmitted via a transmission medium. Such a transmission medium can be, for example, a communication network or broadcast waves. The computer C can also obtain the program P via such a transmission medium.
[0105] [Additional Note 1] The present invention is not limited to the above-described embodiment, and various modifications are possible within the scope of the claims. For example, embodiments obtained by appropriately combining the technical means disclosed in the above-described embodiment are also included in the technical scope of the present invention.
[0106] [Additional Note 2] Some or all of the above-described embodiments can be described as follows. However, the present invention is not limited to the following described aspects.
[0107] (Appendix 1) An information processing device comprising: a data acquiring means for acquiring target data to be classified into one of a plurality of categories; and a classifying means for classifying the target data into one of the plurality of categories based on a similarity indicating a degree of similarity between target-related information related to the target data and category-related information related to the category. With this configuration, the target data can be automatically classified without using a classifier constructed by machine learning.
[0108] (Appendix 2) The information processing device according to appended claim 1, further comprising: related information acquiring means for acquiring search results for the target data as the target-related information and search results for the category as the category-related information, and similarity calculating means for calculating the similarity indicating a degree of similarity between the search results indicated by the target-related information and the search results indicated by the category-related information, wherein the classification means classifies the target data into the category corresponding to the category-related information with the highest similarity. With this configuration, the target data can be appropriately classified.
[0109] (Appendix 3) The information processing device according to appendix 2, wherein the target-related information indicates search results from top to bottom obtained by searching the target data, the category-related information indicates search results from top to bottom obtained by searching the category, and the similarity calculation means calculates the similarity based on the degree of similarity between each of the search results from top to bottom indicated by the target-related information and the category-related information. This configuration can increase the accuracy of the similarity. Furthermore, even if the target-related information and the category-related information include search results that are less related to the target data or the category, it becomes possible to calculate an appropriate similarity overall.
[0110] (Appendix 4) The information processing device according to claim 3, wherein the similarity calculation means, in calculating the similarity, weights the degree of similarity between higher-ranked search results more heavily than weights the degree of similarity between lower-ranked search results. This configuration can increase the likelihood that a valid similarity is calculated.
[0111] (Appendix 5) The information processing device according to any one of appendices 1 to 4, wherein the multiple categories have a hierarchical structure, and the classification means classifies the target data into one of the multiple categories based on the similarity and a higher similarity indicating a degree of similarity between object-related information related to the target data and higher-level category-related information related to a category higher than the category. With this configuration, it is possible to classify the target data into an appropriate category even when an appropriate category cannot be identified only from the similarity between the object-related information and the category-related information.
[0112] (Appendix 6) A classification method including: acquiring target data to be classified into one of a plurality of categories by at least one processor; and classifying the target data into one of the plurality of categories based on a similarity indicating a degree of similarity between target-related information related to the target data and category-related information related to the category. With this configuration, the target data can be automatically classified without using a classifier constructed by machine learning.
[0113] (Appendix 7) A classification program that causes a computer to function as a data acquisition means for acquiring target data to be classified into one of a plurality of categories, and a classification means for classifying the target data into one of the plurality of categories based on a similarity indicating a degree of similarity between target-related information related to the target data and category-related information related to the category. With this configuration, it is possible to automatically classify target data without using a classifier constructed by machine learning.
[0114] [Additional Note 3] A part or all of the above-described embodiments can be further expressed as follows.
[0115] An information processing device comprising at least one processor that executes a process of acquiring target data to be classified into one of a plurality of categories, and a process of classifying the target data into one of the plurality of categories based on a similarity indicating the degree of similarity between target-related information related to the target data and category-related information related to the category.
[0116] The information processing device may further include a memory, and the memory may store a classification program for causing the processor to execute the process of acquiring the target data and the process of classifying the target data into any one of the multiple categories. The classification program may be recorded in a computer-readable, non-transitory, tangible recording medium. [Explanation of symbols]
[0117] 1. Information processing device 11 Data acquisition unit (data acquisition means) 12 Classification section (classification means) 2, 2A, 2B Information processing equipment 201 Data acquisition unit (data acquisition means) 203 Related information acquisition unit (related information acquisition means) 204 Similarity calculation unit (similarity calculation means) 205 Classification section (classification means)
Claims
1. A data acquisition means for acquiring target data to be classified into any one of a plurality of categories; A classification means for classifying the target data into any one of the plurality of categories based on a similarity indicating a degree of similarity between object-related information related to the target data and category-related information related to the category; a related information acquiring means for acquiring search results for the target data as the target related information and for acquiring search results for the category as the category related information; a similarity calculation means for calculating a similarity indicating a degree of similarity between a search result indicated by the object-related information and a search result indicated by the category-related information, The classification means classifies the target data into the category corresponding to the category-related information having the highest similarity, The target-related information indicates search results from top to bottom obtained by searching the target data, the category-related information indicates search results from top to bottom obtained by searching the category, The similarity calculation means calculates the similarity based on the degree of similarity between the object-related information and each of the search results from top to bottom indicated by the category-related information.
2. The information processing apparatus according to claim 1 , wherein the similarity calculation means, in calculating the similarity, weights the degree of similarity between higher-ranked search results more heavily than weights the degree of similarity between lower-ranked search results.
3. The plurality of categories are hierarchically structured, 3. The information processing device according to claim 1, wherein the classification means classifies the target data into one of the multiple categories based on the similarity and a higher-level similarity indicating a degree of similarity between target-related information related to the target data and higher-level category-related information related to a category higher than the category.
4. At least one processor Obtaining target data that is subject to classification into one of a plurality of categories; classifying the target data into any one of the plurality of categories based on a similarity indicating a degree of similarity between object-related information related to the target data and category-related information related to the category; Obtaining a search result for the target data as the target-related information; acquiring a search result for the category as the category-related information; calculating the similarity indicating a degree of similarity between the search results indicated by the object-related information and the search results indicated by the category-related information; In the classification of the target data, the target data is classified into the category corresponding to the category-related information having the highest similarity; The target-related information indicates search results from top to bottom obtained by searching the target data, the category-related information indicates search results from top to bottom obtained by searching the category, A classification method, wherein the degree of similarity is calculated based on the degree of similarity between the object-related information and each of the search results from top to bottom indicated by the category-related information.
5. Computer, A data acquisition means for acquiring target data to be classified into any one of a plurality of categories; a classification means for classifying the target data into any one of the plurality of categories based on a similarity indicating a degree of similarity between object-related information related to the target data and category-related information related to the category; a related information acquiring means for acquiring search results for the target data as the target related information and for acquiring search results for the category as the category related information; a classification program that functions as a similarity calculation means for calculating a similarity indicating a degree of similarity between a search result indicated by the object-related information and a search result indicated by the category-related information, The classification means classifies the target data into the category corresponding to the category-related information having the highest similarity, The target-related information indicates search results from top to bottom obtained by searching the target data, the category-related information indicates search results from top to bottom obtained by searching the category, A classification program, wherein the similarity calculation means calculates the similarity based on the degree of similarity between the object-related information and each search result from top to bottom indicated by the category-related information.
Citation Information
Patent Citations
Data processing apparatus, data processing method and search apparatus
JP2008204444A
Advertisement distribution device, advertisement distribution method, and advertisement distribution control program
JP2010039600A
Related word extraction device
JP2011221877A
Information processing device, information processing method, and program
JP2019164402A
Categorization of queries
US20080313142A1
