Learning method, prediction method, learning device, prediction device, and program

The learning method addresses the limitation of direct relationship assumptions in multi-task Hawkes processes by using a neural network to model latent state changes, enabling accurate prediction of event sequences across multiple domains.

JP7535266B2Active Publication Date: 2024-08-16NIPPON TELEGRAPH & TELEPHONE CORP +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2021067324
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-04-12
Publication Date
2024-08-16
Estimated Expiration
2041-04-12

AI Technical Summary

Technical Problem

Existing models like the multi-task Hawkes process assume direct relationships between domains, failing to account for indirect relationships via common latent factors, limiting their ability to describe complex event sequences across multiple domains.

Method used

A learning method that incorporates a composite function representing the time change of latent states common to multiple domains, using a neural network to model the intensity function and consider indirect relationships via these latent factors.

Benefits of technology

Enables accurate prediction of event sequences in multiple domains by accounting for indirect relationships through common latent factors, enhancing predictive accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007535266000012
    Figure 0007535266000012
  • Figure 0007535266000008
    Figure 0007535266000008
  • Figure 0007535266000009
    Figure 0007535266000009
Patent Text Reader

Abstract

To provide a learning method that predicts an event sequence in a plurality of domains while considering an indirect relationship through a common latent factor.SOLUTION: A learning method according to one embodiment causes a computer to execute an acquisition step for acquiring event history information representing a history of events in a plurality of domains, and a learning step for learning, using the event history information acquired in the acquisition procedure, a parameter of an intensity function represented by a first composite function, which is obtained by combining an integral of a black-box function representing a temporal change in a latent state common among the plurality of domains and a trigger function, the black box function, and a background rate.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a learning method, a prediction method, a learning device, a prediction device, and a program. [Background technology]

[0002] A probabilistic model called a point process is widely used to model event sequences. A point process is a model for describing the number of events that occur in a small interval, and describes the probability of an event occurring at any time using an "intensity function."

[0003] Event sequences, particularly those involving crimes, financial transactions, and the occurrence of demonstrations and strikes, are known to have "propagation." Propagation is the property of a chain reaction in which one event causes another event, which then causes yet another. For example, a phenomenon in which a demonstration occurs in one area and another demonstration occurs in response, and the demonstration then spreads to yet another area, is represented as an event sequence with propagation. Hawkes processes are widely used to model such event sequences with propagation. Hawkes processes are a type of point process, and by modeling the mechanism of propagation with a function called a kernel function, it is possible to describe event sequences with propagation.

[0004] Here, Hawkes processes are usually focused on application to a single domain and cannot be directly applied to modeling of event sequences in multiple domains. In response to this, a model called the "multitask Hawkes process" has been proposed that enables modeling of event sequences in multiple domains (Non-Patent Document 1). [Prior art documents] [Non-patent literature]

[0005] [Non-Patent Document 1] Luo, Dixin, et al. Multi-task multi-dimensional hawkes processes for modeling event sequences. (2015). Summary of the Invention [Problem to be solved by the invention]

[0006] However, the model proposed in the above non-patent document 1 makes a strong assumption that when an event occurs in one domain, the probability of an event occurring in another domain increases accordingly. Therefore, it is not possible to describe an indirect relationship between multiple domains via a common latent factor. On the other hand, in reality, it is believed that the probability of an event occurring in each domain is indirectly related via a common latent factor. For example, two events in different domains, crime and financial transactions, are believed to be related via a common latent factor, which is economic change.

[0007] An embodiment of the present invention has been made in consideration of the above points, and aims to predict event sequences in multiple domains, taking into account indirect relationships via common latent factors. [Means for solving the problem]

[0008] In order to achieve the above object, a learning method according to one embodiment includes a computer-implemented procedure for acquiring event history information representing a history of events in multiple domains, and a learning procedure for using the event history information acquired in the acquisition procedure to learn parameters of a first composite function of an integral of a black-box function representing a time change of a latent state common to the multiple domains and a trigger function, and an intensity function represented by the black-box function and a background rate. Effect of the Invention

[0009] Event sequences in multiple domains can be predicted by taking into account indirect relationships via common latent factors. [Brief description of the drawings]

