IP Library Granted Patent US 11,734,584
Granted Patent B2
US 11,734,584 · App. 15/491,162 · Granted Aug 22, 2023

Multi-modal construction of deep learning networks

Inventors: Rahul A R (Bangalore, IN); Neelamadhav Gantayat (Bangalore, IN); Shreya Khare (Bangalore, IN); Senthil K K Mani (Bangalore, IN); Naveen Panwar (Bangalore, IN); Anush Sankaran (Bangalore, IN)
Assignee: International Business Machines Corporation
G06N5/04G06F30/20G06N3/105G06N5/022G06F2111/10
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,734,584
App. No.
15/491,162
Granted
Aug 22, 2023
Kind
B2
Abstract

Methods, systems, and computer program products for multi-modal construction of deep learning networks are provided herein. A computer-implemented method includes extracting, from user-provided multi-modal inputs, one or more items related to generating a deep learning network; generating a deep learning network model, wherein the generating includes inferring multiple details attributed to the deep learning network model based on the one or more extracted items; creating an intermediate representation based on the deep learning network model, wherein the intermediate representation includes (i) one or more items of data pertaining to the deep learning network model and (ii) one or more design details attributed to the deep learning network model; automatically converting the intermediate representation into source code; and outputting the source code to at least one user.

Claims (61)

1. A computer-implemented method for generating source code for a deep learning network, comprising:

extracting, from user-provided multi-modal inputs, one or more items related to generating a deep learning network model, wherein the one or more extracted items comprise an image of a deep learning network design and a classification task to be performed by the deep learning network model;

processing the image to extract information comprising at least one of: text from the image using an optical character recognition process; and edges and nodes from the image using an edge detection process;

retrieving a similar pre-existing deep learning network model, created using deep learning source code corresponding to a first library language, from a repository based at least in part on a comparison of: the information extracted from the image of the deep learning network design; and multiple deep learning network models stored in the repository;

adapting the retrieved pre-existing deep learning network model to the one or more multi-model inputs to generate the deep learning network model, wherein said adapting comprises: changing a last layer in the pre-existing deep learning network model to have a number of nodes corresponding to a number of classes associated with the classification task to be performed by the deep learning network model; and re-training and updating one or more parameters of the retrieved pre-existing deep learning network model;

creating an intermediate representation of the deep learning network model, wherein the intermediate representation comprises: one or more items of data pertaining to the deep learning network model; and one or more design details attributed to the deep learning network model;

automatically converting the intermediate representation into source code corresponding to a second library language that is different than the first library language;

automatically performing a static validation of the deep learning source code to determine whether one or more specified network layers are present in the generated deep learning network model; and

outputting the deep learning source code corresponding to the second library language to at least one user;

wherein the steps are carried out by at least one computing device.

2. The computer-implemented method of claim 1 , wherein the user-provided multi-modal inputs comprise one or more items of natural language conversation data.

3. The computer-implemented method of claim 2 , wherein said extracting comprises employing a knowledge graph to disambiguate one or more user intentions from the one or more items of natural language conversation data.

4. The computer-implemented method of claim 1 , wherein the user-provided multi-modal inputs comprise input source code written in a deep learning framework.

5. The computer-implemented method of claim 1 , wherein the deep learning network design image is automatically extracted from a research paper.

6. The computer-implemented method of claim 1 , wherein the user-provided multi-modal inputs comprise a user-provided dataset.

7. The computer-implemented method of claim 1 , wherein the user-provided multi-modal inputs comprise one or more inputs provided by the user via a drag-and-drop user interface.

8. The computer-implemented method of claim 1 , wherein the static validation comprises determining whether multiple pre-determined layers are present, in a pre-determined sequence, in the deep learning network model.

9. The computer-implemented method of claim 1 , comprising:

generating a suggestion to add one or more layers in the deep learning network model based on said static validation.

10. The computer-implemented method of claim 1 , comprising:

generating a suggestion to delete one or more layers in the deep learning network model based on said static validation.

11. The computer-implemented method of claim 1 , comprising:

generating a suggestion to swap one or more layers in the deep learning network model based on said static validation.

12. The computer-implemented method of claim 5 , wherein the research paper is provided as input by the at least one user, and wherein automatically extracting the image of the deep learning network design comprises:

extracting a candidate image from the research paper;

extracting edges and lines from the candidate image; and

applying a binary classifier to the extracted edges and lines to determine that the candidate image comprises the deep learning network design.

13. A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a device to cause the device to:

extract, from user-provided multi-modal inputs, one or more items related to generating a deep learning network model, wherein the one or more extracted items comprise an image of a deep learning network design and a classification task to be performed by the deep learning network model;

process the image to extract information comprising at least one of: text from the image using an optical character recognition process; and edges and nodes from the image using an edge detection process;

