Estimation method, estimation device, and program

By converting the MAP estimation problem into a minimum cost flow problem and using discrete DC programming, the method achieves accurate and interpretable solutions for CGM, addressing the limitations of conventional methods.

JP7552719B2Active Publication Date: 2024-09-18NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2022560581
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-11-05
Publication Date
2024-09-18
Estimated Expiration
2040-11-05

AI Technical Summary

Technical Problem

Conventional MAP estimation methods for CGM using Stirling's approximation and continuous relaxation yield inaccurate and non-sparse solutions, especially when the number of samples is small, making them difficult to interpret and requiring significant memory.

Method used

The method transforms the MAP estimation problem into a minimum cost flow problem on a network and applies discrete DC programming to efficiently solve it, ensuring high accuracy and interpretability of the solution.

Benefits of technology

This approach enables accurate and interpretable MAP estimation even with a small number of samples, providing a sparse solution that is easier to understand and requires less memory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007552719000050
    Figure 0007552719000050
  • Figure 0007552719000051
    Figure 0007552719000051
  • Figure 0007552719000049
    Figure 0007552719000049
Patent Text Reader

Abstract

An estimation method according to an embodiment estimates the MAP solution of a CGM on a path graph, wherein a computer performs: an input procedure for retrieving, as inputs, CGM aggregate data on the path graph and a potential; an estimation procedure for using the aggregate data and the potential to solve a MAP estimation problem for the CGM by means of a technique based on discrete DC programming and thereby calculate a MAP estimated solution; and an output procedure for outputting the MAP estimated solution.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] In recent years, with the development of sensors and information and communication technology, various data has been collected on a large scale. However, due to privacy concerns and the difficulty of observation, in many cases only aggregated data is available, not individual data. For example, human location information obtained by observing radio waves from GPS (Global Positioning System) satellites is sometimes provided as time-based area population data that does not allow individuals to be tracked, due to privacy concerns. Time-based area population data is information that indicates the number of people in each area at each time step.

[0003] Even in situations where only aggregated data like this (hereinafter also referred to as aggregated data) is available, a model called CGM (Collective Graphical Model) is known and widely used as a model that can extract deeper information from the data by performing interpolation, estimation, and learning based on probabilistic modeling (for example, see Non-Patent Document 1).

[0004] One of the operations in CGM is to estimate the true contingency table of the graphical model by maximum a posteriori estimation (MAP) when the observed aggregate data and the potential of the graphical model behind it are given. This MAP estimation is essential for interpolation and estimation, and is also used as a learning subroutine, so it is a very important operation and has been the subject of various researches. [Prior art documents] [Non-patent literature]

[0005] [Non-Patent Document 1] DR Sheldon and TG Dietterich. Collective Graphical Models. In Proceedings of the 24th International Conference on Neural Information Processing Systems, pp. 1161-1169, 2011 Summary of the Invention [Problem to be solved by the invention]

[0006] By the way, when estimating the true contingency table of a graphical model using MAP, it is necessary to solve the MAP estimation problem. Conventionally, a method that applies Stirling approximation and continuous relaxation to solve the problem has been mainly used. However, this method may produce a solution with low accuracy or poor interpretability.

[0007] An embodiment of the present invention has been made in consideration of the above points, and has an object to obtain a MAP estimation solution with high accuracy and interpretability. [Means for solving the problem]

[0008] In order to achieve the above-mentioned object, an estimation method of one embodiment is an estimation method for estimating a MAP solution of a CGM on a path graph, in which a computer executes an input procedure in which aggregated data and a potential of the CGM on the path graph are input, an estimation procedure in which the aggregated data and the potential are used to solve a MAP estimation problem of the CGM by a method based on discrete DC programming to calculate a MAP estimated solution, and an output procedure in which the MAP estimated solution is output. Effect of the Invention

[0009] It is possible to obtain MAP estimates with high accuracy and interpretability. [Brief description of the drawings]

