An information processing apparatus (12, 101) comprising an optimization unit configured to optimize a prototype structure of a multitasking structure, that controls operation of a target device and includes a plurality of pre-existing single-tasking structures, on a basis of processing modules of the single-tasking structures by reducing at least one of repeated processing and repeated reading of parameters of the processing modules for constructing the multitasking structure based on the prototype structure, wherein each of the single-tasking structures includes the processing module or a block including a plurality of the processing modules, wherein the processing module is a layer of a neural network, and the optimization unit is configured to optimize the multitasking structure using the processing module or the block that has similarity, among the single-tasking structures; wherein the optimization unit is configured to optimize the multitasking structure by using the processing module or the block with similarity indicating a degree of similarity being higher than a predetermined threshold, among the single-tasking structures; wherein the optimization unit is configured to optimize the multitasking structure by sharing the processing module or the block with input and output similarity indicating a degree of similarity of input and output data being high, among the single-tasking structures, or wherein the optimization unit is configured to optimize the multitasking structure by sharing the processing module or the block with parameter similarity indicating a degree of similarity of a used parameter being higher than a predetermined value, among the single-tasking structures. an optimization unit configured to optimize a prototype structure of a multitasking structure, that controls operation of a target device and includes a plurality of pre-existing single-tasking structures, on a basis of processing modules of the single-tasking structures by reducing at least one of repeated processing and repeated reading of parameters of the processing modules for constructing the multitasking structure based on the prototype structure, wherein each of the single-tasking structures includes the processing module or a block including a plurality of the processing modules, wherein the processing module is a layer of a neural network, and the optimization unit is configured to optimize the multitasking structure using the processing module or the block that has similarity, among the single-tasking structures; wherein the optimization unit is configured to optimize the multitasking structure by using the processing module or the block with similarity indicating a degree of similarity being higher than a predetermined threshold, among the single-tasking structures; wherein the optimization unit is configured to optimize the multitasking structure by sharing the processing module or the block with input and output similarity indicating a degree of similarity of input and output data being high, among the single-tasking structures, or wherein the optimization unit is configured to optimize the multitasking structure by sharing the processing module or the block with parameter similarity indicating a degree of similarity of a used parameter being higher than a predetermined value, among the single-tasking structures.