Machine learning models are used in electronic devices for a variety of purposes, such as image classification, object detection, segmentation, content creation, navigation, and other tasks. Machine learning models learn to perform such tasks through a process by which they are trained using training data. Before a machine learning model is deployed in a user device, validation is performed to ensure that the machine learning model meets at least a target validation performance. For example, an object detection machine learning model may need to satisfy a minimum mean average precision before being deployed in a safety-critical application.
For a machine learning model, there may be a correlation between its validation performance and the amount of training data used in training. For a model that does not initially meet a target validation performance, a common technique to increase the validation performance is by collecting more training data to further train the model. However, collecting and annotating data used for training machine learning models can be both expensive and time consuming. For example, annotating segmentation data sets may require, e.g., 15 to 40 seconds per object such that annotating a driving data set of 100,000 images with on average 10 cars per image can take an amount of time equivalent to between 170 and 460 days. Overestimating the amount of additional data needed to meet a target validation performance can therefore cause the designer to incur unnecessary costs and man hours, while also requiring significant computing resources (e.g., processing power, storage, etc.). Moreover, over-training machine learning models can degrade the model's ability to generalize beyond its training data. In contrast, underestimating the amount of additional data needed to meet a target validation performance can result in the need to collect still more data at a later stage, incurring further computational overhead and workflow delays. As such, it is important to determine how much additional training data is needed for a machine learning model to achieve a target validation performance.
Embodiments of the present disclosure relate to training data set size estimation for machine learning model systems and applications. Systems and methods of the present disclosure may assist in determining the amount of additional training data needed when a machine learning model tests below a target validation performance after training with an initial set of training data.
In contrast to conventional systems, the systems and methods presented in this disclosure are directed to a training data collection estimation function that estimates target data requirements for training a machine learning model, given an approximate relationship between training data set size and model performance using one or more validation score estimation functions. Validation score estimation functions may comprise, for example, concave monotonic increasing regression functions, such as but not limited to power law, arctan, logarithmic, and/or algebraic root regression functions. In order to derive a validation score estimation function that is calibrated to a training data set, a regression data set is generated from the training data set, and subsets of the regression data set are used to train the machine learning model. A validation score is computed for each subset and used to compute regression function parameters to curve fit the selected regression function to the training data set. The validation score estimation function is then solved for a value of n, which is an estimate of the number additional training samples needed for the validation score estimation function to meet or exceed a target validation score.
In some embodiments, a correction factor, τ, may be added to the target validation score prior to computing {circumflex over (n)} to bias the validation score estimation function to yield a larger—that is, a more pessimistic—estimate of the number of additional training samples needed. In some embodiments, estimating the number n of additional training samples needed may be bounded by computing {circumflex over (n)} from a plurality of different validation score estimation functions, including both optimistic and pessimistic concave monotonic increasing regression functions. The solutions presented herein provide for training of a machine learning model using a training data set of sufficient size to obtain a target validation score, while avoiding overestimating the amount of additional data needed. As a result, and in contrast to conventional solutions that waste large quantities of computing resources (e.g., processing power, storage, etc.) and/or over train machine learning models, the systems and methods of the present disclosure limit the compute and human resources to those that allow the model to satisfy a target validation score, while avoiding over training.
The present systems and methods for training data set size estimation for machine learning model systems and applications are described in detail below with reference to the attached drawing figures, wherein:
Systems and methods are disclosed related to training data set size estimation for machine learning model systems and applications. The present disclosure relates to estimating the amount of training data to collect in order to train a machine learning model to meet a target validation performance. The validation performance of the machine learning model may relate to performance metrics such as, but not limited to, accuracy, precision, recall, Intersection over Union (IoU), or other performance metric(s). Systems and methods presented in this disclosure may assist in determining the amount of additional training data needed when a machine learning model tests below the target validation performance after training with an initial set of training data. In some embodiments, regression functions may be computed based at least on samples selected from the initial set of training data to derive one or more validation score estimation functions, from which an estimate of the number of additional training samples needed to meet the target validation performance can be determined.
The systems and methods presented in this disclosure are directed to a training data collection estimation function—that may be executed on user devices and/or in cloud computing environments—that estimates target data requirements given an approximate relationship between training data set size and model performance. These estimates may be computed using one or more validation score estimation functions, such as a power law function. The training data collection estimation function predicts a training data collection budget that is estimated to return a target model validation score after a limited number of training rounds.
For example, an initial training data set D0:={zi}i=1n
In some embodiments, in order to derive a validation score estimation function, Vf-est (D), a regression data set, R, comprising r subsets S is generated from D0 (where S0⊂S1 . . . ⊂Sr−1=D0), and a validation score Vf(S) is computed for each subset S by training the model f using each subset S and computing the resulting validation score of the trained model f. Using the resulting (S, Vf (S)) pairs, the parameters, θ, for at least one concave monotonic increasing regression function are computed. For example, for a power law regression function of {circumflex over (v)}(n; θ)=θ1nθ
Given the computed parameters θ, a validation score estimation function Vf-est(n; θ) can be defined as Vf-est(n; θ)={circumflex over (v)}(n; θ), and the relationship V*=Vf-est(n; θ) can be solved for n to estimate the number, {circumflex over (n)}, of additional training samples D needed to obtain a validation score of at least V*. In some embodiments, {circumflex over (n)} is minimized by the training data collection estimation function subject to {circumflex over (v)}({circumflex over (n)}; θ)>V*. For the next round of training, {circumflex over (n)} new training points are collected to obtain {circumflex over (D)}, the model f is trained using (D0∪D), and Vf(D0∪{circumflex over (D)}) computed. If the new validation score has sufficiently improved to now exceed V*, then the processes is completed. If the new validation score has not sufficiently improved to exceed V*, then the validation score estimation function Vf-est(n; θ) may be re-determined (e.g., refit) based at least on training data (D0∪{circumflex over (D)}), and a new {circumflex over (n)} may be computed. This sequence may be repeated until Vf(D0∪{circumflex over (D)})>V* is obtained, or until a predetermined permitted maximum of T rounds is reached.
In some embodiments, as the collected set of training data grows, an error, ϵ, of {circumflex over (n)} can be estimated by the training data collection function based at least on a linear score function of ground truth, such as:
where D0⊂D1⊂D2 . . . is an ascending sequence of data sets, ni=|Di| for each i in the sequence, and v(n) is a concave and monotonically increasing function. Given this linear score function of ground truth, n* signifies the smallest value satisfying v(n0+n*)=V*. An error, ϵ({circumflex over (n)}), may be computed, for example, based at least on a difference between Vf-est({circumflex over (n)}; θ) as computed from the power law (or other selected regression function) and the v({circumflex over (n)}) from the linear score function. The estimated error ϵ({circumflex over (n)}) may be displayed to the model designer in a user interface along with the value of {circumflex over (n)}. For example, if the validation score from linear score function v({circumflex over (n)}) indicates a value lower than the training goal validation score, V*, the designer may elect to collect slightly more than the {circumflex over (n)} additional samples of training data suggested from solving V*=Vf-est(n; θ). In at least one embodiment, the designer may select, using the user interface, one or more options to generate synthetic training data and/or to augment existing training data based at least on the training goal validation score, V*, and/or the system may automatically generate the synthetic training data and/or augment the existing training data based at least on the training goal validation score, V*.
In some embodiments, a correction factor, τ, may be added to the training goal validation score, V*, prior to computing n from the validation score estimation function. That is, the training data collection estimation function solves for a value of {circumflex over (n)}60 satisfying V*+τ=Vf-est (n; θ) and/or minimizes {circumflex over (n)} subject to {circumflex over (D)}(n0+{circumflex over (n)}; θ)>V*+τ after each round of data collection and training. In order to determine how large the correction factor, τ, should be, the training data collection estimation function may treat the correction factor as a hyper-parameter. For example, in some embodiments, a data collection ratio may be computed for the validation score estimation function versus the minimum data required according to the ground truth linear score function v(n). This data collection ratio may be expressed as:
(n0+{circumflex over (n)})/(n0+n*).
The data collection ratio thus may be a function of the validation score estimation function, the training goal validation score V*, and the machine learning model/task/algorithm. In evaluating how a particular validation score estimation function, Vf-est(n; θ), collects data, when the data collection ratio is less than one for different targets and machine learning tasks, the validation score estimation function is described as being an optimistic predictor of the validation score, which means that solving for {circumflex over (n)} will under-estimate how much additional training data will be needed. In contrast, a data collection ratio greater than one for a range of different targets and machine learning tasks means that the validation score estimation function is a pessimistic predictor of the validation score. Solving for {circumflex over (n)} from a pessimistic validation score estimation function may over-estimate {circumflex over (n)}, and thus over-estimate how much additional training data will be needed. An ideal validation score estimation function may achieve the smallest data collection ratio greater than one. One problem associated with over-estimating {circumflex over (n)} from a pessimistic validation score estimation function is that the amount of overestimation is potentially boundless due to the increasing flatness of validation scores estimated from concave monotonic increasing regression functions as the data set size increases. As a result, solving a pessimistic validation score estimation function for even a small desired improvement in a validation score could potentially lead to an overestimation of {circumflex over (n)} by an order of magnitude or more. Accordingly, in some embodiments, a value for the correction factor, τ, can be computed starting with an optimistic validation score estimation function Vf-est(n; θ), and iteratively solving V*+τ=Vf-est(n; θ) using increasing values for the correction factor, τ, until the data collection ratio exceeds one. This fitted correction factor, τ, may then be used as a correction factor while estimating the number {circumflex over (n)} of additional training samples D needed to obtain a validation score of at least V*.
In some embodiments, a correction factor, τ, may be estimated based at least on prior training data sets collected for separate, but similar, tasks. For example, the current task may involve the classification of medical images. A prior training data set may have been collected for classification of a different type of medical image and known to produce a passing validation score (e.g. at least V*) on a similar machine learning model architecture. That prior data set may be sampled to obtain a subset of the approximate size of Do and that subset fit to a validation score estimation function Vf-est(n; θ) being used for the current task. The resulting validation score estimation function Vf-est(n; θ) fit using the prior data set may be used to iteratively solve V*+τ=Vf-est(n; θ) for a correction factor, τ, that yields a data collection ratio that just exceeds a value of one (e.g., a data collection that exceeds a value of one by a predetermined threshold value). The correction factor, τ, computed from the prior training data set for the similar but separate task may be used as the correction factor, τ, to solve V*+τ=Vf-est(n; θ) for {circumflex over (n)} using the current data set being collected for the current task.
In some embodiments, estimating the number {circumflex over (n)} of additional training samples D needed may be bounded by computing {circumflex over (n)} from a plurality of different validation score estimation functions, including, e.g., both optimistic and pessimistic concave monotonic increasing regression functions. The different validation score estimation functions may yield an ensemble of {circumflex over (n)} predictions with the largest prediction providing a worst-case estimate and the smallest prediction providing a best-case estimate. Each of these {circumflex over (n)} predictions can be displayed in the user interface to the user (e.g., the model designer) to provide an indication of how well the {circumflex over (n)}predictions are bounded. Power law, logarithmic, and algebraic root, regression functions are generally known from empirical observations to be optimistic for many tasks, while arctan regression functions are generally known from empirical observations to often be pessimistic for many tasks. That said, these generalizations are not always true for all tasks. The optimism or pessimism of a concave monotonic increasing regression functions may be determined for a set of tasks by computing their respective data collection ratio as discussed above.
The training data collection estimation function and its corresponding methods may be executed, for example, at least in part on at least one graphics processing unit (GPU) that may operate in conjunction with software executed on a central processing unit (CPU) coupled to a memory. The graphics processing unit may be programmed to execute the machine learning model used with the regression data set to derive the validation score estimation function, Vf-est (n; θ), from the regression data set. Other computations may be executed by the software executing on the CPU. In some embodiments, one or more aspects of the training data collection estimation function are performed via a cloud computing environment accessed by a user device via a network. For example, in some embodiments, the machine learning model used by the training data collection estimation function may be implemented as a virtual function on the cloud computing environment. As such, in some embodiments, the training data collection estimation function may be implemented as a component of a virtualized machine learning model training simulation environment.
The systems and methods described herein may be used for a variety of purposes, by way of example and without limitation, for machine control, machine locomotion, machine driving, synthetic data generation, model training, perception, augmented reality, virtual reality, mixed reality, robotics, security and surveillance, simulation and digital twinning, autonomous or semi-autonomous machine applications, deep learning, environment simulation, object or actor simulation and/or digital twinning, data center processing, conversational AI, light transport simulation (e.g., ray-tracing, path tracing, etc.), collaborative content creation for 3D assets, cloud computing and/or any other suitable applications.
Disclosed embodiments may be comprised in a variety of different systems such as automotive systems (e.g., a control system for an autonomous or semi-autonomous machine, a perception system for an autonomous or semi-autonomous machine), systems implemented using a robot, aerial systems, medial systems, boating systems, smart area monitoring systems, systems for performing deep learning operations, systems for performing simulation operations, systems for performing digital twin operations, systems implemented using an edge device, systems incorporating one or more virtual machines (VMs), systems for performing synthetic data generation operations, systems implemented at least partially in a data center, systems for performing conversational AI operations, systems for performing light transport simulation, systems for performing collaborative content creation for 3D assets, systems implemented at least partially using cloud computing resources, and/or other types of systems.
With reference to
Among other components not shown, the operating environment 100 may include a machine learning model training system 105 that comprises a machine learning model training application 110 and a training data collection estimation function 112, which may be coupled to a machine learning model 114. The machine learning model 114 comprises one or more machine learning models that are under training by the machine learning model training system 105. The machine learning model(s) 114 may be trained by the machine learning model training system 105 using a training data set 116, which in some embodiments may reside on a data store 118. The machine learning model 114 is not restricted to any particular machine learning model architecture or neural network structure and may comprise, for example and without limitation, a machine learning model(s) using linear regression, logistic regression, decision trees, support vector machines (SVM), Naïve Bayes, k-nearest neighbor (Knn), K means clustering, random forest, dimensionality reduction algorithms, gradient boosting algorithms, one or more neural networks (e.g., auto-encoders, convolutional, recurrent, perceptrons, Long/Short Term Memory (LSTM), Hopfield, Boltzmann, deep belief, deconvolutional, generative adversarial, and/or liquid state machine, etc.), and/or other types of machine learning models.
In some embodiments, the data store 118 may be an element of the machine learning model training system 105. In some embodiments, the data store 118 may be coupled to the machine learning model training system 105 by a network 115. By way of example, network 115 may include one or more wide area networks (WANs), one or more local area networks (LANs), one or more public networks such as the Internet, and/or one or more private networks.
Each of the components shown in
The machine learning model training application 110 can generally be any application capable of facilitating training of a machine learning model 114 using the techniques described herein and/or other techniques, either on its own, or via an exchange of information with other elements (e.g., via the network 115). In some implementations, the machine learning model training application 110 comprises a web application, which can run in a web browser, and could be hosted at least partially on a server-side of environment 100, such as by the data center 800. In addition, or instead, the machine learning model training application 110 can comprise a dedicated machine learning model training application.
In some embodiments, in operation, the machine learning model training application 110 receives the training data set 116 and applies training samples of the training data set 116 to train the machine learning model 114 and compute a validation score for the trained machine learning model 114 (e.g., using cross-validation or other validation technique). In some embodiments, the validation score is computed using a testing data set that comprises a separate portion of the training data set 116 from which the training samples are derived. The validation score is a metric indicating an estimate of how well the machine learning model is expected to perform when provided previously seen input data. For example, a machine learning model trained for a classification problem will have a validation score indicating a probability that the model will correctly classify an image. In some embodiments, once the validation score is computed by the machine learning model training application 110, a validation score output may be generated by the machine learning model training application 110 for display to a user via a human machine interface (HMI) display 130 (such as presentation component 718, for example).
As discussed above, in some implementations, training the machine learning model 114 will yield a validation performance that is below a target validation performance (e.g., a target validation score). At that point, the model designer (e.g., a user of machine learning model training system 105) may need to determine the number of additional training samples (e.g., {circumflex over (n)}) needed for the machine learning model 114 to meet the target validation score. Overestimating the amount of additional data needed to meet a target validation performance can cause the designer to incur substantial unnecessary costs, while wasting large quantities of computing resources (e.g., processing power, storage, etc.). Over training the machine learning model 114 can also degrade the model's ability to generalize beyond its training data. In contrast, underestimating the amount of additional data needed to meet the target validation score can result in the need to collect additional data samples for the training data set 116 at a later stage, incurring further computational overhead and workflow delays.
In the embodiment of
Now referring to
Using the (S, Vf(S)) pairs, training data collection estimation function 112, at 218, computes the parameters, θ, to derive at least one concave monotonic increasing regression function that it will use as a validation score estimation function, Vf-est(D). In some embodiments, the training data collection estimation function 112 may derive a validation score estimation function by curve fitting the plurality of validation scores (e.g., using the (S, Vf(S)) pairs) to compute the one or more parameters θ for the selected validation score estimation function(s). For example, for a power law regression function of {circumflex over (v)}(n; θ)=θ1nθ
curve fitting may be applied using the (S, Vf (S)) pairs to compute parameters θ:={θ1, θ2, θ3}. For a Logarithmic regression function of {circumflex over (v)}(n; θ)=θ1πlog(n+θ2)+θ3, curve fitting may be applied using the (S, Vf (S)) pairs to compute parameters θ:={θ1, θ2, θ3}. For an Algebraic Root regression function of
curve fitting may be applied using the (S, Vf(S)) pairs to compute parameters θ:={θ1, θ2, θ3}. In other embodiments, training data collection estimation function 112 may compute the parameters 0 for one or more other concave monotonic increasing regression functions.
In some embodiments, the training data collection estimation function 112, at 218, computes the parameters θ for one or more concave monotonic increasing regression functions selected by the user(s) as indicated by the regression function estimation options 122. That is, the training data collection estimation function 112 may receive as input a selection of the power law, Arctan, Logarithmic, Algebraic Root, and/or other regression functions and derive at least one validation score estimation function Vf-est(D) based on the selection.
Given the computed parameters 0 from 218, a validation score estimation function Vf-est(n; θ) can be defined as Vf-est(n; θ)={circumflex over (v)}(n; θ) and the relationship V*=Vf-est(n; θ) solved for n at 220 to estimate the number, {circumflex over (n)}, of additional training samples {circumflex over (D)} needed to obtain a validation score of at least V*. In some embodiments, {circumflex over (n)} is minimized by the training data collection estimation function 112 subject to {circumflex over (v)}({circumflex over (n)}; θ)≥V*. Once computed, the estimate {circumflex over (n)} for each validation score estimation function Vf-est(n; θ) selected may be passed from the training data collection estimation function 112 to the machine learning model training application 110 for display to the user via HMI display 130.
Now referring to
The method 300, at block B302, includes receiving an input indicating a target validation score for training a machine learning model, and, at B304, includes receiving a first training data set comprising a first number of training samples. If, after training a machine learning model using the first number of training samples, the validation score is found to be less than the target validation score, then an estimate of the number of additional sample points {circumflex over (n)} of additional training data to satisfy the target validation score may be computed.
In some embodiments, the method 300 therefore includes, at B306, deriving at least one validation score estimation function based at least on iteratively re-training the machine learning model using a regression data set to compute a plurality of validation scores. The regression data set may be sampled from the first training data set. The plurality of validation scores may comprise a respective validation score for each iteration. In some embodiments, the derivation of the at least one validation score estimation function comprises curve fitting the plurality of validation scores to compute one or more parameters of the at least one validation score estimation function. The method 300 includes, at B308, solving the at least one validation score estimation function based at least on the target validation score to determine a second number of additional training samples. That second number of addition training samples defines {circumflex over (n)}, the number of additional training samples D needed for the machine learning model to meet the target validation score. In some embodiments, {circumflex over (n)} is minimized by the method subject to {circumflex over (v)}({circumflex over (n)}; θ)≥V*. At B310, the method 300 includes causing a display to present the number of additional training samples, for example as a training data collection recommendation.
For the next round of training, {circumflex over (n)} new training points may be collected to obtain {circumflex over (D)}. The machine learning model may be retrained using (D0∪{circumflex over (D)}), and the validation score Vf(D0∪{circumflex over (D)}) recomputed for the machine learning model. If the new validation score has sufficiently improved to now exceed the target validation score, V*, then the method 300 is completed. Instead, if the new validation score has not sufficiently improved to exceed V*, then the method returns to block B306 to again derive at least one validation score estimation function based on a training data set that now includes the first number of training samples plus the additional training samples (e.g., (D0∪{circumflex over (D)})). At each iteration of the method 300, the total number of training samples grows in size as {circumflex over (D)} cumulatively includes the additional training samples collected from each round. The method 300 may be repeated until a Vf(D0∪{circumflex over (D)})>V* is obtained, or until a predetermined permitted maximum of T rounds is reached.
Now referring to
At 412, the machine learning model 114 is reinitialized and retrained using each of the i sets of evaluation samples and at 414, a validation score Vf(Di) computed for each of the i sets of evaluation samples Di. At 416, a piecewise linear score function of ground truth may then be computed as:
From this linear score function of ground truth, n* may be computed that signifies the smallest value satisfying v(n0+n*)=V*. In some embodiments, the training data collection estimation function 112 may use the computed n* to compute the data collection ratio for the validation score estimation function (e.g., Vf-est(n; θ)) using (n0+{circumflex over (n)})/(n0+n*). In some embodiments, the training data collection estimation function 112 may use the data collection ratio to suggest a value for the correction factor, τ, that may be added to the training goal validation score, V*, prior to computing {circumflex over (n)} from the validation score estimation function, as discussed herein. The training data collection estimation function 112 may solve for a value of {circumflex over (n)} satisfying V*+τ=Vf-est(n; θ) and/or minimize {circumflex over (n)} subject to {circumflex over (v)}(n0+{circumflex over (n)}; θ)≥V*+τ after each round of data collection and training. In some embodiments, the training data collection estimation function 112 may compute a correction factor, τ, by iteratively solving V*+τ=Vf-est(n; θ) using increasing values for the correction factor, τ, until the data collection ratio exceeds one. This fitted correction factor, τ, may then be used as a correction factor while estimating the number {circumflex over (n)} of additional training samples D needed to obtain a validation score of at least the target validation score, V*.
In some embodiments, the training data collection estimation function 112 may compute an error c(n) as a function of a difference between {circumflex over (n)} verses n* and/or Vf-est({circumflex over (n)}; θ) verses v({circumflex over (n)}). The estimated error ϵ({circumflex over (n)}) may be displayed by a user interface via the HMI display 130 to further provide to the designer a degree of confidence in the value of {circumflex over (n)} before they perform the task of collecting and/or generating additional training samples.
In at least one embodiment, a user (e.g., designer) may select (e.g., using a user interface presented on the HMI display 130), one or more options to generate synthetic training data and/or to augment existing training data set 116. For example, in some embodiments, the machine learning model training system 105 may generate {circumflex over (n)} synthetic additional training samples {circumflex over (D)} using one or more data set augmentation techniques and/or synthetic training data generation techniques. For example, in some embodiments, the machine learning model training application 110, or other component of machine learning model training system 105, may input existing training samples from the training data set 116 and apply cropping, rotations, translations, or other modification, to create new training samples. In some embodiments, synthetic training data may be generated using three-dimensional (3D) rendering training data techniques. Using such synthetic training samples to generate the {circumflex over (n)} synthetic additional training samples {circumflex over (D)} may be less time consuming and more practical than collecting {circumflex over (n)} additional training samples D from real-world environments. The designer may also optionally re-compute Vf-est(n; θ) using (D0∪{circumflex over (D)}), where {circumflex over (D)} includes the {circumflex over (n)} synthetic additional training samples, to gain confidence that collecting {circumflex over (n)} real-world additional training samples would yield the desired target validation score. That is, if Vf-est(D0∪{circumflex over (D)}) using {circumflex over (n)} synthetic additional training samples provided the desired target validation score, V*, then the designer could have a high degree of confidence that collecting {circumflex over (n)} real-world additional training samples should produce the desired target validation score, V*, after the next training iteration.
Now referring to
Referring now to
The user interface 610 may further display estimation results as shown at 630. In some embodiments, the estimation results 630 include an estimate {circumflex over (n)} of the number of additional data samples needed to meet or exceed the target validation score shown at user input 622 (subject to any correction factor entered at user input 624) for each of the validation score estimation functions selected by the user via the estimation options user input 626, and an indication of the regression function used for the estimate. In some embodiments, the estimation results 630 may each include an indication 632 as to whether each displayed value of estimate {circumflex over (n)} is an optimistic estimate or a pessimistic estimate (e.g., as determined by the training data collection estimation function 112). For example, a “p” or other symbol may be used to indicate a pessimistic estimate while an “o” or other symbol may be used to indicate an optimistic estimate. In some embodiments, an appearance of the estimate value is used (e.g., a color) to indicate whether the estimate is pessimistic or optimistic. In some embodiments, when more than one validation score estimation functions is selected by the user (e.g., via user input 626), the estimation results 630 may be sorted based on the value of {circumflex over (n)}, and/or include other symbology indicating the bounds of the range of {circumflex over (n)} solved from the different validation score estimation functions
In some embodiments, the user interface 610 may further include a graphical display 640 comprising one or more performance (e.g., validation score) verses data set size curves computed for each of the validation score estimation functions (shown at Vf-est(1), Vf-est(2), Vf-est(3), Vf-est(4) in this example). As shown at 640, the graphical display may include a target line 642 indicating the target validation score so that the user may readily ascertain the data set size at which each validation score estimation function intersects the target validation score. Moreover, in some embodiments, the graphical display 640 may further include a ground truth curve such as computed from the linear score function of ground truth, v(n), discussed herein. The ground truth may be used by the user to further assess the degree of optimism and/or pessimism of the estimates generated by the training data collection estimation function 112.
Example Computing Device
Although the various blocks of
The interconnect system 702 may represent one or more links or busses, such as an address bus, a data bus, a control bus, or a combination thereof. The interconnect system 702 may include one or more bus or link types, such as an industry standard architecture (ISA) bus, an extended industry standard architecture (EISA) bus, a video electronics standards association (VESA) bus, a peripheral component interconnect (PCI) bus, a peripheral component interconnect express (PCIe) bus, and/or another type of bus or link. In some embodiments, there are direct connections between components. As an example, the CPU 706 may be directly connected to the memory 704. Further, the CPU 706 may be directly connected to the GPU 708. Where there is direct, or point-to-point connection between components, the interconnect system 702 may include a PCIe link to carry out the connection. In these examples, a PCI bus need not be included in the computing device 700.
The memory 704 may include any of a variety of computer-readable media. The computer-readable media may be any available media that may be accessed by the computing device 700. The computer-readable media may include both volatile and nonvolatile media, and removable and non-removable media. By way of example, and not limitation, the computer-readable media may comprise computer-storage media and communication media.
The computer-storage media may include both volatile and nonvolatile media and/or removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules, and/or other data types. For example, the memory 704 may store computer-readable instructions (e.g., that represent a program(s) and/or a program element(s), such as an operating system. Computer-storage media may include, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which may be used to store the desired information and which may be accessed by computing device 700. As used herein, computer storage media does not comprise signals per se.
The computer storage media may embody computer-readable instructions, data structures, program modules, and/or other data types in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” may refer to a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, the computer storage media may include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of any of the above should also be included within the scope of computer-readable media.
The CPU(s) 706 may be configured to execute at least some of the computer-readable instructions to control one or more components of the computing device 700 to perform one or more of the methods and/or processes described herein. The CPU(s) 706 may each include one or more cores (e.g., one, two, four, eight, twenty-eight, seventy-two, etc.) that are capable of handling a multitude of software threads simultaneously. The CPU(s) 706 may include any type of processor, and may include different types of processors depending on the type of computing device 700 implemented (e.g., processors with fewer cores for mobile devices and processors with more cores for servers). For example, depending on the type of computing device 700, the processor may be an Advanced RISC Machines (ARM) processor implemented using Reduced Instruction Set Computing (RISC) or an x86 processor implemented using Complex Instruction Set Computing (CISC). The computing device 700 may include one or more CPUs 706 in addition to one or more microprocessors or supplementary co-processors, such as math co-processors.
In addition to or alternatively from the CPU(s) 706, the GPU(s) 708 may be configured to execute at least some of the computer-readable instructions to control one or more components of the computing device 700 to perform one or more of the methods and/or processes described herein. In some embodiments, the machine learning model 114 is implemented by one or more of the GPU(s) 708. One or more of the GPU(s) 708 may be an integrated GPU (e.g., with one or more of the CPU(s) 706 and/or one or more of the GPU(s) 708 may be a discrete GPU. In embodiments, one or more of the GPU(s) 708 may be a coprocessor of one or more of the CPU(s) 706. The GPU(s) 708 may be used by the computing device 700 to render graphics (e.g., 3D graphics) or perform general purpose computations. For example, the GPU(s) 708 may be used for General-Purpose computing on GPUs (GPGPU). The GPU(s) 708 may include hundreds or thousands of cores that are capable of handling hundreds or thousands of software threads simultaneously. The GPU(s) 708 may generate pixel data for output images in response to rendering commands (e.g., rendering commands from the CPU(s) 706 received via a host interface). The GPU(s) 708 may include graphics memory, such as display memory, for storing pixel data or any other suitable data, such as GPGPU data. The display memory may be included as part of the memory 704. The GPU(s) 708 may include two or more GPUs operating in parallel (e.g., via a link). The link may directly connect the GPUs (e.g., using NVLINK) or may connect the GPUs through a switch (e.g., using NVSwitch). When combined together, each GPU 708 may generate pixel data or GPGPU data for different portions of an output or for different outputs (e.g., a first GPU for a first image and a second GPU for a second image). Each GPU may include its own memory, or may share memory with other GPUs. In some embodiments, the user interface for display by HMI display 130 (e.g., such as the user interface 610 of
In addition to or alternatively from the CPU(s) 706 and/or the GPU(s) 708, the logic unit(s) 720 may be configured to execute at least some of the computer-readable instructions to control one or more components of the computing device 700 to perform one or more of the methods and/or processes described herein. In embodiments, the CPU(s) 706, the GPU(s) 708, and/or the logic unit(s) 720 may discretely or jointly perform any combination of the methods, processes and/or portions thereof. One or more of the logic units 720 may be part of and/or integrated in one or more of the CPU(s) 706 and/or the GPU(s) 708 and/or one or more of the logic units 720 may be discrete components or otherwise external to the CPU(s) 706 and/or the GPU(s) 708. In embodiments, one or more of the logic units 720 may be a coprocessor of one or more of the CPU(s) 706 and/or one or more of the GPU(s) 708.
Examples of the logic unit(s) 720 include one or more processing cores and/or components thereof, such as Data Processing Units (DPUs), Tensor Cores (TCs), Tensor Processing Units(TPUs), Pixel Visual Cores (PVCs), Vision Processing Units (VPUs), Graphics Processing Clusters (GPCs), Texture Processing Clusters (TPCs), Streaming Multiprocessors (SMs), Tree Traversal Units (TTUs), Artificial Intelligence Accelerators (AIAs), Deep Learning Accelerators (DLAs), Arithmetic-Logic Units (ALUs), Application-Specific Integrated Circuits (ASICs), Floating Point Units (FPUs), input/output (I/O) elements, peripheral component interconnect (PCI) or peripheral component interconnect express (PCIe) elements, and/or the like.
The communication interface 710 may include one or more receivers, transmitters, and/or transceivers that enable the computing device 700 to communicate with other computing devices via an electronic communication network, included wired and/or wireless communications. In some embodiments, one or more components of the machine learning model training system may be coupled to the network 115 by the communication interface 710. The communication interface 710 may include components and functionality to enable communication over any of a number of different networks, such as wireless networks (e.g., Wi-Fi, Z-Wave, Bluetooth, Bluetooth LE, ZigBee, etc.), wired networks (e.g., communicating over Ethernet or InfiniBand), low-power wide-area networks (e.g., LoRaWAN, SigFox, etc.), and/or the Internet. In one or more embodiments, logic unit(s) 720 and/or communication interface 710 may include one or more data processing units (DPUs) to transmit data received over a network and/or through interconnect system 702 directly to (e.g., a memory of) one or more GPU(s) 708.
The I/O ports 712 may enable the computing device 700 to be logically coupled to other devices including the I/O components 714, the presentation component(s) 718, and/or other components, some of which may be built in to (e.g., integrated in) the computing device 700. Illustrative I/O components 714 include a microphone, mouse, keyboard, joystick, game pad, game controller, satellite dish, scanner, printer, wireless device, etc. The I/O components 714 may provide a natural user interface (NUI) that processes air gestures, voice, or other physiological inputs generated by a user. In some instances, inputs may be transmitted to an appropriate network element for further processing. An NUI may implement any combination of speech recognition, stylus recognition, facial recognition, biometric recognition, gesture recognition both on screen and adjacent to the screen, air gestures, head and eye tracking, and touch recognition (as described in more detail below) associated with a display of the computing device 700. The computing device 700 may be include depth cameras, such as stereoscopic camera systems, infrared camera systems, RGB camera systems, touchscreen technology, and combinations of these, for gesture detection and recognition. Additionally, the computing device 700 may include accelerometers or gyroscopes (e.g., as part of an inertia measurement unit (IMU)) that enable detection of motion. In some examples, the output of the accelerometers or gyroscopes may be used by the computing device 700 to render immersive augmented reality or virtual reality.
The power supply 716 may include a hard-wired power supply, a battery power supply, or a combination thereof. The power supply 716 may provide power to the computing device 700 to enable the components of the computing device 700 to operate.
The presentation component(s) 718 may include a display (e.g., a monitor, a touch screen, a television screen, a heads-up-display (HUD), other display types, or a combination thereof), speakers, and/or other presentation components. The presentation component(s) 718 may receive data from other components (e.g., the GPU(s) 708, the CPU(s) 706, DPUs, etc.), and output the data (e.g., as an image, video, sound, etc.).
Example Data Center
As shown in
In at least one embodiment, grouped computing resources 814 may include separate groupings of node C.R.s 816 housed within one or more racks (not shown), or many racks housed in data centers at various geographical locations (also not shown). Separate groupings of node C.R.s 816 within grouped computing resources 814 may include grouped compute, network, memory or storage resources that may be configured or allocated to support one or more workloads. In at least one embodiment, several node C.R.s 816 including CPUs, GPUs, DPUs, and/or other processors may be grouped within one or more racks to provide compute resources to support one or more workloads. The one or more racks may also include any number of power modules, cooling modules, and/or network switches, in any combination.
The resource orchestrator 812 may configure or otherwise control one or more node C.R.s 816(1)-816(N) and/or grouped computing resources 814. In at least one embodiment, resource orchestrator 812 may include a software design infrastructure (SDI) management entity for the data center 800. The resource orchestrator 812 may include hardware, software, or some combination thereof.
In at least one embodiment, as shown in
In at least one embodiment, software 832 included in software layer 830 may include software used by at least portions of node C.R.s 816(1)-816(N), grouped computing resources 814, and/or distributed file system 838 of framework layer 820. One or more types of software may include, but are not limited to, Internet web page search software, e-mail virus scan software, database software, and streaming video content software.
In at least one embodiment, application(s) 842 included in application layer 840 may include one or more types of applications used by at least portions of node C.R.s 816(1)-816(N), grouped computing resources 814, and/or distributed file system 838 of framework layer 820. One or more types of applications may include, but are not limited to, any number of a genomics application, a cognitive compute, and a machine learning application, including training or inferencing software, machine learning framework software (e.g., PyTorch, TensorFlow, Caffe, etc.), and/or other machine learning applications used in conjunction with one or more embodiments.
In at least one embodiment, any of configuration manager 834, resource manager 836, and resource orchestrator 812 may implement any number and type of self-modifying actions based on any amount and type of data acquired in any technically feasible fashion. Self-modifying actions may relieve a data center operator of data center 800 from making possibly bad configuration decisions and possibly avoiding underutilized and/or poor performing portions of a data center.
The data center 800 may include tools, services, software or other resources to train one or more machine learning models or predict or infer information using one or more machine learning models according to one or more embodiments described herein. For example, such tools, services, software or other resources to train one or more machine learning models may include one or more components of the machine learning model training system 105 such as the machine learning model training application 110 and/or the training data collection estimation function 112. For example, a machine learning model(s), such as machine learning model 114, may be trained by calculating weight parameters according to a neural network architecture using software, machine learning model training application 110, and/or computing resources described above with respect to the data center 800. In at least one embodiment, trained or deployed machine learning models corresponding to one or more neural networks may be used to infer or predict information using resources described above with respect to the data center 800 by using weight parameters calculated through one or more training techniques, such as but not limited to those described herein.
In at least one embodiment, the data center 800 may use CPUs, application-specific integrated circuits (ASICs), GPUs, FPGAs, and/or other hardware (or virtual compute resources corresponding thereto) to perform training and/or inferencing using above-described resources. Moreover, one or more software and/or hardware resources described above may be configured as a service to allow users to train or performing inferencing of information, such as image recognition, speech recognition, or other artificial intelligence services.
Example Network Environments
Network environments suitable for use in implementing embodiments of the disclosure may include one or more client devices, servers, network attached storage (NAS), other backend devices, and/or other device types. The client devices, servers, and/or other device types (e.g., each device) may be implemented on one or more instances of the computing device(s) 700 of
Components of a network environment may communicate with each other via a network(s) (e.g., such as network 115), which may be wired, wireless, or both. The network may include multiple networks, or a network of networks. By way of example, the network may include one or more Wide Area Networks (WANs), one or more Local Area Networks (LANs), one or more public networks such as the Internet and/or a public switched telephone network (PSTN), and/or one or more private networks. Where the network includes a wireless telecommunications network, components such as a base station, a communications tower, or even access points (as well as other components) may provide wireless connectivity.
Compatible network environments may include one or more peer-to-peer network environments—in which case a server may not be included in a network environment—and one or more client-server network environments—in which case one or more servers may be included in a network environment. In peer-to-peer network environments, functionality described herein with respect to a server(s) may be implemented on any number of client devices.
In at least one embodiment, a network environment may include one or more cloud-based network environments, a distributed computing environment, a combination thereof, etc. A cloud-based network environment may include a framework layer, a job scheduler, a resource manager, and a distributed file system implemented on one or more of servers, which may include one or more core network servers and/or edge servers. A framework layer may include a framework to support software of a software layer and/or one or more application(s) of an application layer. The software or application(s) may respectively include web-based service software or applications. In embodiments, one or more of the client devices may use the web-based service software or applications (e.g., by accessing the service software and/or applications via one or more application programming interfaces (APIs)). The framework layer may be, but is not limited to, a type of free and open-source software web application framework such as that may use a distributed file system for large-scale data processing (e.g., “big data”).
A cloud-based network environment may provide cloud computing and/or cloud storage that carries out any combination of computing and/or data storage functions described herein (or one or more portions thereof). For example, in some embodiments, the data store 118 may be implemented as cloud storage in such a cloud-based network environment. Any of these various functions may be distributed over multiple locations from central or core servers (e.g., of one or more data centers that may be distributed across a state, a region, a country, the globe, etc.). If a connection to a user (e.g., a client device) is relatively close to an edge server(s), a core server(s) may designate at least a portion of the functionality to the edge server(s). A cloud-based network environment may be private (e.g., limited to a single organization), may be public (e.g., available to many organizations), and/or a combination thereof (e.g., a hybrid cloud environment).
The client device(s) may include at least some of the components, features, and functionality of the example computing device(s) 700 described herein with respect to
The disclosure may be described in the general context of computer code or machine-useable instructions, including computer-executable instructions such as program modules, being executed by a computer or other machine, such as a personal data assistant or other handheld device. Generally, program modules including routines, programs, objects, components, data structures, etc., refer to code that perform particular tasks or implement particular abstract data types. The disclosure may be practiced in a variety of system configurations, including hand-held devices, consumer electronics, general-purpose computers, more specialty computing devices, etc. The disclosure may also be practiced in distributed computing environments where tasks are performed by remote-processing devices that are linked through a communications network.
As used herein, a recitation of “and/or” with respect to two or more elements should be interpreted to mean only one element, or a combination of elements. For example, “element A, element B, and/or element C” may include only element A, only element B, only element C, element A and element B, element A and element C, element B and element C, or elements A, B, and C. In addition, “at least one of element A or element B” may include at least one of element
A, at least one of element B, or at least one of element A and at least one of element B. Further, “at least one of element A and element B” may include at least one of element A, at least one of element B, or at least one of element A and at least one of element B.
The subject matter of the present disclosure is described with specificity herein to meet statutory requirements. However, the description itself is not intended to limit the scope of this disclosure. Rather, the inventors have contemplated that the claimed subject matter might also be embodied in other ways, to include different steps or combinations of steps similar to the ones described in this document, in conjunction with other present or future technologies. Moreover, although the terms “step” and/or “block” may be used herein to connote different elements of methods employed, the terms should not be interpreted as implying any particular order among or between various steps herein disclosed unless and except when the order of individual steps is explicitly described.