Some embodiments address unique challenges of provisioning rpa software to airgapped hosts, and in particular, provisioning rpa machine learning components and training corpora of substantial size, and provisioning to multiple airgapped hosts having distinct hardware and/or software specifications. To reduce costs associated with data traffic and manipulation, some embodiments bundle together multiple rpa components and/or training corpora into an aggregate package comprising a deduplicated collection of software libraries. Individual rpa components are then automatically reconstructed from the aggregate package and distributed to airgapped hosts.
|
9. A computer system comprising at least one hardware processor configured to:
receive a data package and an unpacking script, the data package combining at least two distinct versions of a robotic process automation (rpa) software module implementing a machine learning model, wherein the data package includes a deduplicated plurality of rpa machine learning libraries, wherein a first version of the rpa software module comprises a first subset of the plurality of rpa machine learning libraries, wherein a second version of the rpa software module comprises a second subset of the plurality of rpa machine learning libraries, wherein the first and second subsets share at least a selected library of the plurality of rpa machine learning libraries, wherein the data package comprises a container image, and wherein each of the plurality of rpa libraries comprises a distinct layer of the container image;
in response, unpack the data package according to the unpacking script to produce at least the first version of the rpa software module; and
transfer the first version of the rpa software module to an airgapped rpa host system configured to execute the machine learning model.
1. A robotic process automation (rpa) method comprising employing at least one hardware processor of a computer system to:
receive a data package and an unpacking script, the data package combining at least two distinct versions of an rpa software module implementing a machine learning model, wherein the data package includes a deduplicated plurality of rpa machine learning libraries, wherein a first version of the rpa software module comprises a first subset of the plurality of rpa machine learning libraries, wherein a second version of the rpa software module comprises a second subset of the plurality of rpa machine learning libraries, wherein the first and second subsets share at least a selected library of the plurality of rpa machine learning libraries, wherein the data package comprises a container image, and wherein each of the plurality of rpa libraries comprises a distinct layer of the container image;
in response, unpack the data package according to the unpacking script to produce at least the first version of the rpa software module; and
transfer the first version of the rpa software module to an airgapped rpa host system configured to execute the machine learning model.
17. A non-transitory computer-readable medium storing instructions which, when executed by at least one hardware processor of a computer system, cause the computer system to:
receive a data package and an unpacking script, the data package combining at least two distinct versions of a robotic process automation (rpa) software module implementing a machine learning model, wherein the data package includes a deduplicated plurality of rpa machine learning libraries, wherein a first version of the rpa software module comprises a first subset of the plurality of rpa machine learning libraries, wherein a second version of the rpa software module comprises a second subset of the plurality of rpa machine learning libraries, wherein the first and second subsets share at least a selected library of the plurality of rpa machine learning libraries, wherein the data package comprises a container image, and wherein each of the plurality of rpa libraries comprises a distinct layer of the container image;
in response, unpack the data package according to the unpacking script to produce at least the first version of the rpa software module; and
transfer the first version of the rpa software module to an airgapped rpa host system configured to execute the machine learning model.
2. The method of
unpacking the data package further produces the second version of the rpa software module; and
wherein the method further comprises employing at least one hardware processor of the computer system to transfer the second version of the rpa software module to the airgapped rpa host system.
3. The method of
4. The method of
5. The method of
6. The method of
7. The method of
8. The method of
10. The computer system of
unpacking the data package further produces the second version of the rpa software module; and
wherein the at least one hardware processor is further configured to transfer the second version of the rpa software module to the airgapped rpa host system.
11. The computer system of
12. The computer system of
13. The computer system of
14. The computer system of
15. The computer system of
16. The computer system of
|
The invention relates to robotic process automation (RPA), and in particular to delivering relatively large data objects to airgapped RPA hosts.
RPA is an emerging field of information technology aimed at improving productivity by automating repetitive computing tasks, thus freeing human operators to perform more intellectually sophisticated and/or creative activities. Notable tasks targeted for automation include, among others, extracting structured data from documents, generating invoices and other business documents, and interacting with user interfaces, for instance to fill in forms.
One particular area of RPA development comprises training and deploying artificial intelligence (AI) systems configured to automate various tasks. Exemplary AI systems used in RPA include artificial neural networks trained to automatically process images, for instance to automatically extract structured data from scanned documents such as invoices and résumés. Other examples include neural networks configured for natural language processing tasks, for instance automatic translation, automatic classification of text documents, and sentiment detection, among others.
The performance of an AI system depends strongly on the specificity and quality of the training data. Stated otherwise, AI systems may need to be trained specifically for each task, preferably using data specific to the respective RPA customer. Successful training may further require a relatively high volume of training data, of the order of thousands to millions of samples, depending on the task. In view of these particular requirements, training, configuring, and deploying AI-based systems to RPA customers may require transferring large volumes of data across communication networks.
While data-heavy operations are not usually seen as a problem in the age of fast Internet, they may be impractical in the case of airgapped hosts, i.e., computer systems which operate in relative isolation for computer security and/or confidentiality reasons. Airgapping typically refers to a manner of configuring and operating a communication network, wherein at least a subset of network nodes are physically or logically disconnected from the rest of the network. Exemplary airgapped computing hosts may be found in banking, critical infrastructure operations, and the military, among others.
Delivering data-heavy RPA software such as AI-based components and training corpora to an airgapped host may therefore pose specific and substantial technical challenges. There is an interest in facilitating such operations, for the benefit of extending the reach of RPA technology.
According to one aspect, a robotic process automation (RPA) method comprises employing at least one hardware processor of a computer system receive a data package and an unpacking script, the data package combining at least two distinct versions of an RPA software module implementing a machine learning model. The data package encodes a deduplicated plurality of RPA machine learning libraries, wherein a first version of the RPA software module comprises a first subset of the plurality of RPA machine learning libraries, wherein a second version of the RPA software module comprises a second subset of the plurality of RPA machine learning libraries, and wherein the first and second subsets share at least a selected library of the plurality of RPA machine learning libraries. The method further comprises in response, employing the at least one hardware processor to unpack the data package according to the unpacking script to produce at least the first version of the RPA software module, and to transfer the first version of the RPA software module to an airgapped RPA host system configured to execute the machine learning model.
According to another aspect, a computer system comprises at least one hardware processor configured to receive a data package and an unpacking script, the data package combining at least two distinct versions of an RPA software module implementing a machine learning model. The data package encodes a deduplicated plurality of RPA machine learning libraries, wherein a first version of the RPA software module comprises a first subset of the plurality of RPA machine learning libraries, wherein a second version of the RPA software module comprises a second subset of the plurality of RPA machine learning libraries, and wherein the first and second subsets share at least a selected library of the plurality of RPA machine learning libraries. The at least one hardware processor is further configured, in response, to unpack the data package according to the unpacking script to produce at least the first version of the RPA software module, and to transfer the first version of the RPA software module to an airgapped RPA host system configured to execute the machine learning model.
According to another aspect, a non-transitory computer-readable medium stores instructions which, when executed by at least one hardware processor of a computer system, cause the computer system to receive a data package and an unpacking script, the data package combining at least two distinct versions of an RPA software module implementing a machine learning model. The data package encodes a deduplicated plurality of RPA machine learning libraries, wherein a first version of the RPA software module comprises a first subset of the plurality of RPA machine learning libraries, wherein a second version of the RPA software module comprises a second subset of the plurality of RPA machine learning libraries, and wherein the first and second subsets share at least a selected library of the plurality of RPA machine learning libraries. The instructions further cause the computer system, in response, to unpack the data package according to the unpacking script to produce at least the first version of the RPA software module, and to transfer the first version of the RPA software module to an airgapped RPA host system configured to execute the machine learning model.
The foregoing aspects and advantages of the present invention will become better understood upon reading the following detailed description and upon reference to the drawings where:
In the following description, it is understood that all recited connections between structures can be direct operative connections or indirect operative connections through intermediary structures. A set of elements includes one or more elements. Any recitation of an element is understood to refer to at least one element. A plurality of elements includes at least two elements. Any use of ‘or’ is meant as a nonexclusive or. Unless otherwise required, any described method steps need not be necessarily performed in a particular illustrated order. A first element (e.g. data) derived from a second element encompasses a first element equal to the second element, as well as a first element generated by processing the second element and optionally other data. Making a determination or decision according to a parameter encompasses making the determination or decision according to the parameter and optionally according to other data. Unless otherwise specified, an indicator of some quantity/data may be the quantity/data itself, or an indicator different from the quantity/data itself. A computer program is a sequence of processor instructions carrying out a task. Computer programs described in some embodiments of the present invention may be stand-alone software entities or sub-entities (e.g., subroutines, libraries) of other computer programs. The term ‘database’ is used herein to denote any organized, searchable collection of data. Computer-readable media encompass non-transitory media such as magnetic, optic, and semiconductor storage media (e.g. hard drives, optical disks, flash memory, DRAM), as well as communication links such as conductive cables and fiber optic links. According to some embodiments, the present invention provides, inter alia, computer systems comprising hardware (e.g. one or more processors) programmed to perform the methods described herein, as well as computer-readable media encoding instructions to perform the methods described herein.
The following description illustrates embodiments of the invention by way of example and not necessarily by way of limitation.
Mimicking a human operation/action is herein understood to encompass reproducing the sequence of computing events that occur when a human operator performs the respective operation/action on the computer, as well as reproducing a result of the human operator's performing the respective operation on the computer. For instance, mimicking an action of clicking a button of a graphical user interface may comprise having the operating system move the mouse pointer to the respective button and generating a mouse click event, or may alternatively comprise toggling the respective GUI button itself to a clicked state.
Processes typically targeted for such automation include processing of payments, invoicing, communicating with business clients (e.g., distribution of newsletters and/or product offerings), internal communication (e.g., memos, scheduling of meetings and/or tasks), auditing, and payroll processing, among others. In some embodiments, a dedicated RPA design application 34 (
Some types of workflows may include, but are not limited to, sequences, flowcharts, finite state machines (FSMs), and/or global exception handlers. Sequences may be particularly suitable for linear processes, enabling flow from one activity to another without cluttering a workflow. Flowcharts may be particularly suitable to more complex business logic, enabling integration of decisions and connection of activities in a more diverse manner through multiple branching logic operators. FSMs may be particularly suitable for large workflows. FSMs may use a finite number of states in their execution, which are triggered by a condition (i.e., transition) or an activity. Global exception handlers may be particularly suitable for determining workflow behavior when encountering an execution error and for debugging processes.
Some workflow activities may be configured to be carried out by artificial intelligence agents, for instance neural networks pre-trained to perform the respective tasks. In one example, a workflow includes a sequence of steps for automatic processing of invoices. However, when the respective invoices are available as images (scans or photographs of actual paper documents), some activities of the respective workflow may comprise automatically extracting structured data such as an invoice number, a VAT amount, a total amount paid, and a client name from an invoice image. An RPA robot configured to carry out such activities may comprise a trained machine learning model such as a set of neural networks trained on a corpus of invoice samples. Such machine learning models are described in further detail below.
Once a workflow is developed, it may be encoded in computer-readable form as a set of RPA scripts 40 (
A skilled artisan will appreciate that RPA design application 30 may comprise multiple components/modules, which may execute on distinct physical machines. In one such example illustrating a cloud computing embodiment of the present invention, RPA design application 30 may execute in a client-server configuration, wherein one component of application 30 may expose a robot design interface to a user of a client computer, and another component of application 30 executing on a server computer may assemble the robot workflow and formulate/output RPA script 40. For instance, a developer may access the robot design interface via a web browser executing on the client computer, while the software processing the user input received at the client computer actually executes on the server computer.
Once formulated, scripts 40 may be executed by a set of robots 12a-c (
Attended robots are triggered by user events and/or commands and operate alongside a human operator on the same computing system. In some embodiments, attended robots can only be started from a robot tray or from a command prompt and thus cannot be controlled from orchestrator 14 and cannot run under a locked screen, for example. Unattended robots may run unattended in remote virtual environments and may be responsible for remote execution, monitoring, scheduling, and providing support for work queues.
Orchestrator 14 may have various capabilities including, but not limited to, provisioning, deployment, configuration, queueing, monitoring, logging, and/or providing interconnectivity for robots 12a-c. Provisioning may include creating and maintaining connections between robots 12a-c and orchestrator 14. Deployment may include ensuring the correct delivery of software (e.g, RPA scripts 40) to robots 12a-c for execution. Configuration may include maintenance and delivery of robot environments and workflow configurations. Queueing may include providing management of job queues and queue items. Monitoring may include keeping track of robot state and maintaining user permissions. Logging may include storing and indexing logs to a database and/or another storage mechanism (e.g., SQL, ElasticSearch™, Redis™) Orchestrator 14 may further act as a centralized point of communication for third-party solutions and/or applications.
RPA agent 24 may manage the operation of robot executor(s) 22. For instance, RPA agent 24 may select tasks/scripts for execution by robot executor(s) 22 according to an input from a human operator and/or according to a schedule. Agent 24 may start and stop jobs and configure various operational parameters of executor(s) 22. When robot 12 includes multiple executors 22, agent 24 may coordinate their activities and/or inter-process communication. RPA agent 24 may further manage communication between RPA robot 12 and orchestrator 14 and/or other entities.
In some embodiments executing in a Windows™ environment, robot 12 installs a Microsoft Windows™ Service Control Manager (SCM)-managed service by default. As a result, such robots can open interactive Windows™ sessions under the local system account and have the processor privilege of a Windows™ service. For instance, a console application may be launched by a SCM-managed robot. In some embodiments, robot 12 can be installed at a user level of processor privilege (user mode, ring 3.) Such a robot has the same rights as the user under which the respective robot has been installed. For instance, such a robot may launch any application that the respective user can. On computing systems that support multiple interactive sessions running simultaneously (e.g., Windows™ Server 2012), multiple robots may be running at the same time, each in a separate Windows™ session, using different usernames.
In some embodiments, robot 12 and orchestrator 14 may execute in a client-server configuration. It should be noted that the client side, the server side, or both, may include any desired number of computing systems (e.g., physical or virtual machines) without deviating from the scope of the invention. In such configurations, robot 12 including executor(s) 22 and RPA agent 24 may execute on a client side. Robot 12 may run several jobs/workflows concurrently. RPA agent 24 (e.g., a Windows™ service) may act as a single client-side point of contact of executors 22. Agent 24 may further manage communication between robot 12 and orchestrator 14. In some embodiments, communication is initiated by agent 24, which may open a WebSocket channel to orchestrator 14. Agent 24 may subsequently use the channel to transmit notifications regarding the state of each executor 22 to orchestrator 14, for instance as a heartbeat signal. In turn, orchestrator 14 may use the channel to transmit acknowledgements, job requests, and other data such as RPA scripts 40 to robot 12.
Orchestrator 14 may execute on a server side, possibly distributed over multiple physical and/or virtual machines. In one such embodiment, orchestrator 14 may include an orchestrator user interface (UI) 17 which may be a web application, and a set of service modules 19. Service modules 19 may further include a set of Open Data Protocol (OData) Representational State Transfer (REST) Application Programming Interface (API) endpoints, and a set of service APIs/business logic. A user may interact with orchestrator 14 via orchestrator UI 17 (e.g., by opening a dedicated orchestrator interface on a browser), to instruct orchestrator 14 to carry out various actions, which may include for instance starting jobs on robot 12, creating robot groups/pools, assigning workflows to robots, adding/removing data to/from queues, scheduling to jobs to run unattended, analyzing logs per robot or workflow, etc. Orchestrator UI 17 may use Hypertext Markup Language (HTML), JavaScript (JS), or any other data format known in the art.
Orchestrator 14 may carry out actions requested by the user by selectively calling service APIs/business logic. In addition, orchestrator 14 may use the REST API endpoints to communicate with robot 12. The REST API may include configuration, logging, monitoring, and queueing functionality. The configuration endpoints may be used to define and configure application users, permissions, robots, assets, releases, etc. Logging REST endpoints may be used to log different information, such as errors, explicit messages sent by the robots, and other environment-specific information, for instance. Deployment REST endpoints may be used by robots to query the version of RPA script 40 to be executed. Queueing REST endpoints may be responsible for queues and queue item management, such as adding data to a queue, obtaining a transaction from the queue, setting the status of a transaction, etc. Monitoring REST endpoints may monitor the web application component of orchestrator 14 and RPA agent 24.
In some embodiments, RPA environment 10 (
In some embodiments, RPA environment 10 (
A skilled artisan will understand that various components of RPA environment 10 may be implemented and/or may execute on distinct host computer systems (physical appliances and/or virtual machines.)
Some RPA hosts may be airgapped, as illustrated by exemplary host 20d in
Various methods may be used to transfer RPA software and data to/from an airgapped RPA host. In one example according to some embodiments of the present invention, the respective data may be received from provisioning server 28 at an intermediate host 26 comprising a computing appliance connected to communication network(s) 13. An operator may then employ intermediate host 26 to transfer data destined for airgapped host 20d to a non-transitory computer readable medium such as an external hard drive or to a file repository on a local network physically or logically separated from network 13. The operation of an exemplary intermediate host 26 will be further detailed below.
In one use-case scenario wherein host 20 is used for developing RPA applications (an aspect of RPA known in the art as design side or design time), host 20 may execute an instance of RPA design application 34, comprising a set of computer programs (e.g., an integrated development environment—IDE) for designing a robot configured to carry out a particular task. Application 34 may expose a user interface with various tools for constructing and organizing a workflow, defining individual RPA activities, and setting various activity parameters. In some embodiments, RPA design application 34 includes tools/software modules for designing, training, and/or deploying machine learning (ML) models capable of executing specific RPA activities, such as automatic processing of text and images, among others. In another use-case scenario wherein host system 20 is used in production (also known in the art as runtime), host 20 may execute a set of RPA robots 12, some of which may implement various ML models. In some embodiments, machine learning models as well as the associated training corpora may be delivered to RPA host system 20 in the form of machine learning packages, as described below.
In some embodiments, training ML model 40 comprises presenting model 40 with a variety of training inputs. For each training input, training may comprise processing the respective input according to the respective model to produce a training output, determining a value of a model-specific utility function according to the respective training output, and adjusting a set of parameters of model 40 according to the respective utility value. Adjusting the parameters may aim for maximizing (or in some cases, minimizing) the utility function. In one example where ML model 40 comprises a neural network, adjustable parameters may include a set of synapse weights, while the utility function may quantify a departure of the training output from an expected or desired output. In such an example, training may comprise adjusting synapse weights and possibly other network parameters so as to bring the training output closer to the desired output corresponding to the respective training input.
In some embodiments, a training corpus 48 comprises a collection of training inputs for the respective ML model. In an image processing example, corpus 48 may comprise a library of images encoded in a computer-readable form. For instance, corpus 48 may comprise a collection of images of invoices and/or cashier receipts. In a language-processing example, corpus 48 may comprise a set of text samples, e.g., a collection of comments posted on a social media site, a collection of news articles, etc. Individual corpus items may be tagged, labelled and/or annotated, for instance using metadata. Exemplary metadata may include an indicator of membership to a selected class/category of items (e.g., images containing human faces, employees of a particular department, invoices from a selected customer, etc.) and various data extracted from the respective corpus item (e.g., a total amount on a respective invoice), among others. Corpus 48 may be organized and stored in any format known in the art, for instance as a relational database, a simple list, or as structured data specified in an XML or JSON format.
In some embodiments, a training manager 46 comprises computer programs for training ML model 40 using training corpus 48. As such, manager 46 may select training inputs from corpus 48, execute ML model 40 to produce the respective training outputs, tune the adjustable parameters of model 40, and/or evaluate the performance of ML model 40. Training manager 46 may implement any ML training algorithm known in the art, including, for instance, supervised learning, reinforcement learning, unsupervised learning, self-supervised learning, and a genetic algorithm, among others. Manager 46 may conduct training until some termination condition is satisfied, for instance for a pre-determined number of training inputs or epochs, or until ML model 40 attains a pre-determined level of performance.
ML model 40 may be delivered to RPA host system(s) 20a-d in the form of a ML package 45 which may further include an instance of training corpus 48 and/or an instance of training manager 46, among others. A single ML package may include a plurality of training corpora and/or a plurality of ML models. Components 40, 46, and/or 48 may be encoded as individual software libraries, as further described below. ML package 45 may therefore consist of a bundle of libraries, which may be further archived and/or compressed together in one file, such as a tarball or ZIP archive.
In another exemplary embodiment, ML package 45 comprises a virtual machine image having an operating system and all software necessary for executing a ML model. Yet another exemplary ML package 45 may comprise a container image, such as a Java®, Docker®, rkt, or Mesos® container. The term ‘container’ herein denotes a distinct and isolated virtual environment having a virtualized operating system and code for executing a ML model (including all dependencies). Stated otherwise, containers are a form of OS-level virtualization, i.e., they differ from full-fledged virtual machines in that they do not include a true OS, but virtualize some features of the actual OS executing on the respective hardware platform. A computer program executing within a container is only aware of the contents of the respective container and of hardware devices assigned to the respective container. In contrast, programs executing on a conventional OS typically have access to all resources of the respective hardware platform.
Some container development environments, such as Docker® among others, organize container contents as a stack of layers, wherein each layer represents a set of software objects/libraries that call on the functionality of the layer(s) underneath. An exemplary ML package 45 formatted as a Docker® container image may have a top layer comprising the binaries of the respective ML model, some intermediate layers comprising various model dependencies, and a bottom layer comprising OS virtualization code.
Some embodiments of the present invention rely on the observation that since airgapped hosts are normally not connected to provisioning server 28, software provisioning to such hosts does not benefit from some of the facilities of modern software distribution. For instance, a conventional, automatic, incremental software update mechanism may be impossible or impractical to implement on airgapped hosts. Instead, data transfers to/from airgapped hosts may be carried out by human operators of substantial skill and responsibility, considering the strict security and/or confidentiality that justify airgapping. Furthermore, airgapped hosts may comprise multiple computers, possibly having distinct hardware configurations and operating systems. Machine learning packages may prove additionally difficult to provision, due to their relatively large size (for instance, ML training corpora may be in the range of several hundreds of Megabytes to several Gigabytes).
In view of the above, some embodiments facilitate provisioning of ML-based RPA software by bundling multiple ML packages into an aggregate package for delivery to airgapped hosts. The aggregate package is further optimized for delivery by de-duplicating its contents, as described below. In one example illustrated in
In one example, library L1 may represent code and/or software dependencies of ML model 40, library L2 represents code and/or dependencies of training manager 46, while libraries L3 and L4 may comprise two distinct training corpora (see e.g.,
In some embodiments, provisioning server 28 further transmits an unpacking script 54 to intermediate host 26, script 54 comprising a specification for unpacking aggregate package 50. Unpacking herein denotes reconstructing individual ML packages 45 from aggregate package 50, as visually illustrated by the right-hand side of
In a step 206, packer 62 may pack the identified ML packages into aggregated package 50. Packing herein denotes the set of procedures carried out to construct aggregated package 50 according to individual ML packages, as intuitively illustrated by the left-hand side of
Step 206 may further comprise compressing/archiving the deduplicated plurality of RPA libraries using any data compression method known in the art, for instance creating a tarball or Zip file combining the respective libraries. A skilled artisan will understand that the resulting aggregate package 50 may consist of a single file or may be broken up into several distinct files/volumes to facilitate storage and/or transfer. In an alternative embodiment that uses a containerized model of computing, step 206 may comprise creating a container image to hold all of the deduplicated plurality of RPA libraries. Individual libraries may be added to the respective container image in a particular order that may reflect an object hierarchy, dependency structure, layering, etc.
In some embodiments, a step 208 formulates unpacking script 54 comprising a specification for reconstructing individual ML packages from aggregate package 50. An exemplary script 54 comprises a set of commands (e.g., command lines or a portable executable file) for de-compressing aggregate package 50, copying various RPA libraries to specific storage locations, and writing a set of metadata such as a path indicator indicating the respective storage locations, among others. In some embodiments, script 54 comprises commands for building and/or compiling a content of reconstructed ML packages to produce a set of executable objects. In another exemplary embodiment, script 54 may comprise a set of commands for building individual container images corresponding to each individual ML package 45a-c (using the example illustrated in
In a further step 226, intermediate host 26 may transfer individual ML packages 45a-c to their destination RPA hosts, including airgapped RPA host system 20d (
In an alternative embodiment, in response to receiving aggregate package 50 and script 54, intermediate host 26 may directly transfer them to airgapped RPA host system 20d, which may further unpack aggregate package 50 according to script 54 to produce the plurality of ML packages 45a-c. In such embodiments, unpacker 64 (steps 222-224) may execute on airgapped host 20d instead of intermediate host 26 as illustrated in
Processors 72 are generally characterized by an instruction set architecture (ISA), which specifies the respective set of processor instructions (e.g., the x86 family vs. ARM® family), and the size of registers (e.g., 32 bit vs. 64 bit processors), among others. The architecture of processors 72 may further vary according to their intended primary use. While central processing units (CPU) are general-purpose processors, graphics processing units (GPU) may be optimized for image/video processing and some forms of parallel computing. Processors 72 may further include application-specific integrated circuits (ASIC), such as Tensor Processing Units (TPU) from Google®, Inc., and Neural Processing Units (NPU) from various manufacturers. TPUs and NPUs may be particularly suited for ML applications as described herein.
Memory unit 73 may comprise volatile computer-readable media (e.g. dynamic random-access memory—DRAM) storing data/signals/instruction encodings accessed or generated by processor(s) 72 in the course of carrying out operations. Input devices 74 may include computer keyboards, mice, and microphones, among others, including the respective hardware interfaces and/or adapters allowing a user to introduce data and/or instructions into appliance 70. Output devices 75 may include display devices such as monitors and speakers among others, as well as hardware interfaces/adapters such as graphic cards, enabling the respective computing appliance to communicate data to a user. In some embodiments, input and output devices 74-75 share a common piece of hardware (e.g., a touch screen). Storage devices 76 include computer-readable media enabling the non-volatile storage, reading, and writing of software instructions and/or data. Exemplary storage devices include magnetic and optical disks and flash memory devices, as well as removable media such as CD and/or DVD disks and drives. Network adapter(s) 77 enable computing appliance 70 to connect to an electronic communication network (e.g, network 13 in
Controller hub 78 generically represents the plurality of system, peripheral, and/or chipset buses, and/or all other circuitry enabling the communication between processor(s) 72 and the rest of the hardware components of appliance 70. For instance, controller hub 78 may comprise a memory controller, an input/output (I/O) controller, and an interrupt controller. Depending on hardware manufacturer, some such controllers may be incorporated into a single integrated circuit, and/or may be integrated with processor(s) 72. In another example, controller hub 78 may comprise a northbridge connecting processor 72 to memory 73, and/or a southbridge connecting processor 72 to devices 74, 75, 76, and 77.
The exemplary systems and methods described above facilitate software provisioning to airgapped RPA hosts, and may thus facilitate access to RPA technology to clients operating in critical fields such as banking, healthcare, defense, law enforcement, and generally any domain where data security and confidentiality requirements are so strict as to justify airgapping.
By being disconnected from an extended communication network such as the Internet, an airgapped computer may lack the facilities that enable modern software provisioning such as automatic incremental software updates. Instead, data transfers to/from airgapped machines may require the assistance of human operators to physically bridge the respective airgaps, for instance by transporting data on removable media (e.g., external drives). Such manipulation typically increases the operating costs while introducing data security and confidentiality risks. Furthermore, airgapped hosts often comprise multiple computers, possibly having distinct hardware configurations and operating systems. Provisioning software to such clients may therefore require fetching multiple versions of the same software, for instance a Microsoft® Windows® version for installation on a few workstations and a MacOS® version for installation on a laptop computer.
Modern RPA increasingly relies on machine learning technology such as automatic image processing (computer vision) and natural language processing tools. However, provisioning machine learning RPA software to an airgapped host has its own set of technical challenges. First, machine learning models are typically paired with training corpora, which may be in the range of several hundreds of Megabytes to several Gigabytes in size. The performance of ML models strongly depends on the quality and quantity of training data, so an RPA client wishing to apply ML to a particular business process may need to train at least some ML models in house, using data specific and relevant to the respective business process. Hence the need for transferring large data files to and/or from airgapped host. Second, an important trend in modern machine learning comprises improving model performance and/or accelerating training by running such processes on particular types of processor hardware, such as graphical processing units (GPU) or even dedicated ‘AI accelerator’ application-specific integrated circuits (ASICs) such as tensor processing units (TPU) or neural processing units (NPU). Each such hardware processor may have its own architecture and instruction set, requiring an architecture-specific software build. RPA developers may need to test various machine learning strategies and optimizations and therefore, provisioning RPA ML software to an airgapped host may require transferring multiple versions of the same RPA ML software, each version configured to execute on a distinct type of processor. Due to the data redundancy inherent in transferring multiple versions of the same software (distinct versions may still have substantial resource overlap and/or use the same training corpora), such provisioning may be extra costly in terms of data traffic and storage.
Some embodiments directly address such technical and administrative challenges. Bundling multiple RPA components/packages together may simplify provisioning procedures and reduce the costs and risks associated with data manipulation by human operators. Some embodiments further deduplicate RPA ML resources in the process of constructing aggregate packages, which may substantially reduce the size of the provisioned packages. In one such example using the illustration in
In one explicit example, a containerized ML package is configured to execute a ML model on an array of GPUs. The respective ML package may comprise a Docker® image having a Linux® virtualization layer, a layer of GPU drivers, a web framework layer (e.g., a Flask® implementation), and a layer comprising binaries of the ML model itself. Conversely, another ML package configured to execute the same ML model on a CPU may not need the GPU driver libraries. However, all other libraries/Docker® layers are common to both ML packages. Some embodiments take advantage of this redundancy by transmitting a single package comprising a deduplicated bundle of libraries, and using an appropriately formulated unpacking script to reconstructs both ML packages from the respective deduplicated bundle.
It will be clear to one skilled in the art that the above embodiments may be altered in many ways without departing from the scope of the invention. Accordingly, the scope of the invention should be determined by the following claims and their legal equivalents.
Jha, Vivek, Shrivastava, Shashank, Seth, Mohit
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
10409569, | Oct 31 2017 | SNAP INC | Automatic software performance optimization |
10564959, | Mar 14 2017 | Google Inc | Shared software libraries for computing devices |
10733227, | Sep 25 2017 | Red Hat, Inc.; Red Hat, Inc | Container image size reduction via runtime analysis |
9336115, | Feb 24 2014 | The MathWorks, Inc. | User interface driven real-time performance evaluation of program code |
20080147703, | |||
20090249296, | |||
20140089275, | |||
20140282457, | |||
20150363195, | |||
20170123775, | |||
20180025160, | |||
20180267796, | |||
20180275987, | |||
20180300653, | |||
20180349168, | |||
20190235852, | |||
20190251190, | |||
20190318240, | |||
20190354389, | |||
20200097357, | |||
20200234183, | |||
20200304526, | |||
20200409921, | |||
20210107141, | |||
20210110035, | |||
CN103605505, | |||
CN106802807, | |||
CN109739524, | |||
CN109960514, | |||
EP2637094, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Sep 08 2021 | SETH, MOHIT | UIPATH INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 057506 | /0169 | |
Sep 09 2021 | JHA, VIVEK | UIPATH INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 057506 | /0169 | |
Sep 09 2021 | SHRIVASTAVA, SHASHANK | UIPATH INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 057506 | /0169 | |
Sep 16 2021 | UIPATH INC | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Sep 16 2021 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Date | Maintenance Schedule |
Sep 19 2026 | 4 years fee payment window open |
Mar 19 2027 | 6 months grace period start (w surcharge) |
Sep 19 2027 | patent expiry (for year 4) |
Sep 19 2029 | 2 years to revive unintentionally abandoned end. (for year 4) |
Sep 19 2030 | 8 years fee payment window open |
Mar 19 2031 | 6 months grace period start (w surcharge) |
Sep 19 2031 | patent expiry (for year 8) |
Sep 19 2033 | 2 years to revive unintentionally abandoned end. (for year 8) |
Sep 19 2034 | 12 years fee payment window open |
Mar 19 2035 | 6 months grace period start (w surcharge) |
Sep 19 2035 | patent expiry (for year 12) |
Sep 19 2037 | 2 years to revive unintentionally abandoned end. (for year 12) |