Model generation device, model generation method, and program

The model generation device addresses the challenge of high-dimensional covariate and mark relationships by decomposing the joint intensity function with neural networks, enabling accurate prediction of marked events and covariate time series through latent variable integration and state-space modeling.

JP7559959B2Active Publication Date: 2024-10-02NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023542155
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-08-20
Publication Date
2024-10-02
Estimated Expiration
2041-08-20

AI Technical Summary

Technical Problem

Existing marked point process models struggle with accurately modeling the relationship between high-dimensional covariates and marks, particularly when the relationship is unclear or nonlinear, and face challenges in calculating the likelihood due to integral terms.

Method used

A model generation device using a joint intensity function model decomposed into a scale parameter and a joint probability density function, implemented with neural networks, allows for high-accuracy modeling by replacing mark integrals with latent variable integrals and incorporating state-space models for nonlinear covariate time series.

Benefits of technology

Enables accurate prediction of marked event sequences and covariate time series, even with unknown underlying relationships, by maximizing a lower bound of the likelihood and using neural networks for stable parameter estimation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007559959000008
    Figure 0007559959000008
  • Figure 0007559959000009
    Figure 0007559959000009
  • Figure 0007559959000010
    Figure 0007559959000010
Patent Text Reader

Abstract

The present invention comprises: a model storage unit for storing a simultaneous strength function model which includes an inference model and a generation model; a unit for calculating a latent variable time series of a mark-equipped event series which calculates a latent variable time series of a mark-equipped event series by inputting a mark-equipped event series and a latent variable time series of the covariance corresponding thereto into an inference model; a unit for calculating peripheral distribution parameters of a mark-equipped event series which calculates parameters for the peripheral distribution of a mark-equipped event series by inputting the latent variable time series of a mark-equipped event series into the generation model; and a unit for updating event series model parameters which updates the parameters of the generation model and inference model so as to increase the lower limit to likelihood in the mark-equipped event series by using the parameters of the peripheral distribution of the mark-equipped event series.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a model generation device, a model generation method, and a program for generating a model for analyzing the relationship between a marked event sequence and a covariate. [Background technology]

[0002] Marked event sequences are a statistical modeling approach in which each event has a feature called a mark. In particular, we consider the presence of a covariate time series that influences the occurrence of the marked event sequence.

[0003] The above situation will be explained using an example of a neuronal firing sequence whose firing frequency changes in response to external stimuli. When measuring neuronal firing activity through an experiment, the neuron from which each firing occurred can be determined based on the information on the potential waveform. By regarding the information characterizing each firing as a mark, the firing sequence of multiple neurons can be expressed as a single marked event sequence. In order to know how a group of neurons of interest fires in response to external stimuli, the firing sequence with added features can be considered as a marked event sequence, and the time series of the external stimuli as a covariate, and the occurrence frequency of the marked event sequence can be estimated as a function of the covariate. Other examples are listed below.

[0004] <Earthquake> The time of occurrence of an earthquake can be considered as the time of occurrence of an event, and the magnitude and location of the earthquake can be considered as the mark of the event. Other information that affects the occurrence of an earthquake corresponds to covariates, such as geology and strata.

[0005] <Purchase Data> The date when the product was purchased can be considered the time of the event, and the information about the purchased product can be considered the mark of the event. Other information that affects the popularity of the product corresponds to covariates, such as the number of views of the listing page and the number of links posted.

[0006] <Trading of Financial Instruments> The time when a transaction is concluded can be regarded as the occurrence time of an event, and the name and price of the financial instrument traded can be regarded as the mark of the event. Other information that affects the trading of the financial instrument under consideration corresponds to the covariate. For example, the trading volume of other financial instruments and the business sentiment index.

[0007] <Posts on SNS> The posting time on SNS can be regarded as the occurrence time of an event, and the content and link relationship can be regarded as the mark of the event. Other information that affects the posting on SNS corresponds to the covariate. For example, the search count of specific words and articles on news sites.

[0008] Next, the related technical fields are listed below.

