OPTIMIZATION METHOD, OPTIMIZATION DEVICE, AND PROGRAM

The differentiable Frank-Wolfe method with Softmin and ZDD efficiently calculates solutions and gradients for optimization problems with complex combinatorial constraints, addressing inefficiencies in existing methods.

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

Patent Information

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

AI Technical Summary

Technical Problem

Existing methods for determining gradients in optimization problems with complex combinatorial constraints are inefficient or impossible due to large equation sizes and discontinuous solutions, making it difficult to find gradients effectively.

Method used

The use of a differentiable Frank-Wolfe method that replaces discrete operations with Softmin, combined with a zero-suppressed binary decision graph (ZDD) for efficient calculation of gradients, allowing automatic differentiation to determine gradients in complex combinatorial constraint scenarios.

Benefits of technology

This approach enables efficient calculation of solutions and gradients for optimization problems with complex combinatorial constraints, offering faster convergence and practical execution times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007535267000007
    Figure 0007535267000007
  • Figure 0007535267000006
    Figure 0007535267000006
  • Figure 0007535267000008
    Figure 0007535267000008
Patent Text Reader

Abstract

To efficiently find a solution and a gradient of an optimization problem with a complex combination constraint.SOLUTION: An optimization method according to one embodiment is an optimization method for calculating a solution of an optimization problem with a combination constraint and a gradient of the solution. A computer performs an input procedure that inputs a parameter of a convex function that is an objective function of the optimization problem, a gradient function of the objective function, and a zero suppression type binary decision diagram representing the combination constraint, a solution calculation procedure that calculates a solution of the optimization problem by the differentiable Frank Wolfe method based on the parameter, the gradient function, and the zero suppression type binary decision diagram, and a gradient calculation procedure that calculates a gradient relating to the parameter of the solution by automatic differentiation. The differentiable Frank Wolfe method calculates the solution by calculating a gradient direction of a value of the objective function using Softmin operation.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] Differentiable optimization is a technique that has been attracting attention in recent years in fields such as machine learning. An optimization problem is the problem of searching for a point in C where a function f(y) is minimized (or maximized) when a vector y moves within a fixed range y∈C. This type of problem is also called mathematical programming, and it naturally appears when practical problems such as factory production plans and delivery plans are expressed mathematically.

[0003] Now, consider a situation where the function f in the optimization problem is parameterized as f(y;θ) by the parameter θ. For example, in the case of a delivery planning problem, θ can be thought of as the degree of road congestion. In this case, what is of interest is how the solution to the optimization problem changes by changing the parameter θ. To find this out, we calculate the gradient of the solution to the optimization problem with respect to the parameter θ, which is done within the framework of "differentiable optimization." If we can know the gradient, we can know in which direction the solution to the optimization problem will move when the parameter θ is changed slightly. For example, in machine learning, θ corresponds to the parameter of the model to be trained, and by calculating the gradient of the solution to the optimization problem, the optimization results can be fed back and used to tune the parameters.

[0004] In particular, we consider a situation where the range C within which the vector can move is represented by a convex polyhedron called a combinatorial constraint, and the function f(·;θ) is a convex function. These are properties that actually appear in various applications.

[0005] If we write the solution that minimizes f(y;θ) within C as y(θ), there are broadly two ways to find its gradient ∇y(θ).

[0006] The first method is to derive an equation that the gradient ∇y(θ) should satisfy from a mathematical theorem called the implicit function theorem and an optimality condition called the KKT condition, and to find the gradient by actually solving the equation, as described in Non-Patent Document 1, etc. This method is effective when the convex polyhedron of the combinatorial constraint can be expressed by a small number of equations and inequalities.

[0007] The second method is to find a solution y(θ) to an optimization problem using an iterative optimization method, and to find the gradient ∇y(θ) using the calculation process and a technique called automatic differentiation as described in Non-Patent Document 2, etc. Here, the Frank-Wolfe method, described in Non-Patent Document 3, etc., is an optimization method that is often used when the range in which a vector can move is subject to combinatorial constraints. The Frank-Wolfe method is an optimization method that is easy to calculate even when the combinatorial constraints are complex, because it can minimize a convex function under combinatorial constraints without performing difficult calculations such as projection onto a polyhedron. [Prior art documents] [Non-patent literature]

