Systems and methods for machine learning evaluation pipeline

A unified pipeline automates ML model evaluation by integrating requirements management and execution layers, enhancing efficiency and accuracy through a streamlined process.

JP2024180284AActive Publication Date: 2024-12-26WOVEN BY TOYOTA INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024066930
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-15
Filing Date
2024-04-17
Publication Date
2024-12-26
Estimated Expiration
2044-04-17

AI Technical Summary

Technical Problem

Existing ML model evaluation processes are fragmented, slow, and require significant human intervention, lacking a streamlined and automated approach.

Method used

A unified pipeline that integrates requirements management, execution, and user interface layers to automate the ML evaluation process, using requirements code files to interpret and execute evaluations, and display results.

Benefits of technology

The pipeline enhances automation and efficiency by encapsulating the evaluation process into a single streamlined workflow, improving the accuracy and speed of ML model assessments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024180284000001_ABST
    Figure 2024180284000001_ABST
Patent Text Reader

Abstract

To provide a method, system, and device for evaluating a machine learning (ML) model.SOLUTION: A method may include: receiving, by a requirements management layer, at least one requirement obtained from a storage layer; interpreting, by the requirements management layer, the at least one requirement; and transmitting, by the requirements management layer, instructions to perform an ML evaluation process to an execution layer based on the interpreted requirements, where the execution layer transmits an output signal with the results of the ML evaluation process upon completing the ML evaluation process.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Systems and methods consistent with exemplary embodiments of the present disclosure relate to providing a pipeline for evaluating machine learning models. [Background technology]

[0002] Machine learning (ML) models can be used to automate various tasks. When developing an ML model, a developer may have certain criteria or parameters that need to be met by the ML model. For example, if the ML model is intended to automate a safety-critical task, the ML model may need to achieve a certain reliability evaluation. Therefore, to ensure that the ML model can meet the standards, a developer may need to test and evaluate the ML model by performing an ML evaluation.

[0003] In the related art, a simple metric can be used to automatically determine whether a model is good or not. For example, the mean average precision (mAP) can be used as a simple number to indicate whether an ML model is good, bad, or excellent.

[0004] The process of evaluating ML models used by prior art systems and methods can be limited and slow. In particular, each component used in the ML evaluation process is typically separate. For example, the means for acquiring test data, the ML model itself, and the ML evaluation test unit may all be in separate systems. Furthermore, in the related art, each step in the evaluation process may require a human user to interpret the results of the ML evaluation and consider how to repeat the evaluation process to obtain a more optimal ML model.

[0005] Therefore, there is a need for more streamlined and automated methods for performing ML evaluation. Summary of the Invention

[0006] According to one or more exemplary embodiments, an apparatus and method for evaluating a machine learning (ML) model is provided. In particular, the apparatus and method according to the exemplary embodiments receive at least one requirement retrieved from a storage layer at a requirements management layer, interpret the requirement at the requirements management layer, and send instructions to an execution layer by the requirements management layer to perform an ML evaluation process based on the interpreted test parameters. Upon completing the ML evaluation process, the execution may send an output signal having a result of the ML evaluation process. Based on the output signal, the result information may be displayed in a user interface (UI). Thus, the entire process of configuring and executing the ML evaluation process may be streamlined / encapsulated into a single pipeline and, optionally, may be presented to a user using a user interface connected to the layers of the pipeline, thereby improving the automation of the evaluation process.

[0007] According to an embodiment, a method for evaluating an ML model may be provided, which may include receiving, by a requirements management layer, at least one requirement retrieved from a storage layer, interpreting, by the requirements management layer, the at least one requirement, and sending, by the requirements management layer, instructions to an execution layer for performing an ML evaluation process based on the interpreted test parameters, where upon completion of the ML evaluation process, the execution layer sends an output signal having a result of the ML evaluation process.

[0008] The at least one test parameter may be in the form of a requirements code (RaC) file.

