Information processing device, machine learning system, and machine learning program

The integration of an Ising machine for combinatorial optimization in object detection systems addresses the inefficiencies of Hungarian Loss calculation, reducing time and power consumption while improving learning efficiency and accuracy.

JP2024153149APending Publication Date: 2024-10-29DENSO CORP +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023066863
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-17
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

The exponential increase in Hungarian Loss calculation time and power consumption as the number of nodes increases, leading to decreased learning efficiency in object detection tasks.

Method used

Incorporating an Ising machine, either classical or quantum, to perform combinatorial optimization, reducing the calculation time and power consumption by treating Hungarian Loss as a QUBO problem, thereby improving learning efficiency.

Benefits of technology

Reduces calculation time and power consumption by using an Ising machine to handle large numbers of nodes efficiently, enhancing learning efficiency and prediction accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024153149000001_ABST
    Figure 2024153149000001_ABST
Patent Text Reader

Abstract

To provide information processing devices capable of suppressing a decrease in learning efficiency and an increase in power consumption when processing a relatively large number of nodes.SOLUTION: Information processing devices 100, 101 include: a first processor 10 which is one of a CPU, a GPU, or an NPU for performing convolution calculations; an Ising machine 30 for performing combinatorial optimization; and a second processor 20 which is a CPU for performing loss function calculations.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an information processing device, a machine learning system, and a machine learning program. [Background technology]

[0002] In object detection in an image, Detection Transformer (DETR) is known, as disclosed in, for example, Non-Patent Document 1. DETR uses Hungarian Loss to match inference results with correct labels. [Prior art documents] [Non-patent literature]

[0003] [Non-Patent Document 1] Nicolas Carion et al, 'End-to-End Object Detection with Transformers', Facebook AI. Summary of the Invention [Problem to be solved by the invention]

[0004] However, as the number of nodes increases, the computation time of Hungarian Loss increases exponentially. Therefore, when processing a relatively large number of nodes, the learning efficiency decreases and power consumption increases. [Means for solving the problem]

[0005] The present disclosure can be realized in the following forms.

[0006] According to one embodiment of the present disclosure, there is provided an information processing device (100, 101). The information processing device includes a first processor (10) that is any one of a CPU, a GPU, and an NPU that executes convolution calculations, an Ising machine (30) that executes combinatorial optimization, and a second processor (20) that is a CPU that executes calculations of a loss function.

[0007] According to this form of information processing device, since it is equipped with an Ising machine that performs combinatorial optimization, it is possible to reduce the calculation time when processing a relatively large number of nodes, compared to a configuration in which the calculation of combinatorial optimization is performed by any processor other than an Ising machine. As a result, it is possible to improve the learning efficiency and reduce power consumption when processing a relatively large number of nodes. [Brief description of the drawings]

[0008] [Figure 1] 1 is a block diagram showing a functional configuration of an information processing device according to an embodiment of the present disclosure. [Diagram 2] 13 is a table showing an example of selection of an inference result yi^ based on a correct answer label yi. [Diagram 3] FIG. 13 is a block diagram showing a functional configuration of an information processing device according to a third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] A. First embodiment: 1 is used for object detection using a Detection Transformer (DETR). The information processing device 100 includes a first processor 10, a second processor 20, and an Ising machine 30. The first processor 10, the second processor 20, and the Ising machine 30 are connected to each other via an internal bus 50 so as to be able to communicate with each other.

[0010] The first processor 10 extracts image features by convolution processing. A feature map is generated using the extracted features, and the generated feature map is input to an Encoder in the DETR. The first processor 10 in this embodiment is a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), or an NPU (Neural network Processing Unit) capable of executing convolution processing.

[0011] The second processor 20 calculates the loss function executed by the decoder in the DETR. The loss function is defined as Hungarian Loss. The Hungarian Loss is used to evaluate the degree of agreement between the output by the decoder and the bounding box and class label of the ground truth. The Hungarian Loss is calculated by the following procedure. First, L box Request.

[0012]

number

[0013] L box is a function for evaluating the degree of agreement between the predicted bounding box and the correct bounding box. box Using the above, L expressed by the following (Equation 2) match Request.

[0014]

number

[0015] L match represents the loss that occurs when matching a prediction with a correct answer. L match is a combinatorial optimization problem. matchThe first term in represents the loss of the class label, and the second term represents the loss of the position of the bounding box. match is calculated by the Ising machine 30, which will be described later in detail.

[0016] L shown in the above (Equation 2) match The matching pattern σ^ that minimizes the sum of is calculated using the following (Equation 3).

[0017]

number

[0018] From the list of correspondences obtained by the above (Equation 3), the optimal matching between the prediction and the correct label is calculated using the Hungarian Loss (L Hungarian ) is calculated.