[0010] [Figure 1]This is a diagram showing an example of the minimum cost flow problem. [Diagram 2] This is a diagram showing an example of the hardware configuration of the MAP estimation device according to the present embodiment. [Diagram 3] This is a diagram showing an example of the functional configuration of the MAP estimation device according to the present embodiment. [Figure 4] This is a diagram showing an example of a potential. [Diagram 5] This is a diagram showing an example of aggregated data. [Figure 6] This is a diagram showing an example of a MAP estimation solution. [Figure 7] This is a flowchart showing an example of the MAP estimation process according to the present embodiment. [Figure 8] This is a flowchart showing an example of the calculation process of the MAP estimation solution by the method based on the discrete DC programming method according to the present embodiment.

Embodiments for Carrying Out the Invention

[0011] Hereinafter, an embodiment of the present invention will be described. In this embodiment, when the true partition table of the graphical model is MAP estimated with the observed aggregated data and the potential of the graphical model given, a MAP estimation device 10 capable of obtaining a MAP estimation solution with high accuracy and interpretability will be described.

[0012] <CGM and MAP Estimation> First, CGM and MAP estimation will be briefly described.

[0013] Consider a graphical model represented by the following probability mass function with H = (N, A) being an undirected graph. Here, N is the set of vertices and A is the set of edges.

[0014]

Equation

[0015]

number

[0016] Let us consider a sample from this graphical model as x (1) ,···,x (M) Let n be the contingency table for vertex i. i and the contingency table n for edge (i,j) ij are defined below, respectively.

[0017]

number

[0018]

number

[0019]

number

[0020] In this case, the distribution of n (called the CGM distribution) is

[0021]

number

[0022] We also assume that the observed values ​​y (i.e., the observed aggregate data) are generated from some probability distribution p(y|n) that represents the observation noise. Specifically, at each vertex, the value n i is observed according to the following observation noise model:

[0023]

number

[0024]

number

[0025] Let us transform the above MAP estimation problem. If we consider the MAP estimation problem as a minimization problem of -log p(n|y;θ), we will solve the following minimization problem.

[0026]

number

[0027]

number

[0028] For simplicity, in the following, for i=1,2,...,|N|,

[0029]

number

[0030] The MAP estimation problem shown in the above formula (9) is generally shown to be NP-Hard, so it is very difficult to solve efficiently. For this reason, the method of applying Stirling's approximation and continuous relaxation (i.e., removing the constraint that only integer values ​​can be taken) to the objective function and solving it by message passing has been mainly used. A continuously relaxed problem is a convex programming problem, and a global optimal solution can be obtained by message passing (for example, see Reference 1).

[0031] Reference 1: T. Sun, DR Sheldon and A. Kumar. Message Passing for Collective Graphical Model. In Proceedings of the 32nd International Conference on Machine Learning, pp. 853-861, 2015. However, the above conventional method has the following two problems (1) and (2).

[0032] (1) When the total number of samples M is small, the solution that is output is far from the correct solution. This is called the Stirling approximation.

[0033]

number

[0034] (2) The output solution is no longer sparse, making it difficult to interpret and requiring a large amount of memory to store the solution, because the application of continuous relaxation results in non-integer solutions.

[0035] In this embodiment, the MAP estimation of the CGM in the path graph is reduced to a minimum cost flow problem on the network, and a discrete DC (Difference of Convex) programming method is applied to this problem to efficiently solve the estimation of n without approximation or continuous relaxation. As a result, the MAP estimation device 10 according to this embodiment can output an accurate solution even when the total number of samples M is small, and can output a sparse solution (i.e., a solution with high interpretability). The CGM in the path graph is important because it can express a time series model (Markov model) and has a wide range of applications.

[0036] The discrete DC programming method is a method for efficiently optimizing a function expressed in the form of the difference between two discrete convex functions (see, for example, Reference 2).

[0037] Reference 2: T. Maehara, K. Murota, A framework of discrete DC programming by discrete convex analysis. Mathematical Programming, Series A, vol. 152, no. 1-2, pp. 435-466. <Theoretical configuration of MAP estimation according to this embodiment> Next, a theoretical configuration for the MAP estimation device 10 according to this embodiment to perform MAP estimation will be described. As described above, the MAP estimation device 10 according to this embodiment reduces the MAP estimation of the CGM in the path graph to a minimum cost flow problem in the network, and then applies discrete DC programming to solve this problem to obtain a MAP estimation solution.

[0038] First, we will explain the minimum cost flow problem. The (nonlinear) minimum cost flow problem is as follows. Given a directed graph G = (V, E) as input, for each edge (i, j) ∈ E,

[0039]