[0009] The storage layer may be in communication with a first user interface configured to allow a user to edit at least one test parameter.

[0010] The execution layer may be configured to send an output signal to a second user interface configured to display results of the ML evaluation process.

[0011] The first user interface and the second user interface may be displayed simultaneously.

[0012] The execution layer may include an inference component and a unit test component, where upon receiving an instruction to perform an ML evaluation process, the inference component is configured to receive test data and perform the inference process based on the test data and the instruction to obtain an output from the ML model, and the unit test component is configured to perform the evaluation process based on the output from the ML model and the instruction to obtain an indicator.

[0013] The inference component can be configured to receive the test data from the test data storage layer.

[0014] According to an embodiment, an apparatus for evaluating a machine learning (ML) model may be provided. The apparatus may include at least one memory storing computer-executable instructions and at least one processor, the at least one processor being configured to execute the computer-executable instructions to: receive, by a requirements management layer, at least one requirement retrieved from a storage layer; interpret, by the requirements management layer, the at least one requirement; and send, by the requirements management layer, instructions to an execution layer for performing an ML evaluation process based on the interpreted requirements, wherein the execution layer sends an output signal having a result of the ML evaluation process upon completing the ML evaluation process.

[0015] Additional aspects will be set forth in part in the description that follows, and in part will be apparent from the description, or may be realized by practice of the presented embodiments of the present disclosure. [Brief description of the drawings]

[0016] Features, aspects, and advantages of certain preferred embodiments of the present disclosure are described below with reference to the accompanying drawings, in which like reference numerals refer to like elements, and in which: [Figure 1]FIG. 1 is a diagram of example components of a device according to an example embodiment. [Diagram 2] FIG. 2 is a system architecture diagram illustrating layers and components in accordance with one or more exemplary embodiments. [Diagram 3] FIG. 3 is a flow chart diagram illustrating a method for evaluating an ML model according to one or more exemplary embodiments. [Figure 4] FIG. 4 is a flowchart diagram illustrating a method for evaluating an ML model using an inference component and a unit testing component according to one or more exemplary embodiments. [Diagram 5] FIG. 5 is a flow chart diagram illustrating a method for evaluating an ML model including adding or updating requirements, according to one or more exemplary embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] The following detailed description of the exemplary embodiments refers to the accompanying drawings. The present disclosure provides illustration and description, but is not intended to be exhaustive or to limit one or more exemplary embodiments to the precise form disclosed. Modifications and variations are possible in light of the disclosure or may be learned from the practice of one or more exemplary embodiments. Furthermore, one or more features or components of one exemplary embodiment may be incorporated in or combined with another exemplary embodiment (or one or more features of another exemplary embodiment). Furthermore, in the flowcharts and descriptions of operations provided herein, it is understood that one or more operations may be omitted, one or more operations may be added, one or more operations may be performed (at least partially) simultaneously, and the order of one or more operations may be switched.

[0018] It will be apparent that the exemplary embodiments of the systems and / or methods and / or non-transitory computer-readable storage medium described herein may be implemented in various forms of hardware, firmware, or a combination of hardware and software. The actual dedicated control hardware or software code used to implement the systems and / or methods is not a limitation of one or more exemplary embodiments. Thus, the operation and behavior of the systems and / or methods and / or non-transitory computer-readable storage medium are described herein without reference to any specific software code. It is understood that software and hardware may be designed to implement the systems and / or methods based on the description herein.

[0019] Although a particular combination of features is recited in the claims and / or disclosed herein, such combination is not intended to limit the disclosure of possible example embodiments. Indeed, many of the features may be combined in ways not specifically recited in the claims and / or disclosed herein. Although each dependent claim listed below may depend directly on only one claim, the disclosure of possible example embodiments includes each dependent claim in combination with all other claims in the claim set.

