JP7040505B2 - Arithmetic logic units, arithmetic systems, operational methods, and computer programs - Google Patents

Arithmetic logic units, arithmetic systems, operational methods, and computer programs Download PDF

Info

Publication number
JP7040505B2
JP7040505B2 JP2019168661A JP2019168661A JP7040505B2 JP 7040505 B2 JP7040505 B2 JP 7040505B2 JP 2019168661 A JP2019168661 A JP 2019168661A JP 2019168661 A JP2019168661 A JP 2019168661A JP 7040505 B2 JP7040505 B2 JP 7040505B2
Authority
JP
Japan
Prior art keywords
programming problem
time
approximate solution
function
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019168661A
Other languages
Japanese (ja)
Other versions
JP2021047533A (en
Inventor
大輔 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Central R&D Labs Inc
Original Assignee
Toyota Central R&D Labs Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Central R&D Labs Inc filed Critical Toyota Central R&D Labs Inc
Priority to JP2019168661A priority Critical patent/JP7040505B2/en
Publication of JP2021047533A publication Critical patent/JP2021047533A/en
Application granted granted Critical
Publication of JP7040505B2 publication Critical patent/JP7040505B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、演算装置、演算システム、演算方法、およびコンピュータプログラムに関する。 The present invention relates to arithmetic units, arithmetic systems, arithmetic methods, and computer programs.

最適化問題を解く方法が知られている(例えば、特許文献1参照)。特許文献1,2には、最適化問題を解くために設計変数の変換に関する技術が開示されている。特許文献3~7および非特許文献1には、最適制御に関連する技術が開示されている。特許文献8,9には、量子化に関連する技術が開示されている。 A method for solving an optimization problem is known (see, for example, Patent Document 1). Patent Documents 1 and 2 disclose a technique for converting design variables in order to solve an optimization problem. Patent Documents 3 to 7 and Non-Patent Document 1 disclose techniques related to optimal control. Patent Documents 8 and 9 disclose techniques related to quantization.

特表2019-512134号公報Special Table 2019-512134 Gazette 特表2019-512779号公報Japanese Patent Publication No. 2019-512779 特開2017-84343号公報JP-A-2017-84343 特開2015-93655号公報Japanese Unexamined Patent Publication No. 2015-93655 特開2014-96091号公報Japanese Unexamined Patent Publication No. 2014-96091 特開2005-38397号公報Japanese Unexamined Patent Publication No. 2005-38397 特開2004-280792号公報Japanese Unexamined Patent Publication No. 2004-280792 特表2003-532149号公報Special Table 2003-532149 Gazette 特開2016-213683号公報Japanese Unexamined Patent Publication No. 2016-213683

Yang Wang, Stephen Boyd, "Fast Model Predictive Control Using Online Optimization", IEEE Transactions on Control Systems Technology, 30 June 2009, Volume 18, Issue 2, March 2010, Pages 267-278Yang Wang, Stephen Boyd, "Fast Model Predictive Control Using Online Optimization", IEEE Transactions on Control Systems Technology, 30 June 2009, Volume 18, Issue 2, March 2010, Pages 267-278

しかしながら、特許文献1,2,7,8に記載された方法では、最適化問題を解くスピードに改良の余地がある。特許文献3~6および非特許文献1に記載された技術では、有限個の入力のみを許容するシステムには適用できない。 However, in the methods described in Patent Documents 1, 2, 7, and 8, there is room for improvement in the speed of solving the optimization problem. The techniques described in Patent Documents 3 to 6 and Non-Patent Document 1 cannot be applied to a system that allows only a finite number of inputs.

本発明は、上述した課題を解決するためになされたものであり、有限個の入力を許容した上で、高速かつ高精度に最適化問題を解く技術を提供することを目的とする。 The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a technique for solving an optimization problem at high speed and with high accuracy while allowing a finite number of inputs.

本発明は、上述の課題を解決するためになされたものであり、以下の形態として実現できる。演算装置であって、時間と共にパラメータが変化する二次計画問題の設計変数であって、各時刻において離散値である設計変数を、2値の整数計画問題の設計変数に変換する変換部と、前記変換部によって変換された設計変数をイジングマシンに送信する送信部と、前記送信部により送信された設計変数から前記イジングマシンにより算出された2値の整数計画問題の近似解を受信する受信部と、前記受信部により受信された前記整数計画問題の近似解を、前記二次計画問題の近似解に逆変換する逆変換部と、を備え、前記二次計画問題の評価関数は、時系列信号の最適動的量子化問題の関数である、演算装置。そのほか、本発明は、以下の形態としても実現可能である。 The present invention has been made to solve the above-mentioned problems, and can be realized as the following forms. A conversion unit that converts a design variable that is a discrete value at each time into a design variable of a binary integer programming problem, which is an arithmetic device and is a design variable of a secondary programming problem whose parameters change with time. A transmitter that sends the design variables converted by the converter to the Zing machine, and a receiver that receives an approximate solution of a binary integer programming problem calculated by the Rising machine from the design variables transmitted by the transmitter. The evaluation function of the quadratic programming problem is time-series. An arithmetic unit that is a function of the optimal dynamic quantization problem of a signal. In addition, the present invention can also be realized in the following forms.

(1)本発明の一形態によれば、演算装置が提供される。この演算装置は、時間と共にパラメータが変化する二次計画問題の設計変数であって、各時刻において離散値である設計変数を、2値の整数計画問題の設計変数に変換する変換部と、前記変換部によって変換された設計変数をイジングマシンに送信する送信部と、前記送信部により送信された設計変数から前記イジングマシンにより算出された2値の整数計画問題の近似解を受信する受信部と、前記受信部により受信された前記整数計画問題の近似解を、前記二次計画問題の近似解に逆変換する逆変換部と、を備える。 (1) According to one embodiment of the present invention, an arithmetic unit is provided. This arithmetic unit is a design variable of a quadratic programming problem whose parameters change with time, and has a conversion unit that converts a design variable that is a discrete value at each time into a design variable of a binary integer programming problem, and the above. A transmitter that sends the design variables converted by the converter to the Zing machine, and a receiver that receives an approximate solution of a binary integer programming problem calculated by the Rising machine from the design variables transmitted by the transmitter. It is provided with an inverse conversion unit that reversely converts the approximate solution of the integer programming problem received by the receiving unit into the approximate solution of the quadratic programming problem.

この構成によれば、イジングマシンが許容しない離散値の設計変数が、イジングマシンが許容する2値の整数計画問題の設計変数に変換される。イジングマシンは、送信部によって送信された変換後の設計変数を用いて、2値の整数計画問題における評価関数の近似解を算出できる。イジングマシンが算出した近似解は、受信部により受信される。受信された近似解は、逆変換部によって、変換部による変換前の二次計画問題の近似解に逆変換される。そのため、本構成では、イジングマシンが許容しない設計変数を、イジングマシンが許容する設計変数に変換することにより、イジングマシンを用いて高速かつ高精度の最適値の近似解を算出できる。 According to this configuration, the discrete value design variables that the Ising machine does not allow are converted into the design variables of the binary integer programming problem that the Ising machine allows. The Ising machine can calculate an approximate solution of the evaluation function in a binary integer programming problem using the converted design variables transmitted by the transmitter. The approximate solution calculated by the Ising machine is received by the receiving unit. The received approximate solution is inversely converted by the inverse transformant into an approximate solution of the quadratic programming problem before conversion by the transformant. Therefore, in this configuration, by converting the design variables that the Ising machine does not allow into the design variables that the Ising machine allows, it is possible to calculate an approximate solution of the optimum value at high speed and with high accuracy using the Ising machine.

(2)上記態様の演算装置において、前記変換部、前記送信部、前記受信部、及び前記逆変換部は、前記変換、前記送信、前記受信、及び前記逆変換を繰り返し実行し、前記変換部は、一時刻前に前記逆変換部によって逆変換された前記二次計画問題の近似解を用いて、現時刻の前記二次計画問題の前記パラメータを算出してもよい。
この構成によれば、イジングマシンを用いた近似解を算出した後に、繰り返し、当該近似解を用いて任意の処理単位時間後の近似解を算出する。これにより、ある時刻での入力に対して、連続的にその後の近似解が算出される。
(2) In the arithmetic unit of the above embodiment, the conversion unit, the transmission unit, the reception unit, and the inverse conversion unit repeatedly execute the conversion, the transmission, the reception, and the inverse conversion, and the conversion unit. May calculate the parameters of the secondary planning problem at the current time by using the approximate solution of the secondary planning problem that was inversely transformed by the inverse conversion unit one time ago.
According to this configuration, after calculating an approximate solution using the Ising machine, the approximate solution is repeatedly calculated using the approximate solution after an arbitrary processing unit time. As a result, the approximate solution after that is continuously calculated for the input at a certain time.

(3)上記態様の演算装置において、前記二次計画問題の評価関数は、離散値の入力のみを許容する制御システムの最適制御問題の関数であってもよい。
この構成によれば、離散値の入力のみを許容する最適制御問題の評価関数を、離散値の入力を許容しないイジングマシンを用いて、高速かつ高精度に解くことができる。
(3) In the arithmetic unit of the above aspect, the evaluation function of the secondary planning problem may be a function of the optimum control problem of the control system that allows only input of discrete values.
According to this configuration, the evaluation function of the optimal control problem that allows only the input of discrete values can be solved at high speed and with high accuracy by using the Ising machine that does not allow the input of discrete values.

(4)上記態様の演算装置において、前記二次計画問題の評価関数は、時系列信号の最適動的量子化問題の関数であってもよい。
この構成によれば、時系列信号を2値の整数計画問題の設計変数に変換してイジングマシンを用いて、高速かつ高精度に最適動的量子化問題を解くことができる。
(4) In the arithmetic unit of the above aspect, the evaluation function of the secondary planning problem may be a function of the optimum dynamic quantization problem of the time series signal.
According to this configuration, it is possible to solve the optimum dynamic quantization problem at high speed and with high accuracy by converting the time series signal into the design variables of the binary integer programming problem and using the Ising machine.

(5)上記態様の演算装置において、前記整数計画問題は、0-1変数計画問題であってもよい。
この構成によれば、2値の整数計画問題として、一般的に広く使用されている0-1変数計画問題を用いることにより、汎用性を向上できる。
(5) In the arithmetic unit of the above aspect, the integer programming problem may be a 0-1 variable programming problem.
According to this configuration, versatility can be improved by using a generally widely used 0-1 variable programming problem as a binary integer programming problem.

なお、本発明は、種々の態様で実現することが可能であり、例えば、演算装置、解析装置、イジングマシンを備える演算システム、およびこれらを備える装置およびシステム、および演算方法、解析方法、およびこれらシステムや方法を実行するためのコンピュータプログラム、このコンピュータプログラムを配布するためのサーバ装置、コンピュータプログラムを記憶した一時的でない記憶媒体等の形態で実現することができる。 It should be noted that the present invention can be realized in various aspects, for example, an arithmetic unit, an analysis apparatus, an arithmetic system including a singing machine, an apparatus and system including these, an arithmetic method, an analysis method, and the like. It can be realized in the form of a computer program for executing a system or a method, a server device for distributing the computer program, a non-temporary storage medium for storing the computer program, or the like.

本発明の実施形態としての演算装置を備える演算システムのブロック図である。It is a block diagram of the arithmetic system including the arithmetic unit as the embodiment of this invention. 本実施形態の演算方法のフローチャートである。It is a flowchart of the calculation method of this embodiment. 実施例1の効果を示す説明図である。It is explanatory drawing which shows the effect of Example 1. FIG. 実施例1の効果を示す説明図である。It is explanatory drawing which shows the effect of Example 1. FIG. 実施例1の効果を示す説明図である。It is explanatory drawing which shows the effect of Example 1. FIG. 実施例2の効果を示す説明図である。It is explanatory drawing which shows the effect of Example 2. FIG. 実施例2の効果を示す説明図である。It is explanatory drawing which shows the effect of Example 2. FIG.

<実施形態>
図1は、本発明の実施形態としての演算装置2を備える演算システム100のブロック図である。演算システム100は、二次計画問題の設計変数を、イジングマシン3で評価可能な2値の整数計画問題の設計変数へと変換する。また、演算システム100は、イジングマシン3により算出された2値の整数計画問題における近似解を、二次計画問題の近似解へと逆変換する。
<Embodiment>
FIG. 1 is a block diagram of an arithmetic system 100 including an arithmetic unit 2 as an embodiment of the present invention. The arithmetic system 100 converts the design variables of the quadratic programming problem into the design variables of the binary integer programming problem that can be evaluated by the singing machine 3. Further, the arithmetic system 100 inversely transforms the approximate solution in the binary integer programming problem calculated by the Ising machine 3 into the approximate solution in the quadratic programming problem.

図1に示されるように、演算システム100は、イジングモデルを評価可能なイジングマシン3と、イジングマシン3と設計変数および近似解を送受信することにより二次計画問題の近似解を演算する演算装置2と、を備えている。イジングマシン3と、演算装置2とは、例えばLAN(Local Area Network)やインターネットによって接続され、相互に通信することができる。 As shown in FIG. 1, the arithmetic system 100 is an arithmetic unit that calculates an approximate solution of a secondary planning problem by transmitting and receiving a design variable and an approximate solution to the Ising machine 3 capable of evaluating the Ising model and the Ising machine 3. 2 and. The Ising machine 3 and the arithmetic unit 2 are connected by, for example, a LAN (Local Area Network) or the Internet, and can communicate with each other.

イジングマシン3は、組み合わせ最適化問題を解くことに特化されたコンピュータであり、イジングモデルと呼ばれる特殊なモデルを用いて、2値の整数計画問題の近似解を高速に算出することができる。イジングマシン3が用いるイジングモデルは、膨大な個数のミクロ要素が相互作用し、また各ミクロ要素に強制力が与えられている際の、マクロ(全体)の振る舞いを表現するモデルである。イジングモデルにおけるミクロ要素はスピンとも呼ばれ、0-1や、±1等の2値をとる。このため、イジングマシン3は、2値の整数計画問題の近似解を高速に算出できる一方で、二次計画問題の評価関数から近似解を算出できないという特徴がある。以降、本実施形態のイジングマシン3は、「0-1変数計画問題」として表されるイジングモデルのみを許容する場合を例示して説明する。しかし、上述の通りイジングマシン3は、例えば「±1変数計画問題」として表されるイジングモデルのみを許容するとして構成されてもよい。 The Ising machine 3 is a computer specialized in solving combinatorial optimization problems, and can calculate an approximate solution of a binary integer programming problem at high speed by using a special model called the Ising model. The Ising model used by the Ising machine 3 is a model that expresses macro (whole) behavior when a huge number of micro elements interact with each other and a forcing force is applied to each micro element. Micro elements in the Ising model are also called spins and take binary values such as 0-1 and ± 1. Therefore, the Ising machine 3 has a feature that the approximate solution of the binary integer programming problem can be calculated at high speed, but the approximate solution cannot be calculated from the evaluation function of the quadratic programming problem. Hereinafter, the Ising machine 3 of the present embodiment will be described by way of example in a case where only the Ising model represented as the “0-1 variable planning problem” is allowed. However, as described above, the Ising machine 3 may be configured to allow only the Ising model represented, for example, as a "± 1 variable planning problem".

演算装置2は、いわゆるパーソナルコンピュータ(PC:Personal Computer)である。演算装置2は、図1に示されるように、ユーザなどの入力を受け付ける入力部20と、各種プログラムを実行するCPU(Central Processing Unit)10と、ROM(Read Only Memory)50と、RAM(Random Access Memory)60と、イジングマシン3と情報の送受信を行う通信部(送信部、受信部)30と、各種情報を記憶する記憶部40と、各種データを画像や音声で出力する出力部70と、を備えている。 The arithmetic unit 2 is a so-called personal computer (PC). As shown in FIG. 1, the arithmetic unit 2 includes an input unit 20 that receives input from a user or the like, a CPU (Central Processing Unit) 10 that executes various programs, a ROM (Read Only Memory) 50, and a RAM (Random). Access Memory) 60, a communication unit (transmitter, receiver) 30 that sends and receives information to and from the Zing machine 3, a storage unit 40 that stores various information, and an output unit 70 that outputs various data as images and sounds. , Is equipped.