[0019]

number

[0020] The obtained Hungarian Loss result is used to train the object detection model. More specifically, the parameters of the object detection model are updated by backpropagation to minimize the Hungarian Loss, thereby improving the prediction accuracy.

[0021] The Ising machine 30 is L in the above formula (2). match The Ising machine 30 in this embodiment is a classical Ising machine. The classical Ising machine is an information processing device that performs calculations using classical bits. The classical Ising machine is, for example, a well-known classical Ising machine such as a Simulated Bifurcation Machine (SBM) manufactured by Toshiba Corporation or a Coherent Ising Machine (CIM) manufactured by Nippon Telegraph and Telephone Corporation.

[0022] A classical Ising machine cannot directly calculate the above equation (2). Here, by converting equation (2) into a QUBO (Quadratic Unconstrained Binary Optimization) problem with a one-hot constraint, it is possible to calculate L with a classical Ising machine. match More specifically, we first obtain the correct label y i But the inference result y i The selection of ^ is expressed by Qbit. The correct label y i Inference result by y i The choice of ^ is y i ^Everyq i,j When you select the result, q i,j =1, q if no result was selected i,j = 0. For example, as shown in the table in Figure 2, the correct label y i Inference result by y i ^ can be expressed as the selection of the correct label y i The corresponding inference result y i Since ^ is one, q i,j It can be said that a one-hot constraint can be imposed on , and the following (Equation 5) holds.

[0023]

number

[0024] From the above, L match can be expressed as the following (Equation 6).

[0025]

number

[0026] The classical Ising machine calculates the above (Equation 6), and the second processor 20 uses the result of the calculation of (Equation 6) to perform the calculation of the Hungarian Loss. matchBy treating the problem as a QUBO problem, the number of nodes and the calculation time have a linear relationship, so L can be solved by any processor except for Ising machines. match In comparison with the configuration that executes the calculations of (a), the calculation time can be reduced when processing a relatively large number of nodes.

[0027] According to the information processing device 100 of the first embodiment described above, L match Since the Ising machine 30 is provided to perform the calculation of L, any processor other than the Ising machine 30 can be used to calculate L. match This allows for a reduction in the calculation time when a relatively large number of nodes are processed, compared to the configuration that executes the calculations in (1). As a result, when a relatively large number of nodes are processed, the learning efficiency can be improved and power consumption can be reduced.

[0028] B. Second embodiment: The information processing device of the second embodiment differs from the information processing device 100 of the first embodiment in that the Ising machine 30 is a quantum Ising machine. Since the other configurations of the information processing device of the second embodiment are the same as those of the information processing device 100 of the first embodiment, the same components are denoted by the same reference numerals and detailed descriptions thereof will be omitted.

[0029] The Ising machine 30 may be a quantum Ising machine. The quantum Ising machine is an information processing device that performs calculations using quantum bits. The quantum Ising machine is, for example, a QPU (Quantum Processing Unit) manufactured by D-Wave Systems, Inc., which is a well-known quantum Ising machine. In this case, the quantum Ising machine is a quantum machine represented by the above (Equation 2), match Since the calculation of L match The conversion to the QUBO problem is not performed. That is, the second processor 20 calculates the Hungarian Loss using the result of the above (Equation 2) calculated by the quantum Ising machine.

[0030] The information processing device according to the second embodiment described above also provides the same effects as the information processing device 100 according to the first embodiment.

[0031] C. Third embodiment: The information processing device 101 of the third embodiment shown in FIG. 3 differs from the information processing device 100 of the first embodiment in that it further includes a shared memory 40. Since the other configurations of the information processing device 101 of the third embodiment are the same as those of the information processing device 100 of the first embodiment, the same components are denoted by the same reference numerals and detailed descriptions thereof will be omitted. Note that the Ising machine in the third embodiment is a classical Ising machine 31.

[0032] The shared memory 40 is communicatively connected to the first processor 10, the second processor 20, and the classical Ising machine 31 via an internal bus 50. The shared memory 40 is a read only memory (ROM) or a random access memory (RAM). The shared memory 40 is a memory shared by the first processor 10, the second processor 20, and the classical Ising machine 31. By providing the shared memory 40, In comparison with a configuration in which the classical Ising machine 31 and the central processing unit 32 each have their own memory, the learning speed can be improved and power consumption can be reduced.

[0033] According to the information processing device 101 of the third embodiment described above, the information processing device 101 further includes a shared memory 40 that can be used in common by the first processor 10, the second processor 20, and the classical Ising machine 31. Therefore, the learning speed can be improved and power consumption can be reduced compared to a configuration in which the first processor 10, the second processor 20, and the classical Ising machine 31 each include their own memory.

