The following are incorporated by reference for all purposes as if fully set forth herein:
PCT Patent Application No. PCT/US18/55915, titled “Deep Learning-Based Splice Site Classification,” by Kishore Jaganathan, Kai-How Farh, Sofia Kyriazopoulou Panagiotopoulou and Jeremy Francis McRae, filed on Oct. 15, 2018 (Attorney Docket No. ILLM 1001-7/IP-1610-PCT), subsequently published as PCT Publication No. WO ______.
PCT Patent Application No. PCT/US18/55919, titled “Deep Learning-Based Aberrant Splicing Detection,” by Kishore Jaganathan, Kai-How Farh, Sofia Kyriazopoulou Panagiotopoulou and Jeremy Francis McRae, filed on Oct. 15, 2018 (Attorney Docket No. ILLM 1001-8/IP-1614-PCT), subsequently published as PCT Publication No. WO ______.
PCT Patent Application No. PCT/US18/55923, titled “Aberrant Splicing Detection Using Convolutional Neural Networks (CNNs),” by Kishore Jaganathan, Kai-How Farh, Sofia Kyriazopoulou Panagiotopoulou and Jeremy Francis McRae, filed on Oct. 15, 2018 (Attorney Docket No. ILLM 1001-9/IP-1615-PCT), subsequently published as PCT Publication No. WO ______.
US Nonprovisional Patent Application titled “Deep Learning-Based Splice Site Classification,” by Kishore Jaganathan, Kai-How Farh, Sofia Kyriazopoulou Panagiotopoulou and Jeremy Francis McRae, filed (Attorney Docket No. ILLM 1001-4/IP-1610-US) filed contemporaneously.
US Nonprovisional Patent Application titled “Deep Learning-Based Aberrant Splicing Detection,” by Kishore Jaganathan, Kai-How Farh, Sofia Kyriazopoulou Panagiotopoulou and Jeremy Francis McRae, (Attorney Docket No. ILLM 1001-5/IP-1614-US) filed contemporaneously.
US Nonprovisional Patent Application titled “Aberrant Splicing Detection Using Convolutional Neural Networks (CNNs),” by Kishore Jaganathan, Kai-How Farh, Sofia Kyriazopoulou Panagiotopoulou and Jeremy Francis McRae, (Attorney Docket No. ILLM 1001-6/IP-1615-US) filed contemporaneously.
Document 1—S. Dieleman, H. Zen, K. Simonyan, O. Vinyals, A. Graves, N. Kalchbrenner, A. Senior, and K. Kavukcuoglu, “WAVENET: A GENERATIVE MODEL FOR RAW AUDIO,” arXiv:1609.03499, 2016;
Document 2—S. O. Arik, M. Chrzanowski, A. Coates, G. Diamos, A. Gibiansky, Y. Kang, X. Li, J. Miller, A. Ng, J. Raiman, S. Sengupta and M. Shoeybi, “DEEP VOICE: REAL-TIME NEURAL TEXT-TO-SPEECH,” arXiv:1702.07825, 2017;
Document 3—F. Yu and V. Koltun, “MULTI-SCALE CONTEXT AGGREGATION BY DILATED CONVOLUTIONS,” arXiv:1511.07122, 2016;
Document 4—K. He, X. Zhang, S. Ren, and J. Sun, “DEEP RESIDUAL LEARNING FOR IMAGE RECOGNITION,” arXiv:1512.03385, 2015;
Document 5—R. K. Srivastava, K. Greff, and J. Schmidhuber, “HIGHWAY NETWORKS,” arXiv: 1505.00387, 2015;
Document 6—G. Huang, Z. Liu, L. van der Maaten and K. Q. Weinberger, “DENSELY CONNECTED CONVOLUTIONAL NETWORKS,” arXiv:1608.06993, 2017;
Document 7—C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich, “GOING DEEPER WITH CONVOLUTIONS,” arXiv: 1409.4842, 2014;
Document 8—S. Ioffe and C. Szegedy, “BATCH NORMALIZATION: ACCELERATING DEEP NETWORK TRAINING BY REDUCING INTERNAL COVARIATE SHIFT,” arXiv: 1502.03167, 2015;
Document 9—J. M. Wolterink, T. Leiner, M. A. Viergever, and I. Išgum, “DILATED CONVOLUTIONAL NEURAL NETWORKS FOR CARDIOVASCULAR MR SEGMENTATION IN CONGENITAL HEART DISEASE,” arXiv:1704.03669, 2017;
Document 10—L. C. Piqueras, “AUTOREGRESSIVE MODEL BASED ON A DEEP CONVOLUTIONAL NEURAL NETWORK FOR AUDIO GENERATION,” Tampere University of Technology, 2016;
Document 11—J. Wu, “Introduction to Convolutional Neural Networks,” Nanjing University, 2017;
Document 12—I. J. Goodfellow, D. Warde-Farley, M. Mirza, A. Courville, and Y. Bengio, “CONVOLUTIONAL NETWORKS”, Deep Learning, MIT Press, 2016; and
Document 13—J. Gu, Z. Wang, J. Kuen, L. Ma, A. Shahroudy, B. Shuai, T. Liu, X. Wang, and G. Wang, “RECENT ADVANCES IN CONVOLUTIONAL NEURAL NETWORKS,” arXiv:1512.07108, 2017.
Document 1 describes deep convolutional neural network architectures that use groups of residual blocks with convolution filters having same convolution window size, batch normalization layers, rectified linear unit (abbreviated ReLU) layers, dimensionality altering layers, atrous convolution layers with exponentially growing atrous convolution rates, skip connections, and a softmax classification layer to accept an input sequence and produce an output sequence that scores entries in the input sequence. The technology disclosed uses neural network components and parameters described in Document 1. In one implementation, the technology disclosed modifies the parameters of the neural network components described in Document 1. For instance, unlike in Document 1, the atrous convolution rate in the technology disclosed progresses non-exponentially from a lower residual block group to a higher residual block group. In another example, unlike in Document 1, the convolution window size in the technology disclosed varies between groups of residual blocks.
Document 2 describes details of the deep convolutional neural network architectures described in Document 1.
Document 3 describes atrous convolutions used by the technology disclosed. As used herein, atrous convolutions are also referred to as “dilated convolutions”. Atrous/dilated convolutions allow for large receptive fields with few trainable parameters. An atrous/dilated convolution is a convolution where the kernel is applied over an area larger than its length by skipping input values with a certain step, also called atrous convolution rate or dilation factor. Atrous/dilated convolutions add spacing between the elements of a convolution filter/kernel so that neighboring input entries (e.g., nucleotides, amino acids) at larger intervals are considered when a convolution operation is performed. This enables incorporation of long-range contextual dependencies in the input. The atrous convolutions conserve partial convolution calculations for reuse as adjacent nucleotides are processed.
Document 4 describes residual blocks and residual connections used by the technology disclosed.
Document 5 describes skip connections used by the technology disclosed. As used herein, skip connections are also referred to as “highway networks”.
Document 6 describes densely connected convolutional network architectures used by the technology disclosed.
Document 7 describes dimensionality altering convolution layers and modules-based processing pipelines used by the technology disclosed. One example of a dimensionality altering convolution is a 1×1 convolution.
Document 8 describes batch normalization layers used by the technology disclosed.
Document 9 also describes atrous/dilated convolutions used by the technology disclosed.
Document 10 describes various architectures of deep neural networks that can be used by the technology disclosed, including convolutional neural networks, deep convolutional neural networks, and deep convolutional neural networks with atrous/dilated convolutions.
Document 11 describes details of a convolutional neural network that can be used by the technology disclosed, including algorithms for training a convolutional neural network with subsampling layers (e.g., pooling) and fully-connected layers.
Document 12 describes details of various convolution operations that can be used by the technology disclosed.
Document 13 describes various architectures of convolutional neural networks that can be used by the technology disclosed.
Three table files in ASCII text format are submitted with this application and incorporated by reference. The names, creation dates and sizes of the files are:
table_S4_mutation_rates.txt Aug. 31, 2018 2,452 KB
table_S5_gene_enrichment.txt Aug. 31, 2018 362 KB
table_S6_validation.txt Aug. 31, 2018 362 KB
The technology disclosed relates to artificial intelligence type computers and digital data processing systems and corresponding data processing methods and products for emulation of intelligence (i.e., knowledge based systems, reasoning systems, and knowledge acquisition systems); and including systems for reasoning with uncertainty (e.g., fuzzy logic systems), adaptive systems, machine learning systems, and artificial neural networks. In particular, the technology disclosed relates to using deep learning-based techniques for training deep convolutional neural networks.
The subject matter discussed in this section should not be assumed to be prior art merely as a result of its mention in this section. Similarly, a problem mentioned in this section or associated with the subject matter provided as background should not be assumed to have been previously recognized in the prior art. The subject matter in this section merely represents different approaches, which in and of themselves can also correspond to implementations of the claimed technology.
In machine learning input variables are used to predict an output variable. The input variables are often called features and are denoted by X=(X1, X2, . . . , Xk), where each Xi, iϵ1, . . . , k is a feature. The output variable is often called the response or dependent variable and is denoted by the variable Yi. The relationship between Y and the corresponding X can be written in a general form:
Y=ƒ(X)+ϵ
In the equation above, ƒ is a function of the features (X1, X2, . . . , Xk) and ϵ is the random error term. The error term is independent of X and has a mean value of zero.
In practice, the features X are available without having Y or knowing the exact relation between X and Y. Since the error term has a mean value of zero, the goal is to estimate ƒ.
Ŷ={circumflex over (ƒ)}=(x)
In the equation above, {circumflex over (ƒ)} is the estimate of ϵ, which is often considered a black box, meaning that only the relation between the input and output of {circumflex over (ƒ)} is known, but the question why it works remains unanswered.
The function {circumflex over (ƒ)} is found using learning. Supervised learning and unsupervised learning are two ways used in machine learning for this task. In supervised learning, labeled data is used for training. By showing the inputs and the corresponding outputs (=labels), the function {circumflex over (ƒ)} is optimized such that it approximates the output. In unsupervised learning, the goal is to find a hidden structure from unlabeled data. The algorithm has no measure of accuracy on the input data, which distinguishes it from supervised learning.
The single layer perceptron (SLP) is the simplest model of a neural network. It comprises one input layer and one activation function as shown in
The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee. The color drawings also may be available in PAIR via the Supplemental Content tab. In the drawings, like reference characters generally refer to like parts throughout the different views. Also, the drawings are not necessarily to scale, with an emphasis instead generally being placed upon illustrating the principles of the technology disclosed. In the following description, various implementations of the technology disclosed are described with reference to the following drawings, in which:
The following discussion is presented to enable any person skilled in the art to make and use the technology disclosed, and is provided in the context of a particular application and its requirements. Various modifications to the disclosed implementations will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other implementations and applications without departing from the spirit and scope of the technology disclosed. Thus, the technology disclosed is not intended to be limited to the implementations shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
A convolutional neural network is a special type of neural network. The fundamental difference between a densely connected layer and a convolution layer is this: Dense layers learn global patterns in their input feature space, whereas convolution layers learn local patters: in the case of images, patterns found in small 2D windows of the inputs. This key characteristic gives convolutional neural networks two interesting properties: (1) the patterns they learn are translation invariant and (2) they can learn spatial hierarchies of patterns.
Regarding the first, after learning a certain pattern in the lower-right corner of a picture, a convolution layer can recognize it anywhere: for example, in the upper-left corner. A densely connected network would have to learn the pattern anew if it appeared at a new location. This makes convolutional neural networks data efficient because they need fewer training samples to learn representations they have generalization power.
Regarding the second, a first convolution layer can learn small local patterns such as edges, a second convolution layer will learn larger patterns made of the features of the first layers, and so on. This allows convolutional neural networks to efficiently learn increasingly complex and abstract visual concepts.
A convolutional neural network learns highly non-linear mappings by interconnecting layers of artificial neurons arranged in many different layers with activation functions that make the layers dependent. It includes one or more convolutional layers, interspersed with one or more sub-sampling layers and non-linear layers, which are typically followed by one or more fully connected layers. Each element of the convolutional neural network receives inputs from a set of features in the previous layer. The convolutional neural network learns concurrently because the neurons in the same feature map have identical weights. These local shared weights reduce the complexity of the network such that when multi-dimensional input data enters the network, the convolutional neural network avoids the complexity of data reconstruction in feature extraction and regression or classification process.
Convolutions operate over 3D tensors, called feature maps, with two spatial axes (height and width) as well as a depth axis (also called the channels axis). For an RGB image, the dimension of the depth axis is 3, because the image has three color channels; red, green, and blue. For a black-and-white picture, the depth is 1 (levels of gray). The convolution operation extracts patches from its input feature map and applies the same transformation to all of these patches, producing an output feature map. This output feature map is still a 3D tensor: it has a width and a height. Its depth can be arbitrary, because the output depth is a parameter of the layer, and the different channels in that depth axis no longer stand for specific colors as in RGB input; rather, they stand for filters. Filters encode specific aspects of the input data: at a height level, a single filter could encode the concept “presence of a face in the input,” for instance.
For example, the first convolution layer takes a feature map of size (28, 28, 1) and outputs a feature map of size (26, 26, 32): it computes 32 filters over its input. Each of these 32 output channels contains a 26×26 grid of values, which is a response map of the filter over the input, indicating the response of that filter pattern at different locations in the input. That is what the term feature map means: every dimension in the depth axis is a feature (or filter), and the 2D tensor output [:, :, n] is the 2D spatial map of the response of this filter over the input.
Convolutions are defined by two key parameters: (1) size of the patches extracted from the inputs—these are typically 1×1, 3×3 or 5×5 and (2) depth of the output feature map—the number of filters computed by the convolution. Often these start with a depth of 32, continue to a depth of 64, and terminate with a depth of 128 or 256.
A convolution works by sliding these windows of size 3×3 or 5×5 over the 3D input feature map, stopping at every location, and extracting the 3D patch of surrounding features (shape (window_height, window_width, input_depth)). Each such 3D patch is ten transformed (via a tensor product with the same learned weight matrix, called the convolution kernel) into a 1D vector of shape (output_depth,). All of these vectors are then spatially reassembled into a 3D output map of shape (height, width, output_depth). Every spatial location in the output feature map corresponds to the same location in the input feature map (for example, the lower-right corner of the output contains information about the lower-right corner of the input). For instance, with 3×3 windows, the vector output [i, j, :] comes from the 3D patch input [i−1: i+1, j−1:J+1, :]. The full process is detailed in
The convolutional neural network comprises convolution layers which perform the convolution operation between the input values and convolution filters (matrix of weights) that are learned over many gradient update iterations during the training. Let (m, n) be the filter size and W be the matrix of weights, then a convolution layer performs a convolution of the W with the input X by calculating the dot product W·x+b, where x is an instance of X and b is the bias. The step size by which the convolution filters slide across the input is called the stride, and the filter area (m×n) is called the receptive field. A same convolution filter is applied across different positions of the input, which reduces the number of weights learned. It also allows location invariant learning, i.e., if an important pattern exists in the input, the convolution filters learn it no matter where it is in the sequence.
The convolutional neural network is trained by adjusting the weights between the neurons based on the difference between the ground truth and the actual output. This is mathematically described as:
In one implementation, the training rule is defined as:
w
nm
←w
nm+α(tm−φm)an
In the equation above: the arrow indicates an update of the value; tm is the target value of neuron m; φm is the computed current output of neuron m; an is input n; and α is the learning rate.
The intermediary step in the training includes generating a feature vector from the input data using the convolution layers. The gradient with respect to the weights in each layer, starting at the output, is calculated. This is referred to as the backward pass, or going backwards. The weights in the network are updated using a combination of the negative gradient and previous weights.
In one implementation, the convolutional neural network uses a stochastic gradient update algorithm (such as ADAM) that performs backward propagation of errors by means of gradient descent. One example of a sigmoid function based back propagation algorithm is described below:
In the sigmoid function above, h is the weighted sum computed by a neuron. The sigmoid function has the following derivative:
The algorithm includes computing the activation of all neurons in the network, yielding an output for the forward pass. The activation of neuron m in the hidden layers is described as:
This is done for all the hidden layers to get the activation described as:
Then, the error and the correct weights are calculated per layer. The error at the output is computed as:
δok=(tk−φk)φk(1−φk)
The error in the hidden layers is calculated as:
The weights of the output layer are updated as:
v
mk
←v
mk+αδokφm
The weights of the hidden layers are updated using the learning rate α as:
v
nm
←w
nm+αδhman
In one implementation, the convolutional neural network uses a gradient descent optimization to compute the error across all the layers. In such an optimization, for an input feature vector x and the predicted output ŷ, the loss function is defined as l for the cost of predicting ŷ when the target is y, i.e. l (ŷ, y). The predicted output ŷ is transformed from the input feature vector x using function ƒ Function ƒ is parameterized by the weights of convolutional neural network, i.e. ŷ=ƒw(x). The loss function is described as l(ŷ, y)=l(ƒe (x), y), or Q (z, w)=l (ƒw (x), y) where z is an input and output data pair (x, y). The gradient descent optimization is performed by updating the weights according to:
In the equations above, α is the learning rate. Also, the loss is computed as the average over a set of n data pairs. The computation is terminated when the learning rate α is small enough upon linear convergence. In other implementations, the gradient is calculated using only selected data pairs fed to a Nesterov's accelerated gradient and an adaptive gradient to inject computation efficiency.
In one implementation, the convolutional neural network uses a stochastic gradient descent (SGD) to calculate the cost function. A SGD approximates the gradient with respect to the weights in the loss function by computing it from only one, randomized, data pair, Zt, described as:
v
t+1
=μv−α∇wQ(zt,wt)
W
t+1
=W
t
+V
t+1
In the equations above: α is the learning rate; μ is the momentum; and t is the current weight state before updating. The convergence speed of SGD is approximately O(1/t) when the learning rate α are reduced both fast and slow enough. In other implementations, the convolutional neural network uses different loss functions such as Euclidean loss and softmax loss. In a further implementation, an Adam stochastic optimizer is used by the convolutional neural network.
The convolution layers of the convolutional neural network serve as feature extractors. Convolution layers act as adaptive feature extractors capable of learning and decomposing the input data into hierarchical features. In one implementation, the convolution layers take two images as input and produce a third image as output. In such an implementation, convolution operates on two images in two-dimension (2D), with one image being the input image and the other image, called the “kernel”, applied as a filter on the input image, producing an output image. Thus, for an input vector ƒ of length n and a kernel g of length m, the convolution ƒ*g off and g is defined as:
The convolution operation includes sliding the kernel over the input image. For each position of the kernel, the overlapping values of the kernel and the input image are multiplied and the results are added. The sum of products is the value of the output image at the point in the input image where the kernel is centered. The resulting different outputs from many kernels are called feature maps.
Once the convolutional layers are trained, they are applied to perform recognition tasks on new inference data. Since the convolutional layers learn from the training data, they avoid explicit feature extraction and implicitly learn from the training data. Convolution layers use convolution filter kernel weights, which are determined and updated as part of the training process. The convolution layers extract different features of the input, which are combined at higher layers. The convolutional neural network uses a various number of convolution layers, each with different convolving parameters such as kernel size, strides, padding, number of feature maps and weights.
In other implementations, the convolutional neural network uses a power unit activation function, which is a continuous, non-saturating function described by:
φ(h)=(a+bh)c
In the equation above, a, b and c are parameters controlling the shift, scale and power respectively. The power activation function is able to yield x and y-antisymmetric activation if c is odd and y-symmetric activation if c is even. In some implementations, the unit yields a non-rectified linear activation.
In yet other implementations, the convolutional neural network uses a sigmoid unit activation function, which is a continuous, saturating function described by the following logistic function:
In the equation above, β=1. The sigmoid unit activation function does not yield negative activation and is only antisymmetric with respect to the y-axis.
In one implementation, the sub-sampling layers include pooling operations on a set of neurons in the previous layer by mapping its output to only one of the inputs in max pooling and by mapping its output to the average of the input in average pooling. In max pooling, the output of the pooling neuron is the maximum value that resides within the input, as described by:
φo=max(φ1,φ2, . . . ,φN)
In the equation above, N is the total number of elements within a neuron set.
In average pooling, the output of the pooling neuron is the average value of the input values that reside with the input neuron set, as described by:
In the equation above, N is the total number of elements within input neuron set.
In
In other implementations, the convolutional neural network uses different numbers of convolution layers, sub-sampling layers, non-linear layers and fully connected layers. In one implementation, the convolutional neural network is a shallow network with fewer layers and more neurons per layer, for example, one, two or three fully connected layers with hundred (100) to two hundred (200) neurons per layer. In another implementation, the convolutional neural network is a deep network with more layers and fewer neurons per layer, for example, five (5), six (6) or eight (8) fully connected layers with thirty (30) to fifty (50) neurons per layer.
The output of a neuron of row x, column y in the lth convolution layer and kth feature map for ƒ number of convolution cores in a feature map is determined by the following equation:
The output of a neuron of row x, column y in the lth sub-sample layer and kth feature map is determined by the following equation:
The output of an ith neuron of the lth output layer is determined by the following equation:
The output deviation of a kth neuron in the output layer is determined by the following equation:
d(Oko)=yk−tk
The input deviation of a kth neuron in the output layer is determined by the following equation:
d(Iko)=(yk−tk)φ′(vk)=φ′(vk)d(Oko)
The weight and bias variation of a kth neuron in the output layer is determined by the following equation:
ΔWk,xo)=d(Iko)yk,x
ΔBiasko=d(Iko)
The output bias of a kth neuron in the hidden layer is determined by the following equation:
The input bias of a kth neuron in the hidden layer is determined by the following equation:
d(IkH)=φ′(vk)d(OkH)
The weight and bias variation in row x, column y in a mth feature map of a prior layer receiving input from k neurons in the hidden layer is determined by the following equation:
ΔWm,x,yH,k)=d(IkH)yx,ym
ΔBiaskH)=d(IkH)
The output bias of row x, column y in a mth feature map of sub-sample layer S is determined by the following equation:
The input bias of row x, column y in a mth feature map of sub-sample layer S is determined by the following equation:
d(Ix,yS,m)=φ′(vk)d(Ox,yS,m)
The weight and bias variation in row x, column y in a mth feature map of sub-sample layer S and convolution layer C is determined by the following equation:
The output bias of row x, column y in a kth feature map of convolution layer C is determined by the following equation:
d(Ox,yC,k)=d(I[x/2],[y/2]S,k)Wk
The input bias of row x, column y in a kth feature map of convolution layer C is determined by the following equation:
d(Ix,yC,k)=φ′(vk)d(Ox,yC,k)
The weight and bias variation in row r, column c in an mth convolution core of a kth feature map of lth convolution layer C:
Benefited from residual network, deep convolutional neural networks (CNNs) can be easily trained and improved accuracy has been achieved for image classification and object detection. Convolutional feed-forward networks connect the output of the lth layer as input to the (l+1)th layer, which gives rise to the following layer transition: xl=Hl(xl-1). Residual blocks add a skip-connection that bypasses the non-linear transformations with an identify function: xl=Hl (xl-1)+xl-1. An advantage of residual blocks is that the gradient can flow directly through the identity function from later layers to the earlier layers. However, the identity function and the output of Hl are combined by summation, which may impede the information flow in the network.
The WaveNet is a deep neural network for generating raw audio waveforms. The WaveNet distinguishes itself from other convolutional networks since it is able to take relatively large ‘visual fields’ at low cost. Moreover, it is able to add conditioning of the signals locally and globally, which allows the WaveNet to be used as a text to speech (TTS) engine with multiple voices, is the TTS gives local conditioning and the particular voice the global conditioning.
The main building blocks of the WaveNet are the causal dilated convolutions. As an extension on the causal dilated convolutions, theWaveNet also allows stacks of these convolutions, as shown in
The WaveNet adds a skip connection before the residual connection is made, which bypasses all the following residual blocks. Each of these skip connections is summed before passing them through a series of activation functions and convolutions. Intuitively, this is the sum of the information extracted in each layer.
Batch normalization is a method for accelerating deep network training by making data standardization an integral part of the network architecture. Batch normalization can adaptively normalize data even as the mean and variance change over time during training. It works by internally maintaining an exponential moving average of the batch-wise mean and variance of the data seen during training. The main effect of batch normalization is that it helps with gradient propagation—much like residual connections—and thus allows for deep networks. Some very deep networks can only be trained if they include multiple Batch Normalization layers.
Batch normalization can be seen as yet another layer that can be inserted into the model architecture, just like the fully connected or convolutional layer. The BatchNormalization layer is typically used after a convolutional or densely connected layer. It can also be used before a convolutional or densely connected layer. Both implementations can be used by the technology disclosed and are shown in
Batch normalization provides a definition for feed-forwarding the input and computing the gradients with respect to the parameters and its own input via a backward pass. In practice, batch normalization layers are inserted after a convolutional or fully connected layer, but before the outputs are fed into an activation function. For convolutional layers, the different elements of the same feature map—i.e. the activations—at different locations are normalized in the same way in order to obey the convolutional property. Thus, all activations in a mini-batch are normalized over all locations, rather than per activation.
The internal covariate shift is the major reason why deep architectures have been notoriously slow to train. This stems from the fact that deep networks do not only have to learn a new representation at each layer, but also have to account for the change in their distribution.
The covariate shift in general is a known problem in the deep learning domain and frequently occurs in real-world problems. A common covariate shift problem is the difference in the distribution of the training and test set which can lead to suboptimal generalization performance. This problem is usually handled with a standardization or whitening preprocessing step. However, especially the whitening operation is computationally expensive and thus impractical in an online setting, especially if the covariate shift occurs throughout different layers.
The internal covariate shift is the phenomenon where the distribution of network activations change across layers due to the change in network parameters during training. Ideally, each layer should be transformed into a space where they have the same distribution but the functional relationship stays the same. In order to avoid costly calculations of covariance matrices to decorrelate and whiten the data at every layer and step, we normalize the distribution of each input feature in each layer across each mini-batch to have zero mean and a standard deviation of one.
Forward Pass
During the forward pass, the mini-batch mean and variance are calculated. With these mini-batch statistics, the data is normalized by subtracting the mean and dividing by the standard deviation. Finally, the data is scaled and shifted with the learned scale and shift parameters. The batch normalization forward pass ƒBN is depicted in
In
Since normalization is a differentiable transform, the errors are propagated into these learned parameters and are thus able to restore the representational power of the network by learning the identity transform. Conversely, by learning scale and shift parameters that are identical to the corresponding batch statistics, the batch normalization transform would have no effect on the network, if that was the optimal operation to perform. At test time, the batch mean and variance are replaced by the respective population statistics since the input does not depend on other samples from a mini-batch. Another method is to keep running averages of the batch statistics during training and to use these to compute the network output at test time. At test time, the batch normalization transform can be expressed as illustrated in
Backward Pass
Since normalization is a differentiable operation, the backward pass can be computed as depicted in
1D convolutions extract local 1D patches or subsequences from sequences, as shown in
Global average pooling have three benefits: (1) there are no extra parameters in global average pooling layers thus overfitting is avoided at global average pooling layers; (2) since the output of global average pooling is the average of the whole feature map, global average pooling will be more robust to spatial translations; and (3) because of the huge number of parameters in fully connected layers which usually take over 50% in all the parameters of the whole network, replacing them by global average pooling layers can significantly reduce the size of the model, and this makes global average pooling very useful in model compression.
Global average pooling makes sense, since stronger features in the last layer are expected to have a higher average value. In some implementations, global average pooling can be used as a proxy for the classification score. The feature maps under global average pooling can be interpreted as confidence maps, and force correspondence between the feature maps and the categories. Global average pooling can be particularly effective if the last layer features are at a sufficient abstraction for direct classification; however, global average pooling alone is not enough if multilevel features should be combined into groups like parts models, which is best performed by adding a simple fully connected layer or other classifier after the global average pooling.
Genetic variations can help explain many diseases. Every human being has a unique genetic code and there are lots of genetic variants within a group of individuals. Most of the deleterious genetic variants have been depleted from genomes by natural selection. It is important to identify which genetics variations are likely to be pathogenic or deleterious. This will help researchers focus on the likely pathogenic genetic variants and accelerate the pace of diagnosis and cure of many diseases.
Modeling the properties and functional effects (e.g., pathogenicity) of variants is an important but challenging task in the field of genomics. Despite the rapid advancement of functional genomic sequencing technologies, interpretation of the functional consequences of variants remains a great challenge due to the complexity of cell type-specific transcription regulation systems.
Regarding pathogenicity classifiers, deep neural networks are a type of artificial neural networks that use multiple nonlinear and complex transforming layers to successively model high-level features. Deep neural networks provide feedback via backpropagation which carries the difference between observed and predicted output to adjust parameters. Deep neural networks have evolved with the availability of large training datasets, the power of parallel and distributed computing, and sophisticated training algorithms. Deep neural networks have facilitated major advances in numerous domains such as computer vision, speech recognition, and natural language processing.
Convolutional neural networks (CNNs) and recurrent neural networks (RNNs) are components of deep neural networks. Convolutional neural networks have succeeded particularly in image recognition with an architecture that comprises convolution layers, nonlinear layers, and pooling layers. Recurrent neural networks are designed to utilize sequential information of input data with cyclic connections among building blocks like perceptrons, long short-term memory units, and gated recurrent units. In addition, many other emergent deep neural networks have been proposed for limited contexts, such as deep spatio-temporal neural networks, multi-dimensional recurrent neural networks, and convolutional auto-encoders.
The goal of training deep neural networks is optimization of the weight parameters in each layer, which gradually combines simpler features into complex features so that the most suitable hierarchical representations can be learned from data. A single cycle of the optimization process is organized as follows. First, given a training dataset, the forward pass sequentially computes the output in each layer and propagates the function signals forward through the network. In the final output layer, an objective loss function measures error between the inferenced outputs and the given labels. To minimize the training error, the backward pass uses the chain rule to backpropagate error signals and compute gradients with respect to all weights throughout the neural network. Finally, the weight parameters are updated using optimization algorithms based on stochastic gradient descent. Whereas batch gradient descent performs parameter updates for each complete dataset, stochastic gradient descent provides stochastic approximations by performing the updates for each small set of data examples. Several optimization algorithms stem from stochastic gradient descent. For example, the Adagrad and Adam training algorithms perform stochastic gradient descent while adaptively modifying learning rates based on update frequency and moments of the gradients for each parameter, respectively.
Another core element in the training of deep neural networks is regularization, which refers to strategies intended to avoid overfitting and thus achieve good generalization performance. For example, weight decay adds a penalty term to the objective loss function so that weight parameters converge to smaller absolute values. Dropout randomly removes hidden units from neural networks during training and can be considered an ensemble of possible subnetworks. To enhance the capabilities of dropout, a new activation function, maxout, and a variant of dropout for recurrent neural networks called rnnDrop have been proposed. Furthermore, batch normalization provides a new regularization method through normalization of scalar features for each activation within a mini-batch and learning each mean and variance as parameters.
Given that sequenced data are multi- and high-dimensional, deep neural networks have great promise for bioinformatics research because of their broad applicability and enhanced prediction power. Convolutional neural networks have been adapted to solve sequence-based problems in genomics such as motif discovery, pathogenic variant identification, and gene expression inference. Convolutional neural networks use a weight-sharing strategy that is especially useful for studying DNA because it can capture sequence motifs, which are short, recurring local patterns in DNA that are presumed to have significant biological functions. A hallmark of convolutional neural networks is the use of convolution filters. Unlike traditional classification approaches that are based on elaborately-designed and manually-crafted features, convolution filters perform adaptive learning of features, analogous to a process of mapping raw input data to the informative representation of knowledge. In this sense, the convolution filters serve as a series of motif scanners, since a set of such filters is capable of recognizing relevant patterns in the input and updating themselves during the training procedure. Recurrent neural networks can capture long-range dependencies in sequential data of varying lengths, such as protein or DNA sequences.
Therefore, a powerful computational model for predicting the pathogenicity of variants can have enormous benefits for both basic science and translational research.
We describe systems, methods, and articles of manufacture for using a trained atrous convolutional neural network to detect splice sites in a genomic sequence (e.g., a nucleotide sequence or an amino acid sequence). One or more features of an implementation can be combined with the base implementation. Implementations that are not mutually exclusive are taught to be combinable. One or more features of an implementation can be combined with other implementations. This disclosure periodically reminds the user of these options. Omission from some implementations of recitations that repeat these options should not be taken as limiting the combinations taught in the preceding sections—these recitations are hereby incorporated forward by reference into each of the following implementations.
A system implementation of the technology disclosed includes one or more processors coupled to the memory. The memory is loaded with computer instructions to train a splice site detector that identifies splice sites in genomic sequences (e.g., nucleotide sequences).
As shown in
An ACNN is a convolutional neural network that uses atrous/dilated convolutions which allow for large receptive fields with few trainable parameters. An atrous/dilated convolution is a convolution where the kernel is applied over an area larger than its length by skipping input values with a certain step, also called atrous convolution rate or dilation factor. Atrous/dilated convolutions add spacing between the elements of a convolution filter/kernel so that neighboring input entries (e.g., nucleotides, amino acids) at larger intervals are considered when a convolution operation is performed. This enables incorporation of long-range contextual dependencies in the input. The atrous convolutions conserve partial convolution calculations for reuse as adjacent nucleotides are processed.
As shown in
As shown in
This system implementation and other systems disclosed optionally include one or more of the following features. System can also include features described in connection with methods disclosed. In the interest of conciseness, alternative combinations of system features are not individually enumerated. Features applicable to systems, methods, and articles of manufacture are not repeated for each statutory class set of base features. The reader will understand how features identified in this section can readily be combined with base features in other statutory classes.
As shown in
The input can comprise a target nucleotide sequence that has a target nucleotide flanked by 100 nucleotides on each side. In such an implementation, the target nucleotide sequence is further flanked by 200 upstream context nucleotides and 200 downstream context nucleotides.
The input can comprise a target nucleotide sequence that has a target nucleotide flanked by 500 nucleotides on each side. In such an implementation, the target nucleotide sequence is further flanked by 1000 upstream context nucleotides and 1000 downstream context nucleotides.
As shown in
As shown in
As shown in
As shown in
The ACNN can be configured to evaluate an input that comprises a target nucleotide sequence further flanked by 40 upstream context nucleotides and 40 downstream context nucleotides. In such an implementation, the ACNN includes one group of four residual blocks and at least one skip connection. Each residual block has 32 convolution filters, 11 convolution window size, and 1 atrous convolution rate. This implementation of the ACNN is referred to herein as “SpliceNet80” and is shown in
The ACNN can be configured to evaluate an input that comprises the target nucleotide sequence further flanked by 200 upstream context nucleotides and 200 downstream context nucleotides. In such an implementation, the ACNN includes at least two groups of four residual blocks and at least two skip connections. Each residual block in a first group has 32 convolution filters, 11 convolution window size, and 1 atrous convolution rate. Each residual block in a second group has 32 convolution filters, 11 convolution window size, and 4 atrous convolution rate. This implementation of the ACNN is referred to herein as “SpliceNet400” and is shown in
The ACNN can be configured to evaluate an input that comprises a target nucleotide sequence further flanked by 1000 upstream context nucleotides and 1000 downstream context nucleotides. In such an implementation, the ACNN includes at least three groups of four residual blocks and at least three skip connections. Each residual block in a first group has 32 convolution filters, 11 convolution window size, and 1 atrous convolution rate. Each residual block in a second group has 32 convolution filters, 11 convolution window size, and 4 atrous convolution rate. Each residual block in a third group has 32 convolution filters, 21 convolution window size, and 19 atrous convolution rate. This implementation of the ACNN is referred to herein as “SpliceNet2000” and is shown in
The ACNN can be configured to evaluate an input that comprises a target nucleotide sequence further flanked by 5000 upstream context nucleotides and 5000 downstream context nucleotides. In such an implementation, the ACNN includes at least four groups of four residual blocks and at least four skip connections. Each residual block in a first group has 32 convolution filters, 11 convolution window size, and 1 atrous convolution rate. Each residual block in a second group has 32 convolution filters, 11 convolution window size, and 4 atrous convolution rate. Each residual block in a third group has 32 convolution filters, 21 convolution window size, and 19 atrous convolution rate. Each residual block in a fourth group has 32 convolution filters, 41 convolution window size, and 25 atrous convolution rate. This implementation of the ACNN is referred to herein as “SpliceNet10000” and is shown in
The triplet scores for each nucleotide in the target nucleotide sequence can be exponentially normalized to sum to unity. In such an implementation, the system classifies each nucleotide in the target nucleotide as the donor splice site, the acceptor splice site, or the non-splicing site based on a highest score in the respective triplet scores.
As shown in
As shown in
As shown in
As shown in
The input can comprise a target nucleotide sequence that has two adjacent target nucleotides. The two adjacent target nucleotides can be adenine (abbreviated A) and guanine (abbreviated G). The two adjacent target nucleotides can be guanine (abbreviated G) and uracil (abbreviated U).
The system includes a one-hot encoder (shown in
The ACNN can be parameterized by a number of residual blocks, a number of skip connections, and a number of residual connections.
The ACNN can comprise dimensionality altering convolution layers that reshape spatial and feature dimensions of a preceding input.
As shown in
Other implementations may include a non-transitory computer readable storage medium storing instructions executable by a processor to perform actions of the system described above. Yet another implementation may include a method performing actions of the system described above.
Another system implementation of the of the technology disclosed includes a trained splice site predictor that runs on numerous processors operating in parallel and coupled to memory. The system trains an atrous convolutional neural network (abbreviated ACNN), running on the numerous processors, on at least 50000 training examples of donor splice sites, at least 50000 training examples of acceptor splice sites, and at least 100000 training examples of non-splicing sites. Each of the training examples used in the training is a nucleotide sequence that includes a target nucleotide flanked by at least 400 nucleotides on each side.
The system includes an input stage of the ACNN which runs on at least one of the numerous processors and feeds an input sequence of at least 801 nucleotides for evaluation of target nucleotides. Each target nucleotide is flanked by at least 400 nucleotides on each side.
The system includes an output stage of the ACNN which runs on at least one of the numerous processors and translates analysis by the ACNN into classification scores for likelihood that each of the target nucleotides is a donor splice site, an acceptor splice site, or a non-splicing site.
Each of the features discussed in this particular implementation section for the first system implementation apply equally to this system implementation. As indicated above, all the system features are not repeated here and should be considered repeated by reference.
The ACNN can be trained on 150000 training examples of donor splice sites, 150000 training examples of acceptor splice sites, and 800000000 training examples of non-splicing sites. In another implementation of the system, the ACNN comprises groups of residual blocks arranged in a sequence from lowest to highest. In yet another implementation of the system, each group of residual blocks is parameterized by a number of convolution filters in the residual blocks, a convolution window size of the residual blocks, and an atrous convolution rate of the residual blocks.
The ACNN can comprise groups of residual blocks arranged in a sequence from lowest to highest. Each group of residual blocks is parameterized by a number of convolution filters in the residual blocks, a convolution window size of the residual blocks, and an atrous convolution rate of the residual blocks.
In the ACNN, the atrous convolution rate progresses non-exponentially from a lower residual block group to a higher residual block group. Also in the ACNN, the convolution window size varies between groups of residual blocks.
The ACNN can be trained on one or more training servers, as shown in
The trained ACNN can be deployed on one or more production servers that receive input sequences from requesting clients, as shown in
Other implementations may include a non-transitory computer readable storage medium storing instructions executable by a processor to perform actions of the system described above. Yet another implementation may include a method performing actions of the system described above.
A method implementation of the technology disclosed includes training a splice site detector that identifies splice sites in genomic sequences (e.g., nucleotide sequences).
The method includes feeding, an atrous convolutional neural network (abbreviated ACNN), an input sequence of at least 801 nucleotides for evaluation of target nucleotides that are each flanked by at least 400 nucleotides on each side.
The ACNN is trained on at least 50000 training examples of donor splice sites, at least 50000 training examples of acceptor splice sites, and at least 100000 training examples of non-splicing sites. Each of the training examples used in the training is a nucleotide sequence that includes a target nucleotide flanked by at least 400 nucleotides on each side.
The method further includes translating analysis by the ACNN into classification scores for likelihood that each of the target nucleotides is a donor splice site, an acceptor splice site, or a non-splicing site.
Each of the features discussed in this particular implementation section for the first system implementation apply equally to this method implementation. As indicated above, all the system features are not repeated here and should be considered repeated by reference.
Other implementations may include a non-transitory computer readable storage medium storing instructions executable by a processor to perform the method described above. Yet another implementation may include a system including memory and one or more processors operable to execute instructions, stored in the memory, to perform the method described above.
We describe systems, methods, and articles of manufacture for using a trained atrous convolutional neural network to detect aberrant splicing in genomic sequences (e.g., nucleotide sequences). One or more features of an implementation can be combined with the base implementation. Implementations that are not mutually exclusive are taught to be combinable. One or more features of an implementation can be combined with other implementations. This disclosure periodically reminds the user of these options. Omission from some implementations of recitations that repeat these options should not be taken as limiting the combinations taught in the preceding sections—these recitations are hereby incorporated forward by reference into each of the following implementations.
A system implementation of the technology disclosed includes one or more processors coupled to the memory. The memory is loaded with computer instructions to implement an aberrant splicing detector running on numerous processors operating in parallel and coupled to memory.
As shown in
As shown in
As shown in
As shown in
This system implementation and other systems disclosed optionally include one or more of the following features. System can also include features described in connection with methods disclosed. In the interest of conciseness, alternative combinations of system features are not individually enumerated. Features applicable to systems, methods, and articles of manufacture are not repeated for each statutory class set of base features. The reader will understand how features identified in this section can readily be combined with base features in other statutory classes.
As shown in
As shown in
As shown in
The threshold can be determined from for a plurality of candidate thresholds. This includes processing a first set of reference and variant sequence pairs generated by benign common variants to produce a first set of aberrant splicing detections, processing a second set of reference and variant sequence pairs generated by pathogenic rare variants to produce a second set of aberrant splicing detections, and selecting at least one threshold, for use by the classifier, that maximizes a count of aberrant splicing detections in the second set and minimizes a count of aberrant splicing detections in the first set.
In one implementation, the ACNN identifies variants that cause autism spectrum disorder (abbreviated ASD). In another implementation, the ACNN identifies variants that cause developmental delay disorder (abbreviated DDD).
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
The system includes a one-hot encoder (shown in
Each of the features discussed in this particular implementation section for other system and method implementations apply equally to this system implementation. As indicated above, all the system features are not repeated here and should be considered repeated by reference.
Other implementations may include a non-transitory computer readable storage medium storing instructions executable by a processor to perform actions of the system described above. Yet another implementation may include a method performing actions of the system described above.
A method implementation of the technology disclosed includes detecting genomic variants that cause aberrant splicing.
The method includes processing a reference sequence through an atrous convolutional neural network (abbreviated ACNN) trained to detect differential splicing patterns in a target sub-sequence of an input sequence by classifying each nucleotide in the target sub-sequence as a donor splice site, an acceptor splice site, or a non-splicing site.
The method includes, based on the processing, detecting a first differential splicing pattern in a reference target sub-sequence by classifying each nucleotide in the reference target sub-sequence as a donor splice site, an acceptor splice site, or a non-splicing site.
The method includes processing a variant sequence through the ACNN. The variant sequence and the reference sequence differ by at least one variant nucleotide located in a variant target sub-sequence.
The method includes, based on the processing, detecting a second differential splicing pattern in the variant target sub-sequence by classifying each nucleotide in the variant target sub-sequence as a donor splice site, an acceptor splice site, or a non-splicing site.
The method includes determining a difference between the first differential splicing pattern and the second differential splicing pattern by comparing, on a nucleotide-by-nucleotide basis, splice site classifications of the reference target sub-sequence and the variant target sub-sequence.
When the difference is above a predetermined threshold, the method includes classifying the variant as causing aberrant splicing and therefore pathogenic and storing the classification in memory.
Each of the features discussed in this particular implementation section for other system and method implementations apply equally to this method implementation. As indicated above, all the system features are not repeated here and should be considered repeated by reference.
A differential splicing pattern can identify positional distribution of occurrence of splicing events in a target sub-sequence. Examples of splicing events include at least one of cryptic splicing, exon skipping, mutually exclusive exons, alternative donor site, alternative acceptor site, and intron retention.
The reference target sub-sequence and the variant target sub-sequence can be aligned with respect to nucleotide positions and can differ by the at least one variant nucleotide.
The reference target sub-sequence and the variant target sub-sequence can each have at least 40 nucleotides and can each be flanked by at least 40 nucleotides on each side.
The reference target sub-sequence and the variant target sub-sequence can each have at least 101 nucleotides and can each be flanked by at least 5000 nucleotides on each side.
The variant target sub-sequence can include two variants.
Other implementations may include a non-transitory computer readable storage medium storing instructions executable by a processor to perform the method described above. Yet another implementation may include a system including memory and one or more processors operable to execute instructions, stored in the memory, to perform the method described above.
We describe systems, methods, and articles of manufacture for using a trained convolutional neural network to detect splice sites and aberrant splicing in genomic sequences (e.g., nucleotide sequences). One or more features of an implementation can be combined with the base implementation. Implementations that are not mutually exclusive are taught to be combinable. One or more features of an implementation can be combined with other implementations. This disclosure periodically reminds the user of these options. Omission from some implementations of recitations that repeat these options should not be taken as limiting the combinations taught in the preceding sections—these recitations are hereby incorporated forward by reference into each of the following implementations.
A system implementation of the technology disclosed includes one or more processors coupled to the memory. The memory is loaded with computer instructions to train a splice site detector that identifies splice sites in genomic sequences (e.g., nucleotide sequences).
The system trains a convolutional neural network (abbreviated CNN) on at least 50000 training examples of donor splice sites, at least 50000 training examples of acceptor splice sites, and at least 100000 training examples of non-splicing sites. Each training example is a target nucleotide sequence having at least one target nucleotide flanked by at least 20 nucleotides on each side.
For evaluating a training example using the CNN, the system provides, as input to the CNN, a target nucleotide sequence further flanked by at least 40 upstream context nucleotides and at least 40 downstream context nucleotides.
Based on the evaluation, the CNN then produces, as output, triplet scores for likelihood that each nucleotide in the target nucleotide sequence is a donor splice site, an acceptor splice site, or a non-splicing site.
This system implementation and other systems disclosed optionally include one or more of the following features. System can also include features described in connection with methods disclosed. In the interest of conciseness, alternative combinations of system features are not individually enumerated. Features applicable to systems, methods, and articles of manufacture are not repeated for each statutory class set of base features. The reader will understand how features identified in this section can readily be combined with base features in other statutory classes.
The input can comprise a target nucleotide sequence that has a target nucleotide flanked by 100 nucleotides on each side. In such an implementation, the target nucleotide sequence is further flanked by 200 upstream context nucleotides and 200 downstream context nucleotides.
As shown in
As shown in
As shown in
The CNN can comprise dimensionality altering convolution layers that reshape spatial and feature dimensions of a preceding input.
The triplet scores for each nucleotide in the target nucleotide sequence can be exponentially normalized to sum to unity. In such an implementation, the system classifies each nucleotide in the target nucleotide as the donor splice site, the acceptor splice site, or the non-splicing site based on a highest score in the respective triplet scores.
As shown in
The input can comprise a target nucleotide sequence that has two adjacent target nucleotides. The two adjacent target nucleotides can be adenine (abbreviated A) and guanine (abbreviated G). The two adjacent target nucleotides can be guanine (abbreviated G) and uracil (abbreviated U).
The system includes a one-hot encoder (shown in
The CNN can be parameterized by a number of residual blocks, a number of skip connections, and a number of residual connections.
Each residual block can comprise at least one batch normalization layer, at least one rectified linear unit (abbreviated ReLU) layer, at least one dimensionality altering layer, and at least one residual connection. Each residual block can comprise two batch normalization layers, two ReLU non-linearity layers, two dimensionality altering layers, and one residual connection.
Each of the features discussed in this particular implementation section for other system and method implementations apply equally to this system implementation. As indicated above, all the system features are not repeated here and should be considered repeated by reference.
Other implementations may include a non-transitory computer readable storage medium storing instructions executable by a processor to perform actions of the system described above. Yet another implementation may include a method performing actions of the system described above.
Another system implementation of the of the technology disclosed includes a trained splice site predictor that runs on numerous processors operating in parallel and coupled to memory. The system trains a convolutional neural network (abbreviated CNN), running on the numerous processors, on at least 50000 training examples of donor splice sites, at least 50000 training examples of acceptor splice sites, and at least 100000 training examples of non-splicing sites. Each of the training examples used in the training is a nucleotide sequence that includes a target nucleotide flanked by at least 400 nucleotides on each side.
The system includes an input stage of the CNN which runs on at least one of the numerous processors and feeds an input sequence of at least 801 nucleotides for evaluation of target nucleotides. Each target nucleotide is flanked by at least 400 nucleotides on each side.
The system includes an output stage of the CNN which runs on at least one of the numerous processors and translates analysis by the CNN into classification scores for likelihood that each of the target nucleotides is a donor splice site, an acceptor splice site, or a non-splicing site.
Each of the features discussed in this particular implementation section for other system and method implementations apply equally to this system implementation. As indicated above, all the system features are not repeated here and should be considered repeated by reference.
The CNN can be trained on 150000 training examples of donor splice sites, 150000 training examples of acceptor splice sites, and 800000000 training examples of non-splicing sites.
The CNN can be trained on one or more training servers.
The trained CNN can be deployed on one or more production servers that receive input sequences from requesting clients. In such an implementation, the production servers process the input sequences through the input and output stages of the CNN to produce outputs that are transmitted to the clients.
Other implementations may include a non-transitory computer readable storage medium storing instructions executable by a processor to perform actions of the system described above. Yet another implementation may include a method performing actions of the system described above.
A method implementation of the technology disclosed includes training a splice site detector that identifies splice sites in genomic sequences (e.g., nucleotide sequences). The method includes feeding, a convolutional neural network (abbreviated CNN), an input sequence of at least 801 nucleotides for evaluation of target nucleotides that are each flanked by at least 400 nucleotides on each side.
The CNN is trained on at least 50000 training examples of donor splice sites, at least 50000 training examples of acceptor splice sites, and at least 100000 training examples of non-splicing sites. Each of the training examples used in the training is a nucleotide sequence that includes a target nucleotide flanked by at least 400 nucleotides on each side.
The method further includes translating analysis by the CNN into classification scores for likelihood that each of the target nucleotides is a donor splice site, an acceptor splice site, or a non-splicing site.
Each of the features discussed in this particular implementation section for other system and method implementations apply equally to this method implementation. As indicated above, all the system features are not repeated here and should be considered repeated by reference.
Other implementations may include a non-transitory computer readable storage medium storing instructions executable by a processor to perform the method described above. Yet another implementation may include a system including memory and one or more processors operable to execute instructions, stored in the memory, to perform the method described above.
Yet another system implementation of the technology disclosed includes one or more processors coupled to the memory. The memory is loaded with computer instructions to implement an aberrant splicing detector running on numerous processors operating in parallel and coupled to memory.
The system includes a trained convolutional neural network (abbreviated CNN) running on the numerous processors.
As shown in
As shown in
As shown in
Each of the features discussed in this particular implementation section for other system and method implementations apply equally to this system implementation. As indicated above, all the system features are not repeated here and should be considered repeated by reference.
The differences in the splice site scores can be determined position-wise between the target nucleotides in the reference sequence and in the variant sequence.
For at least one target nucleotide position, when a global maximum difference in the splice site scores is above a predetermined threshold, the CNN classifies the variant as causing aberrant splicing and therefore pathogenic.
For at least one target nucleotide position, when a global maximum difference in the splice site scores is below a predetermined threshold, the CNN classifies the variant as not causing aberrant splicing and therefore benign.
The threshold can be determined from for a plurality of candidate thresholds. This includes processing a first set of reference and variant sequence pairs generated by benign common variants to produce a first set of aberrant splicing detections, processing a second set of reference and variant sequence pairs generated by pathogenic rare variants to produce a second set of aberrant splicing detections, and selecting at least one threshold, for use by the classifier, that maximizes a count of aberrant splicing detections in the second set and minimizes a count of aberrant splicing detections in the first set.
In one implementation, the CNN identifies variants that cause autism spectrum disorder (abbreviated ASD). In another implementation, the CNN identifies variants that cause developmental delay disorder (abbreviated DDD).
The reference sequence and the variant sequence can each have at least 101 target nucleotides and each target nucleotide can be flanked by at least 1000 nucleotides on each side.
The splice site scores of the target nucleotides in the reference sequence can be encoded in a first output of the CNN and the splice site scores of the target nucleotides in the variant sequence can be encoded in a second output of the CNN. In one implementation, the first output is encoded as a first 101×3 matrix and the second output is encoded as a second 101×3 matrix.
In such an implementation, each row in the first 101×3 matrix uniquely represents splice site scores for a likelihood that a target nucleotide in the reference sequence is a donor splice site, an acceptor splice site, or a non-splicing site.
Also in such an implementation, each row in the second 101×3 matrix uniquely represents splice site scores for a likelihood that a target nucleotide in the variant sequence is a donor splice site, an acceptor splice site, or a non-splicing site.
In some implementations, splice site scores in each row of the first 101×3 matrix and the second 101×3 matrix can be exponentially normalized to sum to unity.
The classifier can perform a row-to-row comparison of the first 101×3 matrix and the second 101×3 matrix and determine, on a row-wise basis, changes in distribution of splice site scores. For at least one instance of the row-to-row comparison, when the change in distribution is above a predetermined threshold, the CNN classifies the variant as causing aberrant splicing and therefore pathogenic.
The system includes a one-hot encoder (shown in
Other implementations may include a non-transitory computer readable storage medium storing instructions executable by a processor to perform actions of the system described above. Yet another implementation may include a method performing actions of the system described above.
A method implementation of the technology disclosed includes detecting genomic variants that cause aberrant splicing.
The method includes processing a reference sequence through an atrous convolutional neural network (abbreviated CNN) trained to detect differential splicing patterns in a target sub-sequence of an input sequence by classifying each nucleotide in the target sub-sequence as a donor splice site, an acceptor splice site, or a non-splicing site.
The method includes, based on the processing, detecting a first differential splicing pattern in a reference target sub-sequence by classifying each nucleotide in the reference target sub-sequence as a donor splice site, an acceptor splice site, or a non-splicing site.
The method includes processing a variant sequence through the CNN. The variant sequence and the reference sequence differ by at least one variant nucleotide located in a variant target sub-sequence.
The method includes, based on the processing, detecting a second differential splicing pattern in the variant target sub-sequence by classifying each nucleotide in the variant target sub-sequence as a donor splice site, an acceptor splice site, or a non-splicing site.
The method includes determining a difference between the first differential splicing pattern and the second differential splicing pattern by comparing, on a nucleotide-by-nucleotide basis, splice site classifications of the reference target sub-sequence and the variant target sub-sequence.
When the difference is above a predetermined threshold, the method includes classifying the variant as causing aberrant splicing and therefore pathogenic and storing the classification in memory.
Each of the features discussed in this particular implementation section for other system and method implementations apply equally to this method implementation. As indicated above, all the system features are not repeated here and should be considered repeated by reference.
A differential splicing pattern can identify positional distribution of occurrence of splicing events in a target sub-sequence. Examples of splicing events include at least one of cryptic splicing, exon skipping, mutually exclusive exons, alternative donor site, alternative acceptor site, and intron retention.
The reference target sub-sequence and the variant target sub-sequence can be aligned with respect to nucleotide positions and can differ by the at least one variant nucleotide.
The reference target sub-sequence and the variant target sub-sequence can each have at least 40 nucleotides and can each be flanked by at least 40 nucleotides on each side.
The reference target sub-sequence and the variant target sub-sequence can each have at least 101 nucleotides and can each be flanked by at least 1000 nucleotides on each side.
The variant target sub-sequence can include two variants.
Other implementations may include a non-transitory computer readable storage medium storing instructions executable by a processor to perform the method described above. Yet another implementation may include a system including memory and one or more processors operable to execute instructions, stored in the memory, to perform the method described above.
The preceding description is presented to enable the making and use of the technology disclosed. Various modifications to the disclosed implementations will be apparent, and the general principles defined herein may be applied to other implementations and applications without departing from the spirit and scope of the technology disclosed. Thus, the technology disclosed is not intended to be limited to the implementations shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein. The scope of the technology disclosed is defined by the appended claims.
Deep learning is a relatively new technique in biology, and is not without potential trade-offs. By learning to automatically extract features from sequence, deep learning models can utilize novel sequence determinants not well-described by human experts, but there is also the risk that the model may incorporate features that do not reflect the true behavior of the spliceosome. I. Deep learning for splice prediction
We trained several ultra-deep convolutional neural network-based models to computationally predict splicing from pre-mRNA nucleotide sequence. We designed four architectures, namely, SpliceNet-80nt, SpliceNet-400nt, SpliceNet-2k and SpliceNet-10k, which use 40, 200, 1,000 and 5,000 nucleotides on each side of a position of interest as input respectively, and output the probability of the position being a splice acceptor and donor. More precisely, the input to the models is a sequence of one-hot encoded nucleotides, where A, C, G and T (or equivalently U) are encoded as [1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0] and [0, 0, 0, 1] respectively and the output of the models consists of three scores which sum to one, corresponding to the probability of the position of interest being a splice acceptor, splice donor and neither.
The basic unit of the SpliceNet architectures is a residual block (He et al., 2016b), which consists of batch-normalization layers (Ioffe and Szegedy, 2015), rectified linear units (ReLU), and convolutional units organized in a specific manner (
The complete SpliceNet architectures are provided in
Each residual block has three hyper-parameters N, W and D, where N denotes the number of convolutional kernels, W denotes the window size and D denotes the dilation rate (Yu and Koltun, 2016) of each convolutional kernel. Since a convolutional kernel of window size W and dilation rate D extracts features spanning (W−1)D neighboring positions, a residual block with hyper-parameters N, W and D extracts features spanning 2(W−1)D neighboring positions. Hence, the total neighbor span of the SpliceNet architectures is given by S=Σi=1K2(Wi−1)Di, where Ni, Wi and Di are the hyper-parameters of the ith residual block. For SpliceNet-80nt, SpliceNet-400nt, SpliceNet-2k and SpliceNet-10k architectures, the number of residual blocks and the hyper-parameters for each residual block were chosen so that S is equal to 80, 400, 2,000 and 10,000 respectively.
The SpliceNet architectures only have normalization and non-linear activation units in addition to convolutional units. Consequently, the models can be used in a sequence-to-sequence mode with variable sequence length (Oord et al., 2016). For example, the input to the SpliceNet-10k model (S=10,000) is a one-hot encoded nucleotide sequence of length S/2+l+S/2, and the output is an l×3 matrix, corresponding to the three scores of the l central positions in the input, i.e., the positions remaining after excluding the first and last S/2 nucleotides. This feature can be leveraged to obtain a tremendous amount of computational saving during training as well as testing. This is due to the fact that most of the computations for positions which are close to each other are common, and the shared computations need to be done only once by the models when they are used in a sequence-to-sequence mode.
Our models adopted the architecture of residual blocks, which has become widely adopted due to its success in image classification. The residual blocks comprise repeating units of convolution, interspersed with skip connections that allow information from earlier layers to skip over residual blocks. In each residual block, the input layer is first batch normalized, followed by an activation layer using rectified linear units (ReLU). The activation is then passed through a 1D convolution layer. This intermediate output from the 1D convolution layer is again batch normalized and ReLU activated, followed by another 1D convolution layer. At the end of the second 1D convolution, we summed its output with the original input into the residual block, which acts as a skip connection by allowing the original input information to bypass the residual block. In such an architecture, termed a deep residual learning network by its authors, the input is preserved in its original state and the residual connections are kept free of nonlinear activations from the model, allowing effective training of deeper networks.
Following the residual blocks, the softmax layer computes probabilities of the three states for each amino acid, among which the largest softmax probability determines the state of the amino acid. The model is trained with accumulated categorical cross entropy loss function for the whole protein sequence using the ADAM optimizer.
Atrous/dilated convolutions allow for large receptive fields with few trainable parameters. An atrous/dilated convolution is a convolution where the kernel is applied over an area larger than its length by skipping input values with a certain step, also called atrous convolution rate or dilation factor. Atrous/dilated convolutions add spacing between the elements of a convolution filter/kernel so that neighboring input entries (e.g., nucleotides, amino acids) at larger intervals are considered when a convolution operation is performed. This enables incorporation of long-range contextual dependencies in the input. The atrous convolutions conserve partial convolution calculations for reuse as adjacent nucleotides are processed.
The illustrated example uses 1D convolutions. In other implementations, the model can use different types of convolutions such as 2D convolutions, 3D convolutions, dilated or atrous convolutions, transposed convolutions, separable convolutions, and depthwise separable convolutions. Some layers also use ReLU activation function which greatly accelerates the convergence of stochastic gradient descent compared to saturating nonlinearities such as sigmoid or hyperbolic tangent. Other examples of activation functions that can be used by the technology disclosed include parametric ReLU, leaky ReLU, and exponential linear unit (ELU).
Some layers also use batch normalization (Ioffe and Szegedy 2015). Regarding batch normalization, distribution of each layer in a convolution neural network (CNN) changes during training and it varies from one layer to another. This reduces the convergence speed of the optimization algorithm. Batch normalization is a technique to overcome this problem. Denoting the input of a batch normalization layer with x and its output using z, batch normalization applies the following transformation on x:
Batch normalization applies mean-variance normalization on the input x using μ and σ and linearly scales and shifts it using γ and β. The normalization parameters μ and σ are computed for the current layer over the training set using a method called exponential moving average. In other words, they are not trainable parameters. In contrast, γ and β are trainable parameters. The values for μ and σ calculated during training are used in forward pass during inference.
In one implementation, the neural networks such as ACNN and CNN are communicably linked to the storage subsystem and user interface input devices.
User interface input devices can include a keyboard; pointing devices such as a mouse, trackball, touchpad, or graphics tablet; a scanner; a touch screen incorporated into the display; audio input devices such as voice recognition systems and microphones; and other types of input devices. In general, use of the term “input device” is intended to include all possible types of devices and ways to input information into computer system.
User interface output devices can include a display subsystem, a printer, a fax machine, or non-visual displays such as audio output devices. The display subsystem can include a cathode ray tube (CRT), a flat-panel device such as a liquid crystal display (LCD), a projection device, or some other mechanism for creating a visible image. The display subsystem can also provide a non-visual display such as audio output devices. In general, use of the term “output device” is intended to include all possible types of devices and ways to output information from computer system to the user or to another machine or computer system.
Storage subsystem stores programming and data constructs that provide the functionality of some or all of the modules and methods described herein. These software modules are generally executed by processor alone or in combination with other processors.
Memory used in the storage subsystem can include a number of memories including a main random access memory (RAM) for storage of instructions and data during program execution and a read only memory (ROM) in which fixed instructions are stored. A file storage subsystem can provide persistent storage for program and data files, and can include a hard disk drive, a floppy disk drive along with associated removable media, a CD-ROM drive, an optical drive, or removable media cartridges. The modules implementing the functionality of certain implementations can be stored by file storage subsystem in the storage subsystem, or in other machines accessible by the processor.
Bus subsystem provides a mechanism for letting the various components and subsystems of computer system communicate with each other as intended. Although bus subsystem is shown schematically as a single bus, alternative implementations of the bus subsystem can use multiple busses.
Computer system itself can be of varying types including a personal computer, a portable computer, a workstation, a computer terminal, a network computer, a television, a mainframe, a server farm, a widely-distributed set of loosely networked computers, or any other data processing system or user device. Due to the ever-changing nature of computers and networks, the description of computer system depicted in
The deep learning processors can be GPUs or FPGAs and can be hosted by a deep learning cloud platforms such as Google Cloud Platform, Xilinx, and Cirrascale. Examples of deep learning processors include Google's Tensor Processing Unit (TPU), rackmount solutions like GX4 Rackmount Series, GX8 Rackmount Series, NVIDIA DGX-1, Microsoft′ Stratix V FPGA, Graphcore's Intelligent Processor Unit (IPU), Qualcomm's Zeroth platform with Snapdragon processors, NVIDIA's Volta, NVIDIA's DRIVE PX, NVIDIA's JETSON TX1/TX2 MODULE, Intel's Nirvana, Movidius VPU, Fujitsu DPI, ARM's DynamicIQ, IBM TrueNorth, and others.
The preceding description is presented to enable the making and use of the technology disclosed. Various modifications to the disclosed implementations will be apparent, and the general principles defined herein may be applied to other implementations and applications without departing from the spirit and scope of the technology disclosed. Thus, the technology disclosed is not intended to be limited to the implementations shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein. The scope of the technology disclosed is defined by the appended claims.
This application claims priority to or the benefit of U.S. Provisional Patent Application No. 62/573,125, titled, “Deep Learning-Based Splice Site Classification,” by Kishore Jaganathan, Kai-How Farh, Sofia Kyriazopoulou Panagiotopoulou and Jeremy Francis McRae, filed Oct. 16, 2017 (Attorney Docket No. ILLM 1001-1/IP-1610-PRV); U.S. Provisional Patent Application No. 62/573,131, titled, “Deep Learning-Based Aberrant Splicing Detection,” by Kishore Jaganathan, Kai-How Farh, Sofia Kyriazopoulou Panagiotopoulou and Jeremy Francis McRae, filed Oct. 16, 2017 (Attorney Docket No. ILLM 1001-2/IP-1614-PRV); U.S. Provisional Patent Application No. 62/573,135, titled, “Aberrant Splicing Detection Using Convolutional Neural Networks (CNNs),” by Kishore Jaganathan, Kai-How Farh, Sofia Kyriazopoulou Panagiotopoulou and Jeremy Francis McRae, filed Oct. 16, 2017 (Attorney Docket No. ILLM 1001-3/IP-1615-PRV); and U.S. Provisional Patent Application No. 62/726,158, titled, “Predicting Splicing from Primary Sequence with Deep Learning,” by Kishore Jaganathan, Kai-How Farh, Sofia Kyriazopoulou Panagiotopoulou and Jeremy Francis McRae, filed Aug. 31, 2018 (Attorney Docket No. ILLM 1001-10/IP-1749-PRV). The provisional applications are hereby incorporated by reference for all purposes.
Number | Date | Country | |
---|---|---|---|
62573125 | Oct 2017 | US | |
62573131 | Oct 2017 | US | |
62573135 | Oct 2017 | US | |
62726158 | Aug 2018 | US |