[0009] (a) Marked Point Process Model. A statistical model used to represent the distribution of an event sequence where each event has features. The distribution of the marked point process is determined by the conditional intensity function, which is a function of the expected value of the number of event occurrences. In statistical modeling, a model corresponding to this conditional intensity function is prepared in advance, and estimation is performed by maximizing an appropriate objective function.

[0010] (b) Variational Autoencoder (VAE). A generative model using neural networks. It is often used for generating data distributed on high-dimensional manifolds such as images and videos. Assume that there is a latent variable following a certain prior distribution, and the data is generated by converting this latent variable through a conditional distribution including a neural network. This conditional distribution is called the decoder.

[0011] (c) Variational inference. When the likelihood under a model cannot be explicitly written down, a family of distributions called variational posterior distributions is used to derive a lower bound on the likelihood, and parameters are estimated by maximizing this lower bound. In the case of VAE, a distribution that includes a neural network called an encoder is used. Lower bounds based on divergences other than the Kullback-Leibler divergence and methods that minimize an upper bound on the likelihood instead of maximizing a lower bound have also been proposed.

[0012] (d) State space model. This is a probabilistic model that is mainly applied to time series. It assumes that the values ​​at each time of the time series are generated independently from the underlying latent variables, and expresses the relationship between the latent variables by a joint distribution. It learns the posterior distribution of the underlying latent variables and the model parameters from the observed time series. In recent research, a black-box state space model has been proposed in which part of the state space model is replaced with a neural network so that it can be applied to time series that evolve nonlinearly.

[0013] Non-Patent Document 1 is a document particularly related to the present invention. Non-Patent Document 1 discloses a method in which a firing sequence of multiple neurons is regarded as a marked event sequence, and an external stimulus that may affect the firing activity is regarded as a covariate, a joint intensity function (described later) is estimated by kernel density estimation, and the estimated joint intensity function is further utilized to restore the external stimulus from the firing sequence. [Prior art documents] [Non-patent literature]

[0014] [Non-Patent Document 1] F Kloosterman, SP Layton, Z Chen, and MA Wilson, “Bayesian decoding using unsorted spikes in the rat hippocampus,” Journal of Neurophysiology, vol. 111, no. 1, pp. 217 - 227, 2014. Summary of the Invention [Problem to be solved by the invention]

[0015] In order to explain the problem that the present invention aims to solve, the definition of a marked point process and its likelihood will be explained. A marked point process is a stochastic process that generates the above-mentioned marked event sequence. Since the distribution of a marked point process is determined by a conditional intensity function, to know the distribution, it is sufficient to estimate the conditional intensity function instead. The conditional intensity function is a function that corresponds to the expected value of the number of events per unit time given the past history, and

number

number

[0016] Now, the marked event sequence {(t i ,k i )} n i=1 Suppose that x is observed on (0,T]×K. Then, we can generate a sequence of marked events according to the joint intensity function λ(x,k) by the following procedure. First, we divide the total number of events n by the average

number

number

number

[0017] <Issue 1> Existing marked point process models are broadly divided into two types: simple parametric models and models using neural networks. The former models are difficult to apply when the relationship between covariates and marks is unclear or when they are high-dimensional. The latter models are formulated for predicting events and are not suitable for predicting covariates. In addition, a simple distribution is used for the distribution of marks, and complex distributions cannot be expressed.

[0018] <Problem 2> The likelihood of a marked point process includes an integral term with respect to the mark. Therefore, if the joint intensity function is expressed by a neural network, the likelihood calculation itself becomes difficult.

[0019] <Issue 3> State space models including neural networks are useful for modeling the generation process of covariates that evolve nonlinearly over time. However, when using such models, the true joint intensity function in the space of latent variables is determined data-driven by the neural network, making it difficult to prepare an appropriate model for the joint intensity function in advance.

[0020] In view of the above-mentioned problems, an object of the present invention is to provide a model generation device capable of generating a model that expresses the relationship between a marked event sequence and a covariate with high accuracy. [Means for solving the problem]

[0021] The model generating device of the present invention includes a model storage unit, a marked event sequence latent variable time series calculation unit, a marked event sequence marginal distribution parameter calculation unit, and an event sequence model parameter update unit.

