Data analysis device and data analysis method
The data analysis device automates GTA by segmenting and labeling SNS opinions, addressing inefficiencies and costs in conventional methods, enabling efficient and accurate qualitative analysis.
Patent Information
- Application Number
- JP2023028246
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Conventional qualitative analysis methods for sparse opinions on social networking services (SNS) are inefficient and costly due to manual processing and high human intervention, and existing automated methods like Grounded Theory Approach (GTA) lack automation and efficiency.
A data analysis device and method that automates the GTA process by dividing it into subtasks such as sentence segmentation, topic extraction, and label estimation, using techniques like Latent Dirichlet Allocation (LDA) to analyze SNS opinions efficiently.
The method significantly reduces costs and improves efficiency in analyzing sparse SNS opinions, providing accurate and automated qualitative analysis.
Smart Images

Figure 2024121252000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a data analysis device and a data analysis method for analyzing data in various services such as social networking services (SNS) and local public services. [Background technology]
[0002] In recent years, regional revitalization has been recognized as an important social issue, and many efforts to solve the problem have been made by industry, academia, and government. These efforts are often based on implementing the PDCA cycle of operational planning (Plan), implementation (Do), opinion collection and analysis (Check), and improvement (Action). However, in many cases, the PDCA cycle is not being implemented well. The reasons for this include: (1) feedback on regional revitalization is obtained through suggestion boxes and telephone correspondence, and users' voices are not collected efficiently, and (2) feedback checks are done manually, which requires a lot of time and human costs. For this reason, regional revitalization requires strengthening opinion collection and analysis (Check) and improvement (Action), especially the efficiency of opinion collection and analysis.
[0003] On the other hand, SNS can be considered a large-scale information source that accumulates various information and opinions posted by an unspecified number of users, so it is expected that there will be a considerable number of posts about local services. Furthermore, since the majority of SNS users are thought to be from a relatively young age group, it is expected that opinions will be collected from a different age group than when using telephones or suggestion boxes. In addition, posts to SNS can be obtained as digitized data, so they can be processed on a computer. Therefore, if an appropriate analysis method can be implemented, it will be possible to achieve processing that is significantly more efficient than before.
[0004] However, because opinions related to local services posted on SNS are very sparse, it is difficult to obtain results by directly applying quantitative analysis methods such as machine learning and statistical processing to them. To address this issue, qualitative analysis methods can be used, which can achieve high analytical accuracy even with small amounts of data. However, because qualitative analysis methods rely heavily on human judgment, there is an issue that the human, time, and financial costs are very high.
[0005] As a conventional technique using GTA (Grounded Theory Approach), which is one of the representative qualitative analysis methods, Patent Document 1 discloses a data analysis device and method that uses GTA to analyze the mechanism by which phenomena that appear in data occur in order to efficiently and accurately grasp how each person interpreted the data they selected.
[0006] Patent Document 2 discloses a classifier generation device and a classifier generation method that use GTA to create classification items into which text data is classified and classification structure data that indicates the hierarchy of the classification items, and generates a classifier for classifying each answer to semantically opposite questions obtained from the same respondent. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] JP 2022-045463 A [Patent Document 2] Patent No. 6715758 Summary of the Invention [Problem to be solved by the invention]
[0008] However, the analysis method disclosed in Patent Document 1 is configured so that sentence attributes and segment attributes that arise during the process are determined and set by humans, and it is not possible to automate and process the entire GTA process.
[0009] Furthermore, the technology disclosed in Patent Document 2 relates to the creation of classification structure data, and does not aim at application or automation of the GTA process.
[0010] Therefore, an object of the present invention is to provide a data analysis device and a data analysis method that can be automated using a GTA process and can efficiently perform analytical processing even for sparse opinions. [Means for solving the problem]
[0011] According to the present invention, a data analysis device includes a sentence segmentation / word segmentation unit that divides input network-based sentence information into single sentences and segments the divided single sentences into component groups by word segmentation, a topic extraction unit that generates topics by obtaining distributed representations of words using a topic model for the segment information segmented by the sentence segmentation / word segmentation unit, and a label estimation unit that estimates a label for each topic generated by the topic extraction unit, and analyzes the sentence information based on the labels estimated by the label estimation unit.
[0012] The method targets opinion information posted on SNS for local services provided by local governments and the like, and treats the analysis of opinion information by the qualitative analysis method as the original problem, divides it into multiple more specific subproblems, and automatically solves each subproblem, thereby significantly reducing the high cost and efficiency problems that have been issues with qualitative analysis methods up to now. Specifically, the analysis by GTA is regarded as the original problem (main task), and each problem is made more specific by dividing it into more specific small problems (subtasks), and each problem is realized as a means for solving them. In particular, the present invention divides the analysis process of GTA, particularly open coding, into multiple subtasks, and provides means corresponding to these tasks. That is, a sentence division / word division unit, a topic extraction unit, and a label estimation unit are provided to estimate the labels. In this way, the label estimation unit of the open coding estimates the labels, so that in the next axial coding, similar labels among the assigned labels are grouped together to determine the category, and when the category is determined, similar topics and similar sentence structures are differentiated and organized. That is, the parts group for proceeding with the next process is organized. As a result, the analysis process can be automated efficiently.
[0013] Axial coding obtains a category relation integration diagram as the processing output, which is basically a task of visualizing each conceptualized piece of information as a graph structure by appropriately connecting (organized) information obtained from open coding. In other words, it is nothing more than coding to abstract the complex causal relationships and implicit relationships between concepts contained in the document information to be analyzed into a state that humans can easily interpret. Therefore, it can be said to be more analyzed from a human perspective, and it is possible to obtain a visualized output that allows humans to easily and accurately analyze text information.
[0014] It is preferable that the information processing device further includes an information triage unit which prioritizes the segment information segmented by the sentence segmentation / word segmentation unit, taking into consideration the directness of the information, and the label estimation unit is configured to estimate a label based on the priority obtained by the information triage unit.
[0015] It is also preferable that the information triage unit is configured to determine the directness of the information based on whether the segment information is primary information, which is information obtained directly, secondary information, which is information obtained indirectly, 1.5 information, which is reference information including intentions and opinions, or tertiary information, which is other noise information.
[0016] It is also preferable that the sentence division / word division unit is configured to divide the divided single sentences into words by morphological analysis into component groups.
[0017] It is also preferred that the topic extraction unit is configured to perform topic generation by Latent Dirichlet Allocation (LDA).
[0018] It is also preferable that the label estimation unit is configured to calculate the abstraction level of each topic, and repeatedly perform topic generation using LDA for topics with high calculated abstraction levels to optimize topic classification and assign a label to each topic.
[0019] Furthermore, according to the present invention, the data analysis method divides sentence information on an input network into single sentences, segments the divided single sentences by word-dividing them into component groups, generates topics for the segmented segment information by obtaining distributed representations of words using a topic model, estimates labels for each generated topic, and analyzes the sentence information based on the estimated labels.
[0020] The method targets opinion information posted on SNS for local services provided by local governments and the like, and treats the analysis of opinion information by the qualitative analysis method as the original problem, divides it into multiple more specific subproblems, and automatically solves each subproblem, thereby significantly reducing the high cost and efficiency problems that have been issues with qualitative analysis methods up to now. Specifically, the analysis by GTA is regarded as the original problem (main task), and by dividing it into more specific small problems (subtasks), each problem is made more specific, and each of the means for solving these is realized. In the present invention, in particular, the analysis process of GTA, particularly open coding, is divided into multiple subtasks, and steps corresponding to these tasks are provided. In this way, since the labels are estimated in the open coding, in the next axial coding, similar labels among the assigned labels are grouped together to determine the category, and when the category is determined, similar topics and similar sentence structures are distinguished and organized. In other words, the parts for proceeding with the next process are organized. As a result, the analysis process can be efficiently automated.
[0021] Axial coding obtains a category relation integration diagram as the processing output, which is basically a task of visualizing each conceptualized piece of information as a graph structure by appropriately connecting the information obtained from open coding. In other words, it is nothing more than coding to abstract the complex causal relationships and implicit relationships between concepts contained in the document information to be analyzed into a state that humans can easily interpret. Therefore, it can be said to be more analyzed from a human perspective, and a visualized output can be obtained that allows humans to easily and accurately analyze text information.
[0022] It is preferable to triage the sliced information by prioritizing the information in consideration of the directness of the information, and to estimate a label based on the priority obtained by triaging the information.
[0023] It is also preferable to triage information to determine the directness of the information based on whether the piece of information is primary information, which is information obtained directly, secondary information, which is information obtained indirectly, 1.5 information, which is reference information including intentions and opinions, or tertiary information, which is other noise information.
[0024] It is also preferable that the sentence division and word division involve dividing the divided simple sentences into word groups of components by morphological analysis.
[0025] It is also preferable that topic extraction involves generating topics by a Latent Dirichlet Allocation method.
[0026] It is also preferable that the label estimation involves calculating the abstraction level of each topic, repeatedly generating topics using Latent Dirichlet Allocation for topics with high abstraction levels, optimizing topic classification, and assigning a label to each topic. Effect of the Invention
[0027] According to the present invention, it is possible to significantly reduce the high cost and efficiency problems that have been issues with qualitative analysis methods. In addition, it is possible to perform highly accurate analysis of opinion information on local services on SNS, which is very sparsely distributed. [Brief description of the drawings]
[0028] [Figure 1] FIG. 2 is a block diagram showing the configuration of the main parts of a data analysis device according to one embodiment of the present invention in comparison with a GTA open coding task. [Diagram 2] 2 is a block diagram showing a schematic configuration of a task unit of the data analysis device of FIG. 1. [Diagram 3] 2 is a block diagram showing a specific configuration of a sentence segmentation / word segmentation unit of the data analysis device of FIG. 1. FIG. [Figure 4] 4 is a flowchart illustrating the operation of the sentence segmentation / word segmentation unit in FIG. 3. [Diagram 5]2 is a block diagram showing a specific configuration of an information triage unit of the data analysis device of FIG. 1. [Figure 6] 6 is a flowchart illustrating the operation of the information triage unit in FIG. 5. [Figure 7] 2 is a block diagram showing a specific configuration of a topic extraction unit of the data analysis device of FIG. 1. [Figure 8] 8 is a flowchart illustrating the operation of the topic extraction unit in FIG. 7. [Figure 9] FIG. 8 is a diagram for explaining the operation of the topic extraction unit in FIG. [Figure 10] 2 is a block diagram showing a specific configuration of a label estimation unit of the data analysis device of FIG. 1. [Figure 11] 11 is a flowchart illustrating the operation of a label estimation unit in FIG. 10. [Figure 12] FIG. 2 is a block diagram showing an example of an application of the data analysis device of FIG. 1. [Figure 13] FIG. 2 is a block diagram showing another application example of the data analysis device of FIG. 1. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0029] Fig. 1 shows the configuration of the main parts of a data analysis device in one embodiment of the present invention in comparison with the open coding task of GTA, and Fig. 2 shows a schematic physical configuration of this data analysis device. Note that Fig. 1(A) shows the work steps that make up the open coding in GTA, and Fig. 1(B) shows the task part of this embodiment that corresponds to each work step of this open coding. Note that in the following description, vectors are not displayed using slanted characters, which cannot be used in electronic applications, except for mathematical formulas.
[0030] GTA, one of the most well-known qualitative analysis methods, extracts concepts from data and associates them with each other through three types of coding: open coding, axial coding, and selective coding. Open coding consists of four steps, as shown in Figure 1(A): slice, property assignment, dimension assignment, and label assignment. Generally, the task of extracting and abstracting concepts from documents by human judgment is prone to bias from the subjective judgment of the operator. To mitigate this, GTA extracts two basic concepts, "properties" and "dimensions," and assigns more abstract "labels" based on these. Axial coding consists of three steps: categorization, paradigm setting, and association. This allows us to understand the mechanisms that constitute the topics and viewpoints described in the data. In axial coding, similar labels assigned by open coding are grouped together to create a higher-level concept called a "category." This hierarchical approach makes it possible to avoid, to a certain extent, operator-dependent bias when increasing the level of abstraction of concepts. For more information on GTA, see the following literature. Juliet Corbin., Anselm Strauss. “Grounded Theory Research: Procedures, Canons, and Evaluative Criteria” Qualitative Sociology, Vol.13, No, 1, (1990)
[0031] Below, we will briefly explain the terms "property," "dimension," "label," and "category" used in this specification. These "properties," "dimension," "label," and "category" are concepts extracted from the target document, and since they have different levels of abstraction, they are given different names to distinguish them. That is, The term "property" refers to a concept that indicates the viewpoint of an operator (analyst). In this embodiment, the main character string extracted from the segment constituent character string is used. A "dimension" is a concept that indicates the positioning of data when viewed from each property. In this embodiment, a segment configuration character string is used. A "label" is a subject concept of a segment based on a property and a label. In this embodiment, a label template (prepared in advance) that is determined to be closely related to a property set is used to apply a main character string related to the label template. A "category" is a concept that represents a set of similar labels, and in this embodiment, a (prepared) category template that is determined to be closely related to the property is used.
[0032] As described above, in this embodiment, a plurality of task units corresponding to the work steps of the open coding of GTA shown in Fig. 1(A) are provided. That is, as shown in Fig. 1(B), the data analysis device of this embodiment includes, as task units, a sentence division / word division unit 12 that divides the sentence information on the network input from the SNS posted message collection unit 11 into single sentences and segments the divided single sentences into component groups by word division, an information triage unit 13 that determines the directness of information, a topic extraction unit 14 that extracts topics from the segment information segmented by the sentence division / word division unit 12 using a topic model, and a label estimation unit 15 that estimates labels for the segment information classified by topic extracted by the topic extraction unit 14.
[0033] As shown in Fig. 2, the data analysis device of this embodiment includes a server 10 connected to a network such as the Internet or a LAN (local area network) and the above-mentioned task unit is provided in the server 10. Specifically, the server 10 includes the above-mentioned sentence segmentation / word segmentation unit 12, information triage unit 13, topic extraction unit 14, label estimation unit 15, and a processing supervision unit 16 which performs input / output to the server 10 and selection of execution of each task unit. These task units are connected to a delimiter list database (DB) 20 in which a delimiter list is stored, an abstraction expression list database (DB) 21 in which an abstraction expression list is stored, a segment list database (DB) 22 in which a segment list is stored, a topic list database (DB) 23 in which a topic list is stored, an estimation template database (DB) 24 in which an estimation template is stored, and a label list database (DB) 25 in which a label list is stored, and the processing proceeds with reference to these databases.
[0034] Sentence and word segmentation Fig. 3 shows a specific configuration of the sentence division / word division unit 12, and Fig. 4 explains the operation of the sentence division / word division unit 12. In the SNS posted text collection unit 11 shown in Fig. 1, text information such as target tweets is collected, and the collected text information is input to the sentence division / word division unit 12. As shown in Fig. 1, the sentence division / word division unit 12 includes a sentence division unit 121 and a word division unit 122, and includes a sentence end division means 12a, a user name abstraction means 12b, a URL abstraction means 12c, an emoticon abstraction means 12d, a numerical information abstraction means 12e, a word division means 12f, an occurrence frequency calculation means 12g, a sentence end expression determination means 12h, and a segment list generation means 12i shown in Fig. 3.
[0035] The sentence division unit 121 is configured to divide the input sentence information (sentence) into single sentences. The single sentences obtained by division become segments. Normally, periods are effective for dividing sentences, but since punctuation is often omitted in tweets such as SNS posts, heuristic processing (heuristics) is required. In addition, it is preferable to use regular expressions.
[0036] The word segmentation unit 122 is configured to segment each segmented sentence into a group of constituent elements, assuming a later step. The elements may be words or n-grams, but in this embodiment, morphological analysis is used. In addition, specific expressions such as time expressions, numerical expressions, and URLs are abstracted.
[0037] In this way, the sentence division / word division unit 12 divides sentence information such as text sentences contained in the input tweet sentences into sentence units. At this time, in order to efficiently perform subsequent processing, time expressions, numerical expressions, and some specific expressions are abstracted. First, the text contained in the input tweet is divided into sentence units. Since sentences in tweets often omit punctuation, specific symbols, emoticons, line breaks, etc. are used as delimiters in addition to periods. Regular expressions are used for the delimiter and division process. Second, user names, URLs, emoticons, numerical information, etc. are regarded as "specific expressions" and tagged. Examples of specific expressions are shown in Table 1. Regular expressions are also used for the recognition and tagging of specific expressions.
[0038] [Table 1]
[0039] Sentence segmentation is performed based on punctuation marks, and heuristic processing is also used. The main processing is implemented using regular expression processing, and the heuristics are based on emoticons, emoticons, auxiliary verbs, specific symbols, line break symbols, etc.
[0040] Hereinafter, the operation of the sentence division / word division unit 12 will be described in more detail with reference to FIGS.
[0041] (End of sentence delimiter processing) The sentence division section 121 of the sentence division / word division section 12 reads the input sentence information (input character string) by the sentence end division means 12a (step S1), and reads the delimiter from the delimiter list database 20 (step S2). In the delimiter list database 20, symbol characters such as ",", ",", ".", and ".", and sentence end expressions such as "desu", "dearu", "hoshii", and "desuka" are stored together with attribute information such as "opinion", "hope", and "question". Next, the input character string is compared with the stored information in the delimiter list (step S3). Next, it is determined whether or not the delimiter is found (step S4), and if the delimiter is found, it is determined that the string from the beginning of the string to the found delimiter string is a set of "segments" and the string is divided (step S5). After that, it is determined whether or not the end of the input string has been reached (step S6), and if there is still an input string that has not been matched, the process returns to step S3 and repeats the string matching. If there is no input string that has not been matched (if the end of the input string has been reached), the divided string is saved in the segment list (step S7).
[0042] (User name abstraction, URL abstraction, emoji abstraction, numeric information abstraction) Next, the abstraction expression stored in the abstraction expression list database 21 is read (step S8), and further, the divided character string is read from the segment list database 22 and compared with the abstraction expression (step S9). Next, it is determined whether or not a character string exists (step S10), and further whether or not an abstraction expression exists (step S11). If a character string matches the abstraction expression, the character string is abstracted (step S12). The user name abstraction step, URL abstraction step, pictogram abstraction step, and numerical information abstraction step refer to the abstraction expression list database 21. This abstraction expression list database 21 stores correspondence information for converting specific abstraction character strings, such as email addresses and user names to "@mailaddress" or "@user", monetary information to "@money", and pictograms to "@pict". Through the above abstraction process, for example, an email address "gta@gmail.com" is converted to the character string "@mailaddress", the character string "http: / / www.homepage.jp" is converted to the character string "@url", "128,000 yen" is converted to "@money", and pictograms are converted to the character string "@pict". After that, it is determined whether the end of the divided character string has been reached (step S13), and if there is still an unmatched input character string, the process returns to step S9 and repeats the matching. If there is no unmatched input character string (the end of the string has been reached), the next character string is read and the process is repeated.
[0043] (word segmentation) After the abstraction process, the target character string is divided into words by applying morphological analysis or n-gram analysis (step S14). This results in a word string. For example, from the character string "The first league match has begun," the word string "The first league match has begun" is obtained.
[0044] (Occurrence frequency calculation process) Next, the obtained words are counted and the frequency of occurrence is stored (step S15).
[0045] (Sentence end expression determination processing) Next, a list of sentence ending expressions is read from the delimiter list database 20 (step S16), and the read sentence ending expressions are compared with the word strings (step S17). A corresponding attribute is associated with the word string that matches the sentence ending expression (step S18).
[0046] (Intercept list generation process) After that, the word string and attribute information obtained as a result of the series of processes are stored in a segment list (step S19). If the divided character string still exists, the process returns to step S9 and repeats the process. If it is determined in step S10 that the divided character string does not exist, the process ends.
[0047] Information Triage Department FIG. 5 shows a specific configuration of the information triage unit 13, and FIG. 6 explains the operation of the information triage unit 13. The information triage unit 13 classifies information by focusing on the "accuracy of information". In other words, the target information is classified into primary information (information obtained directly), secondary information (information obtained indirectly), 1.5 information (information indicating an idea or position), and tertiary information (unrelated information). Specifically, information labeled with positive and negative examples is prepared for each of the primary, secondary, 1.5, and tertiary information, and a classifier (such as a classification model such as a support vector machine) is created by machine learning using this as training data. It is also possible to use a convolutional neural network instead of a support vector machine. The information classification method focusing on the "accuracy of information" is described in detail in the following literature. Yuuto Fukushima, Fumito Masui, Michal Ptaszynski, Yoko Nakajima, Keisuke Watanabe, Ryotaro Kawaishi, Taisei Nitta and Ryoya Sato: Macroanalysis of Microblogs: An Empirical Study of Communication Strategies on Twitter, In Proceedings of AAAI2014 Spring Symposum, pp.2-9, 2014.03, Palo Alto, USA.
[0048] A trained discrimination model is applied to information (segmented information) given as input, and the information is judged to be primary information, secondary information, 1.5-level information, or tertiary information. This task unit is executed as an auxiliary process for refining topic clustering, determining dimensions and properties, and estimating labels. As shown in FIG. 5, the information triage unit 13 includes a segment list expansion means 13a, an occurrence frequency expansion means 13b, an accuracy determination means 13c, a primary information determination means 13d, a secondary information determination means 13e, a 1.5-level information determination means 13f, a tertiary information determination means 13g, and a segment list database 22.
[0049] Hereinafter, the operation of the information triage unit 13 will be described in detail with reference to FIGS.
[0050] (Intercept list expansion process, occurrence frequency expansion process) The information triage unit 13 first reads information stored in the segment list database 22 (step S20). Specifically, it reads out segment set information stored as a processing result of the sentence division / word division unit 12. This information records information about the constituent words of each segment (surface character string, part of speech, frequency of occurrence). Next, it is determined whether there is segment set information to read (step S21), and if there is not, the processing of the information triage unit 13 is terminated. That is, the processing of steps S20 to S30 is repeated until there is no segment information to read.
[0051] (Accuracy determination process) If segment set information exists, the obtained segment set information is applied to a previously created accuracy classifier to determine accuracy (step S22). As a result, each segment information is classified as either primary information, secondary information, 1.5-level information, or tertiary information.
[0052] (Primary information judgment processing) Primary information is about experiential facts, individual facts, or universal facts, and is information that the writer describes about circumstances that he or she saw, heard, or felt himself or herself. For example, as shown in Table 2, it is "Since the matches could not be held due to COVID-19, it was a tournament to be held together," "Watched curling in Kitami," and "The white building you can see on the right across the road from the Institute of Technology is the Argo Graphics Kitami Curling Hall." It is determined whether the information is primary information (step S23), and attribute information of the primary information is added to the segments determined to be primary information (step S24).
[0053] (Secondary information judgment processing) Secondary information is information about opinions, expressions of emotion, expressions of intent, or appeals, and is information written about events that the writer obtained indirectly. For example, "The new curling hall is great," "Good luck everyone," "I'd like to try curling at the curling hall," and "I recommend it." It is determined whether the information is secondary (step S25), and attribute information of the secondary information is added to segments determined to be secondary information (step S26).
[0054] (1.5th information judgment processing) The 1.5-order information is related to tweets with URLs or hearsay inferred expressions, and is information describing the writer's thoughts and opinions. For example, "1677452969759_0.html" or "It seems that (a famous person) came to the new curling hall." It is determined whether it is 1.5-order information (step S27), and attribute information of the 1.5-order information is added to the segment determined to be 1.5-order information (step S28).
[0055] (Third-level information judgment processing) Third-order information is other information (noise) that is not classified into any of the above categories. For example, it is a "complete summary of local information sites." It is determined whether it is third-order information (step S29), and for segments determined to be third-order information, third-order information attribute information is added (step S30), and the process returns to step S20. If it is determined not to be third-order information, the segment information is stored and the process returns to step S20. In this way, the process of FIG. 6 is repeated until there is no more segment information to read. When there is no more segment information to read, the segment information with the attribute information added is saved in the segment list DB22, and the process ends. [Table 2]
[0056] Topic Extraction FIG. 7 shows a specific configuration of the topic extraction unit 14, FIG. 8 explains the operation of the topic extraction unit 14, and FIG. 9 explains the relationship between topics, words, and documents in the topic model. The topic extraction unit 14 is configured to generate topics using a topic model for information segmented by the sentence division / word division unit 12 (segment information with parameters). The topic model represents a unity of meaning by treating the mutual co-occurrence of words as a topic, and obtains a distributed representation by compressing the dimension of a word vector space created based on a group of segments and projecting the vector information into a lower-dimensional latent topic vector space. Here, a distributed representation means a representation of a concept with multiple component elements. As a result of the above operation, as shown in FIG. 9, the probability that the target word belongs to each topic can be known. In other words, it can be known which topic each document is strongly related to. This topic extraction unit 14 includes a segment list expansion means 14a, an occurrence frequency expansion means 14b, a distributed expression generation means 14c, a topic belonging probability calculation means 14d, a topic clustering means 14e, a noise determination means 14f, a topic list generation means 14g, a segment list database 22, and a topic list database 23.
[0057] The topic extraction unit 14 is configured to generate topics by Latent Dirichlet Allocation (LDA).
[0058] Hereinafter, the operation of the topic extraction unit 14 will be described in detail with reference to FIGS.
[0059] (Segment list expansion process) The topic extraction unit 14 first reads the information stored in the segment list database 22 (step S40). Specifically, it reads the triage information stored as a result of the information triage unit 13. This information records whether each segment is primary information, 1.5-level information, secondary information, or tertiary information. Next, it reads the constituent words of the segment and the frequency of occurrence (step S41). Then, it judges whether segment set information still exists (step S42), and continues reading until segment set information exists. Then, it checks the triage information corresponding to the read segment set information, and judges whether the segment set information is tertiary information (step S43). If it is not tertiary information, it reads the next segment set information, and if it is tertiary information, it stores the segment set information.
[0060] (Distributed Representation Generation Processing) After that, the number of words (morphemes) constituting the stored segment set information is counted (step S44), and then the number of topics k specified in advance by the user is set (step S45). Next, Latent Dirichlet Allocation (LDA) is applied to the stored segment set information (step S46). In this LDA, it is assumed that data corresponding to topics is generated using multinomial distribution and Dirichlet distribution. For example, it is considered that a segment having "curling" as a topic is composed of words such as "stone" and "ice", and this relationship is expressed using multinomial distribution and Dirichlet distribution, and segment data is generated as a distributed representation. The generation of segment data can be realized by performing the following process. (1) A process to generate topic ratios for each intercept from a Dirichlet distribution. (2) A process of generating word selection probabilities for each topic from a Dirichlet distribution. (3) A process to generate the number of words for each topic from a multinomial distribution using the number of words in the intercept and the results of process (1) as parameters. (4) By performing a process to generate the number of times each word is used from processes (2) and (3), the probability that each word belongs to a topic is obtained, and data equivalent to the intercept data is obtained.
[0061] Specifically, we represent a segment as a set of constituent words. If the number of topics in the stored segment set is k, then the segment s is n s Words w i In order to generate the segment data, select words that belong to a topic k from M kinds of words for a predetermined topic k. s Each word has a word occurrence probability φ k The number of words in a topic can be expressed by a multinomial distribution with parameters n. s and the topic ratio θ s It can be expressed by a multinomial distribution with parameters. The symbols used in this explanation have the following meanings. α: Parameter of the Dirichlet distribution generating the topic proportions of the intercepts, θ s : A vector showing the probability that each topic k belongs to segment s, z s、k : The number of words in topic k to which segment s belongs, β: Parameter of the Dirichlet distribution that generates the word generation probability of a topic, φ k : Words in each topic i A vector indicating the probability of generating x d、i :word w that appears in segment s i Quantity of.
[0062] Next, we will explain the multinomial distribution and the Dirichlet distribution. The multinomial distribution is a set of n trials in which one value is chosen from M possible values. s The distribution of vectors that indicate the number of times each of M types of values appears when the test is repeated n times. In this case, the parameters are s and the probability p of each of the M types of values appearing. For example, x i is the number of added words, p i is the probability of selecting word i from M possible words. Random variable X = (x1, …, x M ) is n s and p = (p1, …, pM ), the probability mass function f (x1, …, x M ; n, p1, …, p M ) becomes:
number
number
[0063] (Topic clustering process) The probability of the obtained segments is associated with each of the k set topics, and a topic-specific cluster is created. Next, the coherence is calculated for each obtained topic (step S47). Coherence is an index that indicates the abstraction of a topic, and it is assumed that the stronger the tendency for frequent words in a topic to co-occur in segments, the more similar the words are. Note that the similarity between words is expressed using logarithmic conditional probability (LCP). A set of M frequently occurring words for topic t
number
number
number
number
[0064] (Noise detection process) The coherence value calculated for each topic is compared with a preset threshold, and if it is smaller than the threshold, the segment set belonging to the target topic is deleted (step S48). Next, by determining whether the number of topics has decreased (step S49), the target topic group is grouped together and the topic determination process is applied again, and the process is repeated until there are no topics with coherence smaller than the threshold.
[0065] (Topic list generation process) The finally obtained topics and the related segment data are stored in a topic list, and the process ends. For details about LDA, see the following literature. Blei, DM, Ng, AY and Jordan, MI: Latent Dirichlet Allocation, Journal of Machine Learning Research, 3, pp.993 1022(2003)
[0066] Label Estimation Unit FIG. 10 shows a specific configuration of the label estimation unit 15, and FIG. 11 explains the operation of the label estimation unit 15. The label estimation unit 15 calculates the abstraction level of each topic, and optimizes topic classification by repeatedly performing topic generation by LDA for topics with high abstraction levels, and assigns a label to each topic. That is, the label estimation unit 15 derives property and dimension labels for each topic from the input information (segment information classified by topic). First, the label estimation unit 15 refers to the segment groups belonging to each of the obtained topic groups, determines the similarity between segments belonging to the same topic, and extracts segment groups having a similarity equal to or greater than a set threshold. Furthermore, it determines the inclusion relationship of segment constituent character strings in the same group, extracts the segment that includes the most segments as a property, and extracts the segments included in each property as dimensions. 10, the label estimation unit 15 includes a segment list expansion means 15a, an occurrence frequency expansion means 15b, a topic list expansion means 15c, a similarity determination means 15d, an inclusion relationship determination means 15e, a property extraction means 15f, a dimension extraction means 15g, a topic label determination means 15h, a label generation means 15i, a segment list database 22, a topic list database 23, an estimation template database 24, and a label list database 25. The segment list expansion means 15a refers to the segment list database 22, and the topic list expansion means 15c refers to the topic list database 23. The topic label determination means 15h refers to the estimation template database 24. Furthermore, the property extraction means 15f and the dimension extraction means 15g add and store the results of the processing in the segment list database 22, and the label generation means 15i stores the generated labels in the label list database 25.
[0067] The operation of the label estimation unit 15 will be described in detail below with reference to FIGS.
[0068] The label estimation unit 15 first reads segment information from the segment list database 22 (step S50), and reads topic information from the topic list database 23 (step S51) to obtain segment information classified by topic. After that, it derives a label for each topic for this segment information classified by topic. It derives input information (segment information with parameters), properties, and dimensions based on each segment. First, it organizes the obtained segment groups into similar groups, and determines a topic for each obtained group. It determines dimensions from things that characterize these groups, and the dimensions are abstracted to become properties.
[0069] This processing step will now be described in detail.
[0070] (Segment list expansion process), (Occurrence frequency expansion process), (Topic list expansion process) The label estimation unit 15 first reads out the information stored in the segment list and the information stored in the topic list. Specifically, it reads out the segment information stored as the result of the information triage unit 13, the topic information stored as the result of the topic extraction unit 14, and the data of segments related to each topic. The segment information records, for each segment, information about its constituent words (character string, part of speech, frequency of occurrence) and whether it is primary information, 1.5 primary information, secondary information, or tertiary information. The segment data related to a topic records which topic each segment belongs to.
[0071] (Similarity determination process), (Inclusion relationship determination process) Next, the label estimation unit 15 selects one topic (T k ) (step S52). Next, segments belonging to the selected topic are extracted (step S53). That is, the segment information of the segments belonging to the selected topic is referenced, and the topic belonging probability and constituent word information of each segment are confirmed by reference to the segment list. At this time, a suffix list of each segment belonging to the topic is created (step S54).
[0072] A suffix list is a set of substrings (suffixes) in a text (string) from each constituent character to the end of the string. This suffix list is created by the following procedure. 1. Generate text by concatenating all the words that make up the segment. 2. Refer to the text. 3. If the current character is not a terminal symbol (end of line), read the leftmost character in the text. 4. If the current character is a terminal symbol (end of line), read the next segment information. 5. The previously referenced character stored in the character memory is referenced. 6. If the referenced character is a number and the current character is also a number, combine them into one string and proceed to step 2 above. 7. If the referenced character is a number and the current character is not a number, store the character in the character memory, delete the current character, and then add the string to the suffix memory. The position information of the added data is also added. 8. If the referenced character is not a number, the character is stored in the character memory, the current character is deleted, and the data is added to the suffix array database (not shown). The data position information in the RDB is also added. 9. If not at end of line, read segment information. 10. When the processing reaches the end of the line, the strings in the suffix array database are sorted by the first character and the processing ends. 11. If it is the end of the line, end the process.
[0073] Table 3 shows examples of segments and the strings that make up the segments. For example, the constituent words of the segment "It is difficult to make the form straight and stable" are {form, straight, stable, difficult}, so the generated text is "It is difficult to make the form straight and stable." [Table 3]
[0074] Tables 4 to 6 show examples of n-grams generated based on segment constituent character strings. [Table 4]
[0075] [Table 5]
[0076] [Table 6]
[0077] Tables 7 and 8 show n-gram lists combining these data, and each character string is stored in the array structure of the database to form a suffix array. [Table 7]
[0078] [Table 8] Table 8 is a continuation of Table 7.
[0079] Tables 9 to 11 show examples of data sorted by the first character in the above-mentioned step 10. In these Tables 9 to 11, the rightmost column shows the common character strings extracted from the beginning of the suffix, and the column to the left of it shows their occurrence frequency. [Table 9]
[0080] [Table 10]
[0081] [Table 11] Table 10 is a continuation of Table 9, and Table 11 is a continuation of Table 10.
[0082] The created strings have a hierarchical relationship and are therefore inclusive. However, if the longest string is used as a representative, redundancy will occur. To avoid this, we use an adaptation method that uses the frequency ratio of occurrence of each string and the longest match method to narrow down the results as follows: 1) Read a string class from the string class memory. Let the frequency of the read string class Si be Si (0 ≦ I ≦ Li), where L is the number of types of strings. 2) Eliminate sparseness of string classes: If the frequency is Sj < α (α is a threshold), remove the target string class. 3) From the referenced string class memory, reference the previously loaded string class and compare it to determine whether the two string classes have an inclusion relationship on strings. If Si ≧ α and Si ⊃ Sj (0 ≦ j ≦ L-1), Si is determined to be an independent class. 4) If it is determined that the two string classes are in an inclusive relationship, the frequency ratio is calculated based on the occurrence frequency of both. 5) When the frequency ratio is smaller than a preset threshold
number
number
number
number
[0083] After creating the suffix list in step S54, i is initialized to 1 (step S55), and suffix(Si) is selected from the list (step S56). Next, j is initialized to 1 (step S57), and the next suffix(Si+j) is selected from the list (step S58). The similarity between the selected suffix(Si) and suffix(Si+j) is calculated (step S59), and it is determined whether the similarity is equal to or greater than a threshold (step S60). If the similarity is not equal to or greater than the threshold (if NO), j is incremented (step S61), and the processes of steps S58 to S60 are repeated. If the similarity is equal to or greater than the threshold (if YES), suffix(Si+j) is deleted from the suffix list (step S62). Next, a deletion list is created (step S63), and it is determined whether the suffix is the last suffix in the list (step S64). If it is not the end of the list (if NO), j is incremented (step S61), and the processes of steps S58 to S64 are repeated. If it is the end of the list (if YES), it is determined whether i=j (step S65). If i=j is not true (if NO), j is incremented (step S66), and the processes of steps S56 to S65 are repeated. If i=j (if YES), it is determined whether there are any unselected topics (step S67).
[0084] Tables 12 to 14 below show suffix lists obtained by eliminating sparseness in character string classes using step 2) above. The rightmost column in the figure shows the heuristics to be removed from the extracted character classes. Tables 15 to 16 show the results after sparseness has been eliminated. Furthermore, Table 17 shows the suffix lists after the compression of character string classes has been completed using the inclusion relationship determination using steps 3) to 6).
[0085] [Table 12]
[0086] [Table 13] Table 13 is a continuation of Table 12.
[0087] [Table 14] Table 14 is a continuation of Table 13.
[0088] [Table 15]
[0089] [Table 16] Table 16 is a continuation of Table 15.
[0090] [Table 17]
[0091] (Property assignment process), (Dimension assignment process) The above process produces a string list in which segments with inclusion relationships are organized by topic. For each topic, the segment corresponding to the string list with the highest total occurrence frequency is extracted and saved as a property. Table 18 shows the results of associating string classes with properties in the suffix list. Table 19 shows the state after the properties have been determined. Table 20 is an example of a segment list sorted by property string.
[0092] Specifically, if it is determined in step S67 that there is an unselected topic (if NO), a property list is created (step S68), and a dimension list is created according to the similarity in the deletion list (step S69). After that, the processes in steps S52 to S67 are repeated.
[0093] [Table 18]
[0094] [Table 19]
[0095] [Table 20]
[0096] (Topic label determination process), (Label assignment process) A label template is read from the estimation template. First, the relevance between the prepared base label and the character string that constitutes the property is calculated for the group of properties. If the relevance exceeds a threshold, the property is associated with a category. This process is repeated until there are no more properties to be associated. Next, the associated properties are referenced, and each property is determined to belong to the base label with the highest relevance. The property character string is substituted for the base label to generate a label. Finally, the generated label is saved in a label list and the process is terminated. That is, a set of properties that belong to a topic obtained as a result of topic extraction is selected and this is set as a label. For example, if "freeze, front stone, stable" is obtained as a property that belongs to a certain topic, this is set as a topic label. If a more readable label is required, these labels may be referenced and interpreted by a human, and a label such as "about the shot" may be assigned. Finally, the generated label is saved in a label list and the process is terminated. The segment number, property information, and category information are saved in the label list.
[0097] Specifically, if it is determined in step S67 that there are no unselected topics (YES), the entries in the property list are matched with the label template (step S70), and a label list is created (step S71).
[0098] As described above in detail, according to this embodiment, the analysis by GTA is regarded as an original problem (main task), and each problem is made more specific by dividing it into more specific sub-problems (sub-tasks), and a means for solving each of these problems is realized. Among the analysis processes of GTA, open coding in particular is divided into a plurality of sub-tasks, and the sentence division / word division unit 12, topic extraction unit 14, and label estimation unit 15 corresponding to these tasks are provided to estimate labels. In this way, since the label estimation unit 15 of open coding estimates the labels, in the next axial coding, similar labels among the assigned labels are grouped together to determine a category, and when the category is determined, similar topics and similar sentence structures are differentiated and organized. That is, the parts for proceeding with the next process are organized. As a result, the analysis process can be efficiently automated.
[0099] FIG. 12 shows an application example of the data analysis device of this embodiment.
[0100] In this application example, the data analysis device of this embodiment automatically performs a qualitative analysis to improve local services provided by local governments. First, opinions related to local public services are collected from posts on SNS or opinions (digitized) in a suggestion box by local service users and local residents, and the data analysis device of this embodiment automatically performs a qualitative analysis on the collected opinions. The local government that is provided with the analysis results checks and considers the analysis results, thereby improving local services for local service users and local residents.
[0101] FIG. 13 shows another application example of the data analysis device of this embodiment.
[0102] This application example is a combination of the application example of FIG. 12 with quantitative analysis. Opinions related to local public services are collected from posts on SNS or opinions (digitized) in a suggestion box by local service users and local residents, and the data analysis device of this embodiment automatically performs a qualitative analysis on the collected opinions, and the local government, which is provided with the analysis results, confirms and considers the analysis results, thereby improving local services for local service users and local residents. Meanwhile, the analysis results of the qualitative analysis by the data analysis device and opinion information are continuously accumulated, and when a sufficient data scale is secured, a quantitative analysis method is applied to the data. This makes it possible to obtain quantitative analysis results in addition to analysis results by qualitative analysis methods.
[0103] The above-described embodiments are merely illustrative of the present invention, and are not limiting, and the present invention can be embodied in various other modified and altered forms. Therefore, the scope of the present invention is defined only by the claims and their equivalents. [Explanation of symbols]
[0104] 10 Server 11 SNS Post Collection Department 12 Sentence and word segmentation 121 Sentence division part 122 Word Segmentation 12a End of sentence delimitation method 12b Username Abstraction Method 12c URL Abstraction Means 12d Emoji Abstraction Means 12e Numerical Information Abstraction Methods 12f Word Segmentation Methods 12g Appearance frequency calculation means 12h Sentence-final expression determination means 12i Intercept list generation method 13 Information Triage Department 13a, 14a, 15a Segment list development means 13b, 14b, 15b Appearance frequency expansion means 13c Accuracy determination means 13d Primary information determination means 13e Secondary information determination means 13f 1.5th order information judgment means 13g Tertiary information determination means 14 Topic Extraction 14c Distributed representation generation means 14d Topic membership probability calculation method 14e Topic Clustering Methods 14f Noise Judgment Method 14g Topic List Generator 15 Label Estimation Unit 15c, 16b Topic list expansion methods 15d Similarity determination means 15e Inclusion relationship determination means 15f Property Extraction Methods 15g Dimension Extraction Method 15h Topic label determination method 15i Label generation method 16 Processing Control Department 20 Delimited List Database 21 Abstract Expression List Database 22 Section List Database 23 Topic List Database 24 Estimation template database 25 Label List Database
Claims
1. A data analysis device comprising: a sentence segmentation / word segmentation unit that divides input network-based sentence information into single sentences and segments the divided single sentences into component words; a topic extraction unit that generates topics by obtaining distributed representations of words using a topic model for the segment information segmented by the sentence segmentation / word segmentation unit; and a label estimation unit that estimates a label for each topic generated by the topic extraction unit, wherein the sentence information is analyzed based on the labels estimated by the label estimation unit.
2. The data analysis device according to claim 1, further comprising an information triage unit that prioritizes the segment information segmented by the sentence segmentation / word segmentation unit, taking into account the directness of the information, and the label estimation unit is configured to estimate a label based on the priority obtained by the information triage unit.
3. The data analysis device according to claim 2, characterized in that the information triage unit is configured to determine the directness of the information based on whether the segment information is primary information, which is information obtained directly, secondary information, which is information obtained indirectly, 1.5 information, which is reference information including intentions and opinions, or tertiary information, which is other noise information.
4. 2. The data analysis device according to claim 1, wherein the sentence division / word division unit is configured to perform word division of the divided single sentences into component groups by morphological analysis.
5. The data analysis device according to claim 1 , wherein the topic extraction unit is configured to generate topics by a Latent Dirichlet Allocation method.
6. 2. The data analysis device according to claim 1, wherein the label estimation unit is configured to calculate a level of abstraction of each topic, and repeatedly perform topic generation for topics with high calculated levels of abstraction using Latent Dirichlet Allocation to optimize topic classification and assign a label to each topic.
7. A data analysis method comprising the steps of: dividing input network sentence information into single sentences; segmenting the divided single sentences into component groups by word; generating topics for the segmented segment information by obtaining distributed representations of words using a topic model; estimating labels for each generated topic; and analyzing the sentence information based on the estimated labels.
8. The data analysis method according to claim 7, characterized in that the sliced slice information is prioritized taking into account the directness of the information, and the information is triaged, and the label is estimated based on the priority obtained by triaging the information.
9. The data analysis method according to claim 8, characterized in that the triage of information determines the directness of the information based on whether the intercept information is primary information, which is information obtained directly, secondary information, which is information obtained indirectly, 1.5 information, which is reference information including intentions and opinions, or tertiary information, which is other noise information.
10. 8. The data analysis method according to claim 7, wherein the sentence division and word division are performed by dividing the divided single sentences into word groups of components by morphological analysis.
11. 8. The data analysis method according to claim 7, wherein the topic extraction is performed by generating topics using a Latent Dirichlet Allocation method.
12. The data analysis method according to claim 7, characterized in that the label estimation involves calculating the abstraction level of each topic, repeatedly generating topics using Latent Dirichlet Allocation for topics with high calculated abstraction levels, optimizing topic classification, and assigning a label to each topic.
Citation Information
Patent Citations
Data analysis apparatus and data analysis method
JP2022045463A
Classifier generation device, classifier generation method, and computer program
JP6715758B2