[0008] [Non-Patent Document 1] Akshay Agrawal, Brandon Amos, Shane Barratt, Stephen Boyd, Steven Diamond, and J. Zico Kolter. Differentiable convex optimization layers. In Proceedings of Advances in Neural Information Processing Systems 32 (NeurIPS 2019), pp. 9562-9574, 2019. [Non-Patent Document 2] Y. LeCun, B. Boser, JS Denker, D. Henderson, RE Howard, W. Hubbard, and LD Jackel. Backpropagation applied to handwritten zip code recognition. Neural Computation, Vol. 1, pp. 541-551, 1989. [Non-Patent Document 3] Martin Jaggi. Revisiting Frank-Wolfe: projection-free sparse convex optimization. In Proceedings of the 30th International Conference on Machine Learning (ICML 2013), PMLR Vol. 28, pp. 427-435, 2013. Summary of the Invention [Problem to be solved by the invention]

[0009] However, neither of the above two methods is suitable for finding gradients for optimization problems, especially those with complex combinatorial constraints.

[0010] The first method has the problem that, depending on the type of combinatorial constraint, a convex polyhedron may not be expressible with a small number of equations or inequalities, in which case the size of the equations becomes large and it becomes difficult to find the gradient in a realistic amount of time. For example, it is known that the combinatorial constraints corresponding to the traveling salesman problem require an exponential number of equations and inequalities relative to the size of the problem in order to express them.

[0011] On the other hand, the second method has a problem in that when the Frank-Wolfe method is used as the optimization method, the technique of automatic differentiation cannot be used because the Frank-Wolfe method includes a discrete operation called linear minimization. When a discrete operation is included, the solution y(θ) obtained by the method becomes discontinuous with respect to the parameter θ, so the gradient ∇y(θ) cannot be obtained.

[0012] An embodiment of the present invention has been made in view of the above, and has an object to efficiently obtain a solution and its gradient for an optimization problem with complex combinatorial constraints. [Means for solving the problem]

[0013] In order to achieve the above object, an optimization method according to one embodiment is an optimization method for calculating a solution to an optimization problem having a combinatorial constraint and a gradient of the solution, the optimization method including: an input step of inputting parameters of a convex function serving as an objective function of the optimization problem, a gradient function of the objective function, and a zero-suppressed binary decision diagram expressing the combinatorial constraint; a solution calculation step of calculating a solution to the optimization problem by a differentiable Frank-Wolfe method based on the parameters, the gradient function, and the zero-suppressed binary decision diagram; and a gradient calculation step of calculating a gradient of the solution with respect to the parameters by automatic differentiation based on the solution calculation process, the differentiable Frank-Wolfe method calculating the solution by calculating a gradient direction of the objective function value using a Softmin operation. Effect of the Invention

[0014] It is possible to efficiently find solutions and gradients for optimization problems with complex combinatorial constraints. [Brief description of the drawings]

[0015] [Figure 1] FIG. 2 is a diagram illustrating an example of a hardware configuration of an optimization device according to the present embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a functional configuration of an optimization device according to the present embodiment. [Diagram 3] 13 is a flowchart showing an example of a flow of a calculation process of an optimal solution and its gradient. [Figure 4] FIG. 1 is a diagram for explaining an example of an algorithm of the differentiable Frank-Wolfe method. [Diagram 5] FIG. 13 is a diagram for explaining an example of an algorithm for Softmin calculation using ZDD. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] An embodiment of the present invention will be described below. In this embodiment, an optimization device 10 capable of efficiently finding an optimal solution and its gradient by the differentiable Frank-Wolfe method will be described.

[0017] In this embodiment, instead of the conventional Frank-Wolfe method, we propose a new optimization method called the differentiable Frank-Wolfe method, which does not require a discrete operation, and find the optimal solution by using the differentiable Frank-Wolfe method. The differentiable Frank-Wolfe method replaces the discrete operation called linear minimization required in the conventional Frank-Wolfe method with an operation called Softmin.