[0010] [Figure 1] FIG. 11 is a diagram illustrating an example of event history information. [Diagram 2] 1 is a diagram illustrating an example of an overall configuration of an event prediction device according to an embodiment of the present invention. [Diagram 3] 10 is a flowchart illustrating an example of a parameter learning process according to the present embodiment. [Figure 4] 11 is a flowchart illustrating an example of a prediction process according to the embodiment. [Diagram 5] FIG. 2 is a diagram illustrating an example of a hardware configuration of the event prediction device according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] An embodiment of the present invention will be described below. In this embodiment, an event prediction device 10 is described that constructs a point process model that also takes into account indirect relationships between multiple domains via a common latent factor, and predicts the occurrence of an event between multiple domains using this point process model.

[0012] Here, the point process model is generally described by a function called an "intensity function" (or "strength function"), which represents the probability of an event occurring. In this embodiment, a function that represents the change in the latent state is introduced and used to describe the intensity function of the Hawkes process, making it possible to take into account indirect relationships via common latent factors between multiple domains. This makes it possible to accurately model event sequences in multiple domains, and to predict the occurrence of future events with high accuracy.

[0013] <Theoretical structure> First, the theoretical configuration of this embodiment will be described. NAssume that event history information is given that represents the history of events up to the present time. Event history information is data represented in a time series, and is, for example, data representing the history of crime occurrences, the history of financial transactions, the history of demonstrations and strikes, etc. Hereinafter, the event history information to be analyzed by the event prediction device 10 will be referred to as

[0014]

number

[0015] A specific example of event history information is shown in FIG. 1. The example shown in FIG. 1 is event history information consisting of an event sequence of the domain "crime", an event sequence of the domain "financial transaction", and an event sequence of the domain "strike". That is, the event history information {(t i ,m i )} for each i=1,...,N at time t i Domain m i ∈{crime, financial transaction, strike} event has occurred.

[0016] At this time, in this embodiment, given event history information is used to learn the parameters of the point process model.

[0017] Following the general procedure for point process models, we first design the intensity function, which represents the probability of an event occurring (or being generated) per unit time.

[0018] In this embodiment, the intensity function λ of the domain m is m (·) is expressed by the following equation (1).

[0019]

number

[0020]

number

[0021]

number

[0022] Event sequence up to time T

[0023]

number

[0024]

number

[0025]

number

[0026] During learning, the parameters of the neural network function f(·) that minimizes the likelihood L shown in the above formula (3) are estimated. Any known optimization method may be used to optimize the parameters. The likelihood L shown in the above formula (3) is differentiable with respect to all parameters, so it can be optimized using, for example, a gradient method. The derivative of the likelihood L can be calculated using, for example, the backpropagation method.

[0027] <Overall composition> Next, the overall configuration of the event prediction device 10 according to the present embodiment will be described with reference to Fig. 2. Fig. 2 is a diagram showing an example of the overall configuration of the event prediction device 10 according to the present embodiment.

[0028] As shown in FIG. 2, the event prediction device 10 according to this embodiment includes an acquisition unit 101, a parameter learning unit 102, a designation receiving unit 103, a prediction unit 104, an output unit 105, and a parameter storage unit .

[0029] The acquisition unit 101 acquires event history information from the event history information storage device 20 connected to the event prediction device 10 via a communication network.

[0030] Here, the event history information storage device 20 is, for example, a Web server or a database server that stores the event history information. Note that the operation (registration, deletion, modification, etc.) of the event history information stored in the event history information storage device 20 can be performed using, for example, a terminal (this terminal may be the event prediction device 10 or the event history information storage device 20 itself) connected to the event history information storage device 20 via a communication network.