本実施形態の入力部20は、キーボードおよびマウスで構成されている。入力部20が受け付けた入力情報は、CPU10へと送信される。CPU10は、ROM50に格納されているコンピュータプログラムをRAM60に展開して実行する。これにより、CPU10は、変換部11および逆変換部12として機能する。変換部11および逆変換部12の機能については後述する。 The input unit 20 of this embodiment is composed of a keyboard and a mouse. The input information received by the input unit 20 is transmitted to the CPU 10. The CPU 10 expands the computer program stored in the ROM 50 into the RAM 60 and executes it. As a result, the CPU 10 functions as a conversion unit 11 and an inverse conversion unit 12. The functions of the conversion unit 11 and the inverse conversion unit 12 will be described later.

通信部30は、無線通信によって、変換部11により変換された設計変数をイジングマシン3へと送信する。また、通信部30は、イジングマシン3により算出された0-1変数計画問題の近似解を受信する。記憶部40は、ハードディスクドライブ(HDD:Hard Disk Drive)などで構成されている。記憶部40は、入力部20が受け付けた入力情報およびCPU10からの制御情報に応じて、各種情報を記憶する。本実施形態の出力部70は、画像を表示可能なモニタ、および、音声を出力可能なスピーカで構成されている。出力部70は、CPU10からの制御情報に応じて各種出力を行う。例えば、出力部70は、逆変換部12により算出された二次計画問題の近似解を、画像としてモニタに表示する。 The communication unit 30 transmits the design variables converted by the conversion unit 11 to the Ising machine 3 by wireless communication. Further, the communication unit 30 receives an approximate solution of the 0-1 variable planning problem calculated by the Ising machine 3. The storage unit 40 is composed of a hard disk drive (HDD: Hard Disk Drive) or the like. The storage unit 40 stores various types of information according to the input information received by the input unit 20 and the control information from the CPU 10. The output unit 70 of the present embodiment is composed of a monitor capable of displaying an image and a speaker capable of outputting audio. The output unit 70 outputs various outputs according to the control information from the CPU 10. For example, the output unit 70 displays an approximate solution of the quadratic programming problem calculated by the inverse conversion unit 12 on the monitor as an image.

