Information processing device, information processing method, and recording medium
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Filing Date
- 2026-03-16
- Publication Date
- 2026-06-17
AI Technical Summary
Existing sequence data classification methods are inefficient and inaccurate due to the lack of effective learning mechanisms that utilize posterior probabilities at each time point during the classification process.
An information processing device and method that calculates likelihood ratios based on adjacent elements, classifies sequence data using these ratios, and performs learning using a cross-entropy loss function at each time point to optimize classification accuracy.
Enhances the accuracy of sequence data classification by leveraging posterior probabilities at each time point, reducing processing load and improving classification efficiency.
Abstract
Description
Information processing device, information processing method, and recording medium
[0001] The present disclosure relates to the technical fields of an information processing device, an information processing method, and a recording medium.
[0002] Known examples of this type of device include one that classifies sequential data using likelihood ratios. For example, Patent Document 1 discloses a device that sequentially acquires and analyzes multiple elements included in the sequential data to classify the sequential data into one of multiple predetermined classes.
[0003] International Publication No. 2020 / 194497
[0004] This disclosure aims to improve upon the related art discussed above.
[0005] One aspect of the information processing device disclosed herein includes an acquisition means for sequentially acquiring multiple elements included in sequence data; a likelihood ratio calculation means for calculating, for each acquired element, a likelihood ratio indicating the likelihood of a class to which the sequence data belongs based on two or more adjacent elements; a classification means for classifying the sequence data into one of multiple classes based on the likelihood ratio; and a learning means for calculating a posterior probability for each time at which the elements are acquired, and performing learning related to the calculation of the likelihood ratios using a cross-entropy loss function calculated from each of the posterior probabilities for the time.
[0006] One aspect of the information processing method disclosed herein sequentially acquires multiple elements included in sequence data, and for each acquired element, calculates a likelihood ratio indicating the likelihood of the class to which the sequence data belongs based on two or more adjacent elements, classifies the sequence data into one of multiple classes based on the likelihood ratio, calculates a posterior probability for each time at which the element is acquired, and performs learning related to the calculation of the likelihood ratio using a cross-entropy loss function calculated from each of the posterior probabilities for each time.
[0007] One aspect of the recording medium of this disclosure has recorded thereon a computer program that causes a computer to execute an information processing method, which includes sequentially acquiring multiple elements included in sequence data, calculating, for each acquired element, a likelihood ratio indicating the likelihood of a class to which the sequence data belongs based on two or more adjacent elements, classifying the sequence data into one of multiple classes based on the likelihood ratio, calculating a posterior probability for each time at which the element is acquired, and performing learning related to the calculation of the likelihood ratio using a cross-entropy loss function calculated from each of the posterior probabilities for each time.
[0008] 1 is a block diagram showing the hardware configuration of a first information processing device; FIG. 2 is a block diagram showing the functional configuration of the first information processing device; FIG. 3 is a flowchart showing the flow of a classification operation in the first information processing device; FIG. 4 is a flowchart showing the flow of a learning operation in the first information processing device; FIG. 5 is a block diagram showing the functional configuration of a second information processing device; FIG. 6 is a block diagram showing an example of data input / output in the second information processing device; and FIG. 7 is a flowchart showing the flow of a learning operation in the second information processing device.
[0009] Hereinafter, embodiments of an information processing device, an information processing method, and a recording medium will be described with reference to the drawings.
[0010] First Embodiment A first embodiment will be described with reference to FIGS. 1 to 4. FIG.
[0011] (Hardware Configuration) First, the hardware configuration of the first information processing apparatus will be described with reference to Fig. 1. Fig. 1 is a block diagram showing the hardware configuration of the first information processing apparatus.
[0012] 1, a first information processing device 10 includes a processor 11, a RAM (Random Access Memory) 12, a ROM (Read Only Memory) 13, and a storage device 14. The information processing device 10 may further include an input device 15 and an output device 16. The processor 11, RAM 12, ROM 13, storage device 14, input device 15, and output device 16 are connected to each other via a data bus 17. The data bus 17 may be an interface other than a data bus (for example, a LAN, a USB, etc.).
[0013] The processor 11 loads a computer program. For example, the processor 11 is configured to load a computer program stored in at least one of the RAM 12, the ROM 13, and the storage device 14. Alternatively, the processor 11 may load a computer program stored in a computer-readable storage medium using a storage medium reading device (not shown). The processor 11 may acquire (i.e., load) the computer program from a device (not shown) located outside the information processing device 10 via a network interface. The processor 11 controls the RAM 12, the storage device 14, the input device 15, and the output device 16 by executing the loaded computer program. In particular, in this embodiment, when the processor 11 executes the loaded computer program, functional blocks that execute various processes for classifying sequence data are realized within the processor 11. In other words, the processor 11 may function as a controller that executes each control in the information processing device 10.
[0014] The processor 11 may be configured as, for example, a central processing unit (CPU), a graphics processing unit (GPU), a field-programmable gate array (FPGA), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), or a quantum processor. The processor 11 may be configured as one of these, or may be configured to use multiple processors in parallel.
[0015] The RAM 12 temporarily stores computer programs executed by the processor 11. The RAM 12 temporarily stores data that the processor 11 temporarily uses while it is executing the computer programs. The RAM 12 may be, for example, a dynamic random access memory (D-RAM) or a static random access memory (SRAM). Alternatively, other types of volatile memory may be used instead of the RAM 12.
[0016] The ROM 13 stores computer programs executed by the processor 11. The ROM 13 may also store fixed data. The ROM 13 may be, for example, a programmable read-only memory (PROM) or an erasable read-only memory (EPROM). Alternatively, other types of non-volatile memory may be used instead of the ROM 13.
[0017] The storage device 14 stores data that is to be saved long-term by the information processing device 10. The storage device 14 may operate as a temporary storage device for the processor 11. The storage device 14 may include, for example, at least one of a hard disk device, a magneto-optical disk device, an SSD (Solid State Drive), and a disk array device.
[0018] The input device 15 is a device that receives input instructions from a user of the information processing device 10. The input device 15 may include, for example, at least one of a keyboard, a mouse, and a touch panel. The input device 15 may be configured as a mobile terminal such as a smartphone or a tablet. The input device 15 may also be, for example, a device that includes a microphone and is capable of voice input.
[0019] The output device 16 is a device that outputs information related to the information processing device 10 to the outside. For example, the output device 16 may be a display device (e.g., a display) that can display information related to the information processing device 10. The output device 16 may also be a speaker or the like that can output information related to the information processing device 10 as audio. The output device 16 may be configured as a mobile terminal such as a smartphone or a tablet.
[0020] 1 shows an example of an information processing device 10 including multiple devices, but all or some of the functions may be realized by a single device. Such an information processing device may be configured to include only the above-mentioned processor 11, RAM 12, and ROM 13, and the other components (i.e., the storage device 14, input device 15, output device 16, etc.) may be provided by an external device connected to the information processing device 10. Furthermore, some of the calculation functions of the information processing device 10 may be realized by an external device (e.g., an external server, a cloud, etc.).
[0021] (Functional Configuration) Next, the functional configuration of the first information processing device 10 will be described with reference to Fig. 2. Fig. 2 is a block diagram showing the functional configuration of the first information processing device.
[0022] 2, the first information processing device 10 is configured as a device for classifying sequential data. For example, the first information processing device 10 may be configured as a device that acquires images of time-series data and classifies the types of objects included in the images. The first information processing device 10 is configured to include, as components for realizing its functions, an acquisition unit 50, a likelihood ratio calculation unit 100, a classification unit 150, and a learning unit 200. Each of the acquisition unit 50, the likelihood ratio calculation unit 100, the classification unit 150, and the learning unit 200 may be a processing block realized by, for example, the above-mentioned processor 11 (see FIG. 1).
[0023] The acquisition unit 50 is configured to acquire sequence data. Sequence data here refers to data including multiple elements arranged in a predetermined order, such as time-series data. More specific examples of sequence data include, but are not limited to, video data, audio data, or subdivided image data. The acquisition unit 50 is configured to sequentially acquire multiple elements included in the sequence data. For example, the acquisition unit 50 may be configured to acquire elements included in the sequence data one by one. The acquisition unit 50 may acquire data directly from any data acquisition device (e.g., a camera, a microphone, etc.), or may read data previously acquired by a data acquisition device and stored in storage, etc. When acquiring data from a camera, the acquisition unit 50 may be configured to acquire data from each of multiple cameras.
[0024] The likelihood ratio calculation unit 100 is configured to calculate a likelihood ratio from the sequence data acquired by the acquisition unit 50. The "likelihood ratio" here is an index indicating to which of multiple candidate classes the sequence data belongs (more specifically, an index indicating the likelihood of the class to which the sequence data belongs). When the acquisition unit 50 sequentially acquires elements, the likelihood ratio calculation unit 100 calculates a likelihood ratio each time an element is acquired. That is, the likelihood ratio calculation unit 100 calculates a likelihood ratio when the acquisition unit 50 acquires an element, and calculates a new likelihood ratio when the acquisition unit 50 acquires another element. The likelihood ratio calculation unit 100 calculates a likelihood ratio based on two or more consecutive elements among the elements sequentially acquired by the acquisition unit 50. For example, the likelihood ratio calculation unit 100 may calculate a likelihood ratio using a newly acquired element and a previously acquired element or a previously calculated likelihood ratio. In this case, the likelihood ratio calculation unit 100 may include a storage unit that stores previously acquired elements or previously calculated likelihood ratios. The likelihood ratio calculation unit 100 is configured, for example, by a trained neural network. The likelihood ratio calculation unit 100 is configured to be trained by a learning unit 200, which will be described later.
[0025] The classification unit 150 classifies the sequence data into one of a plurality of classes based on the likelihood ratio calculated by the likelihood ratio calculation unit 100. Specifically, the classification unit 150 classifies the sequence data into one of a plurality of classes by comparing the likelihood ratio calculated by the likelihood ratio calculation unit 100 with a preset threshold. For example, the classification unit 150 classifies the sequence data into class A when the likelihood ratio exceeds a threshold corresponding to class A. Furthermore, the classification unit 150 classifies the sequence data into class B when the likelihood ratio exceeds a threshold corresponding to class B. The classification unit 150 may classify, for example, whether a person's face in an image is a real face or a fake face (e.g., impersonation using a photograph or a 3D mask). The plurality of classes may also be three or more. In this case, the classification unit 150 may perform classification using a threshold set for each class.
[0026] The learning unit 200 is configured to be able to perform learning related to the calculation of likelihood ratios in the likelihood ratio calculation unit 100. That is, learning related to the calculation of likelihood ratios is performed so that class classification based on likelihood ratios can be performed quickly and accurately. The learning unit 200 performs learning using a loss function. Specifically, the learning unit 200 optimizes the parameters of a model used when calculating likelihood ratios using the loss function. Note that existing techniques can be appropriately adopted as a parameter optimization method using a loss function. An example of an optimization method is backpropagation, but other methods may also be used.
[0027] Furthermore, the learning unit 200 according to this embodiment particularly includes a cross-entropy loss function calculation unit 210. The cross-entropy loss function calculation unit 210 calculates a cross-entropy loss function, which is a loss function used for learning. The cross-entropy loss function calculation unit 210 calculates the cross-entropy loss function using the posterior probability at each time an element is acquired. Note that in this embodiment, "time" advances each time an element is acquired. Therefore, the time corresponds to the number of elements acquired so far. The posterior probability is a value indicating the probability that an input element will be classified into a specific class, and has a one-to-one correspondence with the likelihood ratio calculated by the likelihood ratio calculation unit 100. The cross-entropy loss function calculation unit 210 calculates the cross-entropy loss function using the posterior probabilities at all times when elements are acquired, and performs learning so as to minimize the sum, average, or weighted average of these values. Specific examples of the cross-entropy loss function will be described in other embodiments below.
[0028] (Classification Operation) Next, the classification operation (i.e., the operation of classifying sequence data into one of a plurality of classes) in the first information processing device 10 will be described with reference to Fig. 3. Fig. 3 is a flowchart showing the flow of the classification operation in the first information processing device.
[0029] 3, when the classification operation in the first information processing device 10 starts, the acquisition unit 50 first acquires one element included in the sequence data (step S101), and the likelihood ratio calculation unit 100 then calculates a likelihood ratio based on the element acquired by the acquisition unit 50 (step S102).
[0030] Next, the classification unit 150 determines whether there is a class for which the likelihood ratio calculated by the likelihood ratio calculation unit 100 exceeds a threshold value (step S103). That is, the classification unit 150 compares the likelihood ratio calculated by the likelihood ratio calculation unit 100 with the threshold value corresponding to each class that is a classification candidate, and determines whether the likelihood ratio exceeds the threshold value corresponding to any class.
[0031] If there is a class whose likelihood ratio exceeds the threshold (step S103: YES), the classifier 150 classifies the sequence data into the class whose likelihood ratio exceeds the threshold (step S104). On the other hand, if there is no class whose likelihood ratio exceeds the threshold (step S103: NO), the process is repeated from step S101. That is, the acquirer 50 acquires the next element included in the sequence data and repeats the same process as described above.
[0032] The likelihood ratio calculated by the likelihood ratio calculation unit 100 tends to approach the threshold value corresponding to the class to be classified each time an element is acquired. Therefore, by repeating the process while acquiring elements one by one as described above, sequential data can be classified into appropriate classes. In this case, for sequential data that is easy to classify, the threshold value is exceeded at an early stage, allowing the sequential data to be classified early. On the other hand, for sequential data that is difficult to classify, elements continue to be acquired until the threshold value is exceeded, allowing the sequential data to be classified accurately over a period of time.
[0033] (Learning Operation) Next, the learning operation in the first information processing device 10 (i.e., the operation when the learning unit 200 learns the likelihood ratio calculation unit 100) will be described with reference to Fig. 4. Fig. 4 is a flowchart showing the flow of the learning operation in the first information processing device.
[0034] 4, when the learning operation in the first information processing device 10 starts, the acquiring unit 50 first acquires sequence data (step S151). Note that the sequence data acquired here may be data prepared in advance for learning (e.g., learning data to which a correct answer label has been assigned). In other words, the sequence data used in the classification operation may be different from the sequence data used in the learning operation.
[0035] Next, the likelihood ratio calculation unit 100 calculates the posterior probability for each time (step S152). That is, the posterior probability is calculated for all times at which elements are acquired. Then, the cross-entropy loss function calculation unit 210 in the learning unit 200 calculates cross-entropy using the posterior probability for each time (step S153). Thereafter, the learning unit 200 performs learning of the likelihood ratio calculation unit 100 using a loss function to which the cross-entropy has been added (i.e., a cross-entropy loss function) (step S154).
[0036] For example, the learning unit 200 calculates a gradient from the cross-entropy loss function, and then changes the parameters based on the calculated gradient in a direction that reduces the cross-entropy loss function, thereby progressing the learning of the likelihood ratio calculation unit 100.
[0037] (Technical Effects) Next, technical effects obtained by the first information processing device 10 will be described.
[0038] As described with reference to Figures 1 to 4, the first information processing device 10 performs learning related to the calculation of likelihood ratios using a cross-entropy loss function. In this way, the posterior probabilities at all times at which elements are acquired are taken into account, allowing for more appropriate learning compared to, for example, a case in which only the posterior probability of the final output is taken into account. As a result, it becomes possible to classify sequence data more accurately.
[0039] Second Embodiment A second embodiment will be described with reference to Figures 5 to 7. The second embodiment differs from the first embodiment described above only in some configurations and operations, and other parts may be the same as the first embodiment. Therefore, the following will describe in detail the parts that differ from the first embodiment, and will omit a description of other overlapping parts as appropriate.
[0040] (Functional Configuration) First, the functional configuration of the second information processing device 10 will be described with reference to Fig. 5. Fig. 5 is a block diagram showing the functional configuration of the second information processing device. Note that in Fig. 5, elements similar to those shown in Fig. 2 are denoted by the same reference numerals.
[0041] 5, the second information processing device 10 is configured to include, as components for realizing its functions, an acquisition unit 50, a likelihood ratio calculation unit 100, a classification unit 150, and a learning unit 200. In particular, the likelihood ratio calculation unit 100 in the second information processing device 10 includes a posterior probability output unit 101 and a posterior probability calculation unit 102.
[0042] The posterior probability output unit 101 is configured to be able to output, to the learning unit 200, the posterior probabilities that are output when elements included in the sequence data are input to a model used by the likelihood ratio calculation unit 100 to calculate likelihood ratios. The posterior probabilities output from the model will be described below with reference to Fig. 6. Fig. 6 is a block diagram showing an example of data input / output in the second information processing device.
[0043] As shown in Figure 6, element x included in the sequence data is input to the model each time it is acquired. 1 is input to the model. In this case, the model outputs the posterior probability p(y = 0 | x 1 ) and p(y=0|x 1 ) is output. At the next time, the element x 2 is input to the model. In this case, the model outputs the posterior probability p(y = 0 | x 2, x 1 ) and p(y=0|x 2, x 1) is output. After that, the posterior probability is output in the same way at each time, and the element x N+1 When input, the model gives the posterior probability p(y = 0 | x N+1,…, x 1 ) and p(y=0|x N+1,…, x 1 ) is output. In this way, since the model used by the likelihood ratio calculation unit 100 assumes an Nth-order Markov model, a maximum of N+1 posterior probabilities are output from the model. The posterior probability output unit 101 is configured to output these N+1 posterior probabilities to the learning unit 200.
[0044] The posterior probability calculation unit 102 is configured to be able to calculate the N+1 and subsequent posterior probabilities output by the above-described posterior probability output unit 101. Specifically, the posterior probability calculation unit 102 calculates a likelihood ratio λ including the dependency relationships of more than N+1 elements x by using the following formula (1):
[0045]
[0046] Then, the posterior probability calculation unit 102 back-calculates the (N+2)th and subsequent posterior probabilities from the calculated likelihood ratio λ. Specifically, the posterior probability calculation unit 102 calculates the (N+2)th and subsequent posterior probabilities π using the following equation (2):
[0047] In addition, π i is a matrix of (batch size × sequence length × number of classes), λ is the likelihood ratio matrix, and χ is the prior probability matrix.
[0048] The learning unit 200 according to this embodiment performs learning using the posterior probability at each time point acquired as described above. Specifically, the cross-entropy loss function calculation unit 210 calculates the cross-entropy CE from the posterior probability π as shown in the following formula (3).
[0049] Here, M is the number of data, and K is the number of classes. ij is the value of the true posterior probability (1 or 0), and π (hat) ij is the estimated posterior probability value.
[0050] (Learning Operation) Next, the learning operation in the second information processing device 10 will be described with reference to Fig. 7. Fig. 7 is a flowchart showing the flow of the learning operation in the second information processing device.
[0051] 7, when the learning operation is started in the second information processing device 10, the acquiring unit 50 first acquires sequence data (step S251). Note that all elements included in the sequence data may be acquired together.
[0052] The acquired sequence data is input to the model of the likelihood ratio calculation unit 100. Then, the posterior probability output unit 101 outputs up to N+1 posterior probabilities, which are the outputs when the elements of the sequence data are input to the model (step S252).
[0053] Next, the likelihood ratio calculation unit 100 calculates likelihood ratios from the (N+2)th element onwards (i.e., likelihood ratios up to the final time T) (step S253). Note that the "final time" here refers to the time at which elements included in the sequence data are sequentially acquired and all elements included in the sequence data are acquired. Then, the posterior probability calculation unit 102 calculates posterior probabilities from the (N+2)th element onwards from the likelihood ratios (step S254).
[0054] Next, the cross-entropy loss function calculation unit 210 calculates the cross-entropy from the posterior probability at each time (step S255). After that, the learning unit 200 performs learning of the likelihood ratio calculation unit 100 using the loss function to which the cross-entropy has been added (i.e., the cross-entropy loss function) (step S256).
[0055] (Technical Effects) Next, technical effects obtained by the second information processing device 10 will be described.
[0056] As described with reference to FIGS. 5 to 7 , the second information processing device 10 uses the posterior probabilities output from the model as they are for the first N+1 posterior probabilities, and uses the posterior probabilities calculated inversely from the likelihood ratios for the N+2 posterior probabilities and beyond. In this manner, the posterior probabilities at all times can be easily calculated. For example, when N is a very large value, attempting to calculate all posterior probabilities may increase the processing load and affect the operation of the device. However, in this embodiment, the posterior probabilities for N+2 and beyond can be calculated inversely from the likelihood ratios, thereby simplifying the process of calculating the posterior probabilities. Therefore, even when learning is performed using the posterior probabilities at all times, it is possible to suppress an increase in the processing load.
[0057] The scope of each embodiment also includes a processing method in which a program that operates the configuration of each embodiment to realize the functions of the above-described embodiments is recorded on a recording medium, the program recorded on the recording medium is read as code, and the program is executed on a computer. In other words, a computer-readable recording medium is also included in the scope of each embodiment. Furthermore, each embodiment includes not only a recording medium on which the above-described program is recorded, but also the program itself.
[0058] Examples of recording media that can be used include floppy disks, hard disks, optical disks, magneto-optical disks, CD-ROMs, magnetic tapes, non-volatile memory cards, and ROMs. Furthermore, the scope of each embodiment is not limited to programs that execute processes by themselves, but also includes programs that execute processes by operating on an OS in conjunction with other software or expansion board functions. Furthermore, the program itself may be stored on a server, and part or all of the program may be downloadable from the server to a user terminal. The program may be provided to the user in, for example, a SaaS (Software as a Service) format.
[0059] <Supplementary Notes> The above-described embodiment may be further described as in the following supplementary notes, but is not limited to the following.
[0060] (Supplementary Note 1) The information processing device described in Supplementary Note 1 is an information processing device including: an acquisition means that sequentially acquires a plurality of elements included in sequence data; a likelihood ratio calculation means that, each time an element is acquired, calculates a likelihood ratio indicating the likelihood of a class to which the sequence data belongs based on two or more adjacent elements; a classification means that classifies the sequence data into one of a plurality of classes based on the likelihood ratio; and a learning means that calculates a posterior probability for each time point at which the element is acquired, and performs learning related to the calculation of the likelihood ratio using a cross-entropy loss function calculated from each of the posterior probabilities for the each time point.
[0061] (Supplementary Note 2) The information processing device described in Supplementary Note 2 is the information processing device described in Supplementary Note 1, wherein the likelihood ratio calculation means calculates the likelihood ratio using the posterior probability of each time output when the element is input to a model, and the learning means uses the posterior probability of each time output from the model when calculating the likelihood ratio as the posterior probability of each time corresponding to elements up to Markov order N+1.
[0062] (Supplementary Note 3) The information processing device described in Supplementary Note 3 is the information processing device described in Supplementary Note 2, wherein the learning means uses, as the posterior probability of each time corresponding to elements of Markov order N+2 and onwards, a posterior probability calculated from the likelihood ratio calculated using the posterior probability of each time.
[0063] (Supplementary Note 4) The information processing device described in Supplementary Note 4 is the information processing device described in Supplementary Note 3, wherein the learning means calculates the posterior probability of each time corresponding to elements from Markov order N+2 to the final time using the posterior probability calculated from the likelihood ratio calculated using the posterior probability of each time.
[0064] (Supplementary Note 5) The information processing device according to Supplementary Note 5 is the information processing device according to any one of Supplementary Notes 1 to 4, wherein the learning means performs learning so as to minimize the cross-entropy loss function.
[0065] (Supplementary Note 6) The information processing method described in Supplementary Note 6 is an information processing method that sequentially acquires multiple elements included in sequence data, calculates a likelihood ratio indicating the likelihood of a class to which the sequence data belongs based on two or more adjacent elements for each acquired element, classifies the sequence data into one of multiple classes based on the likelihood ratio, calculates a posterior probability for each time at which the element is acquired, and performs learning related to the calculation of the likelihood ratio using a cross-entropy loss function calculated from each of the posterior probabilities for each time.
[0066] (Supplementary Note 7) The recording medium described in Supplementary Note 7 is a recording medium having recorded thereon a computer program that causes a computer to execute an information processing method, which includes sequentially acquiring multiple elements included in sequence data, calculating, for each acquired element, a likelihood ratio indicating the likelihood of a class to which the sequence data belongs based on two or more adjacent elements, classifying the sequence data into one of multiple classes based on the likelihood ratio, calculating a posterior probability for each time at which the element is acquired, and performing learning related to the calculation of the likelihood ratio using a cross-entropy loss function calculated from each of the posterior probabilities for the each time.
[0067] (Supplementary Note 8) The computer program described in Supplementary Note 8 causes a computer to execute an information processing method, which sequentially acquires multiple elements included in sequence data, and for each acquired element, calculates a likelihood ratio indicating the likelihood of a class to which the sequence data belongs based on two or more adjacent elements, classifies the sequence data into one of multiple classes based on the likelihood ratio, calculates a posterior probability for each time at which the element is acquired, and performs learning related to the calculation of the likelihood ratio using a cross-entropy loss function calculated from each of the posterior probabilities for the each time.
[0068] This disclosure may be modified as appropriate within the scope that does not contradict the gist or idea of the invention that can be read from the claims and the entire specification, and information processing devices, information processing methods, and recording media that involve such modifications are also included in the technical idea of this disclosure.
[0069] REFERENCE SIGNS LIST 10 Information processing device 11 Processor 50 Acquisition unit 100 Likelihood ratio calculation unit 101 Posterior probability output unit 102 Posterior probability calculation unit 150 Classification unit 200 Learning unit 210 Cross-entropy loss function calculation unit
Claims
1. A means for sequentially acquiring multiple elements contained in sequential data, Each time an element is acquired, a likelihood ratio calculation means calculates a likelihood ratio indicating the likelihood of the class to which the sequence data belongs, based on two or more adjacent elements. A classification means for classifying the series data into one of several classes based on the likelihood ratio, A learning means that calculates the posterior probability at each time step for acquiring the aforementioned elements, and uses a cross-entropy loss function calculated from each of the posterior probabilities at each time step to perform learning related to the calculation of the likelihood ratio, An information processing device equipped with the following features.
2. The likelihood ratio calculation means calculates the likelihood ratio using the posterior probability for each time step that is output when the elements are input into the model. The learning means uses the posterior probabilities for each time step, output from the model when calculating the likelihood ratio, as the posterior probabilities for each time step corresponding to up to N+1 elements of Markov order. The information processing apparatus according to claim 1.
3. The learning means uses the posterior probability calculated from the likelihood ratio calculated using the posterior probability for each time step as the posterior probability for each time step corresponding to the N+2th and subsequent elements of the Markov order. The information processing apparatus according to claim 2.
4. The learning means calculates the posterior probability for each time point corresponding to the elements from the Markov order N+2 to the final time point, using the posterior probability calculated from the likelihood ratio calculated using the posterior probability for each time point. The information processing apparatus according to claim 3.
5. The learning means performs learning such that the cross-entropy loss function is minimized. The information processing apparatus according to any one of claims 1 to 4.
6. Multiple elements included in the series data are acquired sequentially, Each time an element is obtained, a likelihood ratio indicating the likelihood of the class to which the sequence data belongs is calculated based on two or more adjacent elements. Based on the likelihood ratio, the series data is classified into one of several classes. The posterior probability for each time step in acquiring the aforementioned element is calculated, and the learning process for calculating the likelihood ratio is performed using the cross-entropy loss function calculated from each of the posterior probabilities at each time step. Information processing methods.
7. Multiple elements included in the series data are acquired sequentially, Each time an element is obtained, a likelihood ratio indicating the likelihood of the class to which the sequence data belongs is calculated based on two or more adjacent elements. Based on the likelihood ratio, the series data is classified into one of several classes. The posterior probability for each time step in acquiring the aforementioned element is calculated, and the learning process for calculating the likelihood ratio is performed using the cross-entropy loss function calculated from each of the posterior probabilities at each time step. A computer program that instructs a computer to execute information processing methods.