[0020] No element, act, or instruction used herein should be construed as critical or required unless expressly stated otherwise. Additionally, the articles "a" and "an" as used herein are intended to include one or more items and may be used interchangeably with "one or more." When only one item is intended, the term "a" or similar terms are used. Additionally, the terms "has," "have," "having," "include," "including," or the like as used herein are intended to be open-ended terms. Additionally, the phrase "based on" is intended to mean "based at least in part on," unless expressly stated otherwise. Additionally, phrases such as "at least one of [A] and [B]" or "at least one of [A] or [B]" should be understood as including only A, only B, or both A and B.

[0021] 1 is a diagram of example components of a machine learning (ML) evaluation device 100. As shown in FIG. 1, the ML evaluation device 100 may include a bus 110, a processor 120, a memory 130, a storage component 140, an input component 150, an output component 160, and a communication interface 170.

[0022] The bus 110 includes components that enable communication between the components of the ML evaluation device 100. The processor 120 may be implemented in hardware, firmware, or a combination of hardware and software. The processor 120 may be a central processing unit (CPU), a graphics processing unit (GPU), an accelerated processing unit (APU), a microprocessor, a microcontroller, a digital signal processor (DSP), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or another type of processing component. In one or more exemplary embodiments, the processor 120 includes one or more processors that are programmable to perform functions. The memory 130 includes a random access memory (RAM), a read only memory (ROM), and / or another type of dynamic or static storage device (e.g., flash memory, magnetic memory, and / or optical memory) that stores information and / or instructions for use by the processor 220.

[0023] The storage component 140 stores information and / or software related to the operation and use of the ML evaluation device 100. For example, the storage component 140 may include a hard disk (e.g., a magnetic disk, an optical disk, a magneto-optical disk, and / or a solid-state disk), a compact disk (CD), a digital versatile disk (DVD), a floppy disk, a cartridge, a magnetic tape, and / or another type of non-transitory computer-readable medium along with a corresponding drive. The input component 150 includes components (e.g., a touch screen display, a keyboard, a keypad, a mouse, a button, a switch, and / or a microphone) that enable the ML evaluation device 100 to receive information, such as via a user input. Additionally or alternatively, the input component 150 may include sensors (e.g., a global positioning system (GPS) component, an accelerometer, a gyroscope, and / or an actuator) that detect information. The output component 160 includes components (e.g., a display, a speaker, and / or one or more light-emitting diodes (LEDs)) that provide output information from the ML evaluation device 100.

[0024] The communication interface 170 includes transceiver-like components (e.g., a transceiver and / or separate receiver and transmitter) that enable the ML evaluation device 100 to communicate with other devices, such as via a wired connection, a wireless connection, or a combination of wired and wireless connections. The communication interface 170 may enable the ML evaluation device 100 to receive information from and / or provide information to another device. For example, the communication interface 170 may include, but is not limited to, an Ethernet interface, an optical interface, a coaxial interface, an infrared interface, a radio frequency (RF) interface, a universal serial bus (USB) interface, a Wi-Fi interface, a cellular network interface, or the like.

[0025] The ML evaluation device 100 may perform one or more example processes described herein. According to one or more example embodiments, the ML evaluation device 100 may perform such processes in response to the processor 120 executing software instructions stored by a non-transitory computer-readable medium, such as the memory 130 and / or the storage component 140. A computer-readable medium is defined herein as a non-transitory memory device. A memory device includes memory space within a single physical storage device or memory space spanning multiple physical storage devices.

[0026] The software instructions may be loaded into memory 130 and / or storage component 140 from another computer-readable medium or from another device via communications interface 170. The software instructions stored in memory 130 and / or storage component 140, when executed, may cause processor 120 to perform one or more of the processes described herein.

[0027] Additionally or alternatively, hardwired circuitry may be used in place of, or in combination with, software instructions to perform one or more of the processes described herein. Thus, one or more exemplary embodiments described herein are not limited to any specific combination of hardware circuitry and software.