変換部11は、入力部20により入力された又は記憶部40に記憶された二次計画問題の設計変数を、0-1変数計画問題の設計変数へと変換する。二次計画問題の設計変数は、時間と共にパラメータが変化する変数であり、各時刻において離散値を取る変数である。すなわち、変換部11に入力される二次計画問題は、イジングマシン3が解くことのできない問題であるため、変換部11が、二次計画問題をイジングモデルへと変換する。一方で、逆変換部12は、通信部30によって受信されたイジングマシン3により算出された0-1変数計画問題の近似解を、変換部11が変換する前の二次計画問題の近似解へと逆変換する。 The conversion unit 11 converts the design variables of the secondary planning problem input by the input unit 20 or stored in the storage unit 40 into the design variables of the 0-1 variable planning problem. The design variable of the quadratic programming problem is a variable whose parameters change with time, and is a variable that takes a discrete value at each time. That is, since the quadratic programming problem input to the conversion unit 11 is a problem that the Ising machine 3 cannot solve, the conversion unit 11 converts the quadratic programming problem into an Ising model. On the other hand, the inverse conversion unit 12 converts the approximate solution of the 0-1 variable planning problem calculated by the Ising machine 3 received by the communication unit 30 into the approximate solution of the secondary planning problem before the conversion unit 11 converts it. And reverse conversion.

以下では、二次計画問題を0-1変数計画問題へと変換する方法について説明する。まず、二次計画問題の近似解を得るために、下記関係式(1)の評価関数Hを最小化する問題を考える。下記関係式(1)におけるuは、行列であり、M本のベクトルからなる有限集合の元(u∈U)であるとする。この場合、集合Uは、下記関係式(2)のように表される。 In the following, a method of converting a quadratic programming problem into a 0-1 variable programming problem will be described. First, in order to obtain an approximate solution to the quadratic programming problem, consider a problem that minimizes the evaluation function H of the following relational expression (1). It is assumed that u in the following relational expression (1) is a matrix and is an element (u ∈ U) of a finite set consisting of M vectors. In this case, the set U is expressed by the following relational expression (2).

Figure 0007040505000001
Figure 0007040505000001
Figure 0007040505000002
Figure 0007040505000002

変換部11は、二次計画問題の設計変数を、イジングモデルが許容する0-1変数計画問題の設計変数へと変換する。変換部11は、上記関係式(2)で表された集合Uに対して、「M(集合Uの要素数)がある自然数Lを用いて「M=2L」を満たす」と仮定する。この場合に、任意のiに対してuiは、下記関係式(3)のように表される。 The conversion unit 11 converts the design variables of the secondary planning problem into the design variables of the 0-1 variable planning problem allowed by the Ising model. The conversion unit 11 assumes that for the set U represented by the relational expression (2), "M (the number of elements of the set U) satisfies" M = 2 L "using a natural number L having a certain value". In this case, u i is expressed as the following relational expression (3) for any i.

Figure 0007040505000003
Figure 0007040505000003

j,l∈{0,1}(j=1,…,m,l=1,…,L)は、0か1のどちらかの値を取る2値変数であり、Kj(j=1,…,m)はスケーリングパラメータである。上記関係式(3)は、L個のビットを用いたバイナリエンコーダによって集合Uの各要素を表現できることを意味している。 b j, l ∈ {0,1} (j = 1, ..., m, l = 1, ..., L) is a binary variable that takes either 0 or 1 value, and K j (j = 1, ..., M) are scaling parameters. The above relational expression (3) means that each element of the set U can be represented by a binary encoder using L bits.

上記関係式(3)は、{0,1}mLから集合Uへの線形写像とみることができ、行列表現すると、下記関係式(4)のように表される。 The above relational expression (3) can be regarded as a linear map from {0,1} mL to the set U, and when expressed in a matrix, it is expressed as the following relational expression (4).

Figure 0007040505000004
Figure 0007040505000004

ここで、上記関係式(1)は、下記関係式(5)のように表現できる。なお、上記関係式(5)の一部を、下記関係式(6)のように置換した。この場合の下記関係式(5)は、0-1変数の2次計画問題である。ここで、イジングマシン3が許容するイジングモデルは、下記関係式(7)のように表される。 Here, the above relational expression (1) can be expressed as the following relational expression (5). In addition, a part of the above relational expression (5) was replaced with the following relational expression (6). The following relational expression (5) in this case is a quadratic programming problem with 0-1 variables. Here, the Ising model allowed by the Ising machine 3 is expressed by the following relational expression (7).

Figure 0007040505000005
Figure 0007040505000005
Figure 0007040505000006
Figure 0007040505000006
Figure 0007040505000007
Figure 0007040505000007

上記関係式(7)におけるσiは、量子ビットと呼ばれる変数であり、σi∈{-1,+1}を満たす。Jijは、相互作用パラメータ、hiは磁場と呼ばれるパラメータである。上記関係式(7)は、下記関係式(8)のように行列表現できる。 Σ i in the above relational expression (7) is a variable called a qubit and satisfies σ i ∈ {-1, + 1}. J ij is an interaction parameter, and hi is a parameter called a magnetic field. The above relational expression (7) can be expressed as a matrix as in the following relational expression (8).

Figure 0007040505000008
Figure 0007040505000008

0-1変数の2次計画問題の上記関係式(5)に示される変数b∈{0,1}と、イジングモデルの上記関係式(7)に示される変数σ∈{-1,+1}とには、下記関係式(9)の関係があることを利用すると、上記関係式(5)から下記関係式(10)を得る。
σ=2b-1・・・(9)
The variable b ∈ {0,1} shown in the above relational expression (5) of the quadratic programming problem of the 0-1 variable and the variable σ ∈ {-1, + 1} shown in the above relational expression (7) of the Ising model. By utilizing the fact that there is a relationship of the following relational expression (9) with and, the following relational expression (10) is obtained from the above relational expression (5).
σ = 2b-1 ... (9)

Figure 0007040505000009
Figure 0007040505000009

上記関係式(10)は、上記関係式(8)のようなイジングモデルである。このようにして、変換部11は、二次計画問題を、イジングモデルが許容する0-1変数計画問題へと変換する。通信部30は、変換部11により変換された上記関係式(10)で表されるイジングモデルを、イジングマシン3に送信する。イジングマシン3は、上記関係式(10)を最小化するようなイジングモデルの変数σopt∈{-1,+1}mLを算出する。 The relational expression (10) is an Ising model like the relational expression (8). In this way, the conversion unit 11 transforms the quadratic programming problem into a 0-1 variable planning problem allowed by the Ising model. The communication unit 30 transmits the Ising model represented by the above relational expression (10) converted by the conversion unit 11 to the Ising machine 3. The Ising machine 3 calculates a variable σ opt ∈ {-1, + 1} mL of the Ising model that minimizes the above relational expression (10).