number

[0040]

number

[0041] That is, the flow on edge (i,j)∈E is x ij Then, the minimum cost flow problem can be formulated as follows:

[0042]

number

[0043] We now describe how to create an instance of the minimum cost flow problem. For notational simplicity, n ijk :=n i,i+1 (j,k) φ ijk :=φ i,i+1 (j,k) n i :=n i (j) y i :=y i (j) If the graphical model is a path,

[0044]

number

[0045]

number

[0046]

number

[0047] In order to turn the optimization problem (MAP estimation problem) shown in the above formula 9 into a minimum cost flow problem, we construct a minimum cost flow problem on graph G = (V, E) using the following (a) to (g). In the following explanation, however, edge (c, u) represents an edge whose cost function is c and whose capacity constraint is u. In addition, let [m] = {1, 2, , m} for any natural number m.

[0048] (a)Let V be the vertex set:

[0049]

number

[0050]

number

[0051] (b) For j∈[R], from vertex o to vertex u j (1) Stretch the edge (0,+∞) to.

[0052] (c) For j∈[R], vertex v j (|N|)Extend edge (0,+∞) from vertex d to vertex (0,+∞).

[0053] (d) For i = 1, |N| and j ∈ [R], vertex u j (i) from vertex v j (i) 2 sides (h ij (z),+∞).

[0054] (e) For i = 2, , |N|-1 and j ∈ [R], vertex u j (i) from vertex v j (i) 2 sides (h ij Stretch (z)+g(z),+∞).

[0055] (f) For i ∈ [|N|-1], j ∈ [R], and k ∈ [R], vertex v j (i) From vertex u k (i+1) Side (f ijk (z),+∞).

[0056] (g)b o =M,b d =-M,b v = 0. However, v is a vertex other than o and d, that is,

[0057]

number

[0058] As an example, an instance of the minimum cost flow problem constructed by (a) to (g) above when |N|=3 and R=3 is shown in Figure 1.

[0059] Then, from the optimal solution of the minimum cost flow problem constructed by (a) to (g) above, the solution n of the optimization problem shown in Eq. (9) above is obtained as follows: * Configure.

[0060]

number

[0061] Although the minimum cost flow problem constructed by (a)-(g) above does not satisfy the convex cost condition, it has the characteristic that the edge cost function can be explicitly separated into convex and concave functions. Taking advantage of this, we consider solving the minimum cost flow problem constructed by (a)-(g) above using a method based on discrete DC programming.

[0062] The minimum cost flow problem constructed by (a) to (g) above can be formulated as the following optimization problem.

[0063]

number

[0064]

number

[0065]

number

[0066] To solve the optimization problem shown in Eq. (23), we consider a sequence of feasible solutions z0, z1, . . . , z t ,···in,

[0067]

number

[0068]

number

[0069]

number

[0070]

number

[0071]

number

[0072]

number

[0073] z t Against

[0074]

number

[0075]

number

[0076]

number

[0077]

number

[0078]

number

[0079]

number

[0080]

number

[0081]

number

[0082]

number

[0083] Considering the above, to solve the minimum cost flow problem constructed by (a) to (g) above, we use a method based on discrete DC programming to find vertices u in graph G. j (i) from vertex v j (i) The cost function of the edge spanned by

[0084]

number

[0085] <Hardware configuration> Next, a hardware configuration of the MAP estimation device 10 according to this embodiment will be described with reference to Fig. 2. Fig. 2 is a diagram showing an example of a hardware configuration of the MAP estimation device 10 according to this embodiment.

[0086] 2, the MAP estimation device 10 according to this embodiment is realized by the hardware configuration of a general computer or computer system, and has an input device 11, a display device 12, an external I / F 13, a communication I / F 14, a processor 15, and a memory device 16. Each of these hardware components is connected to each other via a bus 17 so as to be able to communicate with each other.

[0087] The input device 11 is, for example, a keyboard, a mouse, a touch panel, etc. The display device 12 is, for example, a display, etc. Note that the MAP estimation device 10 does not necessarily have to have at least one of the input device 11 and the display device 12, for example.

[0088] The external I / F 13 is an interface with an external device such as a recording medium 13a. The MAP estimation device 10 can read and write data from and to the recording medium 13a via the external I / F 13. Examples of the recording medium 13a include a CD (Compact Disc), a DVD (Digital Versatile Disk), a SD memory card (Secure Digital memory card), and a USB (Universal Serial Bus) memory card.