[0028] The number and arrangement of components shown in Figure 1 are provided as an example. In fact, ML evaluation device 100 may include additional, fewer, different, or differently arranged components than those shown in Figure 1. Additionally or alternatively, a set of components (e.g., one or more components) of ML evaluation device 100 may perform one or more functions that are described as being performed by another set of components of ML evaluation device 100.

[0029] 2 is a system architecture diagram illustrating layers and components according to one or more exemplary embodiments. The layers (e.g., execution layer 200, requirements management layer 210, and storage layer 220) may be combined to be considered as a machine learning (ML) evaluation pipeline.

[0030] According to an embodiment, an execution layer 200 may be provided. The execution layer 200 may include an inference component 201 and a unit test component 202. The execution layer 200 may be responsible for executing an ML evaluation process on the ML model 240. It should be understood that the execution layer 200 may implement any suitable means of performing an ML evaluation. The execution layer 200 may be configured to receive instructions from the requirements management layer 210. The execution layer 200 may also interact with the display results UI 260 to output the results of the evaluation. In particular, the execution layer 200 may send an output signal including the results of the evaluation upon completion of the evaluation, and according to some embodiments, the display results UI 260 may receive the output signal to display the results of the evaluation. The display results UI 260 may be implemented using any suitable UI. For example, the display results UI 260 may have a table format to list the results of the evaluation tests, and the display results UI 260 may highlight certain parts of the test results based on whether the evaluation tests passed or failed. Nevertheless, it should be understood that the display UI 260 may depend on the particular implementation as determined by one of ordinary skill in the art.

[0031] The execution layer 200 may also receive test data from the test data storage 222 either through the requirements management layer 210 or directly from the test data storage 222 .

[0032] According to some embodiments, the inference component 201 may be responsible for receiving data from the test data storage 222 and inputting the data into the ML model 240 for computing outputs using the ML model 240 (i.e., inference).

[0033] According to some embodiments, unit test component 202 may be responsible for running unit tests on ML model 240. In particular, the unit tests may evaluate results of outputs from ML model 240 obtained during an inference process performed using inference component 201 on ML model 240. Metrics regarding the performance of ML model 240 may be obtained using unit test component 202.

[0034] A requirements management layer 210 may be provided. The requirements management layer 210 may be responsible for interpreting test data from files stored in the storage layer (e.g., requirements code (RAC) files 1, 2, ..., N (221-1, 221-2, 221-N, ...)) or test data from test data storage 222. Based on the interpretation of the RAC files, the requirements management layer 210 may send instructions to the execution layer 200 to perform ML evaluations.

[0035] The storage layer 220 may include all data used by the execution layer 200 and the requirement management layer 210. The storage layer 220 may be implemented by any suitable storage means (e.g., database, cloud storage, etc.). The storage layer 220 may include any number of RAC files 221-1, 221-2, 221-N and a test data storage 222. It should be understood that each RAC file and the test data storage may be stored in the same storage medium or different storage media.

[0036] The requirements code (RAC) files 221-1, 221-2, 221-N may be responsible for storing the expected behavior of the ML model 240. The expected behavior may comprise requirements (which may include test parameters). In particular, the RAC file may be a human-readable format that specifies the performance metrics of the ML model that need to be tested, for example, based on specific metrics criteria that need to be achieved, specifications that need to be achieved, the type of test, etc. The RAC file may include requirements, pass criteria, test goals, file paths of test data, and test conditions used during the ML evaluation process in the execution layer 200. Thus, such requirements, pass criteria, test goals, test data paths, and test conditions may be easily interpreted by the requirements management layer 210 to determine how the ML testing and evaluation of the ML model 240 should be performed by the execution layer 200.

[0037] According to some embodiments, the RAC files 221-1, 221-2, 221-N may be editable by an edit prompt UI 250. In particular, the edit prompt UI 250 may be a general command line interface used to edit source files, or the edit prompt UI 250 may be a graphical user interface (GUI) having interactable elements to allow a user to drag and drop or select a given configuration. Nevertheless, it should be understood that any suitable user interface may be implemented for the edit prompt UI 250.