[0022] The model memory unit stores a simultaneous intensity function model including an inference model and a generation model, in which a simultaneous intensity function of a marked event series is expressed as a product of a scale parameter and a simultaneous probability density function, and the simultaneous intensity function model is expressed using a decoder including a neural network.

[0023] The marked event sequence latent variable time series calculation unit inputs a marked event sequence and a time series of latent variables of the corresponding covariates to an inference model, and calculates a time series of latent variables of the marked event sequence.

[0024] The marked event sequence marginal distribution parameter calculation unit inputs a time series of latent variables of the marked event sequence to the generative model, and calculates parameters of the marginal distribution of the marked event sequence.

[0025] The event sequence model parameter update unit updates parameters of the generative model and the inference model using parameters of the marginal distribution of the marked event sequence so as to increase a lower limit of the likelihood of the marked event sequence. Effect of the Invention

[0026] The model generating device of the present invention can generate a model that expresses the relationship between a marked event sequence and a covariate with high accuracy. [Brief description of the drawings]

[0027] [Figure 1] FIG. 1 is a block diagram showing a functional configuration of a marked event sequence analyzer according to a first embodiment. [Diagram 2] 4 is a flowchart showing the operation of the marked event sequence analyzer according to the first embodiment. [Diagram 3] FIG. 2 is a block diagram showing a functional configuration of a parameter estimation unit according to the first embodiment. [Figure 4] 4 is a flowchart showing the operation of a parameter estimation unit according to the first embodiment. [Diagram 5] FIG. 2 is a block diagram showing a functional configuration of a marked event sequence prediction unit according to the first embodiment. [Figure 6] 4 is a flowchart showing the operation of a marked event sequence prediction unit according to the first embodiment. [Figure 7] FIG. 2 is a block diagram showing the functional configuration of a covariate time series prediction unit according to the first embodiment. [Figure 8] 4 is a flowchart showing the operation of a covariate time series prediction unit in the first embodiment. [Figure 9] FIG. 2 is a diagram showing an example of the functional configuration of a computer. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0028] Hereinafter, an embodiment of the present invention will be described in detail. Note that components having the same functions are given the same reference numbers and duplicated explanations will be omitted.

[0029] In the following examples, we will only deal with the case where the conditional intensity function can be expressed as a function of the covariates and the marks. This function is called the joint intensity function, and is used to predict a marked event sequence given a covariate, or to predict a covariate given a marked event sequence. EXAMPLES

[0030] The marked event sequence analyzer of this embodiment uses a joint intensity function model using VAE. The joint intensity function model decomposes the joint intensity function of a marked event sequence into a product of a scale parameter and a joint probability density function as shown below, and outputs the decomposed joint probability density function to a decoder p θ This is expressed using (x,k|z).

number

[0031] The marked event sequence analyzer of this embodiment uses two encoders q φ (z|x,k),q φ Using (z|x), we derive a lower bound on the likelihood as follows, and estimate the parameters by maximizing that lower bound.

number

[0032] The marked event sequence analysis device of this embodiment estimates a joint intensity function under covariates that evolve nonlinearly over time by combining the above-mentioned model with a state space model for covariate time series. By using a state space model including a neural network, it is possible to estimate a joint intensity function in a data-driven manner for any covariate time series, and it is also possible to predict a covariate time series from a marked event sequence (Problem 3).

[0033] Hereinafter, with reference to FIG. 1, a functional configuration of a marked event sequence analyzer according to a first embodiment using a joint intensity function model using VAE will be described.

[0034] As shown in the figure, the marked event sequence analysis apparatus 1 of this embodiment includes a model storage unit 10, a parameter estimation unit 11, a marked event sequence prediction unit 12, and a covariate time series prediction unit 13. Since the model parameters can be updated by the model storage unit 10 and the parameter estimation unit 11, the marked event sequence prediction unit (device) 12 and the covariate time series prediction unit (device) 13 may be connected as separate devices to the model generation apparatus 5 including only these functional components (10, 11).

[0035] The model used by the marked event sequence analyzer 1 of this embodiment is divided into two: a joint intensity function model for marked event sequences and a state space model for covariate time series.