[0018] By using the differentiable Frank-Wolfe method as a method for finding the solution y(θ) of the optimization problem, the gradient ∇y(θ) can be found using automatic differentiation techniques. Furthermore, even when viewed simply as an optimization method, the differentiable Frank-Wolfe method has a theoretically faster convergence speed than the conventional Frank-Wolfe method, making it a method with better performance.

[0019] On the other hand, the operation called Softmin used in the differentiable Frank-Wolfe method is a complex operation, and if Softmin cannot be calculated efficiently, the differentiable Frank-Wolfe method cannot be executed in a realistic time. Therefore, in this embodiment, a method for efficiently calculating Softmin by using a zero-suppressed binary decision diagram (hereinafter referred to as ZDD) described in Reference 1 is also proposed, particularly when the constraint is a combinatorial constraint. Even if the combinatorial constraint C cannot be expressed by a small number of equations or inequalities, ZDD can often express a collection of combinations that are the basis of the constraint in a small number, and therefore can generally be used for problems with complex combinatorial constraints.

[0020] <Combination constraints> First, we will explain the combination constraints. We assign a number to each item and write a set of n items as {1, , n}. Consider a set F of combinations of these items. For a combination S ⊆ {1, , n} of items, the indicator vector 1 S Let be an n-dimensional vector whose i-th element is 1 if item i is included in S, and 0 otherwise. Then, let us define the combinatorial constraint C corresponding to the combination set F as a polyhedron in n-dimensional space as follows:

[0021]

number

[0022] <zdd> Next, we will explain the structure of ZDD. ZDD is a data structure that represents a set of combinations using a loop-free graph (Directed Acyclic Graph, DAG) made up of nodes and directional edges. ZDD has two types of nodes: terminal nodes and branching nodes. A terminal node is a node that does not have an edge (branch) starting from that node,

[0023]

number

[0024] A branch node is a node that is not a terminal node, and each branch node has exactly two edges (branches) starting from that node, which are called the 0-branch and the 1-branch. For a branch node v, the node pointed to by the 0-branch starting from that branch node v is called the 0-child node, and written as v0. Similarly, for a branch node v, the node pointed to by the 1-branch starting from that branch node v is called the 1-child node, and written as v1. Also, each branch node v has an integer value v called a label. lv ∈{1, ,n}, which corresponds to the item number. Note that the label value of the terminal node is set to n+1.

[0025] In this case, each 0-edge and 1-edge must be directed from a node with a smaller label to a node with a larger label. That is, for any branch node v, lv <(v0) lv and v lv <(v1) lv The above is satisfied.

[0026] Here, for example, when the combination set F represents a matching of a certain graph structure or a partial structure such as a cycle, a tree, or a path, a ZDD representing the combination set F can be efficiently constructed by the frontier method described in Reference 2. In addition, a ZDD representing an arbitrary combination set can be constructed for that combination set by using the Apply operation described in Reference 1. Therefore, in the following, it is assumed that the ZDD representing the combination set F is provided to the optimization device 10 as a representation of the combination constraint C, rather than the original combination set F itself being provided.

[0027] <Hardware configuration of optimization device 10> Next, the hardware configuration of an optimization device 10 according to this embodiment is shown in Fig. 1. As shown in Fig. 1, the optimization device 10 according to this embodiment is realized by the hardware configuration of a general computer or computer system, and has an input device 101, a display device 102, an external I / F 103, a communication I / F 104, a processor 105, and a memory device 106. Each of these hardware components is connected to each other via a bus 107 so as to be able to communicate with each other.

[0028] The input device 101 is, for example, a keyboard, a mouse, a touch panel, etc. The display device 102 is, for example, a display, etc. Note that the optimization device 10 does not necessarily have to include at least one of the input device 101 and the display device 102, for example.

[0029] The external I / F 103 is an interface with an external device such as a recording medium 103a. The optimization device 10 can read and write data from and to the recording medium 103a via the external I / F 103. Examples of the recording medium 103a 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.