[0038] Test data storage 222 may contain data that is used by inference component 201 to input to ML models 240. According to some embodiments, test data storage 222 may be stored separately from the RAC files. The particular format of the data files for the test data may be any suitable format.

[0039] It should be appreciated that the edit prompt UI 250 and the display result UI 260 may be implemented in any suitable environment, such as a web interface or only on the local user device. It should also be appreciated that according to some embodiments, the edit prompt UI 250 and the display result UI 260 may be displayed separately or simultaneously.

[0040] According to an embodiment, a UI may be provided (which may include features of an edit prompt UI 250 and a display results UI 260), which may include further features to streamline the evaluation process. For example, a user interface may communicate with the requirements management layer 210 with an interface to allow a user to select which set of requirements from the storage layer 220 should be used and their ordering, e.g., whether a first set and a second set of requirements should be evaluated sequentially or in parallel. The user interface may also allow a user to select a test dataset (e.g., from the test data storage 222). It is also envisioned that a user may be able to configure the same set of requirements to run across different candidate ML models to automatically indicate which candidate ML model has the best metrics.

[0041] FIG. 3 is a flow chart diagram illustrating a method 300 for evaluating an ML model according to one or more exemplary embodiments.

[0042] 3, at operation S310, requirements including test parameters are received by requirements management layer 210 from storage layer 220. According to some embodiments, the requirements (e.g., test parameters) may be one or more of RAC files 221-1, 221-2, 221-N.

[0043] After receiving the requirements from storage layer 220, at operation S320, the requirements may be interpreted by requirements management layer 210 to determine how to instruct execution layer 200 to perform ML evaluations against ML model 240. This may include interpreting the requirements, pass criteria, test objectives, test data paths, model tuning parameters such as confidence thresholds, test conditions from the requirements, and determining appropriate tests and test parameters to be performed using execution layer 200. Thus, the interpreted requirements may be obtained by requirements management layer 210.

[0044] At operation S330, requirements management layer 210 sends instructions to execution layer 200 based on the interpreted test parameters from operation S320 to cause execution layer 200 to perform an ML evaluation against ML model 240. According to some embodiments, when execution layer 200 finishes performing the ML evaluation, execution layer 200 may send an output signal including the results of the evaluation. According to some embodiments, this output signal may be sent to display results UI 260.

[0045] 4 is a flow chart diagram illustrating a method 400 for evaluating an ML model using an inference component and a unit testing component, according to one or more exemplary embodiments. Similar layers and components as those shown in FIG. 2 may be used to implement method 400, and a full description of similar steps to method 300 as shown in FIG. 3 may be omitted for ease of reading.

[0046] 4, at operation S410, an instruction to perform an ML evaluation may be sent from requirements management layer 210 and received by execution layer 200 to cause execution layer 200 to perform an ML evaluation against ML model 240. The instruction received at operation S410 may be similar to that sent at operation S330 as described above in FIG.

[0047] At operation S420, execution layer 200 may send instructions to inference component 201, along with test data (e.g., test data retrieved from test data storage 222), to perform an inference operation using ML model 240. Output of this operation may include an inference log, which may include data from performing the inference operation on ML model 240 using the test data.

[0048] At operation S430, the execution layer 200 may send the inference log from the inference component 201 to the unit test component 202.

[0049] At operation S440, the execution layer 200 may send instructions to the unit test component 202 to evaluate the metrics (eg, by calculating and comparing the metrics with respect to test criteria according to the requirements).

[0050] At operation S450, the execution layer 200 may output the evaluated metrics (which may include the comparison results). According to some embodiments, this may include sending the metrics and the comparison results to a UI, such as the display results UI 260.

