Techniques for classification with neural networks
Apparatuses, systems, and techniques to train neural networks to perform classification. In at least one embodiment, one or more neural networks are trained to perform classification based on, for example, using one or more compressed representations of one or more class labels, where the one or more compressed representations have fewer bits than a representation of the one or more class labels.
1 . One or more processors comprising: circuitry to train one or more neural networks using one or more binary encodings of one or more classification labels of one or more image segments, wherein the one or more binary encodings comprises fewer bits than the one or more classification labels of the one or more image segments.
2 . The one or more processors of claim 1 , wherein the one or more classification labels are segmentation labels for a three-dimensional (3D) image.
3 . The one or more processors of claim 1 , wherein the one or more binary encodings comprise fewer bits than a vector representation of the one or more classification labels, where components of the vector correspond to respective categories of labels.
4 . The one or more processors of claim 1 , wherein the one or more binary encodings are binary encoded representations of values assigned to the one or more classification labels.
5 . The one or more processors of claim 4 , wherein the one or more neural networks include a three-dimensional (3D) U-Net.
6 . The one or more processors of claim 1 , wherein the circuitry is also to train the one or more neural networks using at least one of: one or more weights, one or more activations, or one or more gradients stored in a half-precision format, and a single-precision copy of the weights to accumulate gradients after one or more optimizer steps.
7 . A non-transitory machine-readable medium having stored thereon a set of instructions, which if performed by one or more processors, cause the one or more processors to at least:
train one or more neural networks using one or more binary encodings of one or more classification labels of one or more image segments, wherein the one or more binary encodings comprises fewer bits than the one or more classification labels of the one or more image segments.
8 . The non-transitory machine-readable medium of claim 7 , wherein the one or more classification labels are segmentation labels for an image.
9 . The non-transitory machine-readable medium of claim 7 , wherein the one or more binary encodings comprise fewer bits than a vector representation of the one or more classification labels, where components of the vector correspond to respective categories of labels.
10 . The non-transitory machine-readable medium of claim 7 , wherein the one or more binary encodings are binary encoded representations of values assigned to the one or more classification labels.
11 . The non-transitory machine-readable medium of claim 7 , wherein the one or more neural networks include a convolutional neural network with a contraction path and an expansion path.
12 . The non-transitory machine-readable medium of claim 7 , wherein the instructions, which if performed by the one or more processors, further cause the one or more processors to:
train the one or more neural networks using mixed-precision training.
13 . A method comprising:
training one or more neural networks using one or more binary encodings of one or more classification labels of one or more image segments, wherein each of the one or more binary encodings comprises fewer bits than the one or more binary encodings of the one or more classification labels.
14 . The method of claim 13 , wherein the one or more class labels are image segmentation class labels.
15 . The method of claim 13 , wherein the one or more classification labels are three-dimensional (3D) whole brain image segmentation classification labels.
16 . The method of claim 13 , further comprising:
assigning a set of values to a set of classes associated with a set of training data; and
converting the assigned set of values to the binary encodings of the one or more class labels.
17 . The method of claim 16 , wherein the binary encodings of the one or more classification labels are binary encoded representations of values in the set of values, and wherein assigning the set of values to the set of classes is performed such that when the set of values is converted to the binary encoded representations, a probability of each bit of the binary encoded representation being a one is within a predetermined threshold of probability of every other bit of the binary encoded representation being a one.
18 . The method of claim 17 , further comprising:
reducing a difference in probability of each bit of the binary encoded representations being a one for the set of training data.
19 . A system comprising:
one or more processors to train one or more neural networks using one or more binary encodings of one or more classification labels of one or more image segments, wherein the one or more binary encodings comprises fewer bits than the one or more classification labels of the one or more image segments; and
one or more memories to store the one or more neural networks.
20 . The system of claim 19 , wherein the one or more classification labels indicate respective objects in a three-dimensional (3D) image.
21 . The system of claim 19 , wherein the one or more binary encodings comprise fewer bits than a vector representation of the one or more classification labels, where components of the vector correspond to respective categories.
22 . The system of claim 19 , wherein the one or more binary encodings are binary encoded representations of values assigned to the one or more classification labels.
23 . The system of claim 22 , wherein the one or more neural networks include a three-dimensional (3D) convolutional neural network with a contraction path and an expansion path.
24 . The system of claim 19 , wherein the one or more processors are also to train the one or more neural networks using weights, activations, and gradients stored in a half-precision format, and a single-precision copy of the weights to accumulate gradients after one or more optimizer steps.
25 . A medical imaging system comprising:
one or more processors comprising circuitry to perform image segmentation using one or more neural networks trained, at least in part, by using one or more binary encodings of one or more classification labels of one or more image segments, wherein the one or more binary encodings fewer bits than the one or more classification labels of the one or more image segments; and
one or more memories to store an output of the performed image segmentation.
26 . The medical imaging system of claim 25 , wherein the one or more classification labels are segmentation labels for an image.
27 . The medical imaging system of claim 25 , wherein the one or more binary encodings comprise fewer bits than a vector representation of the one or more classification labels, where components of the vector correspond to respective categories of labels.
28 . The medical imaging system of claim 25 , wherein the one or more binary encodings are binary encoded representations of values assigned to the one or more classification labels.
29 . The medical imaging system of claim 28 , wherein the one or more neural networks includes a convolutional neural network with a contraction path and an expansion path.
30 . The medical imaging system of claim 25 , wherein the one or more processors are to perform image segmentation based, at least in part, on translating a set of binary encodings of classification labels output by the one or more neural networks to a set of image segmentation classes.