通信部30は、イジングマシン3から送信される変数σoptを受信する。逆変換部12は、通信部30が受信した変数σoptを、下記関係式(11)のような{0,1}の変数に逆変換する。逆変換部12は、下記関係式(11)で示される{0,1}の変数を、下記関係式(12)で示されるような離散入力に復元する。
opt=2σopt-1mL…(11)
opt=Ebopt…(12)
The communication unit 30 receives the variable σ opt transmitted from the Ising machine 3. The inverse conversion unit 12 inversely converts the variable σ opt received by the communication unit 30 into a variable of {0,1} as in the following relational expression (11). The inverse transformation unit 12 restores the variable {0,1} represented by the following relational expression (11) to a discrete input as shown by the following relational expression (12).
b opt = 2σ opt -1 mL … (11)
u opt = Eb opt … (12)

以下では、制御システムの最適制御問題としての離散時間線形システムの下記関係式(13)で示される一例について説明する。 In the following, an example of the discrete-time linear system represented by the following relational expression (13) as the optimum control problem of the control system will be described.

Figure 0007040505000010
Figure 0007040505000010

上記関係式(13)において、t∈Nは離散時刻を表す。n,m,l∈N(自然素の集合)に対して、x(t)∈Rn(n-次元実数空間)は状態を表し、u(t)∈U⊂Rmは制御入力を表し、a(t)∈Rlは既知の信号を表し、y(t)∈Rlは出力を表す。また、A∈Rn×n,B1∈Rn×m,B2∈Rm×l,C∈Rl×m,D∈Rl×mは、システムの動特性を表す既知の定数行列である。上記関係式(13)で表される制御システムは、完全可制御かつ完全可観測と仮定する。さらに、集合Uは、上記関係式(2)で表される有限集合であるとする。上記関係式(13)で表される制御システムでは、各時刻での入力u(t)が集合Uの要素のみをとることが、通常の制御系とは異なる。次に、上記関係式(13)を制御するために、下記関係式(14)で表される評価関数Hを設計する。 In the above relational expression (13), t ∈ N represents a discrete time. For n, m, l ∈ N (set of natural elements), x (t) ∈ R n (n-dimensional real space) represents a state, and u (t) ∈ U ⊂ R m represents a control input. , A (t) ∈ R l represents a known signal and y (t) ∈ R l represents an output. Further, A ∈ R n × n , B1 ∈ R n × m , B2 ∈ R m × l , C ∈ R l × m , D ∈ R l × m are known constant matrices representing the dynamic characteristics of the system. .. The control system represented by the above relational expression (13) is assumed to be completely controllable and fully observable. Further, it is assumed that the set U is a finite set represented by the above relational expression (2). In the control system represented by the above relational expression (13), the input u (t) at each time takes only the elements of the set U, which is different from the normal control system. Next, in order to control the above relational expression (13), the evaluation function H represented by the following relational expression (14) is designed.

Figure 0007040505000011
Figure 0007040505000011

上記関係式(14)におけるQ∈Rl×l,R∈Rm×mは、重み行列と呼ばれる正定値対称行列であり、設計パラメータである。また、N∈Nは、予測ステップと呼ばれる設計パラメータである。最適制御問題とは、時刻tにおける状態x(t)を観測したときに、時刻tから時刻(t+N-1)までの下記関係式(15)で表される入力列u(t)の中で、上記関係式(14)のような評価関数を最小化する下記関係式(16)を探す問題である。なお、下記関係式(16)におけるUNは、Uの直積集合を表している。 Q ∈ R l × l and R ∈ R m × m in the above relational expression (14) are definite-value symmetric matrices called weight matrices and are design parameters. Further, N ∈ N is a design parameter called a prediction step. The optimal control problem is the input string u (t) represented by the following relational expression (15) from the time t to the time (t + N-1) when the state x (t) at the time t is observed. , The problem is to find the following relational expression (16) that minimizes the evaluation function such as the above relational expression (14). Note that UN in the following relational expression (16) represents a Cartesian product set of U.

Figure 0007040505000012
Figure 0007040505000012
Figure 0007040505000013
Figure 0007040505000013

最適制御問題では、下記関係式(17)で表される拡大行列を定義することにより、下記関係式(18)で表される二次形式の表現を得ることができる。 In the optimal control problem, by defining the augmented matrix represented by the following relational expression (17), a quadratic form expression represented by the following relational expression (18) can be obtained.

Figure 0007040505000014
Figure 0007040505000014
Figure 0007040505000015
Figure 0007040505000015

ここで、上記関係式(2)で定義された集合Uに対して、再び、上記関係式(3)で表されるという仮定を追加し、上記関係式(3)に対して下記関係式(19)の拡大行列を定義する。 Here, the assumption that it is represented by the relational expression (3) is added again to the set U defined by the relational expression (2), and the following relational expression (3) is added to the relational expression (3). 19) Define the augmented matrix.

Figure 0007040505000016
Figure 0007040505000016

このとき、最適制御問題の評価関数Hは、下記関係式(20)のように表現できる。下記関係式(20)を用いて、最適制御問題のイジングモデルは、下記関係式(21)のようになる。すなわち、最適制御問題の評価関数Hは、イジングモデルに帰着される。 At this time, the evaluation function H of the optimal control problem can be expressed as the following relational expression (20). Using the following relational expression (20), the Ising model of the optimal control problem is as shown in the following relational expression (21). That is, the evaluation function H of the optimal control problem is reduced to the Ising model.

Figure 0007040505000017
Figure 0007040505000017
Figure 0007040505000018
Figure 0007040505000018

以下では、時系列信号の最適動的量子化問題の一例として、音声信号{a(t)},t∈N,a(t)∈Rを量子化する問題について説明する。量子化後の信号を{u(t)},t∈N,u(t)∈Rとし、各時刻t∈Nで、あらかじめ固定されたM個の要素からなる集合U={ui|ui∈R,i=1,…,M}に対してu(t)∈Uが満たされるとする。{a(t)}を{u(t)}に量子化する際、量子化誤差|{a(t)}-{u(t)}|が小さい方が好ましく、これを評価関数として表すと、下記関係式(22)にように表現される。下記関係式(22)を最小化するためには、各時刻t∈Nでu(t)として、下記関係式(23)を選択すればよい。 In the following, as an example of the optimum dynamic quantization problem of a time series signal, the problem of quantizing the audio signal {a (t)}, t ∈ N, a (t) ∈ R will be described. Let the quantized signal be {u (t)}, t ∈ N, u (t) ∈ R, and at each time t ∈ N, a set U = {u i | u consisting of M pre-fixed elements. It is assumed that u (t) ∈ U is satisfied for i ∈ R, i = 1, ..., M}. When quantizing {a (t)} to {u (t)}, it is preferable that the quantization error | {a (t)}-{u (t)} | is small, and this is expressed as an evaluation function. , Is expressed as the following relational expression (22). In order to minimize the following relational expression (22), the following relational expression (23) may be selected as u (t) at each time t ∈ N.

Figure 0007040505000019
Figure 0007040505000019
Figure 0007040505000020
Figure 0007040505000020

音声を量子化することの最終目標は、音声を人間が聞いたときの自然さを維持しつつ、データ量を削減することである。人間の聴覚特性は、知覚フィルタ(Perception Filter, PF)と呼ばれるフィルタによって特徴付けられていることが知られている。このフィルタを経由した後の量子化誤差を小さくすることが、より良い量子化の方法である。これまでいくつかの知覚フィルタが知られているが、本実施形態では、下記関係式(24)で表される線形時不変フィルタを用いる。下記関係式(24)で表される知覚フィルタPF経由後の量子化誤差を改めて定義すると、下記関係式(25)で表され、下記関係式(25)に対応する評価関数Hは、下記関係式(26)のように表される。 The ultimate goal of quantizing speech is to reduce the amount of data while maintaining the naturalness of human hearing. It is known that human auditory characteristics are characterized by a filter called a perceptual filter (PF). Reducing the quantization error after passing through this filter is a better method of quantization. Although several perceptual filters have been known so far, in this embodiment, a linear time-invariant filter represented by the following relational expression (24) is used. If the quantization error after passing through the perceptual filter PF represented by the following relational expression (24) is defined again, it is expressed by the following relational expression (25), and the evaluation function H corresponding to the following relational expression (25) has the following relation. It is expressed as the equation (26).