[0051] 5 is a flow chart diagram illustrating a method for evaluating an ML model including adding or updating requirements, according to one or more exemplary embodiments. Similar layers and components as those shown in FIG. 2 may be used to implement method 500, and full descriptions of steps similar to method 300 as shown in FIG. 3 and method 400 as shown in FIG. 4 above may be omitted for ease of reading.

[0052] 5, in operation S510, requirements including test parameters are received by requirements management layer 210 from storage layer 220. This may be similar to operation S310 described above in FIG.

[0053] After receiving the requirements from storage layer 220, in operation S520, the requirements may be interpreted by requirements management layer 210 to determine how to instruct execution layer 200 to perform ML evaluation against ML model 240. This may be similar to operation S320 described above in FIG.

[0054] At operation S530, requirements management layer 210 sends instructions to execution layer 200 based on the interpreted test parameters from operation S520 to cause execution layer 200 to perform ML evaluation against ML model 240. This may be similar to operation S330 described above in FIG.

[0055] At act S540, an instruction to perform an ML evaluation may be received by executive layer 200 to cause executive layer 200 to perform an ML evaluation against ML model 240. This may be similar to act S410 described above in FIG.

[0056] At operation S550, the instruction execution layer 200 may send instructions to the unit test component 202 to evaluate the metrics (e.g., by calculating and comparing the metrics with respect to test criteria according to the requirements). This may be similar to operation S440 described above in Figure 4. Although not explicitly shown, it should be understood that, according to some embodiments, operations similar to S420-S430 may also be included prior to operation S550.

[0057] At operation S560, the execution layer 200 may output the evaluated metrics (which may include the comparison results) and send the metrics and the comparison results to a UI, such as the display results UI 260. This may be similar to operation S450 described above in FIG.

[0058] At operation S570, the execution layer 200 may send instructions to the requirements management layer 210 to add requirements to the storage layer 220 (e.g., by adding a new RAC file to the storage layer 220) or to update existing requirements (e.g., by editing an existing RAC file in the storage layer 220). Instructions may be sent to update ML model tuning parameters, such as, but not limited to, confidence thresholds and testing parameters to optimize the overall performance of a system that includes the ML model 240.

[0059] At operation S580, the requirements management layer 210 receives the instruction sent at operation S570 and adds or updates the requirements accordingly in the storage layer 220. The steps may then be repeated from S510. According to the present embodiment, an iterative process may be implemented that searches for requirements and parameters that may not yet be discovered.

[0060] Based on the above embodiments, it can be seen that the entire process of configuring and executing the ML evaluation process can be streamlined / encapsulated into a single pipeline and, optionally, presented to a user using a user interface connected to layers of the pipeline, thereby improving automation of the evaluation process.

[0061] The foregoing disclosure provides illustration and description, but is not intended to be exhaustive or to limit the exemplary embodiment or embodiments to the precise forms disclosed. Modifications and variations are possible in light of the disclosure or may be acquired from practice of the exemplary embodiment or embodiments.

[0062] One or more exemplary embodiments may relate to a system, method, and / or computer-readable medium at any possible level of technical detail of integration. Furthermore, one or more of the above-mentioned components may be implemented as instructions stored in a computer-readable medium and executable by at least one processor (and / or may include at least one processor). The computer-readable medium may include a computer-readable non-transitory storage medium (or media) having computer-readable program instructions for causing a processor to perform operations.

[0063] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. A non-exhaustive list of more specific examples of computer-readable storage media includes the following: portable computer diskettes, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), static random access memories (SRAM), portable compact disk read-only memories (CD-ROM), digital versatile disks (DVD), memory sticks, floppy disks, mechanically encoded devices such as punch cards or ridge structures in grooves with instructions recorded on them, and any suitable combination of the above. As used herein, computer-readable storage media should not be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or electrical signals transmitted over wires.

[0064] The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium into each computing / processing device, or may be downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network may comprise copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing / processing device.

