EP4457821A1 - Mask patterns for protein language models for predicting pathogenicity - Google Patents
Mask patterns for protein language models for predicting pathogenicityInfo
- Publication number
- EP4457821A1 EP4457821A1 EP22856958.8A EP22856958A EP4457821A1 EP 4457821 A1 EP4457821 A1 EP 4457821A1 EP 22856958 A EP22856958 A EP 22856958A EP 4457821 A1 EP4457821 A1 EP 4457821A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- tiles
- computer
- representation
- implemented method
- residues
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16B—BIOINFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR GENETIC OR PROTEIN-RELATED DATA PROCESSING IN COMPUTATIONAL MOLECULAR BIOLOGY
- G16B20/00—ICT specially adapted for functional genomics or proteomics, e.g. genotype-phenotype associations
- G16B20/20—Allele or variant detection, e.g. single nucleotide polymorphism [SNP] detection
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16B—BIOINFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR GENETIC OR PROTEIN-RELATED DATA PROCESSING IN COMPUTATIONAL MOLECULAR BIOLOGY
- G16B30/00—ICT specially adapted for sequence analysis involving nucleotides or amino acids
- G16B30/10—Sequence alignment; Homology search
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16B—BIOINFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR GENETIC OR PROTEIN-RELATED DATA PROCESSING IN COMPUTATIONAL MOLECULAR BIOLOGY
- G16B40/00—ICT specially adapted for biostatistics; ICT specially adapted for bioinformatics-related machine learning or data mining, e.g. knowledge discovery or pattern finding
- G16B40/20—Supervised data analysis
Definitions
- 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.
- intelligence i.e., knowledge based systems, reasoning systems, and knowledge acquisition systems
- systems for reasoning with uncertainty e.g., fuzzy logic systems
- adaptive systems e.g., machine learning systems
- artificial neural networks e.g., neural networks to analyze ordered data.
- Protein language models capture long-range dependencies, leam rich representations of protein sequences, and can be employed for multiple tasks. For example, protein language models can predict structural contacts from single sequences in an unsupervised way.
- MSAs multiple sequence alignments
- Language models were initially developed for natural language processing and operate on a simple but powerful principle: they acquire linguistic understanding by learning to fill in missing words in a sentence, akin to a sentence completion task in standardized tests. Language models develop powerful reasoning capabilities by applying this principle across large text corpora.
- the Bidirectional Encoder Representations from Transformers (BERT) model instantiated this principle using Transformers, a class of neural networks in which attention is the primary component of the learning system.
- each token in the input sentence can “attend” to all other tokens by exchanging activation patterns corresponding to the intermediate outputs of neurons in a neural network.
- Protein language models like the MSA Transformer have been trained to perform inference from MSAs of evolutionarily related sequences.
- the MSA Transformer interleaves persequence (“row”) attention with per-site (“column”) attention to incorporate epistasis.
- Epistasis leads to a co-evolution of certain protein positions.
- the effect of mutation at one site depends on presence or absence of mutations at other sites, which influences mutation.
- Combinations of row attention heads in the MSA Transformer have led to state-of-the-art unsupervised structural contact predictions.
- PrimeAI End-to-end deep learning approaches for variant effect predictions are applied to predict the pathogenicity of missense variants from protein sequence and sequence conservation data (See Sundaram, L. et al. Predicting the clinical impact of human mutation with deep neural networks. Nat. Genet. 50, 1161-1170 (2016), referred to herein as “PrimateAI”).
- PrimateAI uses deep neural networks trained on variants of known pathogenicity with data augmentation using cross-species information.
- PrimateAI uses sequences of wild-type and mutant proteins to compare the difference and decide the pathogenicity of mutations using the trained deep neural networks.
- Such an approach that utilizes the protein sequences for pathogenicity prediction is promising because it can avoid the circularity problem and overfitting to previous knowledge.
- Figure 1 is a high-level diagram that shows various aspects of the technology disclosed, and, in particular, illustrates generating a masked MSA and processing the masked MSA through the disclosed PrimateAI language model to produce a phenotype prediction.
- Figure 2 shows one implementation of applying the disclosed periodically-spaced mask grid to an MSA and generating the disclosed partially-masked MSA.
- Figure 3 shows one implementation of one-hot tokens that are defined for the twenty residue one-hot vectors, the gap residue one-hot vector, and the mask one-hot vector.
- Figure 4 illustrates one implementation of channel embeddings that are defined for the twenty residue channel embedding sets, the gap channel embedding set, and the mask channel embedding set.
- Figure 5 shows cropping, padding, and masking of MSAs in accordance with various implementations of the technology disclosed.
- Figure 6 depicts one implementation of generating the disclosed MSA representation.
- Figure 7 illustrates an example architecture of the disclosed PrimateAI language model.
- Figure 8 shows details of the disclosed mask revelation.
- Figure 9 shows various components of the PrimateAI language model.
- Figure 10 shows one implementation of the disclosed revelation output head used by the disclosed PrimateAI language model.
- Figure 11 is a computer-implemented method of the logic flow of the PrimateAI language model, in accordance with one implementation of the technology disclosed.
- Figure 12 is a system that is configured to implement the PrimateAI language model, in accordance with one implementation of the technology disclosed.
- Figure 13 shows the performance evaluation of the language modelling part of the disclosed PrimateAI language model with other language models.
- Figure 14 depicts the Top-1 training accuracy of the disclosed PrimateAI language model.
- Figure 15 is a computer system that can be used for compilation and runtime execution of the disclosed PrimateAI language model.
- Figure 16 illustrates a comparison between UniRef50 HHblits MSAs and human HHblits MSAs.
- Figure 17 illustrates the training of the PrimateAI language model using LAMB optimizer with gradient pre-normalization
- modules can be implemented in hardware or software, and need not be divided up in precisely the same blocks as shown in the figures. Some of the modules can also be implemented on different processors, computers, or servers, or spread among a number of different processors, computers, or servers. In addition, it will be appreciated that some of the modules can be combined, operated in parallel or in a different sequence than that shown in the figures without affecting the functions achieved.
- the modules in the figures can also be thought of as flowchart steps in a method.
- a module also need not necessarily have all its code disposed contiguously in memory; some parts of the code can be separated from other parts of the code with code from other modules or other functions disposed in between.
- the disclosed PrimateAI language model uses a masked language modeling objective for training on sequences. During training, residues at different positions in a sequence are replaced with a mask token and the PrimateAI language model is trained to predict the original residues at those positions.
- Masked language modeling allows training on a large amount of unlabelled data.
- MSA multiple sequence alignment
- MLM masked language modelling
- fill-in-the-blank pathogenicity prediction is fundamentally different from traditional MLM as classification at a mask location depends on predicted values of residues at other mask locations.
- the classification scores may often be the averages of conditional predictions over all possible combinations of residues at other mask locations.
- the PrimateAI language model avoids this averaging by revealing masked tokens at other mask locations before making predictions.
- the PrimateAI language model achieves state- of-the-art clinical performance and denoising accuracy whilst requiring 50x less computation for training than previous MSA Transformers.
- Various aspects of the technology disclosed, discussed later, contribute to the 5 Ox reduction in training compute. Examples of such aspects include periodically-spaced mask grid, mask revelation, and the architecture of PrimateAI language model.
- the PrimateAI language model can be considered an MSA Transformer for fill-in-the- blank residue classification.
- the PrimateAI language model is trained end- to-end on MS As of UniRef50 proteins to minimize an unsupervised MLM objective.
- the PrimateAI language model outputs classification scores for alternative and reference residues, which serve as inputs to the PrimateAI three-dimensional (3D) rank loss.
- Figure 1 is a high-level diagram 100 that shows various aspects of the technology disclosed, and, in particular, illustrates generating a masked MSA 140 and processing the masked MSA 140 through the disclosed PrimateAI language model (e.g., a phenotype predictor 150 or pathogenicity language model) to produce a phenotype prediction 160.
- PrimateAI language model e.g., a phenotype predictor 150 or pathogenicity language model
- an MSA dataset 110 includes a multiple sequence alignment (MSA) 120 for each sequence in a UniRef50 database that is retrieved by searching a UniClust30 database.
- the MSA 120 is an alignment of multiple homologous protein sequences to a target protein. From the MSA 120, the degree of homology can be inferred and the evolutionary relationships among the sequences studied. Since real protein sequences are likely to have insertions, deletions, and substitutions, the sequences are aligned by minimizing a Levenshtein distance-like metric over all the sequences.
- heuristic alignment schemes are used. For example, tools like JackHMMER and HHblits can increase the number and diversity of sequences returned by iteratively performing the search and alignment steps.
- MSAs used by the technology disclosed contain diverse proteins that align with the query sequence. Using diverse sequences from many species reduces the influence of electromechanical susceptibility on predictions as the differences are more highly determined by natural selection.
- the MSA dataset 110 can contain twenty-six million MSAs that are created by using the protein homology detection software HHblits.
- an additional set of MSAs can be generated for 19,071 human proteins using HHblits.
- those UniRef50 MSAs can be excluded from the MSA dataset 110 whose query sequences carry rare amino acids, thereby retaining only those MSAs in MSA dataset 110 that contain the twenty most abundant residues.
- only those non-query sequences can be included in the MSAs that contain the twenty most common residues and gaps, which in turn represent deletions relative to the query sequence.
- the MSAs that are provided as inputs to the PrimateAI language model can have a fixed size of 1024 sequences. Of the 1024 sequences, up to 1023 nonquery sequences can be randomly sampled from the filtered sequences if the MSA depth is larger than 1024. If the MSA depth is less than 1024, the MSA can be padded with zeros to fill the input.
- the MSA depth refers to the number of protein sequences in the MSA.
- the MSA transformer with a fixed input MSA depth of 1024 sequences can be trained. This eases the process of the model because the tensors input to the model have a fixed shape.
- the full MSA depth is less than 1024, padding can be added to increase its size to 1024. If the full MSA depth is more than 1024, 1023 sequences can be randomly sampled from the full MSA depth. The one query sequence can be kept such that the remaining MSA has a depth of 1024 (1023 randomly sampled sequences and 1 query sequence).
- a masking logic 130 can apply one or more masks to the MSA 120 and generate a masked MSA 140.
- the masks can be arranged in a periodic manner, non-periodic manner, regular manner, or irregular manner.
- the masks are not limited to periodically-spaced masks or a regular grid or array of masks.
- the masks can be irregular in shape, can be straight or curved, and can be arranged in irregular, non-evenly spaced patterns.
- the masks are regular in shape when the distance between adjacent masks is fixed or same.
- the masks are irregular in shape when the distance between adjacent masks varies.
- the phenotype predictor 150 can process the masked MSA 140 and generate the phenotype prediction 160.
- the phenotype prediction 160 outputs the identity of the masked residues in the masked MSA 140.
- the phenotype prediction 160 can be used for variant pathogenicity prediction, protein contact map generation, protein functionality prediction, and so on.
- portions of this Application refer to a protein as a “sequence,” “residue sequence,” “amino acid sequence,” and “chain of amino acids” interchangeably. Also, note that portions of this Application use “amino acids” and “residues” interchangeably. Further note that portions of this Application use “a set of periodically-spaced masks,” “periodically-spaced masks,” “mask grid,” “periodically-spaced mask gird,” “periodic mask pattern,” and “fixed mask pattern” interchangeably.
- sequences shown in the figures are protein sequences comprising amino acid residues.
- the sequences can instead comprise DNA, RNA, carbohydrates, lipids or any other straight or branched biopolymer.
- Figure 2 shows one implementation of applying the disclosed periodically-spaced mask grid 210 to an MSA 220 and generating the disclosed partially-masked MSA 230.
- the columns of the periodically-spaced mask grid 210 correspond to residue positions.
- the residue positions are also referred to herein as ordinal positions.
- the periodically-spaced mask grid 210 has elements (or units or tokens) that are masks. In Figure 2, such mask elements are depicted by boxes with black fdl and a “?” symbol).
- the periodically-spaced mask grid 210 also has elements (or units or tokens) that are not masks. In Figure 2, such non-mask elements are depicted by boxes with a diagonal-pattern fill.
- the rows of the periodically-spaced mask grid 210 include elements that are masks and elements that are not masks.
- Each mask distribution has k periodically-spaced masks.
- the k periodically-spaced masks in a mask distribution are at k ordinal positions that begin at varying offsets from a first residue position in the periodically-spaced mask grid 210.
- the k periodically-spaced masks of the first mask distribution are located at the third, the sixth, and the ninth ordinal positions, and begin at an offset of two from the first residue position in the periodically-spaced mask grid 210.
- the k periodically-spaced masks of the second mask distribution are located at the first, the fourth, and the seventh ordinal positions, and begin at an offset of zero from the first residue position in the periodically-spaced mask grid 210.
- the k periodically-spaced masks of the third mask distribution are located at the second, the fifth, and the eighth ordinal positions, and begin at an offset of one from the first residue position in the periodically-spaced mask grid 210.
- the A; periodically-spaced masks of the fourth mask distribution are located at the third, the sixth, and the ninth ordinal positions, and begin at an offset of two from the first residue position in the periodically-spaced mask grid 210.
- the k periodically-spaced masks of the fifth mask distribution are located at the fourth and the seventh ordinal positions, and begin at an offset of three from the first residue position in the periodically- spaced mask grid 210.
- Masks in the periodically-spaced mask grid 210 are periodic because the masks have regular spacing between them and repeat at regular intervals, i.e., the masks are regularly-spaced repeats.
- the masks in the periodically-spaced mask grid 210 are also periodic because the masks have an ordered pattern.
- the masks in the periodically-spaced mask grid 210 can have a lattice pattern, a diagonal pattern, a hexagonal pattern, a diamond pattern, a rectangle pattern, a square pattern, a triangle pattern, a convex pattern, a concave pattern, and/or a polygonal pattern.
- the k periodically-spaced masks across the mask distributions in the periodically-spaced mask grid 210 have a diagonal pattern.
- the stride can be any number, such as 16 or in a range of 8 to 64 or any number in or subrange of that range.
- the term “stride” refers to the distance between adjacent masks.
- the masks in the periodically-spaced mask grid 210 are quasi-periodic, such that the masks have an ordered pattern, but the masks do not recur at precisely regular intervals.
- a mask token defines the masks.
- the mask token is configured to conceal or replace the original residue in an MSA onto which the mask token is applied.
- the mask token is a special or auxiliary token in the sense that the mask token is different from the twenty residue tokens that are used to define the twenty naturally-occurring residues.
- the mask token is also different from the gap residue token that is used to define the gap residue.
- the gap residues are those residues whose identities are unresolved (or unknown), and therefore the gap residues are not reliably classified to any of the twenty-one known residues.
- the gap residues are encoded by the gap residue token.
- the mask token can be defined by the same encoding logic that defines the twenty residue tokens and the gap residue token in a way that encodes the mask token as the twenty- second residue.
- Figure 3 shows one implementation of one-hot tokens 300 that are defined for — the twenty residue one-hot vectors 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, and 320; the gap residue one-hot vector 321; and the mask one-hot vector 322.
- the one-hot tokens 300 are encoded with a binary vector of twenty-two bits, with one of the bits being hot (z.e., 1) while other being 0.
- a one-hot encoder (not depicted) generates the one-hot tokens 300.
- Figure 4 illustrates one implementation of channel embeddings 400 (or learned embeddings) that are defined for — the twenty residue channel embedding sets 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, and 420; the gap channel embedding set 421; and the mask channel embedding set 422.
- the channel embeddings 400 span the twenty-one known residues.
- the channel embedding set 421 spans the gap residues.
- the mask channel embedding set 422 spans the mask residues.
- the channel embeddings 400 are tensors that have a height dimension, a width dimension, and a depth dimension, and each set of channel embeddings can include N channel embeddings, where N is an integer like ninety-four.
- an embeddings generator (not depicted (e.g., a multi-layer perceptron)) generates the channel embeddings 400.
- the embeddings generator can be trained in conjunction with the PrimateAI language model to leam and generate the channel embeddings 400.
- a lookup table can store a mapping between the one-hot tokens 300 and the channel embeddings 400. The lookup table can be accessed during the inference to replace the residue tokens, the gap token, and the mask token with the corresponding channel embeddings.
- the encoding of the mask token can vary depending on a variety of factors. Examples include the location (i.e., residue position) of the mask, the residue-type on which the mask is applied, the sequence-type on which the mask is applied, the sequence number on which the mask is applied, and the species-type of the sequence on which the mask is applied.
- the mask token can be encoded using other schemes. Examples include quantitative or numerical data type, qualitative data type, discreet data type, continuous data type (with lower and upper bounds), integer data type (with lower and upper bounds), nominal data type, ordinal or ranked data type, categorical data type, interval data type, and ratio data type.
- the encoding can be based on, or any combination thereof, multiple bits, real values between 0 and 1, continuous values such as floating point numbers, Red, Green, Blue (RGB) values between 0 and 256, hexadecimal values of CSS colors (e.g., #F0F8FF), categorical color values of CSS colors, respective values of other CSS property groups and properties, size of a particular dimension (e.g., height and width), a set of different values and data types, and others.
- real values between 0 and 1 continuous values such as floating point numbers, Red, Green, Blue (RGB) values between 0 and 256, hexadecimal values of CSS colors (e.g., #F0F8FF), categorical color values of CSS colors, respective values of other CSS property groups and properties, size of a particular dimension (e.g., height and width), a set of different values and data types, and others.
- the MSA 220 has p rows and r columns.
- the p rows correspond to p protein sequences.
- the periodically-spaced mask grid 210 can have different number of rows and columns (i.e., a different shape) than the MSA 220.
- the periodically-spaced mask grid 210 can have a same number of rows and columns (i.e., a same shape) as the MSA 220.
- the periodically-spaced mask grid 210 can be applied 212 (or overlaid) anywhere on the MSA 220.
- the periodically-spaced mask grid 210 can be applied such that the periodically-spaced mask grid 210 is centered at a particular column of the MSA 220 that contains a residue-of-interest 214 (in red) at a position-of-interest 216 (in red).
- the periodically-spaced mask grid 210 can be applied such that the periodically-spaced mask grid 210 is placed at a particular row (e.g., the query sequence like sequence one in Figure 2) of the MSA 220 that contains the residue-of-interest 214 at the position-of-interest 216.
- the periodically-spaced mask grid 210 is applied to a subset of sequences in the MSA 220, spanning a window of sequences 222 (e.g., five sequences in Figure 2).
- the periodically-spaced mask grid 210 can be applied on the MSA 220 in a left-flanking manner or a right-flanking manner.
- the periodically-spaced mask grid 210 can be applied on the MSA 220 on a portion-by -portion basis, traversing portions (e.g., quadrants) of the MSA 220 simultaneously or sequentially.
- a combination or aggregation of the unmasked residues and the masked residues forms the partially-masked MSA 230.
- the partially-masked MSA 230 can be defined as an MSA that includes some residues that are not masked (unmasked) and some residues that are masked.
- the partially-masked MSA 230 can also be defined as an MSA that includes some sequences that contain masked residues and some sequences that do not contain any masked residues.
- a portion (or patch) of the partially-masked MSA 230 can be cropped (or selected or extracted) to generate a cropped portion 232 (in blue, dashed outline in Figure 2).
- the cropped portion 232 can include: (i) the masked residues in the window of sequences 222, (ii) some unmasked residues that are contiguously adjacent to the masked residues within a neighborhood that coincides with (or defines) a boundary of the cropped portion 232, and (iii) portions of some additional sequences that extend beyond the window of sequences 222 and do not contain any masked residues.
- Figure 5 shows cropping, padding, and masking of MSAs 500 in accordance with various implementations of the technology disclosed.
- a residue-of-interest at a position-of-interest in the query sequence is indicated by an X
- mask locations are indicated by black fill
- padding is indicated by grey fill
- crop regions are indicated by black, dashed lines.
- mask stride is three and cropping window width is six residues.
- the position-of-interest is at the right side of the center of a crop region.
- a crop region is shifted to the right of the position-of-interest to avoid going over an MSA edge.
- an MSA for a short protein is padded to fill a crop region.
- a crop region is shifted to the right of the position-of-interest to minimize padding and the MSA is padded to fill the crop region.
- the position-of-interest is randomly sampled from positions in the query sequence during training or chosen by a user during inference.
- a cropping window is selected with a size of 256 residues such that the position-of-interest is at the center.
- the cropping window can be shifted if the position-of-interest is near the edge of an MSA to avoid padding zeros and to increase information about the position-of-interest. If the query sequence is shorter than the cropping window, zeros can be padded to fill the window size.
- p sam pie> is assigned to an MSA being sampled during training if the protein length, L, is shorter than the query sequence, for example, Psampie K max(mi ” ⁇ 512),64:) > This assignment rebalances the distribution of lengths for UniRef50 proteins used for training and for human proteins, and also prevents wastage of computation on padding.
- the UniRef50 proteins used for training often have short sequences, whereas a majority of human proteins has long sequences.
- Figure 16 illustrates a comparison between UniRef50 HHblits MSAs and human HHblits MSAs. Many of the proteins in the UniRef50 HHblits MSAs have a short sequence, while only a few human proteins among MSAs are short. Accordingly, the sampling of longer UniRef50 proteins during training can be increased, such that the sampled distribution of short and long proteins is closer to the distribution of human proteins. Increasing the sampling of long-sequence UniRef50 proteins also increases computation efficiency.
- the periodically-spaced mask grid 210 is applied in a way that penalizes the occurrences of gaps in the first f sequences.
- the probability, p mask of a non-query sequence being masked decreases with increasing number (L N ) 2 of gap tokens, for example, N gap , p mas ⁇ oc - — J ap . Downsampling of sequences with a considerable number of gaps reduces the fraction of missing data in the MSAs.
- Figure 6 depicts one implementation of generating 600 the disclosed MSA representation.
- Panel A shows the MSA 220.
- Panel B shows the partially-masked MSA 230.
- the periodically-spaced mask grid 210 is applied to the first four sequences of the MSA 220 and has a stride of three.
- the partially-masked MSA 230 is generated as a result of applying the periodically-spaced mask grid 210 to the MSA 220.
- the unmasked residues and the masked residues in the partially-masked MSA 230 are replaced with corresponding ones of the channel embeddings 400.
- the corresponding ones of the channel embeddings 400 are summed with position embeddings for residue columns.
- the position embeddings can be learned and generated during the training of the PrimateAI language model.
- the sum of the corresponding ones of the channel embeddings 400 and the position embeddings are divided into chunks 640.
- the chunks 640 are concatenated in the channel dimension into a stack 660 and then linearly projected 670 to form an MSA representation 680.
- the linear projection 670 uses a plurality of onedimensional (ID) convolution filters.
- the channel embeddings 400 are also referred to herein as learned embeddings.
- the masked residues and the unmasked residues in the partially-masked MSA 230 are translated into the learned embeddings by using a look-up table that stores learned embeddings corresponding to the masked residues and the unmasked residues.
- the position embeddings are also referred to herein as residue position embeddings.
- the sum of the corresponding ones of the channel embeddings 400 and the position embeddings is also referred to herein as an embedded representation of the partially-masked MSA 230.
- the learned embeddings are concatenated with the residue position embeddings to generate the embedded representation.
- the embedded representation is chunked into the series of chunks 640.
- the chunks in the series of chunks are concatenated into the stack 660.
- the MSA representation 680 is also referred to herein as a projected (or compressed) representation of the embedded representation.
- the projected representation has in rows and r columns.
- the stack 660 is translated into the projected representation by using convolution operations, in accordance with one implementation. Note that the projected representation is not compressed at this stage in the making-data-smaller sense.
- the projected representation is “compressed” or “smaller” in comparison to the embedded representation if we did not stack rows, which is why row stacking lowers computational requirements. However, the projected representation is not smaller than the model input in terms of feature dimensionality.
- the fixed mask pattern is applied to the first thirty -two sequences of MSAs.
- the MSA tokens are encoded by learned 96-channel embeddings, which are summed with learned 96-channel position embeddings for residue columns before layer normalization.
- embeddings for the 1024 sequences in MSAs are split into thirty -two chunks, each containing thirty -two sequences, at periodic intervals along the sequence axis. These chunks are then concatenated in the channel dimension and mixed by linear projection.
- chunks can be referred to as different nonoverlapping rows of the MSA.
- the MSA can be “chunked” in other ways, such as column-wise, or some other irregular pattern.
- FIG. 7 illustrates an example architecture 700 of the PrimateAI language model.
- the PrimateAI language model comprises a cascade of axial-attention blocks 710 (e.g., twelve axial- attention blocks).
- the cascade of axial-attention blocks 710 takes the MSA representation 680 as input and generates an updated MSA representation 720 as output.
- Each axial-attention block comprises residuals that add a tied row-wise gated self-attention layer 712, a tied column-wise gated self-attention layer 714, and a transition layer 716.
- the transition layer 716 projects up to 3072 channels for GELU activation.
- the technology disclosed modified axial-gated self-attention to include tied attention, instead of triangle attention.
- Triangle attention has a high computation cost.
- Tied attention is the sum of dot-product affinities, between keys and values, across non-padding rows, followed by division by the square root of the number of non-padding rows, which reduces computational burden substantially.
- the mask revelation reveals unknown values at other mask locations after the cascade of axial-attention blocks 710.
- the mask revelation gathers features aligned with mask sites. For each masked residue in a row, the mask revelation reveals embedded target tokens at other masked locations in that row.
- the mask revelation combines an updated 768-channel MSA representation as the updated MSA representation 720 with 96-channel target embedded representation (token embeddings) 690 at locations indicated by a Boolean mask 770 which labels positions of mask tokens.
- the Boolean mask 770 which is a fixed mask pattern with stride 16, is applied row- wise to gather features from the MSA representation and target token embedding at mask token locations.
- Feature gathering reduces row length from 256 to 16, which drastically decreases the computational cost of attention blocks that follow mask revelation.
- the row is concatenated with a corresponding row from the gathered target token embedding where that location is also masked in the target token embedding.
- the MSA representation and partially revealed target embedding are concatenated in the channel dimension and mixed by a linear projection.
- the now-informed MSA representation 740 is propagated though residual row- wise gated self-attention layers (e.g., row- wise gated self-attention layer 750 and row-wise gated self-attention layer 756) and a transition layer 754.
- residual row- wise gated self-attention layers e.g., row- wise gated self-attention layer 750 and row-wise gated self-attention layer 756
- the attention is only applied to features at mask locations as residues are known for other positions from the MSA representation 680 provided as input to the PrimateAI language model. Thus, attention only needs to be applied at mask locations where there is new information from mask revelation.
- the transition layer 754 and the row-wise gated self-attention layer 756 can be repeated four times.
- a masked gather operation 760 collects features from the resulting MSA representation at positions where target token embeddings remained masked.
- the gathered MSA representation 772 is translated to predictions 790 for 21 candidates in the amino acid and gap token vocabulary by an output head 780.
- the output head 780 comprises a transition layer and a perceptron.
- Figure 8 shows details 800 of the disclosed mask revelation.
- Mask revelation allows more information during subsequent training improving the accuracy of predicting each residue of interest.
- the first step is to gather 804, 830, 862 all the tokens at the mask locations 802, 860 marked by the dots.
- gather is used here interchangeably with the term aggregate. This is done for tokens in the updated MSA representation 720, the periodically-spaced mask grid 210, and the embedded representation (embedding tokens) 690.
- the dashed lines and colors show how an MSA tile 806 and an embedding tile 844 are selected.
- Feature gathering reduces row length from 256 to 16 (6 to 2 in Figure 8), which drastically decreases the computational cost of attention blocks that follow mask revelation.
- Each of the gathered representations is tiled or replicated/cloned 808, 830, 866 by the number of masks in the rows. In the example shown in Figure 8, there are two masks per row. Therefore, there are two tiles that are concatenated as clones in cloned MSA tiles 810 and embedding tiles 870 as a result of cloning 808 and 866, respectively.
- Mask revelation 830 is the removal of all the masks in a tile except for those at a single position.
- the top tile of the gathered masks is masked at the first position-of-interest 834 and unmasked at all the other positions-of-interest 836.
- the second tile is masked at the second position-of-interest 838 and unmasked at all the other positions-of-interest 832.
- Mask revelation reveals other tokens in a row for each masked position in the row.
- positions are masked in the same way in both training and inference. This results in higher performance than changing to only masking the position-of- interest during inference.
- the location of interest’s position in input chosen to maximize input information because, for example, when the location of interest is centered at the mask, then more of the flanking columns of the MSA are included in the input that is processed by the PrimateAI language model.
- the remaining masks after mask revelation 830 are applied 868 to the embedding tile 844 to produce cloned and masked embedding tiles 870.
- the cloned and masked embedding tiles 870 are concatenated 872 with the cloned MSA tiles 810 to generate concatenated tiles 873.
- the concatenated tiles 873 are linearly projected 874 to produce the informed MSA representation 740.
- Figure 9 shows various components 900 of the PrimateAI language model, in accordance with one implementation.
- the components can include tied row-wise gated selfattention, row-wise gate self-attention, and column-wise gated self-attention.
- the PrimateAI language model can also use tied attention.
- Axial-attention creates independent attention maps for each row and column of the input. Sequences in an MSA usually have similar three-dimensional structures. Direct coupling analysis exploits this fact to leam structural contact information. To leverage this shared structure, it is beneficial to tie the row attention maps between the sequences in the MSA. As an additional benefit, tied attention reduces the memory footprint of the row attentions.
- tied attention reduces the memory footprint of the row attentions from O(ML 2 ) to O(L 2 ).
- M be the number of rows
- d be the hidden dimension
- Q m be the matrix of queries and keys for the m-th row of input.
- Tied row attention is defined, before softmax is applied, to be:
- the final model uses square root normalization.
- the model can also use mean normalization.
- the denominator 1(AL, d) is the normalization constant Id in standard scaled-dot product attention.
- the PrimateAI language model can be trained on four Al 00 graphical processing units (GPUs). Optimizer steps are for a batch size of 80 MSAs, which is split over four gradient aggregations to fit batches into 40 GB of Al 00 memory.
- Figure 17 illustrates the training of the PrimateAI language model using LAMB optimizer with gradient pre-normalization. Residual blocks are started as identity operations, which speeds up convergence and enables the PrimateAI language model.
- AdamW refers to ADAM optimizer with weight decay
- ReZeRO refers to Zero Redundancy Optimizer
- LR refers to LAMB optimizer with gradient pre-normalization. See, Large Batch Optimization for Deep Learning Training BERT in 76 minutes, Yang You, Jing Li, Sashank Reddi, et al., International Conference on Learning Representations (ICLR) 2020.
- the LAMB optimizer with gradient pre-normalization shows better performance (e.g., higher accuracy rate over fewer training iterations) and is more effective for a range of learning rates compared to the use of ADAMW optimizer and Zero Redundancy Optimizer.
- Axial dropout can be applied in self-attention blocks before residual connections. Post- softmax spatial gating in column-wise attention is followed by column-wise dropout while post- softmax spatial gating in row-wise attention is followed by row-wise dropout.
- the post-softmax spatial gating allows for modulation on exponentially normalized scores or probabilities produced by the softmax.
- the PrimateAI language model can be trained for 100,000 parameter updates.
- the learning rate is linearly increased over the first 5,000 steps from r
- 5x!0' 6 to a peak value of r
- 5 * 10' 4 , and then linearly decayed to r
- l O' 4 .
- Automatic mixed precision (AMP) can be applied to cast suitable operations from 32-bit to 16-bit precision during training and inference. This increases throughput and reduces memory consumption without affecting performance.
- AMP Automatic mixed precision
- a Zero Redundancy Optimizer reduced memory usage by sharding optimizer states across multiple GPUs.
- Figure 10 shows one implementation of the revelation output head 780 that can be used by the disclosed PrimateAI language model.
- the gathered MSA representation 772 can be translated by the output head 780 to predictions 790 for 21 candidates in an amino acid vocabulary including a gap token.
- an amino acid vocubulary can be enumerated and the amino acid enumerations are used to index a dictionary of learned embeddings.
- one-hot embeddings of amino acids can be used and combined with linear projections.
- Figure 11 is a computer-implemented method 1100 of the logic flow of the PrimateAI language model, in accordance with one implementation of the technology disclosed.
- a multiple sequence alignment (MSA) 220 can be accessed.
- the MSA can have p rows and r columns.
- the p rows can correspond to p protein sequences.
- the r columns can correspond to r residue positions.
- the periodically-spaced mask grid 210 can be accessed.
- the periodically-spaced mask grid 210 can have m mask distributions.
- Each of the m mask distributions can have k periodically-spaced masks at k ordinal positions that begin at varying offsets from a first residue position in the mask grid.
- the masked residues and the unmasked residues can be translated into channel embeddings 400 (or learned embeddings), the channel embeddings 400 (or learned embeddings) can be concatenated with residue position embeddings to generate an embedded representation (embedding token) 690 of the partially-masked MSA 230.
- the embedded representation (embedding token) 690 can be chunked (or split) into a series of chunks 640, chunks in the series of chunks 640 can be concatenated into a stack 650, and the stack 650 can be translated into a compressed representation as the MSA representation 680 of the embedded representation (embedding token) 690.
- the compressed representation as the MSA representation 680 can have m rows and r columns.
- axial-attention e.g., with axial-attention blocks 710
- the updated MSA representation 720 can have m rows and r columns.
- A; updated representation tiles (e.g., cloned MSA tiles 810) can be aggregated from the updated MSA representation 720.
- Each of the k updated representation tiles (e.g., cloned MSA tiles 810) can contain those updated representation features of the updated MSA representation 720 that correspond to the masked residues.
- Each of the k updated representation tiles can have m rows and k columns.
- a given column in the k columns of a given updated representation tile of the MSA tiles 806 can contain a respective subset of the updated representation features. The respective subset can be located at a given ordinal position in the k ordinal positions. The given ordinal position can be represented by the given column.
- a embedding tiles 870 corresponding to the k updated representation tiles can be aggregated from the embedded representation (embedding token) 690.
- Each of the k embedding tiles 844 can contain those embedding features in a first chunk of the series of chunks that are translations of the masked residues.
- Each of the k embedding tiles can have m rows and k columns.
- a given column in the k columns of a given embedding tile can contain a respective subset of the embedding features. The respective subset can be located at a given ordinal position in the k ordinal positions. The given ordinal position can be represented by the given column.
- A; Boolean tiles (e.g., at first point-of-interest 834 and second point-of- interest 838) can be applied to the k embedding tiles to generate k Booleaned (partially revealed) embedding tiles.
- Each of the k Boolean tiles can have m rows and k column.
- Each of the k Boolean tiles can cause concealment of a corresponding one of the k columns in a corresponding one of the k embedding tiles, and can cause revelation of other ones of the k columns in the corresponding one of the k embedding tiles.
- Each of the k Booleaned embedding tiles can have m rows and k columns.
- the k Booleaned (partially revealed) embedding tiles 870 can be concatenated with the k updated representation tiles (e.g., cloned MSA tiles 810) to generate k concatenated tiles 873, and the k concatenated tiles 873 can be translated into k compressed tile representations (informed MSA representation 740) of the k concatenated tiles 873.
- Each of the k compressed tile representations can have m rows and k columns.
- self-attention e.g., row-wise gated self-attention layer 750, transition layer 754, and row-wise gated self-attention layer 756
- self-attention can be iteratively applied to the k compressed tile representations 740 to generate interpretations of those compressed tile features in the k compressed tile representations that correspond to those embedding features in the k embedding tiles that are revealed by the k Boolean tiles.
- those interpreted features can be aggregated from the interpretations that correspond to those embedding features in the k embedding tiles that are concealed by the k Boolean tiles to generate an aggregated representation of the interpretations (gathered MSA representation 772).
- the aggregated representation can have m rows and k columns.
- the gathered MSA representation 772 can have translated into identities (e.g., predictions 790) of the masked residues.
- Figure 12 is a system 1200 that is configured to implement the PrimateAI language model, in accordance with one implementation of the technology disclosed.
- a memory 1202 can store a multiple sequence alignment (MSA) with a plurality of masked residues.
- MSA multiple sequence alignment
- a chunking logic 1204 can be configured to chunk the MSA into a series of chunks.
- a first attention logic 1206 can be configured to attend to a representation of the series of chunks and produce a first attention output.
- a first aggregation logic 1208 can be configured to produce a first aggregated output that contains those features in the first attention output that correspond to masked residues in the plurality of masked residues.
- the features include elements of an MSA, in one implementation, such as one-hot encodings of amino acids in the MSA.
- a mask revelation logic 1210 can be configured to produce an informed output based on the first aggregated output and a Boolean mask that, on a subset-by-subset basis, alternates between concealing a given subset of the masked residues and revealing remaining subsets of the masked residues.
- a second attention logic 1212 can be configured to attend to the informed output and produce a second attention output based on masked residues revealed by the Boolean mask.
- a second aggregation logic 1214 can be configured to produce a second aggregated output that contains those features in the second attention output that correspond to masked residues concealed by the Boolean mask.
- An output logic 1216 can be configured to produce identifications of the masked residues based on the second aggregated output.
- a system comprises chunking logic that chunks (or splits) a multiple sequence alignment (MSA) into chunks, first attention logic that attends to a representation of the chunks and produces a first attention output, first aggregation logic that produces a first aggregated output that contains those features in the first attention output that correspond to masked residues in the plurality of masked residues, mask revelation logic that produces an informed output based on the first aggregated output and a Boolean mask, second attention logic that attends to the informed output and produces a second attention output based on masked residues revealed by the Boolean mask, second aggregation logic that produces a second aggregated output that contains those features in the second attention output that correspond to masked residues concealed by the Boolean mask, and output logic that produces identifications of the masked residues based on the second aggregated output.
- MSA multiple sequence alignment
- Figure 13 shows the performance evaluation 1300 of the language modelling part of the PrimateAI language model (LM) compared to the replicated VAE part of EVE (J. Frazer et al., Disease variant prediction with deep generative models of evolutionary data. Nature 599, 91-95 (2021) (Evolutionary model of Variant Effect) labelled “EVE*”) model and their combined score (labelled “PrimateAI LM+EVE*-only”).
- EVE* Errary model of Variant Effect
- the performance is further compared to a selection of competitive unsupervised methods (ESMlv, SIFT, LIST-S2). In clockwise direction starting from the top left, the individual panels correspond to evaluation on DDD vs UKBB, Assays, ClinVar, ASD, CHD, DDD and UKBB.
- Performance of the PrimateAI language model is compared using deep mutational scanning assays for the following 9 genes: Amyloid-beta, YAP1, MSH2, SYUA, VK0R1, PTEN, BRCA1, TP53, and ADRB2.
- a few assays of the genes for which the predication scores of some classifiers are unavailable are excluded from the evaluation analysis, including TPMT, RASH, CALM1, UBE2I, SUMO1, TPK1, and MAPK1. Also excluded are assays of KRAS (due to different transcript sequence), SLCO1B1 (only 137 variants), and Amyloid-beta.
- Performance of the PrimateAI language model is evaluated by computing the absolute Spearman rank correlation between model prediction scores and assay scores individually for each assay and then taking the mean across all assays.
- the UK Biobank (UKBB) dataset contains 61 phenotypes across 100 genes. Evaluating on common variants of all methods reduces the number to 41 phenotypes across 42 genes. The absolute Spearman rank correlation is calculated between the predicted pathogenicity scores and the quantitative phenotype scores for each pair of gene/phenotype. Only gene/phenotype pairs with at least 10 variants were included in the evaluation (14 phenotypes across 16 genes). This confirmed that the evaluation is robust to this choice of threshold.
- ASD autism spectrum disorder
- DDD developmental disorders
- a set of DNM variants from patients with congenital heart disorders are obtained, consisting of 1,839 de novo missense variants from 1,342 patients (reducing to 314 variants from 299 patients after requiring availability of predictions of all methods).
- CHD congenital heart disorders
- a shared set of DNM variants from healthy controls are used, which contains 1,823 DNM variants from 1,215 healthy controls with at least one DNM variant and collected from multiple studies. It was reduced to 250 variants (235 patients) after requiring availability of variant prediction scores of all methods.
- the Mann-Whitney U test is applied to evaluate how well each classifier can distinguish the DNM set of patients from that of controls.
- BayesDel noAF BayesDel noAF
- CADD raw CADD
- DANN DigiLasDel
- DEOGEN2 LIST-S2
- M-CAP MutationTaster converted
- PROVEAN PROVEAN
- Polyphen2_HVAR Polyphen2; due to better performance then Polyphen2 HDIV
- PrimateAI Revel
- SIFT SIFT converted
- VEST4 fathmm-MKL coding (fathmm-MKL; highest performance among the fathmm models for given benchmarks).
- EVE is only applied to a small set of disease-associated genes in ClinVar.
- To generate the disclosed language model-based training data set it is essential to expand the predictions of EVE to as many proteins as possible.
- Due to unavailability of EVE source code a similar method DeepSequence is applied and converted DeepSequence scores into EVE scores by fitting Gaussian mixture models.
- An up-to-date version of UniRefl 00 is used, but otherwise followed the alignment depth and sequence coverage filtering steps described in EVE. At least 1 prediction in 18,920 proteins and a total of 50.2M predicted variants out of 71.2M possible missense variants are achieve.
- the replicated EVE models are evaluated using published variants from EVE. Scores from the replicated EVE model result in comparable performance to the published EVE software on all benchmarking datasets, e.g., both methods achieve 0.41 mean absolute correlation on Assays and 0.22 mean absolute correlation for UKBB.
- the PrimateAI language model falls into a class of methods only trained to model proteins sequences but performing surprisingly well as pathogenicity predictors. Despite not achieving the overall best performance by themselves, they make crucial features or components in classifiers incorporating more diverse data.
- Figure 13 summarizes the evaluation performance of the PrimateAI language model against other such sequence-only methods for pathogenicity prediction: ESMlv, EVE, LIST-S2, and SIFT.
- Our language model outperforms another language model ESMlv on all the testing datasets except assays using only l/50 th of the training time. This is particularly striking as PrimateAI LM does not rely on any fine-tuning on assays.
- Figure 14 depicts the Top-1 training accuracy 1400 of the PrimateAI language model.
- An ensemble of six PrimateAI language model networks was trained with different random seeds for training data sampling and model parameter initialization. Their top-1 accuracies during training are shown in Figure 14 for mask locations in the query sequence and all sequences in UniRef50 MS As. Top-1 accuracy for the query sequence is much lower than for all sequences as the query sequence does not contain gap tokens, which are easier to predict than residues because gap tokens often form long and contiguous segments in MSAs.
- the PrimateAI language model accuracy on query sequences continues to improve with training. In some implementations, convergence can be accelerated by adding auxiliary losses to each layer of the PrimateAI language model.
- Scores of the PrimateAI language model can be tabulated for future reference, rather than re-running the model every time its scores are needed.
- the PrimateAI language model fill-in-the-blank predictions can provided for locations of interest at every site in 19,071 human proteins, totaling predictions for 2,057,437,040 variants at 108,286,160 positions.
- these numbers would change, for example, if the small number of human proteins that were not included here were included.
- the PrimateAI language model can be ensembled to produced averaged scores that have higher performance than individual model scores.
- each prediction can be made by an ensemble of six models, with each model contributing at least four inferences with different random seeds for sampling and ordering of sequences in human MSAs.
- Inferences logits can be averaged by taking means of predictions grouped by random seed, and then taking the mean of the means.
- Pathogenicity prediction of a variant can be evaluated using the relative values of logits for reference and alternative amino acids, or evaluated by subtracting the logit value for the reference amino acid from the logit value for the alternative amino acid.
- the log difference captures how unlikely the variant amino acid is compared to the reference amino acid.
- the score does not consider the prediction of the other 18 possible amino acids, which contain information about the language models internal estimate of protein site conservation as well as convergence of the language model.
- the entropy term is small whenever the probability over all amino acids is dominated by a single term and large whenever the model is uncertain about the residues and assigns multiple residues high values. Physically, in this case the site is associated with little conservation and likely to mutate. This should lead to less pathogenic signal. Adjusting the scores by entropy incorporates a model internal estimate of amino acid conservation. A given log difference between residue and reference will be considered as more pathogenic whenever it is associated with a highly conserved site. The score adjustment additionally incorporates the lack of convergence associated with a heavily undertrained model.
- Logic e.g., masking logic
- Logic can be implemented in the form of a computer product including a non-transitory computer readable storage medium with computer usable program code for performing the method steps described herein.
- the “logic” can be implemented in the form of an apparatus including a memory and at least one processor that is coupled to the memory and operative to perform exemplary method steps.
- the “logic” can be implemented in the form of means for carrying out one or more of the method steps described herein; the means can include (i) hardware module(s), (ii) software module(s) executing on one or more hardware processors, or (iii) a combination of hardware and software modules; any of (i)-(iii) implement the specific techniques set forth herein, and the software modules are stored in a computer readable storage medium (or multiple such media).
- the logic implements a data processing function.
- the logic can be a general purpose, single core or multicore, processor with a computer program specifying the function, a digital signal processor with a computer program, configurable logic such as an FPGA with a configuration file, a special purpose circuit such as a state machine, or any combination of these.
- a computer program product can embody the computer program and configuration file portions of the logic.
- Figure 15 shows a computer system 1500 that can be used for compilation and runtime execution of the PrimateAI language model.
- Computer system 1500 includes at least one central processing unit (CPU) 1572 that communicates with a number of peripheral devices via bus subsystem 1555.
- peripheral devices can include a storage subsystem 1515 including, for example, memory devices and a file storage subsystem 1536, user interface input devices 1538, user interface output devices 1576, and a network interface subsystem 1574.
- the input and output devices allow user interaction with computer system 1500.
- Network interface subsystem 1574 provides an interface to outside networks, including an interface to corresponding interface devices in other computer systems.
- the phenotype predictor 150 (e.g., the PrimateAI language model) is communicably linked to the storage subsystem 1515 and the user interface input devices 1538.
- User interface input devices 1538 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.
- pointing devices such as a mouse, trackball, touchpad, or graphics tablet
- audio input devices such as voice recognition systems and microphones
- use of the term “input device” is intended to include all possible types of devices and ways to input information into computer system 1500.
- User interface output devices 1576 can include a display subsystem, a printer, a fax machine, or non-visual displays such as audio output devices.
- the display subsystem can include an LED display, 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.
- output device is intended to include all possible types of devices and ways to output information from computer system 1500 to the user or to another machine or computer system.
- Storage subsystem 1515 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 processors 1578.
- Processors 1578 can be graphics processing units (GPUs), field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), and/or coarse-grained reconfigurable architectures (CGRAs).
- GPUs graphics processing units
- FPGAs field-programmable gate arrays
- ASICs application-specific integrated circuits
- CGRAs coarse-grained reconfigurable architectures
- Processors 1578 can be hosted by a deep learning cloud platform such as Google Cloud PlatformTM, XilinxTM, and CirrascaleTM.
- processors 1578 include Google’s Tensor Processing Unit (TPU)TM, rackmount solutions like GX4 Rackmount SeriesTM, GX15 Rackmount SeriesTM, NVIDIA DGX-1TM, Microsoft’ Stratix V FPGATM, Graphcore’s Intelligent Processor Unit (IPU)TM, Qualcomm’s Zeroth PlatformTM with Snapdragon processorsTM, NVIDIA’ s VoltaTM, NVIDIA’ s DRIVE PXTM, NVIDIA’ s JETSON TX1/TX2 MODULETM, Intel’s NirvanaTM, Movidius VPUTM, Fujitsu DPITM, ARM’s DynamicIQTM, IBM TrueNorthTM, Lambda GPU Server with Testa VlOOsTM, and others.
- TPU Tensor Processing Unit
- rackmount solutions like GX4 Rackmount SeriesTM, GX15 Rackmount SeriesTM, NVIDIA DGX-1TM, Microsoft’ Stratix V FPGATM, Graphcore’s Intelligent Processor Unit (IPU)TM
- Memory subsystem 1522 used in the storage subsystem 1515 can include a number of memories including a main random access memory (RAM) 1532 for storage of instructions and data during program execution and a read only memory (ROM) 1534 in which fixed instructions are stored.
- a file storage subsystem 1536 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 1536 in the storage subsystem 1515, or in other machines accessible by the processor.
- Bus subsystem 1555 provides a mechanism for letting the various components and subsystems of computer system 1500 communicate with each other as intended. Although bus subsystem 1555 is shown schematically as a single bus, alternative implementations of the bus subsystem can use multiple busses.
- Computer system 1500 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 1500 depicted in Figure 15 is intended only as a specific example for purposes of illustrating the preferred implementations of the present invention. Many other configurations of computer system 1500 are possible having more or less components than the computer system depicted in Figure 15. Clauses
- the technology disclosed can be practiced as a system, method, or article of manufacture.
- 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.
- One or more implementations and clauses of the technology disclosed or elements thereof can be implemented in the form of a computer product, including a non-transitory computer-readable storage medium with computer usable program code for performing the method steps indicated. Furthermore, one or more implementations and clauses of the technology disclosed or elements thereof can be implemented in the form of an apparatus including a memory and at least one processor that is coupled to the memory and operative to perform exemplary method steps.
- one or more implementations and clauses of the technology disclosed or elements thereof can be implemented in the form of means for carrying out one or more of the method steps described herein; the means can include (i) hardware module(s), (ii) software module(s) executing on one or more hardware processors, or (iii) a combination of hardware and software modules; any of (i)-(iii) implement the specific techniques set forth herein, and the software modules are stored in a computer-readable storage medium (or multiple such media).
- clauses described in this section can include a non- transitory computer-readable storage medium storing instructions executable by a processor to perform any of the clauses described in this section.
- implementations of the clauses described in this section can include a system including memory and one or more processors operable to execute instructions, stored in the memory, to perform any of the clauses described in this section.
- a computer-implemented method of variant pathogenicity prediction including: accessing a multiple sequence alignment that aligns a query residue sequence to a plurality of non-query residue sequences; applying a set of periodically-spaced masks to a first set of residues at a first set of positions in the multiple sequence alignment, wherein the first set of residues includes a residue-of- interest at a position-of-interest in the query residue sequence; cropping a portion of the multiple sequence alignment that includes:
- each of the attention blocks includes a tied row-wise gate self-attention, followed by a column-wise gated self-attention, and followed by a transition logic.
- a computer-implemented method including: accessing a multiple sequence alignment (MSA), wherein the MSA has p rows and r columns, wherein the p rows correspond to p protein sequences, and wherein the r columns correspond to r residue positions; accessing a mask grid, wherein the mask grid has m mask distributions, and wherein each of the m mask distributions has k periodically-spaced masks at k ordinal positions that begin at varying offsets from a first residue position in the mask grid; applying the m mask distributions to m protein sequences in the p protein sequences to generate a partially-masked MSA that contains masked residues and unmasked residues, where p >nr, translating the masked residues and the unmasked residues into learned embeddings, concatenating the learned embeddings with residue position embeddings to generate an embedded representation of the partially-masked MSA; chunking the embedded representation into a series of chunks, concatenating chunks in the series of chunks
- each of the k Boolean tiles causes concealment of the corresponding one of the k columns in the corresponding one of the k embedding tiles, and causes revelation of at least some of the other ones of the k columns in the corresponding one of the k embedding tiles.
- each of the k Boolean tiles causes concealment of a corresponding subset of the k columns in the corresponding one of the k embedding tiles, and causes revelation of at least some of the other ones of the k columns in the corresponding one of the k embedding tiles.
- a system comprising: memory storing a multiple sequence alignment (MSA) with a plurality of masked residues; chunking logic configured to chunk the MSA into a series of chunks; first attention logic configured to attend to a representation of the series of chunks and produce a first attention output; first aggregation logic configured to produce a first aggregated output that contains those features in the first attention output that correspond to masked residues in the plurality of masked residues; mask revelation logic configured to produce an informed output based on the first aggregated output and a Boolean mask that, on a subset-by-subset basis, alternates between concealing a given subset of the masked residues and revealing remaining subsets of the masked residues; second attention logic configured to attend to the informed output and produce a second attention output based on masked residues revealed by the Boolean mask; second aggregation logic configured to produce a second aggregated output that contains those features in the second attention output that correspond to masked residues concealed by the
- a computer-implemented method including: accessing a multiple sequence alignment (MSA), wherein the MSA has p rows and r columns, wherein the p rows correspond to p protein sequences, and wherein the r columns correspond to r residue positions; accessing a mask grid, wherein the mask grid has m mask distributions, and wherein each of the m mask distributions has k periodically-spaced masks at k ordinal positions; applying the m mask distributions to m protein sequences in the p protein sequences to generate a partially-masked MSA that contains masked residues and unmasked residues, where p >nr, translating the masked residues and the unmasked residues into learned embeddings, concatenating the learned embeddings with residue position embeddings to generate an embedded representation of the partially-masked MSA; chunking the embedded representation into a series of chunks, concatenating chunks in the series of chunks into a stack, and translating the stack into a compressed representation of the embedded MS
- each of the k updated representation tiles has m rows and k columns, wherein a given column in the k columns of a given updated representation tile contains a respective subset of the updated representation features, wherein the respective subset is located at a given ordinal position in the k ordinal positions, and wherein the given ordinal position is represented by the given column.
- each of the k embedding tiles has m rows and k columns, wherein a given column in the k columns of a given embedding tile contains a respective subset of the embedding features, wherein the respective subset is located at a given ordinal position in the k ordinal positions, and wherein the given ordinal position is represented by the given column.
- a computer-implemented method of variant pathogenicity prediction including: accessing a multiple sequence alignment that aligns a query residue sequence to a plurality of non-query residue sequences; applying a set of periodically-spaced masks to a first set of residues at a first set of positions in the multiple sequence alignment, wherein the first set of residues includes a residue-of- interest at a position-of-interest in the query residue sequence; cropping a portion of the multiple sequence alignment that includes
- each of the attention blocks includes a tied row-wise gate self-attention, followed by a column-wise gated self-attention, and followed by a transition logic.
- a computer-implemented method including: accessing a multiple sequence alignment (MSA), wherein the MSA has p rows and r columns, wherein the p rows correspond to p protein sequences, and wherein the r columns correspond to r residue positions; accessing a mask grid, wherein the mask grid has m mask distributions, and wherein each of the m mask distributions has k periodically-spaced masks at k ordinal positions that begin at varying offsets from a first residue position in the mask grid; applying the m mask distributions to m protein sequences in the p protein sequences to generate a partially-masked MSA that contains masked residues and unmasked residues, where p >nr, translating the masked residues and the unmasked residues into learned embeddings, concatenating the learned embeddings with residue position embeddings to generate an embedded representation of the partially-masked MSA; chunking the embedded representation into a series of chunks, concatenating chunks in the series of chunks
- each of the k Boolean tiles causes concealment of the corresponding one of the k columns in the corresponding one of the k embedding tiles, and causes revelation of at least some of the other ones of the k columns in the corresponding one of the k embedding tiles.
- each of the k Boolean tiles causes concealment of a corresponding subset of the k columns in the corresponding one of the k embedding tiles, and causes revelation of at least some of the other ones of the k columns in the corresponding one of the k embedding tiles.
- a system comprising: memory storing a multiple sequence alignment (MSA) with a plurality of masked residues; chunking logic configured to chunk the MSA into a series of chunks; first attention logic configured to attend to a representation of the series of chunks and produce a first attention output; first aggregation logic configured to produce a first aggregated output that contains those features in the first attention output that correspond to masked residues in the plurality of masked residues; mask revelation logic configured to produce an informed output based on the first aggregated output and a Boolean mask that, on a subset-by-subset basis, alternates between concealing a given subset of the masked residues and revealing remaining subsets of the masked residues; second attention logic configured to attend to the informed output and produce a second attention output based on masked residues revealed by the Boolean mask; second aggregation logic configured to produce a second aggregated output that contains those features in the second attention output that correspond to masked residues concealed by the
- a computer-implemented method including: accessing a multiple sequence alignment (MSA), wherein the MSA has p rows and r columns, wherein the p rows correspond to p protein sequences, and wherein the r columns correspond to r residue positions; accessing a mask grid, wherein the mask grid has m mask distributions, and wherein each of the m mask distributions has k periodically-spaced masks at k ordinal positions; applying the m mask distributions to m protein sequences in the p protein sequences to generate a partially-masked MSA that contains masked residues and unmasked residues, where p >nr, translating the masked residues and the unmasked residues into learned embeddings, concatenating the learned embeddings with residue position embeddings to generate an embedded representation of the partially-masked MSA; chunking the embedded representation into a series of chunks, concatenating chunks in the series of chunks into a stack, and translating the stack into a compressed representation of the embedded MS
- each of the k updated representation tiles has m rows and k columns, wherein a given column in the k columns of a given updated representation tile contains a respective subset of the updated representation features, wherein the respective subset is located at a given ordinal position in the k ordinal positions, and wherein the given ordinal position is represented by the given column.
- each of the k embedding tiles has m rows and k columns, wherein a given column in the k columns of a given embedding tile contains a respective subset of the embedding features, wherein the respective subset is located at a given ordinal position in the k ordinal positions, and wherein the given ordinal position is represented by the given column.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Theoretical Computer Science (AREA)
- Bioinformatics & Computational Biology (AREA)
- Biophysics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Biology (AREA)
- Biotechnology (AREA)
- Chemical & Material Sciences (AREA)
- Data Mining & Analysis (AREA)
- Proteomics, Peptides & Aminoacids (AREA)
- Analytical Chemistry (AREA)
- Bioethics (AREA)
- Evolutionary Computation (AREA)
- Epidemiology (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Public Health (AREA)
- Artificial Intelligence (AREA)
- Genetics & Genomics (AREA)
- Molecular Biology (AREA)
- Peptides Or Proteins (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
Claims
Applications Claiming Priority (9)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202163294830P | 2021-12-29 | 2021-12-29 | |
| US202163294828P | 2021-12-29 | 2021-12-29 | |
| US202163294816P | 2021-12-29 | 2021-12-29 | |
| US202163294827P | 2021-12-29 | 2021-12-29 | |
| US202163294820P | 2021-12-29 | 2021-12-29 | |
| US202163294813P | 2021-12-29 | 2021-12-29 | |
| US17/975,536 US20230207060A1 (en) | 2021-12-29 | 2022-10-27 | Mask pattern for protein language models |
| US17/975,547 US20230207061A1 (en) | 2021-12-29 | 2022-10-27 | Pathogenicity language model |
| PCT/US2022/082368 WO2023129897A1 (en) | 2021-12-29 | 2022-12-23 | Mask patterns for protein language models for predicting pathogenicity |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| EP4457821A1 true EP4457821A1 (en) | 2024-11-06 |
Family
ID=92377700
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP22856958.8A Pending EP4457821A1 (en) | 2021-12-29 | 2022-12-23 | Mask patterns for protein language models for predicting pathogenicity |
Country Status (5)
| Country | Link |
|---|---|
| EP (1) | EP4457821A1 (en) |
| JP (1) | JP2025502815A (en) |
| KR (1) | KR20240121892A (en) |
| CN (1) | CN118451507A (en) |
| CA (1) | CA3242647A1 (en) |
-
2022
- 2022-12-23 JP JP2024539695A patent/JP2025502815A/en active Pending
- 2022-12-23 CA CA3242647A patent/CA3242647A1/en active Pending
- 2022-12-23 CN CN202280086376.1A patent/CN118451507A/en active Pending
- 2022-12-23 EP EP22856958.8A patent/EP4457821A1/en active Pending
- 2022-12-23 KR KR1020247024940A patent/KR20240121892A/en active Pending
Also Published As
| Publication number | Publication date |
|---|---|
| CN118451507A (en) | 2024-08-06 |
| JP2025502815A (en) | 2025-01-28 |
| KR20240121892A (en) | 2024-08-09 |
| CA3242647A1 (en) | 2023-07-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20230207061A1 (en) | Pathogenicity language model | |
| Zhang et al. | Crossformer: Transformer utilizing cross-dimension dependency for multivariate time series forecasting | |
| Zerveas et al. | A transformer-based framework for multivariate time series representation learning | |
| WO2023129955A1 (en) | Inter-model prediction score recalibration | |
| US20230223100A1 (en) | Inter-model prediction score recalibration | |
| CN116843970B (en) | Fine-grained small-shot classification method based on task-specific channel reconstruction network | |
| CN117546241A (en) | Use of a protein contact map based on transfer learning for the prediction of pathogenicity of variants | |
| JP2024538475A (en) | Predicting variant pathogenicity from evolutionary conservation using three-dimensional (3D) protein structure voxels | |
| CN112735596A (en) | Similar patient determination method and device, electronic equipment and storage medium | |
| KR20230170679A (en) | Efficient voxelization for deep learning | |
| WO2023129897A1 (en) | Mask patterns for protein language models for predicting pathogenicity | |
| Safoury et al. | Enriched dna strands classification using cgr images and convolutional neural network | |
| EP4457821A1 (en) | Mask patterns for protein language models for predicting pathogenicity | |
| US20240290425A1 (en) | Calibrating pathogencity scores from a variant pathogencity machine-learning model | |
| Réda et al. | stanscofi and benchscofi: A new standard for drug repurposing by collaborative filtering | |
| JP7712387B2 (en) | Deep convolutional neural networks to predict variant pathogenicity using three-dimensional (3D) protein structures | |
| CN117581302A (en) | Combinatorial learning and transfer learning of variant pathogenicity predictors using gapped and non-gapped protein samples | |
| WO2023129957A1 (en) | Deep learning network for evolutionary conservation determination of nucleotide sequences | |
| CN117178326A (en) | Deep convolutional neural networks to predict variant pathogenicity using three-dimensional (3D) protein structures | |
| Vu et al. | Exploration of chaos game representation and integrative deep learning approaches for whole-genome sequencing-based grapevine genetic testing | |
| Guo et al. | Feature selection based on genetic algorithm with stochastic disturbance local optimization | |
| KR20240041877A (en) | Transfer learning-based use of protein contact maps to predict variant pathogenicity | |
| Nguyen et al. | Evaluation of deep learning tools for chromatin contact prediction | |
| WO2023129923A1 (en) | Species proximity-aware evolutionary conservation profiles | |
| Wei et al. | Inter-chain contact prediction based on Mamba and triangular geometric constraints |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: UNKNOWN |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20231222 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC ME MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| DAV | Request for validation of the european patent (deleted) | ||
| DAX | Request for extension of the european patent (deleted) | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40118924 Country of ref document: HK |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: EXAMINATION IS IN PROGRESS |
|
| 17Q | First examination report despatched |
Effective date: 20250801 |