Optimization device, optimization method, and program
The integration of a zero-suppressed binary decision diagram (ZDD) with the Frank-Wolfe method addresses the inefficiencies in solving combinatorial optimization problems with exponentially large combinations and less strongly convex functions, achieving rapid and linear convergence to the optimal value.
Patent Information
- Application Number
- JP2023099427
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-06-16
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-06-16
AI Technical Summary
Existing combinatorial optimization methods struggle to efficiently solve problems with exponentially large numbers of combinations, especially when the objective function is less strongly convex, leading to slow convergence or impractical computation times.
The use of a zero-suppressed binary decision diagram (ZDD) within the Frank-Wolfe method to represent the set of selectable combinations, allowing for linear convergence of the error to the optimal value even when the objective function is less strongly convex, and enabling rapid solution of combinatorial optimization problems with exponentially large numbers of combinations.
This approach enables fast and practical optimization by achieving linear convergence of the error to the optimal value, even under less restrictive convexity conditions, and allows for efficient solution of combinatorial optimization problems with exponentially large numbers of combinations.
Smart Images

Figure 0007957299000019 
Figure 0007957299000020 
Figure 0007957299000021
Abstract
Description
[Technical Field]
[0001] This disclosure relates to an optimization apparatus, an optimization method, and a program. [Background technology]
[0002] A typical combinatorial optimization problem aims to find the unique combination that optimizes (minimizes or maximizes) a desired objective function. However, some combinatorial optimization problems seek an optimal portfolio of combinations, i.e., a mix of several combinations. Some of these problems can be formulated using a convex objective function.
[0003] Combinatorial optimization problems that seek the optimal portfolio of combinations and can be formulated using a convex objective function can be solved using the Frank-Wolfe method described in Non-Patent Document 1 when the number of selectable combinations is small. Furthermore, when the objective function belongs to a good class called a strongly convex function, it can be solved using the Fully-corrective Frank-Wolfe method or the Away-step Frank-Wolfe method described in Non-Patent Document 2. However, in the Frank-Wolfe method described in Non-Patent Document 1, the error from the optimal value of the objective function decreases only at a rate proportional to the reciprocal of the number of iterations, and in the Fully-corrective Frank-Wolfe method and the Away-step Frank-Wolfe method described in Non-Patent Document 2, although the error from the optimal value of the objective function decreases exponentially with the number of iterations, the condition that the objective function is a strongly convex function must be satisfied. In contrast, Non-Patent Document 3 describes a Frank-Wolfe method in which the error from the optimal value of the objective function decreases exponentially with the number of iterations even under conditions where the objective function is less strongly convex than expected. Hereafter, we will refer to the phenomenon where the error between the objective function and its optimal value decreases exponentially with the number of iterations as "linear convergence."
[0004] On the other hand, when the number of selectable combinations is exponentially large, even one iteration of the Frank-Wolfe algorithm takes exponentially long, making it difficult to solve in a practical amount of time. In contrast, Non-Patent Document 4 describes a method that enables practically fast optimization even when the number of selectable combinations is exponentially large by using a data structure that can compactly represent the set of selectable combinations in the calculations within the Frank-Wolfe algorithm. In the method described in Non-Patent Document 4, when the objective function is a strongly convex function, the error from the optimal value of the objective function converges linearly. [Prior art documents] [Non-patent literature]
[0005] [Non-Patent Document 1] Marguerite Frank and Philip Wolfe. An algorithm for quadratic programming. Naval Research Logistics Quarterly, Vol. 3, pp. 95-110. [Non-Patent Document 2] Simon Lacoste-Julien and Martin Jaggi. On the global linear convergence of Frank--Wolfe optimization variants. In Proceedings of the 28th International Conference on Neural Information Processing Systems, Vol. 1, pp. 496-504, 2015. [Non-Patent Document 3] Dan Garber and Noam Wolf. Frank-Wolfe with a nearest extreme point oracle, In Proceedings of the 34th Annual Conference on Learning Theory, PMLR Vol. 134, pp. 2103-2132, 2021. [Non-Patent Document 4] Kengo Nakamura, Shinsaku Sakaue, and Norihito Yasuda. Practical Frank-Wolfe method with decision diagrams for computing Wardrop equilibrium of combinatorial congestion games. In Proceedings of the 34th AAAI Conference on Artificial Intelligence, pp. 2200-2209, 2020. [Overview of the Initiative] [Problems that the invention aims to solve]
[0006] However, although the method described in Non-Patent Document 4 shows linear convergence of the error to the optimal value of the objective function, theoretically its speed is very slow, and the condition that the objective function is strongly convex may not hold in practical applications.
[0007] This disclosure is made in view of the above points, and provides a technique that enables the error to the optimal value of the objective function to converge linearly under conditions where the objective function is less strongly convex than the objective function, and that enables the rapid solution of combinatorial optimization problems even when the number of selectable combinations is exponentially large. [Means for solving the problem]
[0008] An optimization device according to one aspect of this disclosure has a convex objective function f and an item set X = {a1,···,a}. d Selectable combinations for}: C1, ..., C t For a set of combinations scrC representing the set ⊆X, the combination C i The probability is p i (However, p i ≥ 0 and p1 + ... + p tAn optimization device that finds a vector x that represents being included in (=1) and minimizes f(x), comprising: an input unit that inputs the objective function f, a ZDD representing the combinatorial set scrC as a zero-suppressed binary decision graph, and a tolerance ε between the objective function f and the optimal value of the objective function f; and a Frank-Wolfe method that uses the objective function f, the ZDD, and the tolerance ε to find the solution x obtained in the previous iteration in each iteration. T Using the aforementioned ZDD, the following solution x T+1 The system includes an optimization unit that finds a vector x such that the error from the optimal value of the objective function f is less than or equal to the allowable error ε, by calculating the following: [Effects of the Invention]
[0009] This provides a technique that enables the error to the optimal value of the objective function to converge linearly under conditions where the objective function is less strongly convex than the objective function, and that can solve combinatorial optimization problems quickly even when the number of selectable combinations is exponentially large. [Brief explanation of the drawing]
[0010] [Figure 1] This figure shows an example of the hardware configuration of the optimization device according to this embodiment. [Figure 2] This figure shows an example of the functional configuration of the optimization device according to this embodiment. [Figure 3] This is a flowchart showing an example of the process for solving a combinatorial optimization problem. [Figure 4] This figure shows an example of the processing flow performed by the optimization unit. [Figure 5] This figure shows an example of the processing flow of LinearMin(w). [Figure 6] This figure shows an example of the processing flow for NearPoint(x,w,ρ). [Modes for carrying out the invention]
[0011] The following describes one embodiment of the present invention.
[0012] <Type of combinatorial optimization problem for finding an optimal combination portfolio> Some combinatorial optimization problems involve finding an optimal combination portfolio, i.e., a mixed set of several combinations. For this type of problem, given an item set X={a1,···,a d} and its selectable combinations C1,···,C t ⊆X, the probability values p1,···,p corresponding to each combination are obtained t . This means a mixed combination such that the combination C i is included at a ratio p i . Since these values are probabilities, p i ≧0 and p1+···+p t =1 is required.
[0013] Some of the above types of problems are formulated as follows. First, the set of selectable combinations is defined as follows.
[0014] [Formula] Hereinafter, in the text of this specification, the set of combinations is represented as "scrC".
[0015] Furthermore, for a combination C⊆X, its indicator vector 1 C is a d=|X|-dimensional vector, and a i ∈C, the i-th element is 1, otherwise it is a vector with the i-th element being 0. In this case, consider the following optimization problem for the objective function f(x), which is a convex function.
[0016] [Formula] Here, in general, for a set of d-dimensional vectors V={v1,···,v t}, conv(V) is its convex hull, i.e., as follows.
[0017] [Formula] p of this convex hull i The conditions relating to each p in a problem of the type where you need to find the optimal combination of portfolios. i This is consistent with the requirements for [the solution]. Generally, the number of selectable combinations t can be exponentially large with respect to the size of the item set X, so although the combinatorial optimization problem shown in equation (1) above is a convex optimization problem, it is a difficult problem to solve.
[0018] This type of problem often arises when difficult combinatorial optimization problems are continuously relaxed. That is, the problem of choosing the optimal combination from a set of possible combinations, as shown below, is difficult to solve unless the set of combinations, scrC, has a special structure, because the range of possible values for x is discrete.
[0019]
number
[0020] Another application of this type of problem is the calculation of equilibrium in combinatorial congestion games. In a congestion game, each player chooses a combination of items C⊆X from a set of items X. However, the possible combinations of items are predetermined, and the set of such combinations is called the strategy set scrC. Each element (combination of items) within the strategy set is called a strategy. Each item is set so that the more people who choose it, the higher the cost, and the cost a player receives is the sum of the costs of the items in their strategy. In this case, each player does not cooperate with others and tries to choose the strategy with the lowest possible cost on their own. An important state in a congestion game is called the "equilibrium state". The equilibrium state is a state in which the players are not dissatisfied, and it is the state that is reached as a result of players who do not cooperate with each other trying to reach the state with the lowest cost on their own. It is known that finding the equilibrium state is an optimization problem of the form equation (1) which minimizes a function f called the potential function under the strategy set scrC.
[0021] <Conventional methods that can solve the combinatorial optimization problem shown in equation (1) and their limitations> The combinatorial optimization problem shown in equation (1) can be solved using the Frank-Wolfe method described in Non-Patent Document 1 when the number of selectable combinations t is small. In this case, the error between the objective function f and the optimal value decreases in proportion to the reciprocal of the number of iterations T, 1 / T. Furthermore, if the objective function f belongs to a good class called a strongly convex function, it can be solved using the Fully-corrective Frank-Wolfe method or the Away-step Frank-Wolfe method described in Non-Patent Document 2. In this case, the error between the objective function f and the optimal value decreases exponentially with respect to the number of iterations T (i.e., linear convergence).
[0022] On the other hand, when the number of selectable combinations t is exponentially large, even one iteration of the Frank-Wolfe method takes exponentially long, making it difficult to solve within a realistic timeframe. The method described in Non-Patent Document 4 addresses this situation. This method compactly represents the set of selectable combinations scrC using a zero-suppressed binary decision diagram (ZDD) described in Reference Document 1, and uses this in the calculations within the Frank-Wolfe method. As a result, optimization can be performed at a practically fast pace even when the number of selectable combinations t is exponentially large. When the objective function f is a strongly convex function, the error between this method and the objective function f converges linearly. Although the method described in Non-Patent Document 4 primarily focuses on finding the equilibrium state of combinatorial congestion games, it is generally applicable to optimization problems of the form of equation (1).
[0023] The method described in Non-Patent Literature 4 shows that the error from the optimal value of the objective function f converges linearly with respect to the number of iterations T. However, theoretically, this convergence is very slow, and if the number of items d in the item set X is also included in the analysis, in practice, only exponential convergence for very small numbers such as T / exp(αd) can be guaranteed. Furthermore, the condition that the objective function f is strongly convex does not always hold in practical applications. For example, when finding the equilibrium state of a combinatorially congested game, if the cost of each item increases monotonically with respect to the proportion of people who choose that item, the potential function, which is the objective function, is strongly convex. However, if it is monotonically non-decreasing, that is, if the cost does not increase with respect to the proportion of people who choose it, then it is not strongly convex. In this case, only a reduction in the error proportional to the reciprocal of the number of iterations T, 1 / T, can be guaranteed.
[0024] <Proposed method> In order to solve the problems existing in the method described in Non-Patent Document 4, we propose a method that applies ZDD to another type of Frank-Wolfe method described in Non-Patent Document 3. In the Frank-Wolfe method described in Non-Patent Document 3, for the optimization problem in the form of Equation (1), even under conditions where the objective function f is less restrictive than strong convexity, the error relative to the optimal value of the objective function f converges linearly with respect to the number of iterations T. Also, in an analysis that includes the number of items d, the convergence is exponential with respect to T / O(d 4 ), and the decay with respect to the number of items d is only polynomial rather than exponential. On the other hand, since the Frank-Wolfe method itself described in Non-Patent Document 3 requires time proportional to the number t of selectable combinations per iteration, it cannot be applied when the number of selectable combinations is exponentially large. Therefore, in the proposed method, a part of the calculation inside the Frank-Wolfe method is replaced with a procedure using ZDD to achieve practically fast optimization.
[0025] Hereinafter, the optimization device 10 that obtains a solution to the combinatorial optimization problem shown in Equation (1) using the proposed method will be described.
[0026] The differences between the proposed method and the methods described in Non-Patent Document 3 and Non-Patent Document 4 are as follows: Since the method described in Non-Patent Document 3 requires time proportional to the number t of selectable combinations per iteration of the calculation inside the Frank-Wolfe method, it cannot be applied when the number of selectable combinations is exponentially large. On the other hand, in the proposed method, one iteration of the calculation inside the Frank-Wolfe method takes time proportional to the size of the ZDD that represents the set scrC of selectable combinations, and similar to Non-Patent Document 4, even when the number t of selectable combinations is exponentially large, optimization can be performed practically quickly. Furthermore, unlike the method described in Non-Patent Document 4, it has linear convergence of the error under conditions where the objective function f is less restrictive than strong convexity, and exponential convergence with respect to T / O(d 4 ).
[0027] <Structure of ZDD> As preparation for describing the optimization apparatus 10 according to this embodiment, the structure of the ZDD will be described. A ZDD is a data structure that represents a set of combinations using a loopless graph (directed acyclic graph (DAG)) made up of nodes and oriented edges. A ZDD has two types of nodes: terminal nodes and branch nodes, which are represented by downtuck symbols and uptuck symbols, respectively. Hereafter, in the text of this specification, the downtuck symbol will be replaced by the uppercase tau symbol "Τ", and the uptuck symbol will be replaced by the vertical symbol "⊥".
[0028] Each terminal node has no outgoing edges, and each branch node has exactly two outgoing edges: a 0-branch and a 1-branch. Additionally, there is one node in a ZDD that has no incoming edges (branches), which is called the root node and is denoted by r. For a branch node v, the node pointed to by the 0-branch that emerges from that branch node v is called the 0-child node and is denoted by v0. Similarly, for a branch node v, the node pointed to by the 1-branch that emerges from that branch node v is called the 1-child node and is denoted by v1.
[0029] Each branch node v has an integer value called a label v lv The labels ∈{1,···,c} are attached, and these correspond to the item numbers. For terminal nodes, the label value is set to c+1. In this case, each 0-branch and 1-branch must always go from the node with the smaller label to the node with the larger label. That is, for any branch node v, v lv <(v0) lv , and, v lv <(v1) lv Make it so that it is true.
[0030] The set of combinations represented by ZDD is represented by the set of paths from the root node r to the terminal node T. A single path R from the root node r to the terminal node T is defined as a path that follows a 1-edge originating from a node labeled i, and only in that case, a iThis corresponds to a subset C(R)⊆X of the item set X such that ∈C(R). The set of subsets corresponding to all paths from the root node r to the terminal node T is the combinatorial set represented by ZDD.
[0031] Here, for example, if the combinatorial set scrC is a set of substructures such as matchings, cycles, trees, and paths of a certain graph structure, a ZDD representing the combinatorial set scrC can be efficiently constructed using a method called the frontier method described in Reference 2. Furthermore, by using an operation called the Apply operation described in Reference 1, a ZDD representing any combinatorial set can be constructed. Therefore, in the following embodiment, the ZDD representing the combinatorial set scrC is provided to the optimization device 10.
[0032] <Example of hardware configuration for optimization device 10> Figure 1 shows an example of the hardware configuration of the optimization device 10 according to this embodiment. As shown in Figure 1, the optimization device 10 according to this embodiment includes an input device 101, a display device 102, an external I / F 103, a communication I / F 104, a RAM (Random Access Memory) 105, a ROM (Read Only Memory) 106, an auxiliary storage device 107, and a processor 108. Each of these hardware components is connected to each other via a bus 109 so as to be able to communicate.
[0033] The input device 101 is, for example, a keyboard, mouse, touch panel, or physical button. The display device 102 is, for example, a display or display panel. The optimization device 10 does not necessarily have to have at least one of the input device 101 and the display device 102.
[0034] External I / F 103 is an interface with external devices such as recording media 103a. Examples of recording media 103a include CD (Compact Disc), DVD (Digital Versatile Disk), SD memory card (Secure Digital memory card), and USB (Universal Serial Bus) memory card.
[0035] The communication interface 104 is an interface for connecting the optimization device 10 to a communication network. The RAM 105 is a volatile semiconductor memory (storage device) that temporarily holds programs and data. The ROM 106 is a non-volatile semiconductor memory (storage device) that can retain programs and data even when the power is turned off. The auxiliary storage device 107 is a non-volatile storage device such as an HDD (Hard Disk Drive), SSD (Solid State Drive), or flash memory. The processor 108 is a type of arithmetic unit such as a CPU (Central Processing Unit) or GPU (Graphic Processing Unit).
[0036] Note that the hardware configuration shown in Figure 1 is just one example, and the optimization device 10 may have multiple auxiliary storage devices 107 and multiple processors 108, or it may not have some of the hardware shown, or it may have various other hardware besides the hardware shown.
[0037] <Example of Functional Configuration of Optimization Device 10> Figure 2 shows an example of the functional configuration of the optimization device 10 according to this embodiment. As shown in Figure 2, the optimization device 10 according to this embodiment has an input unit 201, an optimization unit 202, and an output unit 203. 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 108 or the like.
[0038] The input unit 201, given a convex objective function f, a set of combinatorial sets scrC representing the set of selectable combinations ZDD, and a tolerance ε, takes these objective function f, ZDD, and tolerance ε as input.
[0039] The optimization unit 202 solves the combinatorial optimization problem shown in equation (1) within the error ε, based on the objective function f, ZDD, and tolerance ε input by the input unit 201. That is, the optimization unit 202 finds the optimal solution x * For |f(x)-f(x * x∈conv({1 C Find |C∈scrC}).
[0040] The output unit 203 outputs the solution x obtained by the optimization unit 202 to a predetermined output destination. Examples of predetermined output destinations include a display device 102 such as a display, an auxiliary storage device 107 such as an HDD, SSD, or flash memory, and other devices, equipment, terminals, etc., connected via a communication network.
[0041] Furthermore, the output unit 203, if necessary, outputs the real numbers λ1,···,λ that can be expressed for this solution x as follows, in addition to the solution x. l and C1,···,C l You may output ∈scrC.
[0042]
number
[0043] <Solution process for the combinatorial optimization problem shown in equation (1)> The process for finding the solution to the combinatorial optimization problem shown in equation (1) will be explained below with reference to Figure 3. In the following, it is assumed that the optimization device 10 is given a convex objective function f, a combinatorial set scrC representing the set of selectable combinations (ZDD), and a tolerance ε.
[0044] The input unit 201 receives the given objective function f, ZDD, and tolerance ε (step S101).
[0045] Next, the optimization unit 202 solves the combinatorial optimization problem shown in equation (1) within the error ε, based on the objective function f, ZDD, and tolerance ε input in step S101, to obtain the solution x (step S102). Details of the process in this step will be described later.
[0046] Then, the output unit 203 outputs the solution x obtained in step S102 to a predetermined output destination (step S103).
[0047] <Processing flow executed by the optimization unit 202> The following describes in detail the processing flow executed by the optimization unit 202 in step S102 described above, with reference to Figure 4.
[0048] First, the optimization unit 202 uses an arbitrarily chosen combination C∈scrC to determine x1←1 C Initialize it as follows, and also initialize v1←x1 (lines 1-2). Then the optimization unit 202 calculates the solution x T is |f(x T )-f(x * The process in lines 4-7 is repeated until it is determined that |≦ε is satisfied (line 3). Meanwhile, the optimization unit 202 calculates the solution x T is |f(x T )-f(x * If it is determined that )|≦ε is satisfied (4th line), then the solution x T The result is output as the solution x to the combinatorial optimization problem shown in equation (1) (5th line). Note that T is a variable representing the number of iterations of the process in lines 4 to 7.
[0049] Here, solution x T is |f(x T )-f(x * One way to determine whether |f(x) ≤ ε is to use the duality gap described in Reference 3. In the fourth row of Figure 4, this duality gap is used to determine whether |f(x) ≤ ε. T )-f(x * It is determining whether or not | ≤ ε.
[0050] x T The duality gap in this context is defined by the following formula:
[0051]
number
[0052] In line 6, the optimization unit 202 performs x T and ∇f(x T ) and βρ T By calling the NearPoint function with and as arguments, the optimal combination C' is selected from scrC using ZDD, and v T+1 The instruction vector 1 C' Substitute the values. Details of the NearPoint function's processing will be described later. Also, the constants β and ρ T The method for determining this will be explained later.
[0053] In line 7, the optimization unit 202 calculates the vector v1,···,v T+1 Find the x that minimizes the following function within the convex hull of x T+1 Substitute it into the variable.
[0054]
number
[0055] <Constants β and ρ T How to determine it > Constants β and ρ T Let's explain how to determine it. First, we set β = 1. Next, ρ T There are various ways to define this, but below, we will explain two methods as examples.
[0056] The first method is to determine the objective function f when its properties are well known. Assume that the objective function f satisfies the quadratic growth property described in Definition 1 of Non-Patent Document 3 for a constant α > 0. Also, the optimal value of the combinatorial optimization problem shown in equation (1) is f. * The lower bound L, i.e., f * Let's assume we know the values that satisfy ≥L. Then C = f(x1) - L, M = max{(1 / α)(4+8d 4 Set ),1 / 2} and ρ T To define.
[0057]
number
[0058] The second method is to determine the objective function f when its properties are not well understood. In this case, ρ T Instead of defining a single value for ρ, several ρ TConsider a procedure in which the value of T is tested, and the one that minimizes the objective function value is adopted. More specifically, let k be as follows, and for ρ k =1, 1 / 2, 1 / 4, ..., 1 / 2 T+1 repeat the processing from the 4th line to the 5th line in FIG. 4, and consider a procedure in which v T+1 and x T+1 when the value of f(x) is minimized are adopted.
[0059] [Formula] With the above procedure, it is also possible to obtain ρ T with which linear convergence can be achieved.
[0060] However, the first method and the second method described above are examples of specific methods for defining ρ T , and the present invention is not limited to these methods.
[0061] <Processing flow of LinearMin function> Hereinafter, the processing flow of the LinearMin function when w is given as an argument will be described with reference to FIG. In LinearMin(w), a process is performed using a ZDD representing scrC to calculate the minimum value of the product (inner product) of the transpose of 1 C and w when C ∈ scrC.
[0062] First, the optimization unit 202 initializes D Τ ← 0 and D ⊥ ← ∞ (line 1). Note that ∞ may be the maximum value that can be taken in implementation.
[0063] Next, the optimization unit 202 scans each branch node v in bottom-up order, that is, in descending order of labels (line 2), and calculates the value of D v as follows (line 3).
[0064] [Formula] Here, v0 is the 0-child node of branch node v, v1 is the 1-child node of branch node v, v lv is the label of branch node v. Also, the following represents the v lv -th element of w.
[0065] [Equation] Then, optimization unit 202 outputs the value of D r for root node r (line 4). This yields the value of the second term of the duality gap shown in Equation 6 above.
[0066] <Processing flow of the NearPoint function> Hereinafter, the processing flow of the NearPoint function when x, w, and ρ are provided as arguments will be described with reference to Figure 6. In NearPoint(x,w,ρ), processing is performed to calculate C∈scrC that minimizes the following function.
[0067] [Equation] Note that in NearPoint(x,w,ρ), ZDD is used for calculations related to the squared distance term ρ||1 C -x|| 2 in the function shown in Equation 12 above. By using a ZDD representing the combinatorial set scrC, the combination C that minimizes the function shown in Equation 12 above can be calculated using lines 1 to 12.
[0068] First, optimization unit 202 initializes D Τ ←0, D ⊥ ←∞ (line 1). Note that ∞ may be set to the maximum possible value in implementation.
[0069] Next, optimization unit 202 scans each branch node v in bottom-up order, that is, in descending order of labels (line 2), and calculates the value of D v as follows (line 3).
[0070] [Equation] Here, v0 is the 0-child node of branch node v, v1 is the 1-child node of branch node v, and v lv is the label of branch node v. Furthermore, the following represents the v lv -th element of w.
[0071] [Equation] Similarly, the following represents the v lv -th element of x.
[0072] [Equation] Hereafter, in the text of this specification, the further subscript of a certain symbol's subscript is expressed by adding an underscore "_" immediately before the last subscript. For example, the "v lv -th element of w" shown in Equation 14 above is expressed as w v_lv in the text of this specification. Similarly, for example, the "v lv -th element of x" shown in Equation 15 above is expressed as x v_lv in the text of this specification.
[0073] Next, the optimization unit 202 substitutes the root node r of the ZDD into v, and substitutes an empty set into C (lines 4 to 5). After that, the optimization unit 202 repeats tracing from v to its child node until v = Τ (line 6). At this time, if D v =D v_1 +w v_lv +ρ(1-2x v_lv ) (line 7), the optimization unit 202 adds a v_lv to C (line 8), and updates v to v1 (line 9). On the other hand, if it is not D v =D v_1 +w v_lv +ρ(1-2x v_lv ) (line 10), the optimization unit 202 updates v to v0 (line 11). This corresponds to D vThis means that if the first term of min is smaller in the calculation, it goes to child node v0 (0), and if the second term is smaller, it goes to child node v1 (1). Finally, the optimization unit 202 does 1 C The result of NearPoint(x,w,ρ) is output to the caller (line 12).
[0074] <Summary> As described above, the optimization device 10 according to this embodiment can solve the combinatorial optimization problem shown in equation (1) at high speed by representing the set of combinations using ZDD, even when the number of selectable combinations is exponentially large. Furthermore, the optimization device 10 according to this embodiment can linearly converge the error to its optimal value with respect to the number of iterations T, even under conditions where the objective function f is less strongly convex than that.
[0075] For conditions under which the error converges linearly with respect to the number of iterations T even when the objective function f is less strongly convex than, more precise conditions are described in Definition 1 of Non-Patent Document 3, but for example, this applies when the objective function f can be expressed as follows using another strongly convex function g, matrix A, and vector b.
[0076]
number
[0077] When calculating the equilibrium state of a combinatorially crowded game, linear convergence can be guaranteed even in the following case: In a combinatorially crowded game, each item a i Usage rate (percentage of players who have selected a combination that includes that item) x i The cost function c is monotonically non-decreasing for this purpose. i (x iGiven ), if we define the potential function as follows, then solving the combinatorial optimization problem shown in equation (1) as the set of selectable combinations of scrC coincides with finding the equilibrium state.
[0078]
number
[0079]
number
[0080] The present invention is not limited to the embodiments specifically disclosed above, and various modifications, changes, and combinations with known technologies are possible without departing from the scope of the claims.
[0081] [Reference 1] Reference 1: Shin-ichi Minato. Zero-suppressed BDDs for set manipulation in combinatorial problems. In Proceedings of the 30th ACM / IEEE Design Automation Conference, 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: Martin Jaggi. Revisiting Frank-Wolfe: projection-free sparse convex optimization. In Proceedings of the 30th International Conference on Machine Learning, PMLR Vol. 28, pp. 427-435, 2013. [Explanation of Symbols]
[0082] 10 Optimization device 101 Input Device 102 Display device 103 External I / F 103a Recording medium 104 Communication I / F 105 RAM 106 ROM 107 Auxiliary storage 108 processors 109 Bus 201 Input section 202 Optimization Department 203 Output section
Claims
1. For an objective function f that is a convex function, and an item set X = {a 1 , ..., a d} and a combination set scrC representing a set of selectable combinations C 1 , ..., C t ⊆X, an optimization device that obtains a vector x that represents that the combination C i is included with a probability p i (where p i ≧0 and p 1 +...+p t =1) and that minimizes f(x), the optimization device comprising: An input unit that inputs the objective function f, the ZDD which represents the set of combinations scrC as a zero-suppressed binary decision graph, and the tolerance ε between the objective function f and the optimal value, Based on the objective function f, the ZDD, and the tolerance ε, in each iteration of the Frank-Wolfe method, the solution x obtained in the previous iteration is used. T Then, using ZDD, we find the combination C that minimizes a function that includes a term relating to the square of the distance between the instruction vector 1 C of combination C included in the set of combinations scrC, and the following solution x based on the found combination C. T+1 An optimization unit that finds a vector x whose error from the optimal value of the objective function f is less than or equal to the allowable error ε by calculating the following: An optimization device having the following features.
2. The optimization unit, In each iteration of the Frank-Wolfe method, the ZDD is used to minimize x τ ∇f(x T) + ρ||x - x T|| 2 (where τ represents the transpose and ρ is a constant) by finding x v T+1 Calculate as follows: v 1 , ..., v T+1 From the above solution x T+1 An optimization apparatus according to claim 1, which determines the following.
3. The optimization unit, For each branch node v of the aforementioned ZDD, the labels are listed in descending order of size: D v ←min{D v_0 , D v_1 + (∇f(x T )) v_lv +ρ(1-2(x) T ) v_lv )} (however, v 0 v is a 0-child node of v 1 is a one-child node of v, v lv is the label of v, (x T ) v_lv is x T no v lv The nth element, (∇f(x T )) v_lv is ∇f(x T ) of v lv The second element, D Τ = 0, D ⊥ =Calculate the maximum value) From the root node r of the aforementioned ZDD to the terminal node T, D v = D v_1 + (∇f(x T )) v_lv +ρ(1-2(x) T ) v_lv ) If so, 1 - child node, D v ≠D v_1 + (∇f(x T )) v_lv +ρ(1-2(x) T ) v_lv ) If so, the combination represented by the path when branched to 0-child node is the above v T+1 The optimization apparatus according to claim 2, which determines as follows.
4. The optimization unit, v 1 , ..., v T+1 In the convex hull of x, τ ∇f(x T )+(β / 2)||x−x T || 2 The x that minimizes (where β is a constant) is the following solution x T+1 An optimization apparatus according to claim 2 or 3, which is used to determine the results.
5. The optimization unit, The above solution x T The optimization apparatus according to claim 1, wherein the vector x is obtained by repeating the Frank-Wolfe method until the duality gap is less than or equal to the tolerance error ε.
6. The objective function f is a convex function, and the item set X = {a 1 , ..., a d Selectable combinations C regarding} 1 , ..., C t For a set of combinations scrC representing the set of ⊆X, the combination C i The probability is p i (However, p i ≥ 0 and p 1 +...+p t An optimization device that finds a vector x that is included in =1) and minimizes f(x), An input procedure for inputting the objective function f, the ZDD representing the set of combinations scrC as a zero-suppressed bipartite decision graph, and the tolerance ε between the objective function f and its optimal value, Based on the objective function f, the ZDD, and the tolerance ε, in each iteration of the Frank-Wolfe method, the solution x obtained in the previous iteration is used. T Then, using ZDD, we find the combination C that minimizes a function that includes a term relating to the square of the distance between the instruction vector 1 C of combination C included in the set of combinations scrC, and the following solution x based on the found combination C. T+1 An optimization procedure to find a vector x whose error from the optimal value of the objective function f is less than or equal to the allowable error ε, by calculating the above, An optimization method to perform.
7. The objective function f is a convex function, and the item set X = {a 1 , ..., a d Selectable combinations C regarding} 1 , ..., C t For a set of combinations scrC representing the set of ⊆X, the combination C i The probability is p i (However, p i ≥ 0 and p 1 +...+p t = 1) A vector x that is included in the equation, and an optimization device that finds the vector x that minimizes f(x), An input procedure for inputting the objective function f, the ZDD representing the set of combinations scrC as a zero-suppressed bipartite decision graph, and the tolerance ε between the objective function f and its optimal value, Based on the objective function f, the ZDD, and the tolerance ε, in each iteration of the Frank-Wolfe method, the solution x obtained in the previous iteration is used. T Then, using ZDD, we find the combination C that minimizes a function that includes a term relating to the square of the distance between the instruction vector 1 C of combination C included in the set of combinations scrC, and the following solution x based on the found combination C. T+1 An optimization procedure to find a vector x whose error from the optimal value of the objective function f is less than or equal to the allowable error ε, by calculating the above, A program that executes the command.
Citation Information
Patent Citations
Optimization method, optimization apparatus, and program
JP2022178099A
JPP7279820B