Figure 0007040505000021
Figure 0007040505000021
Figure 0007040505000022
Figure 0007040505000022
Figure 0007040505000023
Figure 0007040505000023

知覚フィルタPFと音声信号{a(t)}とが与えられたときに、上記関係式(25)を状態空間表現すると、下記関係式(27)となる。次に、上記関係式(26)と、離散時線形システムにおける上記関係式(13)との対応を考えると、下記関係式(28)が導かれる。また、上記関係式(26)の評価関数Hと、離散時線形システムにおける上記関係式(14)との対応を考えると、下記関係式(29)が導かれる。 When the perceptual filter PF and the audio signal {a (t)} are given, the state-space representation of the above relational expression (25) gives the following relational expression (27). Next, considering the correspondence between the relational expression (26) and the relational expression (13) in the discrete time linear system, the following relational expression (28) is derived. Further, considering the correspondence between the evaluation function H of the relational expression (26) and the relational expression (14) in the discrete time linear system, the following relational expression (29) is derived.

Figure 0007040505000024
Figure 0007040505000024
Figure 0007040505000025
Figure 0007040505000025
Figure 0007040505000026
Figure 0007040505000026

以上説明したように、上記関係式(26)を最小化する量子化を行う問題は、上記関係式(27)~(29)の対応のもと、離散時線形システムで導入した最適制御問題に帰着される。すなわち、時系列の量子化問題の評価関数Hは、イジングモデルに帰着される。 As described above, the problem of performing quantization that minimizes the above relational expression (26) is the optimal control problem introduced in the discrete time linear system under the correspondence of the above relational expressions (27) to (29). It will be returned. That is, the evaluation function H of the time-series quantization problem is reduced to the Ising model.

図2は、本実施形態の演算方法のフローチャートである。図2に示されるように、本実施形態の演算フローチャート(以降、単に「演算フロー」とも呼ぶ)では、初めに、入力部20の入力等により解くべき二次計画問題が演算装置2へと入力される(ステップS1)。変換部11は、入力された二次計画問題の設計変数を、0-1変数計画問題の設計変数へと変換する変換処理を行う(ステップS2)。変換部11は、上記関係式(1)~(10)で説明したように、二次計画問題をイジングマシン3が許容するイジングモデルへと変換する。通信部30は、変換部11により変換された設計変数をイジングマシン3へと送信する送信工程を行う(ステップS3)。通信部30は、変換部11により変換されたイジングモデルをイジングマシン3へと送信する。 FIG. 2 is a flowchart of the calculation method of the present embodiment. As shown in FIG. 2, in the calculation flowchart of the present embodiment (hereinafter, also simply referred to as “calculation flow”), first, a quadratic programming problem to be solved by input of the input unit 20 or the like is input to the calculation device 2. (Step S1). The conversion unit 11 performs a conversion process of converting the input design variable of the quadratic programming problem into the design variable of the 0-1 variable planning problem (step S2). As described in the above relational expressions (1) to (10), the conversion unit 11 converts the quadratic programming problem into an Ising model allowed by the Ising machine 3. The communication unit 30 performs a transmission step of transmitting the design variables converted by the conversion unit 11 to the Ising machine 3 (step S3). The communication unit 30 transmits the Ising model converted by the conversion unit 11 to the Ising machine 3.

イジングマシン3は、通信部30により送信されたイジングモデルを計算する(ステップS4)。イジングマシン3は、上記関係式(12)~(20)で説明したように、0-1変数計画問題における評価関数Hを最小化するイジングモデルの変数σopt∈{-1,+1}mLを算出する。その後、通信部30は、イジングマシン3により算出された0-1変数計画問題の近似解として変数σopt∈{-1,+1}mLを受信する受信工程を行う(ステップS5)。逆変換部12は、通信部30によって受信された0-1変数計画問題の近似解を、変換部11が変換する前の二次計画問題の近似解へと逆変換する逆変換工程を行(ステップS6)。逆変換部12は、イジングモデルの変数σopt∈{-1,+1}mLに対して上記関係式(11),(12)を用いて、離散入力へと復元する。その後、演算フローが終了する。なお、演算装置2は、ステップS2,S3,S5,S6の各処理を繰り返し実行する。変換部11は、任意の処理時間の1つ前に逆変換部12によって逆変換された二次計画問題の近似値を用いて、現時刻の二次計画問題における各パラメータを算出する。ステップS2,S3,S5,S6の各処理とは、変換部11による設計変数の変換と、通信部30による変換された設計変数の送信およびイジングマシン3から送信される0-1変数計画問題の近似解の受信と、逆変換部による受信された近似解を二次計画問題の近似解への逆変換とを含んでいる。 The Ising machine 3 calculates the Ising model transmitted by the communication unit 30 (step S4). As explained in the above relational expressions (12) to (20), the Ising machine 3 sets the variable σ opt ∈ {-1, + 1} mL of the Ising model that minimizes the evaluation function H in the 0-1 variable planning problem. calculate. After that, the communication unit 30 performs a receiving step of receiving the variable σ opt ∈ {-1, + 1} mL as an approximate solution of the 0-1 variable planning problem calculated by the Ising machine 3 (step S5). The inverse conversion unit 12 performs an inverse conversion step of inversely converting the approximate solution of the 0-1 variable planning problem received by the communication unit 30 into the approximate solution of the secondary planning problem before the conversion unit 11 converts. Step S6). The inverse transformation unit 12 restores the variable σ opt ∈ {-1, + 1} mL of the Ising model to a discrete input using the above relational expressions (11) and (12). After that, the calculation flow ends. The arithmetic unit 2 repeatedly executes each process of steps S2, S3, S5, and S6. The conversion unit 11 calculates each parameter in the quadratic programming problem at the current time by using the approximate value of the quadratic programming problem that was inversely converted by the inverse conversion unit 12 one before an arbitrary processing time. The processes of steps S2, S3, S5, and S6 are the conversion of the design variable by the conversion unit 11, the transmission of the converted design variable by the communication unit 30, and the 0-1 variable planning problem transmitted from the zing machine 3. It includes the reception of the approximate solution and the inverse conversion of the received approximate solution by the inverse transformor into the approximate solution of the quadratic design problem.

図3から図5までの各図は、実施例1の効果を示す説明図である。図3および図4には、本実施形態のイジングマシン3を用いた実施例1としての演算方法(Quantum Annealing)と、比較例としての内点法(Interior-Point Method)および焼きなまし法(Simulated Annealing)との3つの手法によってある最適制御問題の制御システムに対して制御が実施された場合の効果が示されている。図3に示される効果は、入力列(図3)に対する入力変数の時間推移である。図4に示される効果は、状態(図4)に対する状態変数の時間推移である。なお、実施例1および後述の実施例2では、イジングマシン3として、カナダD-Wave社の2000Qを用いた。 Each figure from FIG. 3 to FIG. 5 is an explanatory diagram showing the effect of the first embodiment. 3 and 4 show the calculation method (Quantum Annealing) as the first embodiment using the singing machine 3 of the present embodiment, the interior-point method (Interior-Point Method) and the simulated annealing method (Simulated Annealing) as comparative examples. ) And the effect when control is performed for the control system of a certain optimum control problem are shown. The effect shown in FIG. 3 is the time transition of the input variable with respect to the input string (FIG. 3). The effect shown in FIG. 4 is the time transition of the state variable with respect to the state (FIG. 4). In Example 1 and Example 2 described later, 2000Q manufactured by D-Wave Canada was used as the Ising machine 3.

図3には、実施例1の入力変数の時間推移を表す実線の曲線CQAと、内点法の入力変数の時間推移を表す一点鎖線の曲線CIPMと、焼きなまし法の入力変数の時間推移を表す曲線CSAとが示されている。図3に示されるように、実施例1の曲線CQAは、他2つの曲線CIPM,CSAより良好な制御性能を達成していることがわかる。 In FIG. 3, the solid line curve C QA showing the time transition of the input variable of the first embodiment, the one-dot chain line curve C IPM showing the time transition of the input variable of the internal point method, and the time transition of the input variable of the annealed method are shown. The curve CSA representing is shown. As shown in FIG. 3, it can be seen that the curve C QA of Example 1 achieves better control performance than the other two curves C IPM and CS A.