retrieve a similar pre-existing deep learning network model, created using deep learning source code corresponding to a first library language, from a repository based at least in part on a comparison of: the information extracted from the image of the deep learning network design; and multiple deep learning network models stored in the repository;

adapt the retrieved pre-existing deep learning network model to the one or more multi-model inputs to generate the deep learning network model, wherein said adapting comprises: changing a last layer in the pre-existing deep learning network model to have a number of nodes corresponding to a number of classes associated with the classification task to be performed by the deep learning network model; and re-training and updating one or more parameters of the retrieved pre-existing deep learning network model;

create an intermediate representation of the deep learning network model, wherein the intermediate representation comprises: one or more items of data pertaining to the deep learning network model; and one or more design details attributed to the deep learning network model;

automatically convert the intermediate representation into source code corresponding to a second library language that is different than the first library language;

automatically perform a static validation of the deep learning source code to determine whether one or more specified network layers are present in the generated deep learning network model; and

output the deep learning source code corresponding to the second library language to at least one user.

14. The computer program product of claim 13 , wherein the user-provided multi-modal inputs comprise one or more items of natural language conversation data.

15. A system comprising:

a memory configured to store program instructions; and

at least one processor operably coupled to the memory to execute the program instructions to:

extract, from user-provided multi-modal inputs, one or more items related to generating a deep learning network model, wherein the one or more extracted items comprise an image of a deep learning network design and a classification task to be performed by the deep learning network model;

process the image to extract information comprising at least one of: text from the image using an optical character recognition process; and edges and nodes from the image using an edge detection process;

retrieve a similar pre-existing deep learning network model, created using deep learning source code corresponding to a first library language, from a repository based at least in part on a comparison of: the information extracted from the image of the deep learning network design; and multiple deep learning network models stored in the repository;

adapt the retrieved pre-existing deep learning network model to the one or more multi-model inputs to generate the deep learning network model, wherein said adapting comprises: changing a last layer in the pre-existing deep learning network model to have a number of nodes corresponding to a number of classes associated with the classification task to be performed by the deep learning network model; and re-training and updating one or more parameters of the retrieved pre-existing deep learning network model;

create an intermediate representation of the deep learning network model, wherein the intermediate representation comprises: one or more items of data pertaining to the deep learning network model; and one or more design details attributed to the deep learning network model;

automatically convert the intermediate representation into source code corresponding to a second library language that is different than the first library language;

automatically perform a static validation of the deep learning source code to determine whether one or more specified network layers are present in the generated deep learning network model; and

output the deep learning source code corresponding to the second library language to at least one user.

16. The system of claim 15 , wherein the static validation comprises determining whether multiple pre-determined layers are present, in a pre-determined sequence, in the deep learning network model.

17. The system of claim 15 , wherein the user-provided multi-modal inputs comprise one or more items of natural language conversation data.

18. The system of claim 15 , wherein said extracting comprises employing a knowledge graph to disambiguate one or more user intentions from the one or more items of natural language conversation data.

19. The system of claim 15 , wherein the user-provided multi-modal inputs comprise input source code written in a deep learning framework.

20. A computer-implemented method for generating source code for a deep learning network, comprising:

creating a repository of multiple deep learning network models;

extracting, from user-provided multi-modal inputs, one or more items related to generating a deep learning network model, wherein the one or more extracted items comprise an image of a deep learning network design and a classification task to be performed by the deep learning network model;

processing the image to extract information comprising at least one of: text from the image using an optical character recognition process; and edges and nodes from the image using an edge detection process;

retrieving a similar pre-existing deep learning network model, created using deep learning source code corresponding to a first library language, from the repository based at least in part on a comparison of: the information extracted from the image of the deep learning network design; and the multiple deep learning network models stored in the repository;

adapting the retrieved pre-existing deep learning network model to the one or more user-provided inputs to generate the deep learning network model, wherein said adapting comprises: changing a last layer in the pre-existing deep learning network model to have a number of nodes corresponding to a number of classes associated with the classification task to be performed by the deep learning network model; and re-training and updating one or more parameters of the retrieved pre-existing deep learning network model;

creating an intermediate representation of the deep learning network model, wherein the intermediate representation comprises: one or more items of data pertaining to the deep learning network model; and one or more design details attributed to the deep learning network model;

automatically converting the intermediate representation into source code corresponding to a second library language that is different than the first library language; and

outputting the deep learning source code corresponding to the second library language to at least one user.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 19, 2017
From: AR, RAHUL; GANTAYAT, NEELAMADHAV; KHARE, SHREYA; MANI, SENTHIL KK; PANWAR, NAVEEN; SANKARAN, ANUSH
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 042060/0705 →
Continuity (1)
Related Publication 20180307978A1 · Oct 25, 2018
Cited By (2)
US 12,417,084 US 12,639,050