[0089] The communication I / F 14 is an interface for connecting the MAP estimation device 10 to a communication network. The processor 15 is, for example, various types of arithmetic devices such as a central processing unit (CPU) or a graphics processing unit (GPU). The memory device 16 is, for example, various types of storage devices such as a hard disk drive (HDD), a solid state drive (SSD), a random access memory (RAM), a read only memory (ROM), and a flash memory.

[0090] The MAP estimation device 10 according to this embodiment can realize the MAP estimation process described below by having the hardware configuration shown in Fig. 2. Note that the hardware configuration shown in Fig. 2 is an example, and the MAP estimation device 10 may have other hardware configurations. For example, the MAP estimation device 10 may have multiple processors 15 and multiple memory devices 16.

[0091] <Functional configuration> Next, the functional configuration of the MAP estimation device 10 according to this embodiment will be described with reference to Fig. 3. Fig. 3 is a diagram showing an example of the functional configuration of the MAP estimation device 10 according to this embodiment.

[0092] 3, the MAP estimation device 10 according to this embodiment includes an input unit 101, an instance construction unit 102, a MAP estimation unit 103, and an output unit 104. Each of these units is realized by, for example, processing executed by a processor 15 in accordance with one or more programs installed in the MAP estimation device 10.

[0093] Moreover, the MAP estimation device 10 according to this embodiment has a potential storage unit 201, an aggregated data storage unit 202, and a MAP estimated solution storage unit 203. Each of these units is realized, for example, by the memory device 16. Note that at least one of the storage units among these units may be realized, for example, by a storage device (such as a database server) connected to the MAP estimation device 10 via a communication network.

[0094] The input unit 101 stores the (local) potential and the aggregated data provided to the MAP estimation device 10 in the potential storage unit 201 and the aggregated data storage unit 202, respectively. Note that, for example, in response to an operation from the input device 11, the input unit 101 may correct the potential stored in the potential storage unit 201 and the aggregated data stored in the aggregated data storage unit 202.

[0095] The instance construction unit 102 uses the potential stored in the potential storage unit 201 and the aggregated data stored in the aggregated data storage unit 202 to construct (an instance of) the minimum cost flow problem according to the above (a) to (g).

[0096] The MAP estimation unit 103 calculates a MAP estimated solution from the minimum cost flow problem constructed by the instance construction unit 102, and stores the MAP estimated solution in the MAP estimated solution storage unit 203. Here, the MAP estimation unit 103 includes a correction unit 111 and a capacity scaling unit 112. The correction unit 111 calculates the MAP estimated solution for a vertex u j (i) from vertex v j (i) The capacity scaling unit 112 solves the minimum convex cost flow problem shown in Equation 30 above to obtain a solution n * =z t+1 Calculate.

[0097] The output unit 104 outputs the MAP estimated solution n stored in the MAP estimated solution storage unit 203. * to any output destination.

[0098] The potential memory unit 201 stores the potential φ given to the MAP estimator 10. ijk The potential φ stored in the potential memory unit 201 is shown in FIG. 4 as an example. Here, i ∈ [|N|-1], j ∈ [R], and k ∈ [R]. ijk

[0099] The aggregated data memory unit 202 stores the aggregated data y given to the MAP estimator 10. ij The aggregated data y stored in the aggregated data memory unit 202 is shown in FIG. 5 as an example. ij

[0100] The MAP estimation solution memory unit 203 stores the MAP estimation solution n calculated by the MAP estimator 103. * The MAP estimation solution n stored in the MAP estimation solution memory unit 203 is shown in FIG. 6 as an example. Here, n * is a vector obtained by collecting and arranging all of n * and n ijk * with respect to all vertices and edges. ij *

[0101] <MAP Estimation Process> Next, the flow of the MAP estimation process according to the present embodiment will be described with reference to FIG. 7. FIG. 7 is a flowchart showing an example of the MAP estimation process according to the present embodiment.

[0102] First, the instance construction unit 102 reads the potential φ stored in the potential memory unit 201 ijk and the aggregated data y stored in the aggregated data memory unit 202 (step S101). ij