図4には、実施例1の状態変数の時間推移を表す実線の折れ線LQAと、内点法の状態変数の時間推移を表す一点鎖線の折れ線LIPMと、焼きなまし法の状態変数の時間推移を表す折れ線LQAとが示されている。図4に示されるように、本実施形態の折れ線LQAは、他2つの折れ線LIPM,LSAよりも良好な制御性能を達成していることがわかる。 In FIG. 4, a solid line L QA showing the time transition of the state variable of Example 1, a polygonal line L IPM of the alternate long and short dash line showing the time transition of the state variable of the internal point method, and the time transition of the state variable of the annealed method are shown. A polygonal line L QA representing is shown. As shown in FIG. 4, it can be seen that the polygonal line L QA of the present embodiment achieves better control performance than the other two polygonal lines L IPM and L SA .

図5には、実施例1が実行される際に要する時間と、比較例の内点法および焼きなまし法が実行される際に要する時間と、がテーブルTAに示されている。なお、図5に示される実施例1が要する時間は、演算装置2とイジングマシン3トの間におけるデータの通信時間を除いた時間である。そのため、図5のテーブルTAにおいて、実施例1は、他2つの手法と並列に比較されている。図5に示されるように、実施例1では、設計変数の変換および逆変換を含む全ての時間(QA(Computation Time))として、1.9×10-2秒要する。そのうち、アニーリング(QA(Annealing Time))に要する時間は、2.0×10-3秒である。すなわち、実施例1が実行される際に要する時間は、内点法の1.1×10-2秒よりも長く、焼きなまし法の2.7×10-1よりも長い。実施例1は、内点法よりもおよそ72%(1.9×10-2/(1.1×10-2))多くの時間を要するが、図3,4に示されるように、実施例1の入力変数および状態変数の時間推移は、内点法よりも改善されている。 In FIG. 5, the time required for the first embodiment to be executed and the time required for the interior point method and the simulated annealing method of the comparative example to be executed are shown in the table TA. The time required for the first embodiment shown in FIG. 5 is the time excluding the data communication time between the arithmetic unit 2 and the Ising machine 3. Therefore, in the table TA of FIG. 5, Example 1 is compared in parallel with the other two methods. As shown in FIG. 5, in the first embodiment, 1.9 × 10 −2 seconds is required as the total time (QA (Computation Time)) including the conversion of the design variable and the inverse conversion. Of these, the time required for annealing (QA (Annealing Time)) is 2.0 × 10 -3 seconds. That is, the time required for Example 1 to be executed is longer than 1.1 × 10 −2 seconds of the interior point method and longer than 2.7 × 10 -1 of the simulated annealing method. Example 1 takes about 72% (1.9 × 10 −2 / (1.1 × 10 −2 )) more time than the interior point method, but is performed as shown in FIGS. 3 and 4. The time transition of the input variable and the state variable of Example 1 is improved as compared with the interior point method.

図6および図7は、実施例2の効果を示す説明図である。図6および図7では、実施例2(QA)の演算方法と、比較例としての全探索による厳密解法(exact)および焼きなまし法(SA)との3つの手法によって、音声の量子化についてのある制御信号が入力された場合の効果が示されている。図6に示される効果は、3つの手法によって算出されたそれぞれの評価である。図6には、実施例2の評価値を表す箱ひげ図BPQAと、焼きなまし法の評価値を表す箱ひげ図BPSAと、厳密解法の評価値を表す箱ひげ図BPexとが示されている。図7に示される例では、実施例2の評価値は、焼きなまし法の1.25倍良好な量子化を達成している。 6 and 7 are explanatory views showing the effect of the second embodiment. In FIGS. 6 and 7, the calculation method of Example 2 (QA) and the exact solution method (exact) and simulated annealing method (SA) by full search as comparative examples are used to quantize speech. The effect when a control signal is input is shown. The effects shown in FIG. 6 are the respective evaluations calculated by the three methods. FIG. 6 shows a boxplot BP QA showing the evaluation value of Example 2, a boxplot BP SA showing the evaluation value of simulated annealing, and a boxplot BP ex showing the evaluation value of the exact solution method. ing. In the example shown in FIG. 7, the evaluation value of Example 2 achieves 1.25 times better quantization than simulated annealing.

図7に示される効果は、3つの手法が実行された場合に要する時間である。図7には、各種法が実行された際に要する時間が棒グラフで示されている。なお、図7における横軸には、常用対数が採用されている。図7に示される実施例2では、実施例1と同様に、演算装置2とイジングマシン3トの間におけるデータの通信時間が除かれている。図7には、設計変数の変換および逆変換を含む全ての時間(QA(Computation Time))と、アニーリングに要する時間(QA(Annealing Time))とが示されている。実施例2の全ての時間(QA(Computation Time))は、焼きなまし法の約2.08倍の時間であり、厳密解法の約0.001倍の時間である。また、アニーリングに要した時間のみを比較すると、実施例2の要した時間は、焼きなまし法の約0.005倍であり、厳密解法の約2.3×10-6倍である。 The effect shown in FIG. 7 is the time required when the three methods are performed. FIG. 7 is a bar graph showing the time required for various methods to be executed. The common logarithm is adopted as the horizontal axis in FIG. 7. In the second embodiment shown in FIG. 7, the data communication time between the arithmetic unit 2 and the Ising machine 3 is excluded as in the first embodiment. FIG. 7 shows the total time (QA (Computation Time)) including the conversion and the inverse conversion of the design variable, and the time required for annealing (QA (Annealing Time)). The total time (QA (Computation Time)) of Example 2 is about 2.08 times the time of simulated annealing and about 0.001 times the time of the exact solution method. Comparing only the time required for annealing, the time required for Example 2 is about 0.005 times that of simulated annealing and about 2.3 × 10 -6 times that of the exact solution method.

従来、最適制御問題や量子化問題において、2値の整数計画化問題として変換すると変数が増えてしまうため、2値よりも多い整数の値を取り得る整数計画問題として定式化され、直接解かれていた。それに対し、本実施形態の演算装置2では、変換部11は、二次計画問題の設計変数を、0-1変数計画問題の設計変数へと変換する。二次計画問題の設計変数は、時間と共にパラメータが変化する変数であり、各時刻において離散値を取る変数である。逆変換部12は、通信部30によって受信されたイジングマシン3により算出された0-1変数計画問題の近似解を、二次計画問題の近似解へと逆変換する。そのため、本実施形態の演算装置2では、イジングマシン3が許容しない設計変数を、イジングマシン3が許容する設計変数に変換することにより、図3~図7に示されるように、イジングマシン3を用いて高速かつ高精度の最適値の近似解を算出できる。 Conventionally, in optimal control problems and quantization problems, when converted as a binary integer programming problem, the number of variables increases, so it is formulated as an integer programming problem that can take integer values larger than binary, and is directly solved. Was there. On the other hand, in the arithmetic unit 2 of the present embodiment, the conversion unit 11 converts the design variables of the quadratic programming problem into the design variables of the 0-1 variable planning problem. The design variable of the quadratic programming problem is a variable whose parameters change with time, and is a variable that takes a discrete value at each time. The inverse conversion unit 12 inversely converts the approximate solution of the 0-1 variable planning problem calculated by the Ising machine 3 received by the communication unit 30 into the approximate solution of the quadratic programming problem. Therefore, in the arithmetic unit 2 of the present embodiment, the Ising machine 3 is converted into the design variables allowed by the Ising machine 3 by converting the design variables not allowed by the Ising machine 3 into the design variables allowed by the Ising machine 3 as shown in FIGS. 3 to 7. It can be used to calculate an approximate solution of the optimum value with high speed and high accuracy.

また、本実施形態の演算装置2は、ステップS2,S3,S5,S6の各処理を繰り返し実行する。変換部11は、任意の処理時間の1つ前に逆変換部12によって逆変換された二次計画問題の近似値を用いて、現時刻の二次計画問題における各パラメータを算出する。そのため、本実施形態の演算装置2では、一時刻において、イジングマシン3を用いた近似解が算出された後に、繰り返し、当該近似解を用いて任意の処理単位時間後の近似解が算出される。これにより、演算装置2は、ある時刻での入力に対して、連続的にその後の近似解を算出できる。 Further, the arithmetic unit 2 of the present embodiment repeatedly executes each process of steps S2, S3, S5, and S6. The conversion unit 11 calculates each parameter in the quadratic programming problem at the current time by using the approximate value of the quadratic programming problem that was inversely converted by the inverse conversion unit 12 one before an arbitrary processing time. Therefore, in the arithmetic unit 2 of the present embodiment, after the approximate solution using the Ising machine 3 is calculated at one time, the approximate solution is repeatedly calculated using the approximate solution after an arbitrary processing unit time. .. As a result, the arithmetic unit 2 can continuously calculate an approximate solution after the input at a certain time.