[0030] The communication I / F 104 is an interface for connecting the optimization device 10 to a communication network. The processor 105 is, for example, various arithmetic devices such as a CPU (Central Processing Unit) and a GPU (Graphics Processing Unit). The memory device 106 is, for example, various storage devices such as a HDD (Hard Disk Drive), an SSD (Solid State Drive), a RAM (Random Access Memory), a ROM (Read Only Memory), and a flash memory.

[0031] The optimization device 10 according to this embodiment has the hardware configuration shown in Fig. 1 and can realize various processes described below. Note that the hardware configuration shown in Fig. 1 is an example, and the optimization device 10 may have other hardware configurations. For example, the optimization device 10 may have multiple processors 105, or multiple memory devices 106.

[0032] <Functional configuration of optimization device 10> Next, the functional configuration of the optimization device 10 according to this embodiment is shown in Fig. 2. As shown in Fig. 2, the optimization device 10 according to this embodiment has an input unit 201, an optimization unit 202, a gradient calculation unit 203, and an output unit 204. Each of these units is realized, for example, by a process in which one or more programs installed in the optimization device 10 are executed by a processor 105.

[0033] The input unit 201 inputs various information given to the optimization device 10 (parameters θ, gradient ∇f(·;θ) of a function (objective function) to be optimized under the parameters, and ZDD Z representing the combinatorial constraints C). Note that the gradient ∇f(·;θ) here refers to the gradient with respect to y of the convex function f(y;θ), and is different from the gradient ∇y(θ) ultimately desired to be found (i.e., gradient ∇y(θ) with respect to the parameters of the optimal solution y(θ)). Hereinafter, ∇f(·;θ) will be referred to as the function gradient.

[0034] The optimization unit 202 calculates a solution y(θ) (i.e., an optimal solution y(θ)) that (approximately) minimizes the convex function f(·;θ) within the combinatorial constraints C using the differentiable Frank-Wolfe method based on various information input by the input unit 201.

[0035] The gradient calculation unit 203 calculates the gradient ∇y(θ) with respect to the parameters of the optimal solution y(θ) by automatic differentiation as described in Non-Patent Document 2, etc., based on the calculation process when the optimization unit 202 calculates the optimal solution y(θ).

[0036] The output unit 204 outputs the optimal solution y(θ) calculated by the optimization unit 202 and the gradient ∇y(θ) calculated by the gradient calculation unit 203 to a predetermined arbitrary destination. Note that the output destination of the optimal solution y(θ) and its gradient ∇y(θ) may be, for example, the display device 102 or the memory device 106, or may be a server or a terminal connected via the communication I / F 104.

[0037] <Calculation process of the optimal solution y(θ) and its gradient ∇y(θ)> Next, the flow of the calculation process of the optimal solution y(θ) and its gradient ∇y(θ) is shown in Fig. 3. As shown in Fig. 3, the optimization device 10 according to this embodiment executes each process from step S101 to step S104.

[0038] Step S101: First, the input unit 201 inputs a given parameter θ, a function gradient ∇f(·;θ), and a ZDD Z.

[0039] Step S102: Next, the optimization unit 202 calculates an optimal solution y(θ) that (approximately) minimizes the convex function f(·;θ) within the combinatorial constraints C by the differentiable Frank-Wolfe method based on the parameter θ, function gradient ∇f(·;θ), and ZDD Z input in the above step S101. At this time, the calculation process required for automatic differentiation is stored in the memory device 106. Details of the differentiable Frank-Wolfe method will be described later.

[0040] Step S103: Next, the gradient calculation unit 203 calculates the gradient ∇y(θ) with respect to the parameters of the optimal solution y(θ) by automatic differentiation as described in Non-Patent Document 2, etc., based on the calculation process when the optimal solution y(θ) was calculated in the above step S102.

[0041] Step S104: Then, the output unit 204 outputs the optimal solution y(θ) calculated in the above step S102 and the gradient ∇y(θ) calculated in the above step S103.