[0031] The parameter learning unit 102 uses the event history information acquired by the acquisition unit 101 to calculate the intensity function λ m The parameters of (t) (i.e., this intensity function λ m The parameter learning unit 102 learns the parameters of the neural network function f(t) incorporated in the neural network function f(t). At this time, the parameter learning unit 102 learns the parameters by minimizing the likelihood L shown in the above formula (3) using any known optimization method (e.g., gradient method, etc.). The parameters learned by the parameter learning unit 102 (learned parameters) are stored in the parameter storage unit 106.

[0032] The designation receiving unit 103 receives the intensity function λ mWhen predicting the occurrence of an event in domain m using (t), a designation of the time to be predicted is accepted. Note that, for example, depending on the type of event, designation of information other than time may be accepted (for example, when predicting the occurrence of a crime, designation of information indicating the area to be predicted may be accepted).

[0033] The prediction unit 104 predicts the intensity function λ m (t) to predict the occurrence of an event at the time accepted by the specification acceptance unit 103. At this time, the prediction unit 104 predicts the occurrence probability of the event up to the time to be predicted using the intensity function λ m (t) and perform a point process simulation to predict the occurrence of an event. There are various methods for performing point process simulation, but a method called thinning can be used, for example. For more information on thinning, see, for example, "OGATA, Yoshihiko. On Lewis' simulation method for point processes. IEEE Transactions on Information Theory, 1981, 27.1: 23-31."

[0034] The output unit 105 outputs the prediction result by the prediction unit 104. The output unit 105 may output the output result to any output destination. For example, the output unit 105 may display the prediction result on a display or the like, may store the prediction result in a storage area of ​​an auxiliary storage device or the like, may print the prediction result from a printer or the like, may output the prediction result as sound from a speaker or the like, or may transmit the prediction result to an external device via a communication network.

[0035] 2 is merely an example, and other configurations may be used. For example, the event prediction device 10 may hold the event history information instead of acquiring the event history information from the event history information storage device 20. Also, for example, the event prediction device 10 may be composed of a device (learning device) that executes a parameter learning process (to be described later) and a device (prediction device) that executes a prediction process (to be described later).

[0036] <Parameter learning process> Next, the intensity function λ shown in the above equation (1) m The flow of the process of learning the parameters of (t) (that is, the parameters of the neural network function f(t)) will be described with reference to Fig. 3. Fig. 3 is a flowchart showing an example of the parameter learning process according to this embodiment.

[0037] First, the acquisition unit 101 acquires event history information from the event history information storage device 20 (step S101). At this time, the user of the event prediction device 10 may specify a range (e.g., a time range, a location range, etc.) to be acquired as the event history information.

[0038] Next, the parameter learning unit 102 uses the event history information acquired in step S101 to calculate the intensity function λ m The parameter learning unit 102 learns the parameters of (t) (step S102). At this time, the parameter learning unit 102 minimizes the likelihood L shown in the above formula (3) by any known optimization method, thereby obtaining the intensity function λ shown in the above formula (1). m Learn the parameters of (t).

[0039] Then, the parameter learning unit 102 stores the parameters learned in step S102 (learned parameters) in the parameter storage unit 106 (step S103). This makes it possible to take into account indirect relationships between multiple domains via a common latent factor, and the intensity function λm (t) makes it possible to predict the occurrence of events in domain m with high accuracy.

[0040] <Prediction processing> Next, the intensity function λ with the trained parameters is m The flow of a process for predicting the occurrence of an event in domain m using (t) will be described with reference to Fig. 4. Fig. 4 is a flowchart showing an example of a prediction process according to this embodiment.

[0041] First, the designation receiving unit 103 receives a designation of a time to be predicted (step S201). The time to be predicted can be designated by a user on a UI (user interface) displayed on the display of the event prediction device 10, for example. At this time, when only a specific domain m is to be predicted, the designation of the domain m may be received.

[0042] Next, the prediction unit 104 calculates the intensity function λ , to which the learned parameters stored in the parameter storage unit 106 are set. m Using (t), the occurrence of an event at the time accepted in step S201 above is predicted (step S202).

[0043] Then, the output unit 105 outputs the prediction result in the above step S202 to a predetermined output destination (step S203).

[0044] <Hardware configuration> Finally, the hardware configuration of the event prediction device 10 according to the present embodiment will be described with reference to Fig. 5. Fig. 5 is a diagram showing an example of the hardware configuration of the event prediction device 10 according to the present embodiment.

[0045] 5, the event prediction device 10 according to the present embodiment is realized by a general computer or computer system, and includes an input device 301, a display device 302, an external I / F 303, a communication I / F 304, a processor 305, and a memory device 306. Each of these pieces of hardware is connected to each other via a bus 307 so as to be able to communicate with each other.

[0046] The input device 301 is, for example, a keyboard, a mouse, a touch panel, etc. The display device 302 is, for example, a display, etc. Note that the event prediction device 10 does not necessarily have to include at least one of the input device 301 and the display device 302.

[0047] The external I / F 303 is an interface with an external device. The external device includes a recording medium 303a. The event prediction device 10 can read and write data from and to the recording medium 303a via the external I / F 303. The recording medium 303a may store, for example, one or more programs that realize each functional unit (such as the acquisition unit 101, the parameter learning unit 102, the designation receiving unit 103, the prediction unit 104, and the output unit 105) of the event prediction device 10.

[0048] The recording medium 303a may be, for example, a CD (Compact Disc), a DVD (Digital Versatile Disk), an SD memory card (Secure Digital memory card), or a USB (Universal Serial Bus) memory card.

[0049] The communication I / F 304 is an interface for connecting the event prediction device 10 to a communication network. The event prediction device 10 can acquire event history information from the event history information storage device 20 via the communication I / F 304. Note that one or more programs for realizing each functional unit of the event prediction device 10 may be acquired (downloaded) from a predetermined server device or the like via the communication I / F 304.

[0050] The processor 305 is, for example, various types of arithmetic devices such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit). Each functional unit of the event prediction device 10 is realized by a process that the processor 305 executes according to one or more programs stored in the memory device 306 or the like.