また、本実施形態では、演算装置2に入力される二次計画問題の評価関数Hは、離散値の入力のみを許容する制御システムの最適制御問題の関数である。そのため、本実施形態の演算装置2では、イジングマシン3が許容しない、離散値の入力飲みを許容する最適制御問題の評価関数であっても、変換部11により設計変数が変換される。これにより、演算装置2は、イジングマシン3を用いて、高速かつ高精度に評価関数の近似値を算出できる。 Further, in the present embodiment, the evaluation function H of the secondary planning problem input to the arithmetic unit 2 is a function of the optimum control problem of the control system that allows only the input of discrete values. Therefore, in the arithmetic unit 2 of the present embodiment, the design variables are converted by the conversion unit 11 even if the evaluation function of the optimum control problem that allows the input and drinking of discrete values, which is not allowed by the rising machine 3. As a result, the arithmetic unit 2 can calculate the approximate value of the evaluation function at high speed and with high accuracy by using the Ising machine 3.

また、本実施形態では、演算装置2に入力される二次計画問題の評価関数Hは、離散値の入力のみを許容する時系列信号の最適動的量子化問題の関数である。そのため、本実施形態の演算装置2では、イジングマシン3が許容しない、離散値の入力飲みを許容する最量子化問題の評価関数であっても、変換部11により設計変数が変換される。これにより、演算装置2は、イジングマシン3を用いて、高速かつ高精度に評価関数の近似値を算出できる。 Further, in the present embodiment, the evaluation function H of the secondary planning problem input to the arithmetic unit 2 is a function of the optimum dynamic quantization problem of the time-series signal that allows only the input of discrete values. Therefore, in the arithmetic unit 2 of the present embodiment, the design variable is converted by the conversion unit 11 even if it is the evaluation function of the maximum quantization problem that allows the input drinking of the discrete value, which is not allowed by the rising machine 3. As a result, the arithmetic unit 2 can calculate the approximate value of the evaluation function at high speed and with high accuracy by using the Ising machine 3.

<実施形態の変形例>
本発明は上記の実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様において実施することが可能であり、例えば次のような変形も可能である。
<Modified example of the embodiment>
The present invention is not limited to the above embodiment, and can be carried out in various embodiments without departing from the gist thereof, and for example, the following modifications are also possible.

上記実施形態では、演算装置2、および、演算装置2を備える演算システム100の一例について説明したが、演算装置2および演算システム100の構成については、種々変形可能である。例えば、演算装置2は、入力部20、記憶部40、および出力部70を備えていなくてもよい。例えば、入力部20および出力部70は、通信部30によって各種情報送受信できる状態で、演算システム100またはその他のシステム内に備わっていてもよい。記憶部40は、クラウド上に存在し、通信部30を介して、演算装置2との各種情報の送受信を行ってもよい。上記実施形態では、イジングマシン3の一例としてカナダD-Wave社の2000Qを挙げて説明したが、イジングモデルを評価できるイジングマシンであれば、いずれのマシンが採用されてもよい。 In the above embodiment, an example of the arithmetic unit 2 and the arithmetic system 100 including the arithmetic unit 2 has been described, but the configurations of the arithmetic unit 2 and the arithmetic system 100 can be variously modified. For example, the arithmetic unit 2 may not include the input unit 20, the storage unit 40, and the output unit 70. For example, the input unit 20 and the output unit 70 may be provided in the arithmetic system 100 or other systems in a state where various information can be transmitted and received by the communication unit 30. The storage unit 40 may exist on the cloud and transmit / receive various information to / from the arithmetic unit 2 via the communication unit 30. In the above embodiment, 2000Q of D-Wave Canada is cited as an example of the Ising machine 3, but any Ising machine that can evaluate the Ising model may be adopted.

上記実施形態では、イジングマシン3を用いて近似値を算出する例として、制御システムの最適制御問題および時系列信号の最適動的量子化問題を取り扱ったが、それ以外の最適化問題が取り扱われてもよい。このような最適化問題として、二次計画問題の設計変数が、時間と共にパラメータが変化し、各時刻において離散値であればよい。 In the above embodiment, the optimum control problem of the control system and the optimum dynamic quantization problem of the time-series signal are dealt with as an example of calculating the approximate value using the rising machine 3, but other optimization problems are dealt with. You may. As such an optimization problem, the design variables of the quadratic programming problem may be discrete values at each time, with the parameters changing with time.

以上、実施形態、変形例に基づき本態様について説明してきたが、上記した態様の実施の形態は、本態様の理解を容易にするためのものであり、本態様を限定するものではない。本態様は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本態様にはその等価物が含まれる。また、その技術的特徴が本明細書中に必須なものとして説明されていなければ、適宜、削除することができる。 Although this embodiment has been described above based on the embodiments and modifications, the embodiments described above are for facilitating the understanding of the present embodiment and do not limit the present embodiment. This aspect may be modified or improved without departing from its spirit and claims, and this aspect includes its equivalent. Further, if the technical feature is not described as essential in the present specification, it may be deleted as appropriate.

2…演算装置
3…イジングマシン
10…CPU
11…変換部
12…逆変換部
20…入力部
30…通信部(送信部、受信部)
40…記憶部
50…ROM
60…RAM
70…出力部
100…演算システム
BPQA,BPSA,BPex…評価値を表す箱ひげ図
QA,CIPM,CSA…入力変数の時間推移を表す曲線
H…評価関数
QA,LIPM,LSA…状態変数の時間推移を表す折れ線
PF…知覚フィルタ
TA…テーブル
U…集合
σopt…変数
2 ... Arithmetic logic unit 3 ... Ising machine 10 ... CPU
11 ... Conversion unit 12 ... Reverse conversion unit 20 ... Input unit 30 ... Communication unit (transmitter, receiver)
40 ... Storage unit 50 ... ROM
60 ... RAM
70 ... Output unit 100 ... Arithmetic system BP QA , BP SA , BP ex ... Box whiskers showing evaluation values C QA , C IPM , C SA ... Curves showing time transition of input variables H ... Evaluation functions L QA , L IPM , L SA ... Line that represents the time transition of the state variable PF ... Perceptual filter TA ... Table U ... Set σ opt ... Variable

Claims (7)