[0042] ≪Differentiable Frank-Wolfe method≫ Next, an example of the algorithm for the differentiable Frank-Wolfe method is shown in Figure 4. The input of this algorithm is parameters θ∈Θ, η>0, T∈Z >0 The output is y(θ)∈C that (approximately) minimizes the convex function f(·;θ). Here, η and T are parameters that are determined in advance. Θ is the set of possible values ​​for the parameter θ. Also, the c * ,s * ,x * (* is an arbitrary integer value) are all n-dimensional vectors.

[0043] First, the optimization unit 202 sets c0=0, s0=0, α t =t(t=0, ,T) (first line). That is, the optimization unit 202 initializes c0 and s0 to n-dimensional zero vectors and t Initialize (t = 0, , T) to t.

[0044] Next, the optimization unit 202 calculates x -1 =x0=μ F Let (c0) (line 2). Here, μ F (·) is the Softmin operation under the combination set F. Details of how to calculate the Softmin operation using the ZDD Z that represents the combination set F will be described later.

[0045] Next, the optimization unit 202 repeatedly executes lines 4 to 6 for t=1, . . . , T (line 3). In line 4, the optimization unit 202 t-1 -α t-1 x t-2 +(α t-1 +α t )x t-1 Calculate the result as s t In the fifth line, the optimization unit 202 calculates (2 / (t(t+1)))s t The function gradient ∇f(·;θ) at the point, η, and α t For the product of c t-1 The result of adding t In the sixth line, the optimization unit 202 t =μ F (c t ), i.e. c t The result of the Softmin operation on x t Let us assume that.

[0046] After the repetition of lines 4 to 6 is completed, the optimization unit 202 calculates (2 / (T(T+1)))(α1x1+···+α T x T ) is output as y(θ) (line 7).

[0047] <Softmin calculation using ZDD> Next, an example of the algorithm for Softmin calculation using ZDD is shown in Figure 5. The input of this algorithm is the ZDD Z that represents the combination set F, and an n-dimensional vector c∈R n and the output is the result of the Softmin operation on c μ F (c)∈C. In this algorithm, y is an n-dimensional vector. Also, D and P are arrays with elements corresponding to each node of the ZDD Z, and the element corresponding to node v (terminal node or branch node) is denoted by D v and P v It is written as follows.

[0048] First, the optimization unit 202 initializes the elements of the array D corresponding to the first and second terminal nodes to 0 and +∞, respectively, and initializes y to an n-dimensional zero vector (first line).

[0049]

number

[0050] Next, the optimization unit 202 scans the branch nodes v of the ZDD Z in bottom-up order (i.e., in descending order of label value) and repeatedly executes line 3 for each branch node v (line 2). In line 3, the optimization unit 202 finds the D v D corresponding to its 0-child node v0 and 1-child node v1, respectively. v0 and D. v1 and v of the elements of n-dimensional vector c lv That is, the optimization unit 202 calculates the following:

[0051]

number

[0052] Next, the optimization unit 202 calculates P r The optimization unit 202 initializes P v Initialize to 0 (line 5).

[0053] Next, the optimization unit 202 scans the branch nodes v of the ZDD Z in top-down order (i.e., in ascending order of label value) and repeatedly executes lines 7 to 9 for each branch node v (line 6). In line 7, the optimization unit 202 calculates p=exp(D v -D v0 ) In the eighth line, the optimization unit 202 sets P v0 For pP v Add P v1 For (1-p)P v In the 9th line, the optimization unit 202 adds v lv For the th element, (1-p)P v Add.

[0054] After the repetition of lines 7 to 9 is completed, the optimization unit 202 calculates the n-dimensional vector y by multiplying the result μ F Output as (c).

[0055] <Summary> As described above, the optimization device 10 according to this embodiment calculates the optimal solution y(θ) by the differentiable Frank-Wolfe method, which is a new optimization method that does not require discrete operations. This makes it possible to obtain the gradient ∇y(θ) of the parameters of the optimal solution y(θ) by automatic differentiation.

