Domain adaptation using domain adversarial learning in synthetic data systems and applications
By using a multi-order gradient optimizer and a higher-order gradient descent method, the training instability problem in domain adversarial learning is solved, enabling fast and efficient training of neural networks, which is applicable to a variety of machine learning tasks.
Patent Information
- Application Number
- CN202280008642.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-05-28
- Filing Date
- 2022-05-27
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-05-27
AI Technical Summary
Existing domain adversarial learning methods suffer from instability and training performance limitations when training neural networks, especially when using gradient reversal layers, which make it difficult to achieve efficient convergence.
A multi-order gradient-based optimizer is adopted, which updates parameters by jointly training neural network components and using a statistical combination of first-order and higher-order gradients to avoid the learning rate ceiling problem in gradient descent. Higher-order gradient descent methods such as Euler's method or Runge-Kutta method are used for training.
It improves training stability and convergence speed, achieving a faster training process and higher performance, and is suitable for a variety of machine learning tasks.
Smart Images

Figure CN116710974B_ABST
Abstract
Description
Background Technology
[0001] Unsupervised domain adaptation (UDA) addresses the problem of a lack of labeled data in the target domain by transferring knowledge from a labeled source domain (e.g., a relevant dataset with different distributions where a large amount of labeled data already exists). Domain adversarial learning (DAL) is a form of UDA that involves learning a domain-invariant representation of the input in an adversarial manner. DAL might aim to fool a classifier running in the representation space into classifying whether a data point belongs to the source or target domain. More formally, DAL can be understood as training to minimize the difference between the source and target domains in the representation space.
[0002] When training a neural network, an optimizer can be used to define how to change the network's parameters, such as weights and learning rate, to reduce the loss according to the loss function. Divergent Algorithms (DALs) typically implement gradient descent-based optimizers, which are first-order optimization algorithms that rely on the first derivative of the loss function. In DALs, the adversarial nature of the learning algorithm may stem from the introduction of gradient reversal layers (GRLs). During backpropagation, a GRL can take gradients from subsequent levels and change their sign—for example, multiplying the gradient by -1—before propagating it back to the previous layer. While DALs theoretically offer high performance, in practice, they can be significantly unstable and difficult to implement for training neural networks. Summary of the Invention
[0003] Embodiments of this disclosure relate to optimizers that enhance convergence for competing neural network components. More specifically, this disclosure relates to methods for determining parameter values for a neural network while avoiding potential problems associated with gradient-based optimization algorithms, which can lead to instability during training or otherwise limit training performance.
[0004] Compared to traditional methods for training machine learning models (MLMs) such as those described above, the parameter values of an MLM can be updated based on at least one or more multi-order gradients corresponding to one or more cost functions. For example, these values can be updated based on at least the first-order gradient and any number of higher-order gradients. Adversarial learning can be used to train an MLM, for example, by jointly training the MLM. At least one of the MLMs can be trained to generate representations of one or more features that are invariant to a first domain corresponding to a first dataset and a second domain corresponding to a second dataset. At least one of the MLMs can be trained to classify whether the representation corresponds to the first or second domain. At least one of the MLMs can be trained to perform a task—e.g., classifying objects represented in the input data—using one or more ground truth labels assigned to the first dataset. In at least one embodiment, the first dataset can correspond to a labeled source domain (e.g., a rendering of a 3D model), and the second dataset can correspond to an unlabeled target domain (e.g., an image of the real world). Training can include transferring knowledge from the first domain to the second domain in the representation space. Attached Figure Description
[0005] The system and method for an optimizer that enhances convergence of competing neural network components are described in detail below with reference to the accompanying drawings, wherein:
[0006] Figure 1 These are illustrations of example processes that can be used to train one or more machine learning models according to some embodiments of this disclosure;
[0007] Figure 2 Examples of machine learning models and related datasets that can be used for domain adversarial learning according to some embodiments of this disclosure are shown;
[0008] Figure 3A Examples of dataset distributions of source domains according to some embodiments of this disclosure are shown;
[0009] Figure 3B Examples of dataset distributions for a target domain according to some embodiments of this disclosure are shown;
[0010] Figure 4 These are example diagrams of parameter values in a jointly trained neural network for various types of optimizers according to some embodiments of this disclosure;
[0011] Figure 5 This is a flowchart illustrating a method for training one or more MLMs using at least a first gradient and a second gradient, according to some embodiments of the present disclosure;
[0012] Figure 6This is a flowchart illustrating a method for jointly training an MLM using at least a first gradient and a second gradient, according to some embodiments of this disclosure;
[0013] Figure 7 This is a block diagram of an example computing device suitable for implementing some embodiments of the present disclosure; and
[0014] Figure 8 This is a block diagram of an example data center applicable to implementing some embodiments of this disclosure. Detailed Implementation
[0015] This disclosure relates to optimizers that enhance convergence for competing neural network components. More specifically, the disclosure relates to methods for determining parameter values for a neural network while avoiding potential problems associated with gradient-based optimization algorithms, which can lead to training instability or otherwise limit training performance.
[0016] The disclosed method provides gradient-based optimization of the parameters of a neural network, wherein the values of the parameters are updated based at least on multi-order gradients corresponding to one or more cost functions. For example, these values can be updated based at least on a first-order gradient and any number of higher-order gradients. In at least one embodiment, one or more samples can be applied to one or more neural networks having first values for one or more parameters to generate one or more outputs. For example, one or more neural networks may include multiple neural networks (or more generally, neural network components trained for a competitive task or function) that will be trained using adversarial learning. One or more outputs can be used to compute at least a first gradient and a second gradient corresponding to the one or more cost functions, wherein the second gradient has a higher order than the first gradient. The first and second gradients can be used to adjust the first values to determine second values for one or more parameters of one or more neural networks. In at least one embodiment, the adjustment can be based at least on a statistical combination (e.g., an average) of at least the first and second gradients. One or more neural networks can be trained using the second values of one or more parameters.
[0017] In one or more embodiments, using multi-order gradients to update the values of one or more parameters can mitigate many potential problems that may arise when training neural networks using gradient-based optimization algorithms such as gradient descent. For example, using gradient descent to optimize the parameters of a network (or more networks) including gradient inversion layers (GRLs), such as in domain adversarial learning (DAL), may violate the asymptotic convergence guarantee of local Nash equilibrium unless an upper limit is set on the learning rate. Using higher-order gradients can effectively counteract the upper limit inherent in gradient-based optimization algorithms. Therefore, a more aggressive learning rate can be used while achieving faster convergence.
[0018] In at least one embodiment, multiple neural networks may be jointly trained and include one or more first neural networks trained to generate representations of one or more features that are invariant to a first domain corresponding to a first dataset and a second domain corresponding to a second dataset. The neural networks may also include one or more second neural networks for classifying whether a representation corresponds to the first or second domain. The neural networks may further include one or more third neural networks trained to classify the representations (this training may use one or more ground truth labels assigned to samples in the first dataset). In at least one embodiment, the first dataset may correspond to a labeled source domain (e.g., a rendering of a 3D model), and the second dataset may correspond to an unlabeled target domain (e.g., an image of the real world). Training may include transferring knowledge from the first domain to the second domain in a representation space learned by the neural networks.
[0019] The systems and methods described herein can be used by (but are not limited to) non-autonomous vehicles, semi-autonomous vehicles (e.g., in one or more adaptive driver assistance systems (ADAS)), manned and unmanned robots or robotic platforms, warehouse vehicles, off-road vehicles, vehicles connected to one or more trailers, flying ships, boats, shuttle buses, emergency response vehicles, motorcycles, electric or motorized bicycles, aircraft, engineering vehicles, underwater vessels, drones, and / or other vehicle types. Furthermore, the systems and methods described herein can be used for a variety of purposes, by way of example but not limited to, machine control, machine motion, machine driving, synthetic data generation, model training, perception, augmented reality, virtual reality, mixed reality, robotics, security and surveillance, simulation and digital twins, autonomous or semi-autonomous machine applications, deep learning, environmental simulation, object or participant simulation and / or digital twins, data center processing, conversational AI, optical transport simulation (e.g., ray tracing, path tracing, etc.), collaborative content creation of 3D assets, cloud computing, and / or any other suitable applications.
[0020] The disclosed embodiments can be included in a variety of different systems, such as automotive systems (e.g., a control system for autonomous or semi-autonomous machines, a perception system for autonomous or semi-autonomous machines), systems implemented using robots, aerial systems, medical 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 edge devices, systems combining 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 optical transmission simulations, systems for performing collaborative content creation of 3D assets, systems implemented at least partially using cloud computing resources, and / or other types of systems.
[0021] Figure 1 This is an illustration of example process 100 according to some embodiments of the present disclosure, which can be used to train one or more machine learning models. It should be understood that such and other arrangements described herein are illustrated by way of example only. Other arrangements and elements (e.g., machines, interfaces, functions, sequences, functional groups, etc.) may be used in addition to or in place of those shown, and some elements may be omitted entirely. Furthermore, many of the elements described herein are functional entities that can be implemented as discrete or distributed components or in combination with other components, and implemented in any suitable combination and at any suitable location. The different functions described herein as being performed by entities may be performed by hardware, firmware, and / or software. For example, different functions may be performed by a processor executing instructions stored in memory.
[0022] Process 100 can be implemented using one or more machine learning models (MLMs) 102 and training engines 104, as well as other components. Training engine 104 may include a parameter tuner 106 and an output analyzer 108. Process 100 (and its components and / or features) can be implemented using one or more computing devices, such as… Figure 7 700 computing devices and / or one or more data centers, such as Figure 8 The data center 800 will be described in more detail below.
[0023] At a high level, process 100 may include MLM 102 receiving one or more inputs, such as one or more samples of dataset 110 (e.g., training dataset), and generating one or more outputs from one or more inputs, such as output data 112 (e.g., tensor data). Figure 1As shown, dataset 110 can be applied to MLM 102 by training engine 104. Process 100 may also include an output analyzer 108 of training engine 104 receiving one or more inputs, such as output data 112, and generating one or more outputs, such as loss function data 114 (e.g., representing one or more losses of MLM 102 with respect to one or more cost functions). Parameter tuner 106 can receive one or more inputs, such as loss function data 114, and generate one or more outputs, such as update data 116 (e.g., representing updates to one or more values of one or more parameters of one or more MLM 102). Parameter tuner 106 can apply update data 116 to MLM 102 to update one or more values of one or more parameters of MLM 102 based on update data 116. Process 100 may be repeated an arbitrary number of iterations, e.g., until MLM 102 is fully trained. For example, training engine 104 can use any suitable method to determine the end of training, such as determining that MLM 102 has converged (e.g., using loss function data 114), determining a threshold number of training iterations that have occurred, etc. Based at least on this determination, MLM 102 can be deployed and / or subjected to additional validation, testing, and / or adaptation.
[0024] Dataset 110 may include training, validation, or test data. For example, dataset 110 may be used by training engine 104 to train MLM 102, validate MLM 102, and / or test MLM 102. In one or more embodiments, dataset 110 may be applied to MLM 102 in multiple iterations of process 100. In one or more embodiments, dataset 110 may represent one or more samples applied to MLM 102 by training engine 104 in process 100. Samples may correspond to at least one class having one or more attributes (e.g., one or more output classes of MLM 102).
[0025] The MLM 102 and other MLMs described herein can include any type of machine learning model, such as those using linear regression, logistic regression, decision trees, support vector machines (SVM), Naive Bayes, k-nearest neighbors (Knn), K-representation clustering, random forests, dimensionality reduction algorithms, gradient boosting algorithms, neural networks (e.g., autoencoders, convolutions, recurrent neural networks, perceptrons, long / short-term memory (LSTM), Hopfield, Boltzmann, deep belief, deconvolution, generative adversarial, liquid state machines, etc.) and / or other types of machine learning models. In various examples, an MLM may include one or more convolutional neural networks.
[0026] As an example and not a limitation, MLM 102 may include one or more MLMs that can be trained using adversarial learning, such as training engine 104. For example, the MLM and / or portions thereof (e.g., layers, subnets, etc.) may be trained for competing tasks or features.
[0027] As an example, in cases where machine learning model 102 includes at least one convolutional neural network (CNN), machine learning model 102 may include any number of layers. One or more layers may include an input layer. The input layer may store values associated with dataset 110 (e.g., before or after post-processing). For example, when the samples in dataset 110 represent images, the input layer may store values representing the raw pixel values of the image as a volume (e.g., width, height, and color channels (e.g., RGB), such as 32×32×3).
[0028] One or more layers may include convolutional layers. Convolutional layers compute the outputs of neurons connected to local regions in the input layer, with each neuron computing its weights and the dot product between them and the small regions they are connected to in the input volume. The result of a convolutional layer may be another volume, where one dimension is based on the number of filters applied (e.g., width, height, and the number of filters, such as 32x32x12, if 12 is the number of filters).
[0029] One or more layers may include rectified linear unit (ReLU) layers. ReLU layers may apply element-wise activation functions, such as max(0, x), for example, with a threshold of zero. The volume of the output of a ReLU layer may be the same as the volume of its input.
[0030] One or more layers may include pooling layers. Pooling layers may perform downsampling operations along spatial dimensions (e.g., height and width), which may result in a volume smaller than the input of the pooling layer (e.g., 16x16x12 from a 32x32x12 input volume).
[0031] One or more layers may include one or more fully connected layers. Each neuron in a fully connected layer can be connected to every neuron in the previous volume. The fully connected layers can compute class scores, and the resulting volume can be 1 x 1 x number of classes. In some examples, a CNN may include fully connected layers such that the outputs of one or more layers in the CNN can be fed as input to the fully connected layers of the CNN. In some examples, one or more convolutional streams may be implemented by a machine learning model 102, and some or all of the convolutional streams may include corresponding fully connected layers.
[0032] In some non-limiting embodiments, the machine learning model 102 may include a series of convolutional and max-pooling layers to facilitate image feature extraction, followed by multi-scale dilated convolutional and upsampling layers to facilitate global contextual feature extraction.
[0033] Although this paper discusses input layers, convolutional layers, pooling layers, ReLU layers, and fully connected layers for machine learning model 102, this is not intended to be limiting. For example, additional or alternative layers may be used for machine learning model 102, such as normalization layers, SoftMax layers, gradient inversion layers, and / or other layer types.
[0034] In embodiments where the machine learning model 102 includes a neural network, different orders and / or numbers of layers in the neural network may be used, depending on the embodiment. In other words, the order and number of layers in the machine learning model 102 are not limited to any particular architecture.
[0035] Furthermore, some layers may include parameters (e.g., weights and / or biases), such as convolutional and fully connected layers, while others may not, such as ReLU layers and pooling layers. In some examples, the parameters may be learned by the machine learning model 102 during training. Additionally, some layers may include additional hyperparameters (e.g., learning rate, stride, epochs, etc.), such as convolutional, fully connected, and pooling layers, while others may not, such as ReLU layers. The parameters and hyperparameters are not limited and may vary depending on the embodiment.
[0036] The output analyzer 108 of the training engine 104 can be configured to generate loss function data 114 from the output data 112. The output data 112 can represent one or more outputs from one or more MLMs 102. In at least one embodiment, the output data 112 can include at least a portion of tensor data (and / or vector data, and / or scalar data) from one or more MLMs 102. The output analyzer 108 can generate the loss function data 114 based at least on the analysis of the output data 112. The analysis of the output data 112 can be performed using various methods. In at least one embodiment, the output analyzer 108 can post-process at least some of the output data 112, for example, to determine one or more inferred or predicted outputs of one or more MLMs 102 (e.g., one or more outputs that the MLMs 102 are trained to infer or are being trained to infer). The output analyzer 108 can analyze the post-processed data to determine the loss function data 114. For example, the output analyzer 108 may include one or more optimizers or solvers, and the training engine 104 may use the optimizer or solver to define how to change the parameters of one or more MLM 102—such as weights and learning rate—in order to reduce the loss according to the loss or cost function.
[0037] In one or more embodiments, the output analyzer 108 can use the output data 112 to compute multiple gradients corresponding to one or more cost functions, where the gradients are of different orders. For example, the output analyzer 108 can compute at least a first gradient and a second gradient, where the second gradient has a higher order than the first gradient. In one or more embodiments, the first gradient can be the first-order gradient of the cost function, while the second gradient can be the second-order gradient of the cost function. However, in different examples, the gradients can be in any order (e.g., the first four, the second and fourth, the first and third, etc.).
[0038] The parameter adjuster 106 can be configured to generate one or more outputs, such as generating update data 116 from the loss function data 114. For example, the parameter adjuster 106 can use gradients computed using the output analyzer 108 to determine the updated values of one or more parameters of one or more MLM 102.
[0039] Now for reference Figure 2 , Figure 2 Examples of neural networks 204, 206, and 208 for datasets 110 and MLM 102, which can be used for domain adversarial learning according to some embodiments of this disclosure, are shown. In particular, process 100 may employ… Figure 2 The datasets 110 and MLM 102 shown are used for Domain Adversarial Learning (DAL).
[0040] Dataset 110 includes datasets 210 and 212. As an example, dataset 210 may correspond to a labeled source domain, while dataset 212 may correspond to an unlabeled target domain. As an example, and not a limitation, dataset 210 may correspond to synthetic data, and dataset 212 may correspond to real-world data. In the example shown, dataset 210 includes synthetic renderings of 3D models of objects (e.g., vehicle models), while dataset 212 includes real-world images of objects (e.g., photographs of vehicles).
[0041] The process 100 can be used to transfer knowledge (e.g., encoded by labels) from a first domain (e.g., synthetic) to a second domain (e.g., the real world) in a representation space learned by the MLM 102. For this purpose, the process 100 can be used to implement a Domain Invariant Algorithm (DAL). Using the DAL, the MLM 102 can learn a domain-invariant representation of the input in an adversarial manner.
[0042] As shown in the figure, MLM 102 includes a neural network 204 (e.g., a feature extractor) that can be trained to generate representations of one or more features that are invariant to a first domain corresponding to a dataset 210 input to MLM 102 and to a second domain corresponding to a dataset 212 input to MLM 102.
[0043] MLM 102 may also include a neural network 206 (e.g., a classifier) that can be trained to perform inference tasks using data corresponding to features from one or more features generated using neural network 204—which can be used during deployment of MLM 102 to control one or more parameters of a machine, such as an autonomous vehicle, robot, application on a computer, etc., or for other purposes. In at least one embodiment, training engine 104 may use one or more ground truth labels assigned to samples in dataset 210 to train neural network 206. However, ground truth labels may not be available in dataset 212 during training.
[0044] MLM 102 may also include a neural network 208 (e.g., a domain classifier) which can be trained to classify or otherwise generate data that indicates whether the representation produced by the neural network 204 corresponds to a first domain or a second domain (e.g., dataset 210 or dataset 212).
[0045] Now refer to Figure 3A and Figure 3B as well as Figure 2 According to some embodiments of this disclosure, Figure 3A The dataset distribution P of the source domain is shown. s Examples, and Figure 3B The dataset distribution P of the target domain is shown. t Examples.
[0046] In one or more embodiments, for training MLM 102, training engine 104 may access and use labeled examples from dataset 210, such as sample 316, while dataset 212 may provide unlabeled examples, such as sample 318. The source input X from dataset 212... s From the dataset distribution P s Mid-sampling, while the target input X comes from dataset 210. i From the dataset distribution P t Mid-sampling, both on X. Training engine 104 can be configured to use data from dataset distribution P. s The corresponding labeled examples from the source domain are used to find the joint minimization corresponding to the dataset distribution P. t Assumptions about the risk in the target domain. For example, training engine 104 can be configured to find a function that, when combined with neural network 206, minimizes the risk of the source domain and its combination with neural network 206, and minimizes the dataset distribution P of neural network 208. t and dataset distribution P sThe divergence. The divergence can be estimated by the neural network 208 using domain classification to detect whether a sample belongs to the source domain or the target domain. When there is no function that can correctly distinguish between source domain samples and target domain samples, MLM 102 can be considered to be completely invariant to the domain.
[0047] When training MLM 102, the training engine 104 can be configured to selfishly minimize the cost function of each neural network. The adversarial nature of the learning algorithm may stem from the introduction of a gradient reversal layer (GRL) in neural network 208. During backpropagation, the GRL can take gradients from subsequent levels and change their sign—for example, multiplying the gradient by -1—before propagating them back to the previous layer. Reversing the sign of the gradient during backpropagation can have a strong impact on the training dynamics and asymptotic behavior of the learning algorithm employed by the training engine 104. For example, the GRL can transform gradient descent into a competitive gradient-based algorithm that converges to, for example, periodic trajectories and other nontrivial constraints found in chaotic systems. This contrasts sharply with conventional techniques, where the implicit regularization introduced by gradient descent has proven desirable.
[0048] The optimal solution in adversarial training may correspond to a Nash equilibrium. A global Nash equilibrium (NE) may not always exist; for example, the loss may be neither convex nor concave. In one or more embodiments, the training engine 104 may train the MLM 102 based at least on the determination that the values of one or more parameters of the adversarial neural network converge to a local Nash equilibrium. For example, in DAL and other adversarial learning methods, the optimal solution may correspond to a local Nash equilibrium. NE may mean that the neural network in the MLM 102 does not change its parameters, as it does not lead to any additional performance gain.
[0049] Gradient descent can be used to train MLM 102 using DAL. Using gradient descent with GRL may violate the asymptotic convergence guarantee of local NE unless an upper bound is set on the learning rate. This explains why using gradient descent can lead to training instability and sensitivity to optimizer parameters if the learning rate is too high. While the learning rate could be kept low, this could result in longer training times and additional computational processing and training iterations.
[0050] According to the disclosed aspects, the output analyzer 108 can implement one or more high-order ordinary differential equation (ODE) solvers that can improve the constraints that may be caused by gradient descent in various embodiments of the MLM 102. For example, in cases where training in the MLM 102 is inherently adversarial, such as in DAL, the constraints on the learning rate imposed by the ODE can be improved (e.g., eliminated). In one or more embodiments, the high-order ODE solver employed by the output analyzer 108 can be a high-order gradient descent / Euler solver, a high-order Runge-Kutta solver, and / or other types of high-order ODE solvers.
[0051] Given the existence of strictly local Neural Interchanges (NEs), gradient-play dynamics may be attracted to strictly local NEs. This situation implies that the NE is structurally stable, and the published method may benefit from this property. Structural stability means that slightly biased estimates of gradients (e.g., due to sampling noise) behave similarly in the equilibrium neighborhood. However, in practice, this assumption may not hold and may be computationally difficult to verify. Nevertheless, significant performance improvements can still be achieved for many different tasks, benchmarks, and network architectures.
[0052] The DAL may be designed to fool a classifier operating in a representation space designed to classify whether a data point belongs to the source or target domain. More formally, the DAL can be understood as training to minimize the difference between the source and target domains in the representation space. In practice, an explicit solution to the ODE may be impossible. Therefore, the output analyzer 108 can be approximated using an integral algorithm. The MLM can be trained using the Euler method corresponding to equation (1):
[0053] ω + =ω-ηv(ω) (1)
[0054] Where v(ω) refers to the vector field of the joint parameter set w of MLM 102, and ω + The term η refers to the update used for the joint parameter set ω, which can correspond to updating data 116, and η refers to the learning rate. This method can be called gradient descent, as described in this paper.
[0055] High-resolution ODEs based on gradient descent using GRL can be expressed in the form of equation (2):
[0056]
[0057] While the term following -v(ω) is traditionally considered beneficial for supervised learning, in various cases, such as adversarial learning, it can lead to a dynamic Jacobian matrix that introduces an upper bound on the learning rate. Using publicly available methods, this term can be effectively removed.
[0058] Using the Runge-Kutta method, for example, a second-order gradient descent-based ODE can be expressed in the form of equation (3):
[0059]
[0060] Comparing equation (3) with equation (1), it is clear that equation (3) can be implemented directly using standard deep learning frameworks. Furthermore, it does not require the introduction of any additional hyperparameters, while approximating a continuous ODE with high accuracy.
[0061] Using the Runge-Kutta method, for example, a fourth-order gradient descent-based ODE can be expressed in the form of equation (4):
[0062]
[0063] According to equation (5):
[0064]
[0065] According to equation (6):
[0066]
[0067] As can be seen from equations (3) and (4), the disclosed method can update parameters based at least on statistical combinations of gradients, such as averages (e.g., weighted averages) or other statistical combinations.
[0068] Now for reference Figure 4 , Figure 4 Figure 400 is an example of parameter values in a neural network for joint training of various types of optimizers according to some embodiments of this disclosure. Figure 400 includes parameter values 406 during training iterations performed by MLM 102 using training engine 104 when implementing a multi-order ODE solver, as described herein. Figure 400 also includes parameter values 408 and 410 during training iterations performed by MLM 102 when implementing a first-order ODE solver. It can be seen that parameter value 406 progresses from initialization 420 to optimum 422 in a faster and more direct manner than parameter values 408 and 410 of the first-order ODE solver, which may never reach optimum 422 or convergence.
[0069] Now for reference Figure 5-6Each block of methods 500 and 600, as well as the other methods described herein, includes a computational process that can be executed using any combination of hardware, firmware, and / or software. For example, various functions can be executed by a processor executing instructions stored in memory. These methods can also be embodied as computer-usable instructions stored on a computer storage medium. These methods can be provided by a standalone application, service, or managed service (standalone or in combination with other managed services), or a plug-in to another product, to name a few. Furthermore, methods 500 and 600 are provided as examples relative to... Figure 1 and Figure 2 The methods described herein are described in detail. However, methods 500 and 600 may be performed additionally or alternatively by any one of the systems, or by any combination of systems, including but not limited to those described herein.
[0070] Figure 5 This is a flowchart illustrating a method 500 for training one or more MLMs using at least a first gradient and a second gradient, according to some embodiments of the present disclosure.
[0071] Method 500 at box B502 includes applying one or more samples to one or more MLMs having a first value for one or more parameters to generate one or more outputs. For example, training engine 104 may apply one or more samples corresponding to dataset 110 to MLM 102 having a first value for one or more parameters to generate one or more outputs corresponding to output data 112.
[0072] Method 500 at box B504 includes using one or more outputs to compute a first gradient and a second gradient corresponding to one or more cost functions, wherein the second gradient is of a higher order than the first gradient. For example, output analyzer 108 may use output data 112 to compute the first gradient and the second gradient corresponding to one or more cost functions (e.g., according to equation (3) or (4)).
[0073] Method 500, at box B506, includes adjusting the first values of one or more parameters using a first gradient and a second gradient to determine second values for one or more parameters used in one or more MLMs. For example, parameter adjuster 106 may use the first gradient and the second gradient to adjust the first values of one or more parameters to determine second values for one or more parameters used in MLM 102. The second values of one or more parameters may correspond to updated data 116.
[0074] Method 500 includes, at box B508, training one or more MLMs with second values of one or more parameters based at least on adjustments. For example, method 500 may repeat MLM 102, which trains with second values of one or more parameters based at least on adjustments.
[0075] Now for reference Figure 6 , Figure 6 This is a flowchart illustrating a method 600 for jointly training an MLM using at least a first gradient and a second gradient, according to some embodiments of the present disclosure.
[0076] Method 600 at box B602 includes generating one or more first outputs of one or more first MLMs and one or more second outputs of one or more second MLMs. For example, training engine 104 may generate at least one or more first outputs of neural network 204 and one or more second outputs of neural network 208 (e.g., using one or more first outputs).
[0077] Method 600, at box B604, includes using one or more first outputs and one or more second outputs to determine a first gradient and a second gradient of the joint parameter set from one or more first MLMs and one or more second MLMs using one or more cost functions, wherein the second gradient is of a higher order than the first gradient. For example, output analyzer 108 may use one or more first outputs and one or more second outputs to compute the first gradient and the second gradient corresponding to one or more cost functions (e.g., according to equations (3) or (4)).
[0078] Method 600, at box B606, includes updating the values of the joint parameter set using a first gradient and a second gradient. For example, parameter adjuster 106 can use the first and second gradients to adjust the values of the joint parameter set. The values of the joint parameter set can correspond to updated data 116.
[0079] Method 600, at box B608, includes jointly training one or more first MLMs and one or more second MLMs with values updated using a first gradient and a second gradient. For example, method 600 may be repeated to jointly train neural networks 204 and 208 with values updated using the first gradient and the second gradient. In one or more embodiments, method 600 is further applied to jointly training neural network 206 with neural networks 204 and 208.
[0080] Example computing device
[0081] Figure 7The diagram below is a block diagram suitable for implementing some embodiments of the present disclosure of an example computing device 700. The computing device 700 may include an interconnect system 702 directly or indirectly coupled to the following devices: a memory 704, one or more central processing units (CPUs) 706, one or more graphics processing units (GPUs) 708, a communication interface 710, input / output (I / O) ports 712, input / output components 714, a power supply 716, one or more presentation components 718 (e.g., displays), and one or more logic units 720. In at least one embodiment, the computing device 700 may include one or more virtual machines (VMs), and / or any component thereof may include virtual components (e.g., virtual hardware components). For a non-limiting example, one or more GPUs 708 may include one or more vGPUs, one or more CPUs 706 may include one or more vCPUs, and / or one or more logic units 720 may include one or more virtual logic units. Therefore, computing device 700 may include discrete components (e.g., a complete GPU dedicated to computing device 700), virtual components (e.g., a portion of the GPU dedicated to computing device 700), or a combination thereof.
[0082] although Figure 7 The various blocks are shown connected via an interconnect system 702 with wiring, but this is not intended to be limiting and is merely for clarity. For example, in some embodiments, a presentation component 718, such as a display device, can be considered an I / O component 714 (e.g., if the display is a touchscreen). As another example, the CPU 706 and / or GPU 708 may include memory (e.g., memory 704 may represent a storage device other than the memory of the GPU 708, CPU 706, and / or other components). In other words, Figure 7 The computing devices mentioned are merely illustrative. No distinction is made between categories such as "workstation," "server," "laptop," "desktop," "tablet," "client device," "mobile device," "handheld device," "game console," "electronic control unit (ECU)," "virtual reality system," and / or other device or system types, as all of these are considered within the same category. Figure 7 Within the scope of computing devices.
[0083] Interconnect system 702 may represent one or more links or buses, such as address buses, data buses, control buses, or combinations thereof. Interconnect system 702 may include one or more link or bus types, such as Industry Standard Architecture (ISA) bus, Extended Industry Standard Architecture (EISA) bus, Video Electronics Standards Association (VESA) bus, Peripheral Component Interconnect (PCI) bus, Peripheral Component Interconnect Fast (PCIe) bus, and / or another type of bus or link. In some embodiments, there is a direct connection between components. As an example, CPU 706 may be directly connected to memory 704. Furthermore, CPU 706 may be directly connected to GPU 708. In cases where there is a direct or point-to-point connection between components, interconnect system 702 may include a PCIe link to perform that connection. In these examples, a PCI bus is not required in computing device 700.
[0084] The memory 704 may include any of a wide variety of computer-readable media. Computer-readable media can be any available medium that can be accessed by the computing device 700. Computer-readable media may include volatile and non-volatile media, as well as removable and non-removable media. For example and without limitation, computer-readable media may include computer storage media and communication media.
[0085] Computer storage media may include volatile and non-volatile media and / or removable and non-removable media, implemented in any way or by any method or technique for storing information such as computer-readable instructions, data structures, program modules, and / or other data types. For example, memory 704 may store computer-readable instructions (e.g., representing programs and / or program elements, such as an operating system). Computer storage media may include, but is not limited to, RAM, ROM, EEPROM, flash memory or other storage technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage devices, magnetic tape cassettes, magnetic tape, disk storage devices or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by computing device 700. As used herein, computer storage media does not include the signal itself.
[0086] Computer storage media may contain computer-readable instructions, data structures, program modules, and / or other data types in modulated data signals such as carrier waves or other transmission mechanisms, and include any information transport medium. The term "modulated data signal" can refer to a signal whose characteristics are set or altered in a manner that encodes information into that signal. For example and without limitation, computer storage media may include wired media such as wired networks or direct wired connections, and wireless media such as sound, RF, infrared, and other wireless media. Any combination of the above should also be included within the scope of computer-readable media.
[0087] CPU 706 may be configured to execute at least some of computer-readable instructions to control one or more components of computing device 700 to perform one or more of the methods and / or processes described herein. Each of CPU 706 may include one or more cores (e.g., one, two, four, eight, twenty-eight, seventy-two, etc.) capable of processing a large number of software threads simultaneously. CPU 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 mechanism (ARM) processor implemented using Reduced Instruction Set Computing (RISC) or an x86 processor implemented using Complex Instruction Set Computing (CISC). In addition to one or more microprocessors or supplementary coprocessors such as math coprocessors, computing device 700 may also include one or more CPUs 706.
[0088] In addition to or replacing CPU 706, GPU 708 may also be configured to execute at least some computer-readable instructions to control one or more components of computing device 700 to perform one or more of the methods and / or processes described herein. One or more GPUs 708 may be integrated GPUs (e.g., having one or more CPUs 706) and / or one or more GPUs 708 may be discrete GPUs. In embodiments, one or more GPUs 708 may be coprocessors of one or more CPUs 706. Computing device 700 may use GPU 708 to render graphics (e.g., 3D graphics) or perform general-purpose computing. For example, GPU 708 may be used for general-purpose computing on a GPU (GPGPU). GPU 708 may include hundreds or thousands of cores capable of processing hundreds or thousands of software threads simultaneously. GPU 708 may generate pixel data for outputting an image in response to rendering commands (e.g., rendering commands received via a host interface from CPU 706). GPU 708 may include graphics memory, such as display memory, for storing pixel data or any other suitable data (e.g., GPGPU data). Display memory may be included as part of memory 704. GPU 708 may include two or more GPUs operating in parallel (e.g., via links). The links may connect the GPUs directly (e.g., using NVLINK) or via a switch (e.g., using NVSwitch). When combined, each GPU 708 may generate different portions of pixel data or GPGPU data for different outputs (e.g., the first GPU for a first image, the second GPU for a second image). Each GPU may include its own memory or may share memory with other GPUs.
[0089] In addition to or replacing CPU 706 and / or GPU 708, logic unit 720 may be configured to execute at least some computer-readable instructions to control one or more components of computing device 700 to perform one or more methods and / or processes described herein. In embodiments, CPU 706, GPU 708, and / or logic unit 720 may execute any combination of methods, processes, and / or portions thereof discretely or jointly. One or more logic units 720 may be part of and / or integrated into one or more CPUs 706 and / or one or more GPUs 708, and / or one or more logic units 720 may be discrete components of CPU 706 and / or GPU 708 or otherwise external thereto. In embodiments, one or more logic units 720 may be processors of one or more CPUs 706 and / or one or more GPUs 708.
[0090] Examples of logic unit 720 include one or more processing cores and / or components thereof, such as data processing unit (DPU), tensor core (TC), tensor processing unit (TPU), pixel vision core (PVC), vision processing unit (VPU), graphics processing cluster (GPC), texture processing cluster (TPC), streaming multiprocessor (SM), tree traversal unit (TTU), artificial intelligence accelerator (AIA), deep learning accelerator (DLA), arithmetic logic unit (ALU)), application-specific integrated circuit (ASIC), floating-point unit (FPU), input / output (I / O) element, peripheral component interconnect (PCI) or peripheral component interconnect fast (PCIe) element, etc.
[0091] 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 electronic communication networks, including wired and / or wireless communications. The communication interface 710 may include components and functions that enable communication via any of several different networks, such as wireless networks (e.g., Wi-Fi, Z-Wave, Bluetooth, Bluetooth LE, ZigBee, etc.), wired networks (e.g., communication via Ethernet or InfiniBand), low-power wide area networks (e.g., LoRaWAN, SigFox, etc.), and / or the Internet. In one or more embodiments, the logic unit 720 and / or the communication interface 710 may include one or more data processing units (DPUs) to directly transmit data received via a network and / or via interconnect system 702 to one or more GPUs 708 (e.g., the memory of one or more GPUs 708).
[0092] I / O port 712 enables computing device 700 to be logically coupled to other devices, including I / O component 714, presentation component 718, and / or other components, some of which may be built into (e.g., integrated into) computing device 700. Illustrative I / O component 714 includes microphones, mice, keyboards, joysticks, game pads, game controllers, satellite dish antennas, browsers, printers, wireless devices, and so on. I / O component 714 can provide a Natural User Interface (NUI) for processing user-generated air gestures, voice, or other physiological input. In some instances, the input may be transmitted to appropriate network elements for further processing. The NUI can implement any combination of voice recognition, stylus recognition, facial recognition, biometric recognition, on-screen and adjacent-screen gesture recognition, air gestures, head and eye tracking, and touch recognition associated with the display of computing device 700 (described in more detail below). Computing device 700 may include depth cameras such as stereo camera systems, infrared camera systems, RGB camera systems, touchscreen technology, and combinations thereof for gesture detection and recognition. In addition, the computing device 700 may include an accelerometer or gyroscope that enables motion detection (e.g., as part of an inertial measurement unit (IMU)). In some examples, the output of the accelerometer or gyroscope may be used by the computing device 700 to render immersive augmented reality or virtual reality.
[0093] Power supply 716 may include hard-wired power supply, battery power supply, or a combination thereof. Power supply 716 may supply power to computing device 700 so that components of computing device 700 can operate.
[0094] The presentation component 718 may include a display (such as a monitor, touch screen, television screen, head-up display (HUD), other display types, or combinations thereof), speakers, and / or other presentation components. The presentation component 718 may receive data from other components (such as GPU 708, CPU 706, DPU, etc.) and output that data (e.g., as images, videos, sounds, etc.).
[0095] Example Data Center
[0096] Figure 8 An example data center 800 is illustrated, which can be used in at least one embodiment of this disclosure. The data center 800 may include a data center infrastructure layer 810, a framework layer 820, a software layer 830, and an application layer 840.
[0097] like Figure 8As shown, the data center infrastructure layer 810 may include a resource coordinator 812, packet computing resources 814, and node computing resources (“nodes CR”) 816(1)-816(N), where “N” represents any complete positive integer. In at least one embodiment, nodes CR 816(1)-816(N) may include, but are not limited to, any number of central processing units (“CPUs”) or other processors (including DPUs, accelerators, field-programmable gate arrays (FPGAs), graphics processing units or graphics processing units (GPUs), etc.), memory devices (e.g., dynamic read-only memory), storage devices (e.g., solid-state drives or disk drives), network input / output (“NW I / O”) devices, network switches, virtual machines (“VMs”), power modules and cooling modules, etc. In some embodiments, one or more nodes CR 816(1)-816(N) may correspond to servers having one or more of the aforementioned computing resources. In addition, in some embodiments, nodes CR816(1)-816(N) may include one or more virtual components, such as vGPU, vCPU, etc. and / or one or more of nodes CR816(1)-816(N) may correspond to virtual machines (VMs).
[0098] In at least one embodiment, the grouped computing resource 814 may include individual groups (not shown) of nodes CR816 housed in one or more racks, or a plurality of racks (also not shown) housed in data centers in various geographic locations. Individual groups of nodes CR816 within the grouped computing resource 814 may include computing, networking, memory, or storage resources that can be configured or allocated to support groups of one or more workloads. In at least one embodiment, several nodes CR816, including CPUs, GPUs, DPUs, and / or other processors, may be grouped within one or more racks to provide computing resources to support one or more workloads. One or more racks may also include any number of power modules, cooling modules, and / or network switches in any combination.
[0099] Resource coordinator 812 may be configured or otherwise control one or more nodes CR816(1)-816(N) and / or grouped computing resources 814. In at least one embodiment, resource coordinator 812 may include a Software Design Infrastructure (“SDI”) management entity for data center 800. Resource coordinator 812 may include hardware, software, or some combination thereof.
[0100] In at least one embodiment, such as Figure 8As shown, framework layer 820 may include a job scheduler 833, a configuration manager 834, a resource manager 836, and a distributed file system 838. Framework layer 820 may include a framework of software 832 supporting software layer 830 and / or one or more applications 842 of application layer 840. Software 832 or application 842 may respectively include web-based service software or applications, such as service software or applications provided by Amazon Web Services, Google Cloud, and Microsoft Azure. Framework layer 820 may be, but is not limited to, a free and open-source software web application framework, such as Apache Spark, which can utilize distributed file system 838 for large-scale data processing (e.g., "big data"). TM (Hereinafter referred to as "Spark"). In at least one embodiment, the job scheduler 833 may include a Spark driver for facilitating the scheduling of workloads supported by various layers of the data center 800. In at least one embodiment, the configuration manager 834 may be able to configure different layers, such as the software layer 830 and the framework layer 820, which includes Spark and a distributed file system 738 for supporting large-scale data processing. The resource manager 836 is able to manage cluster or group computing resources mapped to or allocated to support the distributed file system 838 and the job scheduler 833. In at least one embodiment, the cluster or group computing resources may include group computing resources 814 at the data center infrastructure layer 810. The resource manager 836 may coordinate with the resource coordinator 812 to manage these mapped or allocated computing resources.
[0101] In at least one embodiment, the software 832 included in the software layer 830 may include software used by at least a portion of nodes CR816(1)-816(N), grouped computing resources 814, and / or the distributed file system 838 of the framework layer 820. One or more types of software may include, but are not limited to, Internet web page search software, email virus browsing software, database software, and streaming video content software.
[0102] In at least one embodiment, one or more applications 842 included in application layer 840 may include one or more types of applications used by at least a portion of nodes CR816(1)-816(N), grouped computing resources 814, and / or the distributed file system 838 of framework layer 820. One or more types of applications may include, but are not limited to, any number of genomics applications, cognitive computing and machine learning applications, including training or inference 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.
[0103] In at least one embodiment, any of the configuration manager 834, resource manager 836, and resource coordinator 812 can perform any number and type of self-modification actions based on any amount and type of data acquired in any technically feasible manner. Self-modification actions can alleviate the risk of data center operators of data center 800 making potentially poor configuration decisions and can prevent underutilization and / or skewed portions of the data center.
[0104] Data center 800 may include tools, services, software, or other resources for training one or more machine learning models or using one or more machine learning models to predict or infer information according to one or more embodiments described herein. For example, a machine learning model can be trained by calculating weight parameters based on a neural network architecture using the software and computing resources described above with respect to data center 800. In at least one embodiment, by using weight parameters calculated through one or more training techniques, information can be inferred or predicted using trained machine learning models corresponding to one or more neural networks, such as, but not limited to, those described herein, using the resources described above with respect to data center 800.
[0105] In at least one embodiment, the data center 800 may use a CPU, application-specific integrated circuit (ASIC), GPU, FPGA, and / or other hardware (or corresponding virtual computing resources) to perform training and / or inference. Furthermore, one or more of the aforementioned software and / or hardware resources may be configured as a service to allow a user to train or perform information inference, such as image recognition, speech recognition, or other artificial intelligence services.
[0106] Example network environment
[0107] A network environment suitable for implementing embodiments of this disclosure may include one or more client devices, servers, network-attached storage (NAS), other backend devices, and / or other device types. Client devices, servers, and / or other device types (e.g., each device) may... Figure 7 The implementation is carried out on one or more instances of computing device 700—for example, each device may include similar components, features, and / or functions of computing device 700. Furthermore, in the case of implementing back-end devices (e.g., servers, NAS, etc.), the back-end devices may be included as part of data center 800, examples of which are described herein. Figure 8 To describe in more detail.
[0108] Components of a network environment can communicate with each other via a network, which can be wired, wireless, or both. A network can include multiple networks, or networks within multiple networks. For example, a network can 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 the Public Switched Telephone Network (PSTN)), and / or one or more private networks. In cases where the network includes a wireless telecommunications network, components such as base stations, communication towers, or even access points (and other components) can provide wireless connectivity.
[0109] A compatible network environment may include one or more peer-to-peer network environments (in which case the server may not be included in the network environment) and one or more client-server network environments (in which case one or more servers may be included in the network environment). In a peer-to-peer network environment, the server functionality described herein can be implemented on any number of client devices.
[0110] In at least one embodiment, the network environment may include one or more cloud-based network environments, distributed computing environments, combinations 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 servers, which may include one or more core network servers and / or edge servers. The framework layer may include a framework for supporting software at the software layer and / or one or more applications at the application layer. The software or applications may respectively include network-based service software or applications. In embodiments, one or more client devices may use the network-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 network application framework, such as one that can use a distributed file system for large-scale data processing (e.g., "big data").
[0111] A cloud-based network environment can provide cloud computing and / or cloud storage for any combination of the computing and / or data storage functions (or one or more portions thereof) described herein. Any of these various functions can be distributed across multiple locations from a central or core server (e.g., distributed across one or more data centers at the state, region, country, global, etc.). If the connection to a user (e.g., a client device) is relatively close to an edge server, the core server can assign at least a portion of the functionality to the edge server. A cloud-based network environment can be private (e.g., limited to a single organization), public (e.g., available to many organizations), and / or a combination thereof (e.g., a hybrid cloud environment).
[0112] Client devices may include those described in this article. Figure 7 The example computing device 700 described includes at least some components, features, and functions. By way of example and not limitation, the client device can be a personal computer (PC), laptop computer, mobile device, smartphone, tablet computer, smartwatch, wearable computer, personal digital assistant (PDA), MP3 player, virtual reality headset, global positioning system (GPS) or device, video player, camera, surveillance equipment or system, vehicle, ship, aircraft, virtual machine, drone, robot, handheld communication device, hospital equipment, gaming equipment or system, entertainment system, in-vehicle computer system, embedded system controller, remote control, electrical appliance, consumer electronics device, workstation, edge device, any combination of these described devices, or any other suitable device.
[0113] This disclosure can be described in the general context of machine-usable instructions or computer code, including computer-executable instructions such as program modules, which are executed by a computer or other machine such as a personal digital assistant or other handheld device. Typically, a program module, including routines, programs, objects, components, data structures, etc., refers to code that performs a specific task or implements a specific abstract data type. This disclosure can be practiced in a wide variety of system configurations, including handheld devices, consumer electronics, general-purpose computers, more specialized computing devices, etc. This disclosure can also be practiced in distributed computing environments where tasks are performed by remote processing devices linked via a communication network.
[0114] As used herein, the phrase "and / or" relating to two or more elements should be interpreted as referring to only one element or a combination of elements. For example, "element A, element B, and / or element C" could 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. Furthermore, "at least one of element A or element B" could 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" could 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.
[0115] The subject matter of this disclosure is described in detail herein to satisfy legal requirements. However, the description itself is not intended to limit the scope of this disclosure. Rather, the inventors have envisioned that the claimed subject matter may also be embodied in other ways to include steps different from or similar combinations of steps described herein in conjunction with other current or future techniques. Moreover, although the terms “step” and / or “block” may be used herein to imply different elements of the method employed, these terms should not be construed as implying any particular order among or between the various steps disclosed herein, unless the order of the steps is explicitly described.
Claims
1. A method for training one or more neural networks, comprising: One or more image samples from a dataset are applied to one or more neural networks to generate one or more outputs, wherein the one or more neural networks include one or more parameters having one or more first values; For the one or more parameters, a first gradient and a second gradient of higher order than the first gradient are computed using one or more loss values, wherein the one or more loss values correspond to at least two competing tasks and are determined using one or more cost functions based on the one or more outputs; as well as Using a combination of the first gradient and the second gradient, the one or more first values of the one or more parameters are adjusted to one or more second values, thereby reducing the one or more loss values.
2. The method of claim 1, wherein the one or more neural networks include a first neural network and a second neural network, the first neural network and the second neural network being trained using adversarial training.
3. The method of claim 1, wherein the one or more neural networks comprise a plurality of neural networks, and the plurality of neural networks are trained at least in part by: At least one of the plurality of neural networks is trained to generate representations of one or more features, the representations being invariant to a first domain corresponding to a first dataset in the dataset input to the at least one first neural network and a second domain corresponding to a second dataset in the dataset input to the at least one first neural network; and At least one second neural network of the plurality of neural networks is trained to classify whether the representation corresponds to the first domain or the second domain.
4. The method of claim 3, wherein the first domain corresponds to synthetic data and the second domain corresponds to real-world data.
5. The method according to claim 3, further comprising: At least one third neural network among the plurality of neural networks is trained using one or more ground truth labels assigned to the first dataset to classify the representation.
6. The method of claim 1, wherein the combination comprises at least a statistical combination of the first gradient and the second gradient.
7. The method of claim 1, wherein the first gradient is the first gradient of the one or more cost functions, and the second gradient is the second gradient of the one or more cost functions.
8. The method of claim 1, wherein the one or more neural networks comprise one or more adversarial neural networks, and the method further comprises determining that the one or more parameters of the one or more adversarial neural networks converge to a local Nash equilibrium.
9. The method of claim 1, wherein the one or more neural networks include a gradient inversion layer.
10. The method of claim 1, further comprising using the one or more neural networks to perform one or more operations within the system, the system comprising or being included in at least one of: Control systems for autonomous or semi-autonomous machines; Sensing systems for autonomous or semi-autonomous machines; Systems for performing analog operations; systems for performing digital twin operations; A system for performing optical transmission simulation; A system for collaborative content creation of 3D assets; A system used to perform deep learning operations; Systems implemented using edge devices; Systems implemented using robots; Systems used to perform conversational AI operations; A system for generating synthetic data; A system containing one or more virtual machines (VMs); A system that is at least partially implemented in a data center; or A system that utilizes cloud computing resources at least in part.
11. A system for training one or more neural networks, comprising: One or more processing units are used for: One or more image samples from the dataset are applied to one or more first neural networks and one or more second neural networks to generate one or more first outputs of the one or more first neural networks and one or more second outputs of the one or more second neural networks; For the joint parameter set of the one or more first neural networks and the one or more second neural networks, a first gradient and a second gradient of higher order than the first gradient are determined using one or more loss values, wherein the one or more loss values correspond to at least two competing tasks of the one or more first neural networks and the one or more second neural networks, and are determined using one or more cost functions based on the one or more first outputs and the one or more second outputs; The values of the joint parameter set are updated using a combination of the first gradient and the second gradient, such that the one or more loss values are reduced.
12. The system of claim 11, wherein the values of the joint parameter set are updated in the following manner: Update one or more first parameters of the one or more first neural networks to generate representations of one or more features, wherein the representations are invariant to a first domain corresponding to a first dataset in the dataset input to the one or more first neural networks and a second domain corresponding to a second dataset in the dataset input to the one or more first neural networks; and Update one or more second parameters of the one or more second neural networks to classify whether the representation corresponds to the first domain or the second domain.
13. The system of claim 12, wherein the one or more processing units are further configured to: train one or more third neural networks using one or more ground truth labels assigned to the first dataset to classify the representation.
14. The system of claim 12, wherein the combination comprises at least the mean of the first gradient and the second gradient.
15. The system of claim 12, wherein the one or more processing units are further configured to perform one or more operations using at least one of the one or more first neural networks or the one or more second neural networks, the system being included in at least one of: Control systems for autonomous or semi-autonomous machines; Sensing systems for autonomous or semi-autonomous machines; A system used to perform simulation operations; Systems used to perform digital twin operations; A system for performing optical transmission simulation; A system for collaborative content creation of 3D assets; A system used to perform deep learning operations; Systems implemented using edge devices; Systems implemented using robots; Systems used to perform conversational AI operations; A system for generating synthetic data; A system containing one or more virtual machines (VMs); A system that is at least partially implemented in a data center; or A system that utilizes cloud computing resources at least in part.
16. A processor, comprising: One or more circuits for performing one or more operations using one or more neural networks, said one or more neural networks being trained at least in part by updating one or more values of one or more parameters of said one or more neural networks using multi-order gradients corresponding to one or more cost functions, such that one or more loss values are reduced, said one or more loss values corresponding to at least two competing tasks and being determined based on one or more outputs of said one or more neural networks, said one or more outputs of said one or more neural networks being generated by applying one or more image samples from a dataset to said one or more neural networks.
17. The processor of claim 16, wherein the one or more neural networks comprise a plurality of neural networks, and updating the one or more values is performed using adversarial training among the plurality of neural networks.
18. The processor of claim 16, wherein updating the one or more values comprises transferring knowledge from a labeled source domain to an unlabeled target domain in a representation space learned by the one or more neural networks.
19. The processor of claim 16, wherein the one or more neural networks comprise a plurality of neural networks, and updating the one or more values of the one or more parameters comprises: Update one or more first parameters of one or more of the plurality of neural networks to generate a representation of one or more features, the representation being invariant with respect to a first domain corresponding to a first dataset input to one or more of the first neural networks and a second domain corresponding to a second dataset input to one or more of the first neural networks; as well as Update one or more second parameters of one or more of the plurality of neural networks to classify whether the representation corresponds to the first domain or the second domain.
20. The processor of claim 16, wherein the processor is included in at least one of: Control systems for autonomous or semi-autonomous machines; Sensing systems for autonomous or semi-autonomous machines; A system used to perform simulation operations; Systems used to perform digital twin operations; A system for performing optical transmission simulation; A system for collaborative content creation of 3D assets; A system used to perform deep learning operations; Systems implemented using edge devices; Systems implemented using robots; Systems used to perform conversational AI operations; A system for generating synthetic data; A system containing one or more virtual machines (VMs); A system that is at least partially implemented in a data center; or A system that utilizes cloud computing resources at least in part.
Citation Information
Patent Citations
Thai sentence segmentation method based on twin recurrent neural network
CN111126037A
Image recognition method based on deep neural network model parameter modulation
CN111814963A
