Deep Learning and Graph Neural Networks for Protein Ensembles

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/29

flashcard set

Earn XP

Description and Tags

Comprehensive vocabulary flashcards reviewing neural network hyperparameter optimization, graph neural network message-passing architectures, activation function families, and execution environments.

30 Terms

1
New cards

Protein Language Models

Models trained on massive collections of amino acid sequences that learn representations encoding protein evolution, structural properties, biological function, and the specific effects of amino acid substitutions.

2
New cards

Vanishing Gradients

A training failure that occurs when gradients shrink exponentially as they flow backward through layers during backpropagation, causing updates in early layers to become infinitesimally small and halting learning.

3
New cards

Exploding Gradients

A training failure where gradients grow exponentially during backpropagation across many layers, causing weight updates to swing wildly and eventually overflow into uncomputable NaN (Not a Number) values.

4
New cards

PyG Node Feature Matrix (xx)

In the conformational ensemble graph data structure, a tensor with shape [245,20][245, 20] representing 245245 constituent nodes, each characterized by a 2020-dimensional one-hot encoded vector representing the 2020 amino acids.

5
New cards

PyG Graph Connectivity Tensor (edge_index)

A directed edge connectivity tensor with shape [2,11032][2, 11032] consisting of two rows that record source node indices and target node indices across 1103211032 total directed edges.

6
New cards

PyG Edge Attribute Tensor (edge_attr)

A tensor with shape [11032,1][11032, 1] describing the physical and geometrical properties for each directed edge, where the single feature value denotes the Euclidean distance between connected nodes.

7
New cards

OMP_NUM_THREADS

An environment variable setting that forces OpenMP backend numerical routines to execute on a single CPU thread per process, preventing CPU thrashing, freezes, and thread deadlocks in parallel pipelines.

8
New cards

MKL_NUM_THREADS

An environment variable configuration used to restrict Intel's Math Kernel Library (MKL) to a single thread per process, eliminating low-level CPU thrashing and memory overhead during parallel matrix operations.

9
New cards

OPENBLAS_NUM_THREADS

An environment variable used to limit the OpenBLAS linear algebra library to a single CPU thread, preventing rogue background threads from scaling across all available cores on AMD and Linux machines.

10
New cards

PYTORCH_CUDA_ALLOC_CONF

A configuration set to expandable_segments:True\text{expandable\_segments:True} that instructs PyTorch's native CUDA allocator to dynamically expand existing GPU memory blocks, drastically mitigating VRAM fragmentation and Out of Memory (OOM) crashes.

11
New cards

torch.no_grad()

A PyTorch context manager that temporarily deactivates the automatic differentiation engine to prevent the creation of dynamic computational graphs, reducing memory usage and accelerating inference.

12
New cards

Hidden Dimension

A hyperparameter specifying the number of neuron placeholders and embedding vector lengths in a hidden layer, dictating the model's expressive capacity to project inputs into non-linear, separable spaces.

13
New cards
<p>Residual (Skip) Connection</p>

Residual (Skip) Connection

An architectural bypass mechanism that routes the original layer input xx around intermediate weight transformations and adds it directly to the layer output, computing F(x)+xF(x) + x to maintain gradient flow across deep networks.

14
New cards
<p>Activation Function</p>

Activation Function

A mathematical operation applied to a neuron's net weighted input plus bias (f(z)=f(∑wixi+b)f(z) = f(\textstyle\sum w_i x_i + b)) that injects non-linearity, preventing multi-layer networks from collapsing into a single linear equation (y=mx+by = mx + b).

15
New cards

Batch Normalization (BatchNorm)

A technique that standardizes layer inputs across a mini-batch to zero mean and unit variance before scaling by learnable parameters (γ\gamma) and shifting by (β\beta), stabilizing training and counteracting internal covariate shift.

16
New cards

Internal Covariate Shift

The ongoing shift in the distribution of intermediate layer inputs during training caused by continuous parameter updates in preceding layers, forcing subsequent layers to constantly readapt and slowing convergence.

17
New cards

Message Passing (Neighborhood Aggregation)

The core operation in graph neural networks where a node aggregates feature vectors from its directly connected neighbors and updates its central state using a learnable weight transformation.

18
New cards

Oversmoothing

A unique structural bottleneck in deep graph neural networks where stacking too many message-passing layers causes node representations to blend together until they become mathematically indistinguishable.

19
New cards

GCNConv (Graph Convolutional Network)

A spatial graph convolution layer that computes a normalized weighted average of neighbor features based strictly on static node degrees and graph topology, making it prone to oversmoothing and poor on inductive tasks.

20
New cards

GATConv (Graph Attention Network)

An attentional graph convolution layer that uses self-attention mechanisms to dynamically compute edge coefficients, learning to weight the relative importance of specific neighbors over others.

21
New cards

SAGEConv (GraphSAGE)

A scalable graph convolution layer that samples a fixed-size subset of local neighbors and explicitly concatenates the aggregated neighborhood features with the node's central state, enabling mini-batch inductive learning.

22
New cards

ReLU (Rectified Linear Unit)

A thresholding activation function defined as max⁡(0,x)\max(0, x) that preserves positive numbers unchanged and clamps negative inputs to zero, providing computational efficiency but risking permanent neuron inactivity (dying ReLUs).

23
New cards

PReLU (Parametric ReLU)

A parameterized variant of ReLU that replaces the zero floor for negative inputs with a small learnable slope, allowing negative signals to pass through and preventing dead neurons in deep vision architectures.

24
New cards

RReLU (Randomized Leaky ReLU)

A regularizing activation function that randomly samples the slope for negative inputs from a uniform distribution (a∼R(l,u)a \sim \mathcal{R}(l, u)) during training and fixes it during inference to curb overfitting.

25
New cards

ELU (Exponential Linear Unit)

An activation function defined as α(exp⁡(x)−1)\alpha(\exp(x) - 1) for x<0x < 0 that smoothly approaches a negative saturation limit, bringing mean unit activations closer to zero to stabilize gradient descent paths.

26
New cards

SELU (Scaled Exponential Linear Unit)

An activation function that scales an exponential linear unit with fixed mathematical constants to induce self-normalization, allowing deep Self-Normalizing Neural Networks (SNNs) to train without explicit batch normalization layers.

27
New cards

GELU (Gaussian Error Linear Unit)

A smooth activation function that weights inputs according to a Gaussian cumulative distribution, widely serving as the core non-linearity in modern Transformer architectures like BERT and GPT.

28
New cards

Swish

A smooth, non-monotonic activation function defined as x⋅sigmoid(βx)x \cdot \text{sigmoid}(\beta x) that dips slightly below zero before rising linearly, allowing subtle negative gradients to propagate in deep models such as EfficientNet.

29
New cards

Mish

A smooth, self-gated activation function mathematically expressed as xtanh⁡(softplus(x))x \tanh(\text{softplus}(x)) that preserves uninterrupted gradient flow across complex optimization landscapes without sharp thresholds.

30
New cards

HardSwish

A computationally efficient piecewise linear approximation of Swish that avoids expensive exponential calculations, designed to deliver high accuracy with low latency on mobile hardware like MobileNetV3.