[0051] The memory device 306 is, for example, various storage devices such as a hard disk drive (HDD), a solid state drive (SSD), a random access memory (RAM), a read only memory (ROM), a flash memory, etc. The parameter storage unit 106 of the event prediction device 10 can be realized using the memory device 306.

[0052] The event prediction device 10 according to the present embodiment can realize the above-mentioned parameter learning process and prediction process by having the hardware configuration shown in Fig. 5. Note that the hardware configuration shown in Fig. 5 is an example, and the event prediction device 10 may have other hardware configurations. For example, the event prediction device 10 may have a plurality of processors 305, or a plurality of memory devices 306.

[0053] The present invention is not limited to the above-described embodiments specifically disclosed, and various modifications, changes, combinations with known technologies, etc. are possible without departing from the scope of the claims. [Explanation of symbols]

[0054] 10 Event Prediction Device 20. Event history information storage device 101 Acquisition Department 102 Parameter Learning Unit 103 Designated Reception Department 104 Prediction Department 105 Output section 106 Parameter storage section 301 Input Device 302 Display device 303 External I / F 303a Recording media 304 Communication I / F 305 Processor 306 Memory Device 307 Bus

Claims

1. an acquisition step of acquiring event history information representing a history of events in a plurality of domains; a learning step of learning a first composite function of an integral of a black-box function expressing a time change of a latent state common to the plurality of domains and a trigger function, and parameters of an intensity function expressed by the black-box function and a background rate, using the event history information acquired in the acquisition step; The computer executes the learning method.

2. The method of claim 1 , wherein the trigger function and the background rate are different for each of the domains.

3. The method according to claim 1 or 2, wherein the integral of the black-box function is a neural network function.

4. The learning procedure includes:

4. The learning method according to claim 1, further comprising: minimizing a likelihood consisting of the integral of the product of the second composite function and the black-box function and the background rate by analytically solving the integral of the product of the second composite function and the black-box function by variable transformation, thereby learning parameters of the intensity function.

5. an acquisition step of acquiring event history information representing a history of events in a plurality of domains; a learning step of learning a first composite function of an integral of a black-box function expressing a time change of a latent state common to the plurality of domains and a trigger function, and parameters of an intensity function expressed by the black-box function and a background rate, using the event history information acquired in the acquisition step; a prediction step of predicting future occurrences of events in the plurality of domains using an intensity function with parameters learned in the learning step; A prediction method implemented by a computer.

6. an acquisition unit that acquires event history information representing a history of events in a plurality of domains; a learning unit that uses the event history information acquired by the acquisition unit to learn a first composite function of an integral of a black-box function that represents a time change of a latent state common to the plurality of domains and a trigger function, and parameters of an intensity function that is represented by the black-box function and a background rate; A learning device having the above configuration.

7. an acquisition unit that acquires event history information representing a history of events in a plurality of domains; a learning unit that uses the event history information acquired by the acquisition unit to learn a first composite function of an integral of a black-box function that represents a time change of a latent state common to the plurality of domains and a trigger function, and parameters of an intensity function that is represented by the black-box function and a background rate; a prediction unit that predicts future occurrences of events in the plurality of domains using an intensity function to which the parameters learned by the learning unit are set; A prediction device having the above configuration.

8. A program for causing a computer to execute the learning method according to any one of claims 1 to 4 or the prediction method according to claim 5.

Citation Information

Patent Citations

  • Series data analysis apparatus, series data analysis method, and program

    JP2019101687A

  • Event prediction device, event prediction model and event prediction program

    JP2020071750A

  • Learning device, prediction device, learning method, prediction method, and program

    WO2021002008A1