[0036] The joint intensity function model for marked event series includes two inference models (first and second inference models) and a generative model. The state space model for covariate time series includes an estimation model and a generative model.

[0037] The generative model describes the generation process of the marked event sequence and the covariate time series. The inference model is introduced as an auxiliary to estimate the parameters of the generative model and approximates the posterior distribution of the latent variables given the observed data.

[0038] [Model storage unit 10] The model storage unit 10 pre-stores a joint intensity function model for marked event sequences and a state space model for covariate time series.

[0039] [Parameter Estimation Part 11] The parameter estimation unit 11 derives a lower limit of the likelihood based on a model stored in advance in the model storage unit 10, and estimates parameters by maximizing the lower limit (S11, FIG. 2).

[0040] The parameter estimation unit 11 estimates the parameters of the above model under the condition that the marked event sequence and the covariate time series are given. First, the inference model is used to calculate the lower bound of the likelihood of the generative model. The parameters of the generative model and the inference model are estimated by maximizing this lower bound of the likelihood by the stochastic gradient method.

[0041] 3, the parameter estimation unit 11 includes a covariate latent variable time series calculation unit 111, a covariate marginal distribution parameter calculation unit 112, a covariate model parameter update unit 113, a marked event sequence latent variable time series calculation unit 114, a marked event sequence marginal distribution parameter calculation unit 115, and an event sequence model parameter update unit 116. Hereinafter, the detailed operation of each functional configuration will be described with reference to FIG. 4.

[0042] <Covariate Latent Variable Time Series Calculation Unit 111> The covariate latent variable time series calculation unit 111 inputs the covariate time series to an inference model of the covariate time series, and calculates the time series of the latent variable of the covariate (S111).

[0043] <Covariate marginal distribution parameter calculation unit 112> The covariate marginal distribution parameter calculation unit 112 inputs the time series of the latent variables of the covariates calculated in S111 into a generation model of the covariate time series, and calculates parameters of the marginal distribution of the covariates (S112).

[0044] <Covariate model parameter update unit 113> The covariate model parameter update unit 113 calculates a lower limit of the likelihood of the covariate time series using the parameters of the marginal distribution of the covariates calculated in S112, and updates the parameters of the generative model and the inference model of the covariate time series so as to increase the lower limit of the likelihood (S113).

[0045] <Marked event sequence latent variable time series calculation unit 114> The marked event series latent variable time series calculation unit 114 inputs the time series of the latent variables of the covariates calculated in the corresponding step S111 and the corresponding marked event series into two inference models (first and second inference models) for the marked event series, and calculates the time series of the latent variables of the marked event series (S114).

[0046] <Marked event sequence marginal distribution parameter calculation unit 115> The marked event sequence marginal distribution parameter calculation unit 115 inputs the time series of the latent variables of the marked event sequence calculated in step S114 into a generative model for the marked event sequence, and calculates parameters of the marginal distribution of the marked event sequence (S115).

[0047] <Event sequence model parameter update unit 116> The event sequence model parameter update unit 116 calculates a lower limit of the likelihood of the marked event sequence using the parameters of the marginal distribution of the marked event sequence calculated in step S115, and updates the parameters of the generative model and the inference model for the marked event sequence so as to increase the lower limit of the likelihood (S116).

[0048] The parameter estimation unit 11 repeats the processes of steps S111 to S116 until convergence is achieved. The parameter estimation unit 11 outputs the converged parameters.

[0049] [Marked event sequence prediction part 12] The marked event sequence prediction unit 12 uses the parameters estimated by the parameter estimation unit 11 to calculate a predictive distribution of the marked event sequence given the covariate time series (S12).

[0050] 5, the marked event sequence prediction unit 12 includes a covariate latent variable time series calculation unit 121 and a marked event sequence prediction distribution calculation unit 122. Hereinafter, the detailed operation of each functional configuration will be described with reference to FIG.

[0051] <Covariate Latent Variable Time Series Calculation Unit 121> The covariate latent variable time series calculation unit 121 inputs the covariate time series to an inference model for the covariate time series, and calculates the time series of the latent variable of the covariate (S121).