[0065] The computer readable program code / instructions for performing the operations may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or source or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, or the like, and procedural programming languages ​​such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or wide area network (WAN), or a connection to an external computer may be made (e.g., through the Internet using an Internet Service Provider). In one or more exemplary embodiments, an electronic circuit including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may execute computer-readable program instructions by utilizing state information of the computer-readable program instructions to personalize the electronic circuit to perform an aspect or operation.

[0066] The computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus produce means for implementing the function / act specified in the block or blocks of the flowcharts and / or block diagrams. The computer-readable program instructions may also be stored in a computer-readable storage medium that may direct a computer, programmable data processing apparatus, and / or other device to function in a particular manner, such that the computer-readable storage medium having instructions stored therein comprises an article of manufacture including instructions that implement an aspect of the function / act specified in the block or blocks of the flowcharts and / or block diagrams.

[0067] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause the computer, other programmable apparatus, or other device to perform a series of operational steps to generate a computer-implemented process, such that the instructions executing on the computer, other programmable apparatus, or other device implement the function / act specified in the block or blocks of the flowcharts and / or block diagrams.

[0068] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible example embodiments of the systems, methods, and computer-readable media according to one or more exemplary embodiments. In this regard, each block in the flowcharts or block diagrams may represent a microservice, module, segment, or portion of instructions comprising one or more executable instructions that implement a specified logical function. The methods, computer systems, and computer-readable media may include additional, fewer, different, or differently arranged blocks compared to those depicted in the figures. In one or more alternative exemplary embodiments, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may in fact be executed simultaneously or substantially simultaneously, or the blocks may be executed in the reverse order depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowchart diagrams, and combinations of blocks in the block diagrams and / or flowchart diagrams, may be implemented by a dedicated hardware-based system that performs the specified functions or acts or executes a combination of dedicated hardware and computer instructions.

[0069] It will be apparent that the systems and / or methods described herein may be implemented in various forms of hardware, firmware, or a combination of hardware and software. The actual dedicated control hardware or software code used to implement the systems and / or methods is not a limitation of one or more exemplary embodiments. Thus, the operation and behavior of the systems and / or methods are described herein without reference to specific software code, and it will be understood that software and hardware can be designed to implement the systems and / or methods based on the description herein.

Claims

1. 1. A method for evaluating a machine learning (ML) model, comprising: The method comprises: receiving, by a requirements management layer, at least one requirement retrieved from the storage layer; interpreting said at least one requirement by said requirement management layer; sending instructions by the requirements management layer to an execution layer to perform an ML evaluation process based on the interpreted requirements, the execution layer sending an output signal having a result of the ML evaluation process upon completion of the ML evaluation process; A method comprising:

2. The method of claim 1 , wherein the at least one requirement is in the form of a Requirements Code (RaC) file.

3. The method of claim 1 or 2, wherein the storage layer is in communication with a first user interface configured to enable a user to edit the at least one requirement.

4. The method of claim 3 , wherein the execution layer is configured to send the output signal to a second user interface configured to display the results of the ML evaluation process.

5. 5. The method of claim 4, wherein the execution layer comprises an inference component and a unit test component, and upon receiving the instructions to perform an ML evaluation process, the inference component is configured to receive test data and perform an inference process based on the test data and instructions to obtain outputs from the ML model, and the unit test component is configured to perform an evaluation process based on the outputs from the ML model and the instructions to obtain indicators.

6. 6. The method of claim 5, wherein the output from the ML model comprises an inference log, and upon completing the inference process, the inference component is configured to forward the inference log to the unit testing component, and the evaluation process includes evaluating indicators from the inference log, and the evaluated indicators are displayed in the second user interface.

7. 7. The method of claim 6, further comprising receiving, by the requirements management layer, an instruction to add or update at least one requirement in the storage layer, the instruction being sent from the execution layer upon completing the ML evaluation process based on the evaluated metrics.