[0034] D. Fourth embodiment: The information processing device of the fourth embodiment is different from the information processing device 100 of the first embodiment in the method of calculating Hungarian Loss. Since the other configurations of the information processing device of the fourth embodiment are the same as those of the information processing device 100 of the first embodiment, the same components are denoted by the same reference numerals and detailed description thereof will be omitted.

[0035] In the information processing device 100 of the first embodiment, the Hungarian Loss is obtained by the second processor 20 calculating the above (Equation 4). In contrast, in the information processing device of the fourth embodiment, the Hungarian Loss is calculated by the above (Equation 6) L match Use Hungarian Loss as is. match By so doing, it is possible to omit the calculation of the Hungarian Loss in the second processor 20. match The results of L are used to train an object detection model. match The parameters of the object detection model are updated by backpropagation to minimize , thereby improving prediction accuracy.

[0036] According to the information processing device of the fourth embodiment described above, the Hungarian Loss is match Since the above formula is used, the calculation of Hungarian Loss can be omitted. This reduces the calculation time and the power consumption of the information processing device.

[0037] E. Other embodiments: (E1) In each of the above embodiments, the information processing devices 100 and 101 are used for object detection using a Detection Transformer, but the present disclosure is not limited thereto. The information processing devices 100 and 101 may be used for any method including convolution calculation and a combinatorial optimization problem. Even in such a configuration, the Ising machine 30 executes the combinatorial optimization problem, thereby reducing the calculation time and power consumption compared to a configuration in which the combinatorial optimization problem is executed by a processor such as a CPU, a GPU, or an NPU.

[0038] (E2) The information processing device in each of the above embodiments may be used for a machine learning system. In such a machine learning system, parameters are updated by backpropagation so that the Ising energy of a combinatorial optimization problem executed by the Ising machine 30 is minimized.

[0039] (E3) Functions executed by the first processor 10, the second processor 20, and the Ising machine 30 described in the present disclosure may be realized by a computer program. More specifically, such a computer program may be used for machine learning, and may cause the first processor 10 to execute convolution calculations, the classical Ising machine 31 to execute combinatorial optimization, and the second processor 20, which is a CPU, to execute calculations of a loss function.

[0040] The present disclosure is not limited to the above-mentioned embodiment, and can be realized in various configurations without departing from the spirit of the present disclosure. For example, the technical features in each embodiment corresponding to the technical features in the form described in the Summary of the Invention column can be appropriately replaced or combined to solve some or all of the above-mentioned problems or to achieve some or all of the above-mentioned effects. Furthermore, if the technical feature is not described as essential in this specification, it can be appropriately deleted. The present disclosure can be realized in the form of, for example, a non-transitory recording medium on which a computer program is recorded. [Explanation of symbols]

[0041] 10...first processor, 20...second processor, 30...Ising machine, 31...classical Ising machine, 40...shared memory, 50...internal bus, 100, 101...information processing device

Claims

1. An information processing device (100, 101), A first processor (10) which is any one of a CPU, a GPU, and an NPU for performing convolution calculations; An Ising machine (30) that performs combinatorial optimization; A second processor (20) which is a CPU that executes calculation of a loss function; An information processing device comprising:

2. 2. The information processing device according to claim 1, Further comprising a shared memory that can be commonly used by the first processor, the Ising machine, and the second processor, The information processing device, wherein the Ising machine is a classical Ising machine (31).

3. 2. The information processing device according to claim 1, The information processing device, wherein the Ising machine is a quantum Ising machine.

4. 4. The information processing device according to claim 1, The information processing device is used for the calculation of a Detection Transformer, The loss function is the Hungarian Loss in the Detection Transformer, The Ising machine is match Perform the operation of Information processing device.

5. 5. The information processing device according to claim 4, As the Hungarian Loss, match Using Information processing device.

6. A machine learning system comprising the information processing device according to claim 5.

7. A machine learning program, comprising: causing a first processor, any one of the CPU, the GPU, and the NPU, to execute a convolution calculation; A classical Ising machine performs combinatorial optimization, causing a second processor, which is a CPU, to perform calculation of the loss function; A machine learning program.

8. The machine learning program according to claim 7, The machine learning program is used to train a Detection Transformer, The classical Ising machine is the L in the Detection Transformer match Perform the operation of Said L match is used as the Hungarian Loss in the Detection Transformer. A machine learning program.

Citation Information

Patent Citations

  • Setting device, setting method, and setting program

    JP2019200716A

  • Information processing system and information processing method

    JP2022055720A

  • Methods and systems for improving an estimation of a property of a quantum state

    WO2021243454A1