[0052] <Marked event sequence predictive distribution calculation unit 122> The marked event sequence predictive distribution calculation unit 122 calculates and outputs the predictive distribution of the marked event sequence from the time series of the latent variables of the covariates calculated in S121 and the generative model and inference model for the marked event sequence (S122).

[0053] [Covariate time series prediction part 13] The covariate time series prediction unit 13 uses the parameters estimated by the parameter estimation unit 11 to calculate the predictive distribution of the covariate time series given the marked event series (S13).

[0054] 7, the covariate time series prediction unit 13 includes a prediction distribution initialization unit 131, a prediction distribution update unit 132, and a prediction distribution output unit 133. Hereinafter, the detailed operation of each functional configuration will be described with reference to FIG.

[0055] <Prediction distribution initialization unit 131> The predictive distribution initialization unit 131 initializes the predictive distribution for the time series of the latent variables of the covariates (S131).

[0056] <Prediction distribution update unit 132> The predictive distribution update unit 132 updates the predictive distribution using the generative model and inference model for the marked event series and the generative model for the covariate time series (S132). The predictive distribution update unit 132 repeats the process of step S132 until convergence (convergence?: Y→S133, N→S132).

[0057] <Prediction distribution output unit 133> The predictive distribution output unit 133 inputs the predictive distribution that converged in step S132 into a generative model for the covariate time series, calculates parameters of the marginal distribution of the covariate time series, and outputs a distribution corresponding to the obtained parameters as the predictive distribution of the covariate time series (S133).

[0058] <Additional Notes> The device of the present invention has, as a single hardware entity, an input section to which a keyboard or the like can be connected, an output section to which a liquid crystal display or the like can be connected, a communication section to which a communication device (e.g., a communication cable) capable of communicating with the outside of the hardware entity can be connected, a CPU (which may also have a central processing unit, cache memory, registers, etc.), memories such as RAM and ROM, an external storage device such as a hard disk, and buses connecting the input section, output section, communication section, CPU, RAM, ROM, and external storage device so that data can be exchanged between them. If necessary, the hardware entity may also be provided with a device (drive) capable of reading and writing a recording medium such as a CD-ROM. A physical entity equipped with such hardware resources is, for example, a general-purpose computer.

[0059] The external storage device of the hardware entity stores the programs required to realize the above-mentioned functions and the data required in the processing of these programs (not limited to the external storage device, but for example the programs may be stored in a ROM, which is a read-only storage device). Data obtained by the processing of these programs is stored appropriately in the RAM, the external storage device, etc.

[0060] In the hardware entity, each program stored in an external storage device (or ROM, etc.) and the data required to process each program are loaded into memory as necessary, and interpreted, executed, and processed by the CPU as appropriate, so that the CPU realizes a predetermined function (each of the components represented as the above, "units," "means," etc.).

[0061] The present invention is not limited to the above-described embodiment, and can be modified as appropriate without departing from the spirit of the present invention. In addition, the processes described in the above-described embodiment are not limited to being executed in chronological order according to the order described, but may be executed in parallel or individually depending on the processing capacity of the device that executes the processes or as necessary.

[0062] As described above, when the processing functions of the hardware entities (the devices of the present invention) described in the above embodiments are realized by a computer, the processing contents of the functions that the hardware entities should have are described by a program. Then, by executing this program on a computer, the processing functions of the hardware entities are realized on the computer.

[0063] The various processes described above can be implemented by loading a program for executing each step of the above method into the recording unit 10020 of the computer 10000 shown in FIG. 9, and operating the control unit 10010, input unit 10030, output unit 10040, etc.

[0064] The program describing the processing contents can be recorded on a computer-readable recording medium. The computer-readable recording medium may be, for example, a magnetic recording device, an optical disk, a magneto-optical recording medium, a semiconductor memory, or any other suitable medium. Specifically, for example, a hard disk drive, a flexible disk, a magnetic tape, or the like can be used as the magnetic recording device, a DVD (Digital Versatile Disc), a DVD-RAM (Random Access Memory), a CD-ROM (Compact Disc Read Only Memory), a CD-R (Recordable) / RW (ReWritable), or the like can be used as the optical disk, an MO (Magneto-Optical disc), or the like can be used as the magneto-optical recording medium, and an EEP-ROM (Electrically Erasable and Programmable-Read Only Memory) or the like can be used as the semiconductor memory.