8. 1. An apparatus for evaluating a machine learning (ML) model, comprising: The apparatus comprises: at least one memory storing computer executable instructions; At least one processor; Equipped with The at least one processor receiving, by a requirements management layer, at least one requirement retrieved from the storage layer; interpreting said at least one requirement by said requirement management layer; sending instructions by the requirements management layer to an execution layer to perform an ML evaluation process based on the interpreted requirements, the execution layer sending an output signal having a result of the ML evaluation process upon completion of the ML evaluation process; 23. An apparatus configured to execute the computer-executable instructions to:

9. The apparatus of claim 8 , wherein the at least one requirement is in the form of a Requirements Code (RaC) file.

10. The apparatus of claim 8 or 9, wherein the storage layer is in communication with a first user interface configured to enable a user to edit the at least one requirement.

11. The apparatus of claim 10 , wherein the execution layer is configured to send the output signal to a second user interface configured to display the results of the ML evaluation process.

12. 12. The apparatus of claim 11, wherein the execution layer comprises an inference component and a unit test component, wherein upon receiving the instructions to perform an ML evaluation process, the inference component is configured to receive test data and perform an inference process based on the test data and instructions to obtain outputs from the ML model, and the unit test component is configured to perform an evaluation process based on the outputs from the ML model and the instructions to obtain indicators.

13. 13. The apparatus of claim 12, wherein the output from the ML model comprises an inference log, and wherein upon completing the inference process, the inference component is configured to forward the inference log to the unit testing component, and wherein the evaluation process includes evaluating indicators from the inference log, and the evaluated indicators are displayed in the second user interface.

14. 14. The apparatus of claim 13, wherein the processor is further configured to execute the computer-executable instructions to receive, by the requirements management layer, instructions to add or update at least one requirement in the storage layer, the instructions being sent from the execution layer upon completing the ML evaluation process based on the evaluated metrics.

15. 1. A non-transitory computer-readable storage medium having instructions executable by at least one processor to cause the processor to perform a method, comprising: The method comprises: receiving, by a requirements management layer, at least one requirement retrieved from the storage layer; interpreting said at least one requirement by said requirement management layer; sending instructions by the requirements management layer to an execution layer to perform an ML evaluation process based on the interpreted requirements, the execution layer sending an output signal having a result of the ML evaluation process upon completion of the ML evaluation process; A non-transitory computer-readable recording medium comprising:

16. 20. The non-transitory computer-readable medium of claim 15, wherein the at least one requirement is in the form of a Requirements Code (RaC) file.

17. 17. The non-transitory computer-readable storage medium of claim 15 or 16, wherein the storage layer is in communication with a first user interface configured to enable a user to edit the at least one requirement.

18. 20. The non-transitory computer-readable storage medium of claim 17, wherein the execution layer is configured to send the output signal to a second user interface configured to display the results of the ML evaluation process.

19. 20. The non-transitory computer-readable storage medium of claim 18, wherein the execution layer comprises an inference component and a unit test component, wherein upon receiving the instructions to perform an ML evaluation process, the inference component is configured to receive test data and perform an inference process based on the test data and instructions to obtain outputs from an ML model, and the unit test component is configured to perform an evaluation process based on the outputs from the ML model and the instructions to obtain indicators.

20. 20. The non-transitory computer-readable storage medium of claim 19, wherein the output from the ML model comprises an inference log, and wherein upon completing the inference process, the inference component is configured to forward the inference log to the unit testing component, and wherein the evaluation process includes evaluating metrics from the inference log, and the evaluated metrics are displayed in the second user interface.

Citation Information

Patent Citations

  • Information processing method and information processing system

    JP2019096285A

  • Data analyzer, data analysis method, and data analysis program

    JP2021018508A

  • Allocating Processing Resources To Concurrently-Executing Neural Networks

    US20220194423A1

  • User acceptance test system for machine learning systems

    US20220300754A1