[0103] Next, the instance construction unit 102 uses the potential φ ijk and the aggregated data y ijUsing the above (a) to (g), an instance of the minimum cost flow problem on the graph G=(V,E) is constructed (step S102).

[0104] Next, the MAP estimation unit 103 solves the minimum cost flow problem constructed in step S102 above by a method based on discrete DC programming to calculate a MAP estimated solution (step S103). The MAP estimated solution calculated by the MAP estimation unit 103 is stored in the MAP estimated solution storage unit 203. The process of step S103 will be described in detail later.

[0105] Then, the output unit 104 outputs the MAP estimated solution stored in the MAP estimated solution storage unit 203 to an arbitrary output destination (step S104). Note that the output destination of the MAP estimated solution may be, for example, another device or program connected via a communication network, or the display device 12 such as a display.

[0106] Here, the process of step S102 (calculation process of a MAP estimated solution by a method based on discrete DC programming) will be described with reference to Fig. 8. Fig. 8 is a flowchart showing an example of calculation process of a MAP estimated solution by a method based on discrete DC programming according to this embodiment.

[0107] First, the MAP estimation unit 103 initializes z0←0 and t←0 (step S201).

[0108] Next, the MAP estimation unit 103 repeats the following steps S301 to S304 (step S202). This repeat process is repeated until the result of step S303 is YES.

[0109] The correction unit 111 of the MAP estimation unit 103 corrects the vertex u in the graph G. j (i) from vertex v j (i) The cost function of the edge spanned by

[0110]

number

[0111] Next, the capacity scaling unit 112 of the MAP estimation unit 103 solves the minimum convex cost flow problem shown in the above equation (30) by capacity scaling to obtain a solution z t+1 (Step S302). Note that capacity scaling is an algorithm for efficiently solving a minimum convex cost flow problem (see, for example, Reference 3).

[0112] Reference 3: RK Ahuja, TL Magnanti, JB Orlin, Network Flows: Theory, Algorithms, Applications, Prentice Hall, 1993. Next, the MAP estimation unit 103

[0113]

number

[0114] In step S303 above, the solution z t+1 When it is not determined that the solution z t+1 If it is determined that the solution z t+1 Map the estimated solution n * and outputs (stores) it to the MAP estimated solution storage unit 203 (step S203).

[0115] 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]

[0116] 10 MAP estimation device 11 Input Devices 12 Display device 13 External I / F 13a Recording media 14 Communication I / F 15 Processors 16 Memory Devices 17 Bus 101 Input section 102 Instance Construction Section 103 MAP estimation part 104 Output section 111 Correction Department 112 Capacity Scaling Section 201 Potential memory unit 202 Aggregated data storage unit 203 MAP estimated solution storage unit

Claims

1. 1. A method for estimating a MAP solution of a CGM on a path graph, comprising the steps of: an input step of inputting the aggregated data and potential of the CGM on the path graph; an estimation procedure for constructing a minimum cost flow problem using the collected data and the potential, modifying a cost function on the network targeted by the minimum cost flow problem to create a minimum convex cost flow problem having an objective function expressed in the form of the difference between two discrete convex functions, and solving the minimum convex cost flow problem by a discrete DC programming method to calculate a MAP estimation solution which is a solution to the MAP estimation problem of the CGM; an output step of outputting the MAP estimated solution; The estimation method is performed by a computer.

2. The estimation procedure comprises:

2. The method according to claim 1, wherein the MAP estimated solution is calculated by repeatedly modifying a cost function on a network targeted by the minimum cost flow problem and calculating an optimal solution to the minimum convex cost flow problem using the modified cost function.

3. An estimation device for estimating a MAP solution of a CGM on a path graph, comprising: an input unit for inputting the aggregated data and potential of the CGM on the path graph; an estimation unit that uses the collected data and the potential to construct a minimum cost flow problem, modifies a cost function on the network targeted by the minimum cost flow problem to create a minimum convex cost flow problem having an objective function expressed in the form of the difference between two discrete convex functions, and calculates a MAP estimation solution that is a solution to the MAP estimation problem of the CGM by solving the minimum convex cost flow problem using a discrete DC programming method; an output unit that outputs the MAP estimated solution; An estimation device having the following:

4. A program for causing a computer to execute the estimation method according to claim 1 or 2.