演算装置であって、
時間と共にパラメータが変化する二次計画問題の設計変数であって、各時刻において離散値である設計変数を、2値の整数計画問題の設計変数に変換する変換部と、
前記変換部によって変換された設計変数をイジングマシンに送信する送信部と、
前記送信部により送信された設計変数から前記イジングマシンにより算出された2値の整数計画問題の近似解を受信する受信部と、
前記受信部により受信された前記整数計画問題の近似解を、前記二次計画問題の近似解に逆変換する逆変換部と、
を備え、
前記二次計画問題の評価関数は、時系列信号の最適動的量子化問題の関数である、演算装置。
Arithmetic logic unit
A conversion unit that converts a design variable that is a design variable of a quadratic programming problem whose parameters change with time and is a discrete value at each time into a design variable of a quadratic integer programming problem.
A transmitter that sends the design variables converted by the converter to the Ising machine,
A receiver that receives an approximate solution of a binary integer programming problem calculated by the Ising machine from the design variables transmitted by the transmitter.
An inverse transformant that reversely transforms the approximate solution of the integer programming problem received by the receiver into the approximate solution of the quadratic programming problem.
Equipped with
The evaluation function of the quadratic planning problem is an arithmetic unit which is a function of the optimum dynamic quantization problem of a time series signal .
請求項1に記載の演算装置であって、
前記変換部、前記送信部、前記受信部、及び前記逆変換部は、前記変換、前記送信、前記受信、及び前記逆変換を繰り返し実行し、
前記変換部は、一時刻前に前記逆変換部によって逆変換された前記二次計画問題の近似解を用いて、現時刻の前記二次計画問題の近似解を算出する、演算装置。
The arithmetic unit according to claim 1.
The conversion unit, the transmission unit, the reception unit, and the inverse conversion unit repeatedly execute the conversion, the transmission, the reception, and the inverse conversion.
The conversion unit is an arithmetic unit that calculates an approximate solution of the quadratic programming problem at the current time by using an approximate solution of the quadratic programming problem that was inversely converted by the inverse conversion unit one time ago.
請求項1または請求項2に記載の演算装置であって、
前記二次計画問題の評価関数は、離散値の入力のみを許容する制御システムの最適制御問題の関数である、演算装置。
The arithmetic unit according to claim 1 or 2, wherein the arithmetic unit is used.
The evaluation function of the secondary planning problem is an arithmetic unit, which is a function of an optimal control problem of a control system that allows only input of discrete values.
請求項1から請求項までのいずれか一項に記載の演算装置であって、
前記整数計画問題は、0-1変数計画問題である、演算装置。
The arithmetic unit according to any one of claims 1 to 3 .
The integer programming problem is an arithmetic unit, which is a 0-1 variable programming problem.
演算システムであって、
請求項1から請求項までのいずれか一項に記載の演算装置と、
前記整数計画問題の近似解を算出するイジングマシンと、
を備える、演算システム。
It ’s an arithmetic system,
The arithmetic unit according to any one of claims 1 to 4 , and the arithmetic unit.
An Ising machine that calculates an approximate solution to the integer programming problem,
A computing system.
演算方法であって、
時間と共にパラメータが変化する二次計画問題の設計変数であって、各時刻において離散値である設計変数を、2値の整数計画問題の設計変数に変換する変換工程と、
変換された設計変数をイジングマシンに送信する送信工程と、
送信された設計変数から前記イジングマシンにより算出された2値の整数計画問題の近似解を受信する受信工程と、
受信された前記整数計画問題の近似解を、前記二次計画問題の近似解に逆変換する逆変換工程と、
を備え、
前記二次計画問題の評価関数は、時系列信号の最適動的量子化問題の関数である、演算方法。
It ’s a calculation method,
A conversion process that converts a design variable that is a design variable of a quadratic programming problem whose parameters change with time and is a discrete value at each time into a design variable of a quadratic integer programming problem.
The transmission process of sending the converted design variables to the Ising machine,
A receiving process that receives an approximate solution of a binary integer programming problem calculated by the Ising machine from the transmitted design variables, and a receiving process.
An inverse transformation step of inversely converting the received approximate solution of the integer programming problem to the approximate solution of the quadratic programming problem.
Equipped with
The evaluation function of the quadratic planning problem is a function of the optimum dynamic quantization problem of a time series signal, which is an arithmetic method.
コンピュータプログラムであって、
時間と共にパラメータが変化する二次計画問題の設計変数であって、各時刻において離散値である設計変数を、2値の整数計画問題の設計変数に変換する変換機能と、
前記変換機能によって変換された設計変数をイジングマシンに送信する送信機能と、
前記送信機能により送信された設計変数から前記イジングマシンにより算出された2値の整数計画問題の近似解を受信する受信機能と、
前記受信機能により受信された前記整数計画問題の近似解を、前記二次計画問題の近似解に逆変換する逆変換機能と、
をコンピュータに実行させ、
前記二次計画問題の評価関数は、時系列信号の最適動的量子化問題の関数である、コンピュータプログラム。
It ’s a computer program,
A conversion function that converts a design variable that is a design variable of a quadratic programming problem whose parameters change with time and is a discrete value at each time into a design variable of a quadratic integer programming problem.
A transmission function that sends the design variables converted by the conversion function to the Ising machine,
A reception function that receives an approximate solution of a binary integer programming problem calculated by the Ising machine from the design variables transmitted by the transmission function, and a reception function.
An inverse conversion function that reversely converts the approximate solution of the integer programming problem received by the reception function into the approximate solution of the quadratic programming problem, and
Let the computer run
The evaluation function of the secondary planning problem is a computer program which is a function of the optimum dynamic quantization problem of the time series signal .
JP2019168661A 2019-09-17 2019-09-17 Arithmetic logic units, arithmetic systems, operational methods, and computer programs Active JP7040505B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019168661A JP7040505B2 (en) 2019-09-17 2019-09-17 Arithmetic logic units, arithmetic systems, operational methods, and computer programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019168661A JP7040505B2 (en) 2019-09-17 2019-09-17 Arithmetic logic units, arithmetic systems, operational methods, and computer programs

Publications (2)

Publication Number Publication Date
JP2021047533A JP2021047533A (en) 2021-03-25
JP7040505B2 true JP7040505B2 (en) 2022-03-23

Family

ID=74878448

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019168661A Active JP7040505B2 (en) 2019-09-17 2019-09-17 Arithmetic logic units, arithmetic systems, operational methods, and computer programs

Country Status (1)

Country Link
JP (1) JP7040505B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017149491A1 (en) 2016-03-02 2017-09-08 1Qb Information Technologies Inc. Method and system for decomposing a problem involving discrete optimization into a plurality of smaller subproblems and use of the method for solving the problem
WO2019159398A1 (en) 2018-02-13 2019-08-22 Mitsubishi Electric Corporation Control system and method for controlling operation of system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017149491A1 (en) 2016-03-02 2017-09-08 1Qb Information Technologies Inc. Method and system for decomposing a problem involving discrete optimization into a plurality of smaller subproblems and use of the method for solving the problem
JP2019512779A (en) 2016-03-02 2019-05-16 1キュービー インフォメーション テクノロジーズ インコーポレイテッド1Qb Information Technologies Inc. Method and system for decomposing a problem with discrete optimization into multiple smaller subproblems and their use to solve the problem
WO2019159398A1 (en) 2018-02-13 2019-08-22 Mitsubishi Electric Corporation Control system and method for controlling operation of system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
左尾 将隆 他,組合せ最適化問題を高速に解くデジタルアニーラの活用技術,FUJITSU 2018-7月号 ,富士通株式会社,2018年07月01日,第69巻 第4号,第77頁-第83頁

Also Published As

Publication number Publication date
JP2021047533A (en) 2021-03-25

Similar Documents

Publication Publication Date Title
CN112289342B (en) Generating audio using neural networks
CN111177792B (en) Method and device for determining target business model based on privacy protection
EP3596664B1 (en) Generating discrete latent representations of input data items
US11257507B2 (en) Speech coding using content latent embedding vectors and speaker latent embedding vectors
KR20190050141A (en) Method and apparatus for generating fixed point type neural network
US20190034781A1 (en) Network coefficient compression device, network coefficient compression method, and computer program product
CN115018954A (en) Image generation method and device and electronic equipment
KR20200089588A (en) Electronic device and method for controlling the electronic device thereof
JP6695595B2 (en) Inference device and inference method
CN113886643A (en) Digital human video generation method and device, electronic equipment and storage medium
JP7040505B2 (en) Arithmetic logic units, arithmetic systems, operational methods, and computer programs
JP7205640B2 (en) LEARNING METHODS, LEARNING PROGRAMS AND LEARNING DEVICES
KR102105951B1 (en) Constructing method of classification restricted boltzmann machine and computer apparatus for classification restricted boltzmann machine
EP3252768A1 (en) Parameter determination device, method, program, and recording medium
CN110570877A (en) Sign language video generation method, electronic device and computer readable storage medium
JP2021033994A (en) Text processing method, apparatus, device and computer readable storage medium
CN114091903A (en) Training method and device of loss assessment model, and loss assessment method and device
JP5336942B2 (en) Encoding method, decoding method, encoder, decoder, program
JP2019079102A (en) Learning device, generation device, classification device, learning method, learning program, and operation program
JP7368827B2 (en) Encoding and decoding devices, parameter learning devices, and programs
JP7438544B2 (en) Neural network processing device, computer program, neural network manufacturing method, neural network data manufacturing method, neural network utilization device, and neural network downsizing method
JP6741051B2 (en) Information processing method, information processing device, and program
JP7047665B2 (en) Learning equipment, learning methods and learning programs
CN116391190A (en) Signal encoding and decoding using generative model and potential domain quantization
WO2022190195A1 (en) Information processing system, encoding device, decoding device, model learning device, information processing method, encoding method, decoding method, model learning method, and program storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210129

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220131

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220208

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220221

R150 Certificate of patent or registration of utility model

Ref document number: 7040505

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150