[0056] Furthermore, the optimization device 10 according to this embodiment efficiently calculates the operation called Softmin, which is necessary in the differentiable Frank-Wolfe algorithm when calculating the optimal solution y(θ), by using ZDDs that represent combinatorial constraints. This makes it possible to apply the differentiable Frank-Wolfe algorithm to convex optimization problems with complex combinatorial constraints.

[0057] <Application Examples> An application example of this embodiment will be described below.

[0058] <Application example 1> First, we will explain an application example to optimizing equilibrium in a congestion game. A congestion game is a model of a situation in which non-cooperative players compete for some resources or allocate resources. A congestion game can simulate, for example, a situation in which many people communicate in a communication network consisting of communication paths in which the greater the communication volume, the greater the delay, or a situation in which many people move on a road network consisting of roads that take longer the more traffic there is.

[0059] In a crowding game, for a set of items N = {1, , n}, each player chooses a combination of items S ⊆ N. However, the combinations of items that can be chosen are predetermined, and the set of such combinations is called a strategy set. Also, each element of the strategy set (i.e., a combination of items) is called a strategy.

[0060] Each item is set so that the more players who choose it, the higher the cost, and the cost each player incurs is the sum of the costs of the items included in the strategy they chose. At this time, each player does not cooperate with the others, but tries to choose a strategy with the lowest possible cost.

[0061] An important state in congestion games is the equilibrium state. An equilibrium state is a state in which no player is dissatisfied, and is the state that non-cooperative players reach as a result of each trying to reach the minimum-cost state. If this equilibrium state can be found, for example, when designing a communication network or road network, it becomes possible to simulate the degree of congestion that will occur on each communication route or road due to the design, and the actual cost to players.

[0062] An important problem related to equilibrium states is the optimization of equilibrium. This is a problem of finding the cost of items under various constraints so that the cost of each player in equilibrium is as small as possible. For example, in a communication network, the more budget is allocated to a certain link, the more the occurrence of delays can be reduced even for a large amount of communication, while the total available budget is limited. In this case, how to allocate the budget to reduce the occurrence of delays (costs) in equilibrium is a problem. If the above-mentioned budget or other parameters that can be changed from the outside are considered to be θ, f(·;θ) is a function called a potential function under the parameter θ, and the constraint C is a combinatorial constraint corresponding to the strategy set, this problem can be considered as a problem of tuning the parameter θ so that the cost of y(θ) resulting from minimizing f(·;θ) within C is small. Therefore, this problem can be solved efficiently by calculating the solution y(θ) by the differentiable Frank-Wolfe method described in this embodiment, and then calculating the gradient ∇y(θ) of the solution y(θ) with respect to the parameters by automatic differentiation.

[0063] <Application example 2> Next, we explain an example of application to a machine learning framework called decision focused learning, which is described in Reference 3.

[0064] For example, in the traveling salesman problem, the shortest route that visits all vertices is found when the shape of the graph and the length of each edge are given. In general, optimization problems are solved by inputting parameters such as edge lengths. However, in some cases, parameters such as edge lengths are not given explicitly, and must be predicted from other features. In machine learning, when several pieces of data expressed as pairs of features and parameters are given, the data are used to train a model that predicts parameters from features.

[0065] Here, we consider training a predictive model so that the solution to the optimization problem using predicted parameters is as good as possible with respect to the true parameters.

[0066] Conventionally, a predictive model has been trained to minimize the parameter prediction error as much as possible, independent of the subsequent optimization problem. However, with this method, even if the parameter prediction error is small, the solution to the optimization problem using the predicted parameters does not necessarily provide a good solution for the true parameters. Therefore, the Decision Focused Learning framework proposes solving the subsequent optimization problem using a differentiable optimization method, and feeding back the gradient of the solution with respect to the parameters to the predictive model to train the predictive model.

[0067] In Reference 3, the implicit function theorem is used as a differentiable optimization method, so it cannot be applied to optimization problems with complex combinatorial constraints. In contrast, by using the differentiable Frank-Wolfe method described in this embodiment as a differentiable optimization method, the framework of decision focused learning can be applied to optimization problems with complex combinatorial constraints, such as the traveling salesman problem.