[0065] The program may be distributed, for example, by selling, transferring, lending, etc. portable recording media such as DVDs and CD-ROMs on which the program is recorded. Furthermore, the program may be distributed by storing the program in a storage device of a server computer and transferring the program from the server computer to other computers via a network.

[0066] A computer that executes such a program, for example, first stores the program recorded on a portable recording medium or the program transferred from a server computer in its own storage device. Then, when executing a process, the computer reads the program stored in its own recording medium and executes a process according to the read program. As another execution form of the program, the computer may directly read the program from the portable recording medium and execute a process according to the program, or may execute a process according to the received program each time a program is transferred from the server computer to the computer. The above-mentioned process may be executed by a so-called ASP (Application Service Provider) type service that realizes a processing function only by issuing an execution instruction and obtaining a result, without transferring a program from the server computer to the computer. Note that the program in this embodiment includes information used for processing by an electronic computer and equivalent to a program (data that is not a direct command to the computer but has a nature that specifies the processing of the computer, etc.).

[0067] In addition, in this embodiment, a hardware entity is configured by executing a specific program on a computer, but at least a part of the processing contents may be realized by hardware.

Claims

1. a model storage unit that stores a joint intensity function model including an inference model and a generation model, the joint intensity function of a marked event sequence being expressed as a product of a scale parameter and a joint probability density function, the joint intensity function model being expressed using a decoder including a neural network; a marked event sequence latent variable time series calculation unit that inputs the marked event sequence and a time series of latent variables of the corresponding covariates into the inference model and calculates a time series of latent variables of the marked event sequence; a marked event sequence marginal distribution parameter calculation unit that inputs a time series of latent variables of the marked event sequence into the generative model and calculates parameters of the marginal distribution of the marked event sequence; and an event sequence model parameter update unit that updates parameters of the generative model and the inference model by using parameters of a marginal distribution of the marked event sequence so as to increase a lower limit of the likelihood of the marked event sequence. Model generation device.

2. 2. The model generating device according to claim 1, The model storage unit includes: A state space model including an inference model and a generation model in addition to the joint intensity function model, the state space model for the covariate time series being stored; a covariate latent variable time series calculation unit that inputs the covariate time series into a covariate time series inference model and calculates a time series of a latent variable of the covariate; a covariate marginal distribution parameter calculation unit that inputs a time series of the latent variables of the covariates into a generation model of the covariate time series and calculates parameters of the marginal distribution of the covariates; and a covariate model parameter update unit that updates parameters of a generation model and an inference model of the covariate time series by using parameters of the marginal distribution of the covariate so as to increase a lower limit of the likelihood of the covariate time series. Model generation device.

3. a joint intensity function model including an inference model and a generation model, the joint intensity function of a marked event sequence being expressed as a product of a scale parameter and a joint probability density function, the joint probability density function being expressed using a decoder including a neural network; a marked event sequence latent variable time series calculation step of inputting the marked event sequence and a time series of latent variables of the corresponding covariates into the inference model and calculating a time series of latent variables of the marked event sequence; a marked event sequence marginal distribution parameter calculation step of inputting a time series of latent variables of the marked event sequence into the generative model and calculating parameters of the marginal distribution of the marked event sequence; an event sequence model parameter updating step of updating parameters of the generative model and the inference model using parameters of a marginal distribution of the marked event sequence so as to increase a lower bound of the likelihood of the marked event sequence; A model generation method executed by a model generation device.

4. A program for causing a computer to function as the model generating device according to claim 1 or 2.

Citation Information

Patent Citations

  • Variable optimization device, noise elimination device, variable optimization method, noise elimination method, and program

    JP2020123008A

  • Abnormality detection system, abnormality detection method, abnormality detection program, and method for generating learned model

    WO2017094267A1