[0068] 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.

[0069] [References] Reference 1: Shin-ichi Minato. Zero-suppressed BDDs for set manipulation in combinatorial problems. In Proceedings of the 30th ACM / IEEE Design Automation Conference (DAC 1993), pp. 272-277, 1993. Reference 2: Jun Kawahara, Takeru Inoue, Hiroaki Iwashita, and Shin-ichi Minato. Frontier-based search for enumerating all constrained subgraphs with compressed representation. IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences, Vol. E100.A, pp. 1773-1784, 2007. Reference 3: Bryan Wilder, Bistra Dilkina, and Milind Tambe. Melding the data-decisions pipeline: decision-focused learning for combinatorial optimization. In Proceedings of The Thirty-Third AAAI Conference on Artificial Intelligence (AAAI 2019), pp. 1658-1665, 2019. [Explanation of symbols]

[0070] 10 Optimization Device 101 Input Device 102 Display device 103 External I / F 103a Recording media 104 Communication I / F 105 processors 106 Memory Device 107 Bus 201 Input section 202 Optimization Department 203 Gradient Calculation Unit 204 Output section< / zdd>

Claims

1. 1. An optimization method for computing a solution to an optimization problem with combinatorial constraints and a gradient of said solution, comprising the steps of: an input step of inputting parameters of a convex function that is an objective function of the optimization problem, a gradient function of the objective function, and a zero-suppressed binary decision diagram that expresses the combinatorial constraints; a solution calculation step of calculating a solution to the optimization problem by a differentiable Frank-Wolfe method based on the parameters, the gradient function, and the zero-suppressed binary decision diagram; a gradient calculation step of calculating a gradient of the solution with respect to the parameters by automatic differentiation based on a calculation process of the solution; The computer executes The differentiable Frank-Wolfe method calculates the solution by using a Softmin operation to calculate a gradient direction of the objective function values.

2. The solution calculation procedure is as follows: determining a point at which to calculate the gradient direction from the result of the Softmin operation on a pre-initialized vector; calculating a gradient direction at said point using said gradient function and updating said vector to said gradient direction; 2. The method of claim 1, further comprising the steps of: iterating through the solution and then calculating the solution from the results of the Softmin operation in each iteration.

3. The solution calculation procedure is as follows: calculating, in bottom-up order for each node of the zero-suppressed binary decision diagram, a first array value corresponding to the node using an element value corresponding to a label value of the node among elements of a vector that is a target of the Softmin operation, a first array value corresponding to a 1-child node of the node, and a first array value corresponding to a 0-child node of the node; 3. The optimization method according to claim 2, wherein a result of the Softmin operation is calculated by updating, in a top-down order of each node of the zero-suppressed binary decision diagram, a second array value corresponding to a 0-child node of the node, a second array value corresponding to a 1-child node of the node, and a value of an element corresponding to a label value of the node among elements of a vector representing a result of the Softmin operation, using a first array value corresponding to the node, a first array value corresponding to a 0-child node of the node, and a second array value corresponding to the node.

4. 4. The method according to claim 1, further comprising an output step of outputting a solution to the optimization problem and a gradient of the solution with respect to the parameters to a predetermined output destination.

5. 1. An optimization apparatus for computing a solution to an optimization problem with combinatorial constraints and a gradient of said solution, comprising: an input unit for inputting parameters of a convex function serving as an objective function of the optimization problem, a gradient function of the objective function, and a zero-suppressed binary decision diagram expressing the combinatorial constraints; a solution calculation unit that calculates a solution to the optimization problem by a differentiable Frank-Wolfe algorithm based on the parameters, the gradient function, and the zero-suppressed binary decision diagram; a gradient calculation unit that calculates a gradient of the solution with respect to the parameters by automatic differentiation based on a calculation process of the solution; having The differentiable Frank-Wolfe method calculates the solution by using a Softmin operation to calculate a gradient direction of the value of the objective function.

6. A program for causing a computer to execute the optimization method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Information processing device, method, and program

    JP2020024621A