1/29
Comprehensive vocabulary flashcards reviewing neural network hyperparameter optimization, graph neural network message-passing architectures, activation function families, and execution environments.
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.
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.
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.
PyG Node Feature Matrix (x)
In the conformational ensemble graph data structure, a tensor with shape [245,20] representing 245 constituent nodes, each characterized by a 20-dimensional one-hot encoded vector representing the 20 amino acids.
PyG Graph Connectivity Tensor (edge_index)
A directed edge connectivity tensor with shape [2,11032] consisting of two rows that record source node indices and target node indices across 11032 total directed edges.
PyG Edge Attribute Tensor (edge_attr)
A tensor with shape [11032,1] describing the physical and geometrical properties for each directed edge, where the single feature value denotes the Euclidean distance between connected nodes.
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.
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.
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.
PYTORCH_CUDA_ALLOC_CONF
A configuration set to 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.
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.
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.

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

Activation Function
A mathematical operation applied to a neuron's net weighted input plus bias (f(z)=f(∑wixi+b)) that injects non-linearity, preventing multi-layer networks from collapsing into a single linear equation (y=mx+b).
Batch Normalization (BatchNorm)
A technique that standardizes layer inputs across a mini-batch to zero mean and unit variance before scaling by learnable parameters (γ) and shifting by (β), stabilizing training and counteracting internal covariate shift.
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.
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.
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.
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.
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.
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.
ReLU (Rectified Linear Unit)
A thresholding activation function defined as max(0,x) that preserves positive numbers unchanged and clamps negative inputs to zero, providing computational efficiency but risking permanent neuron inactivity (dying ReLUs).
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.
RReLU (Randomized Leaky ReLU)
A regularizing activation function that randomly samples the slope for negative inputs from a uniform distribution (a∼R(l,u)) during training and fixes it during inference to curb overfitting.
ELU (Exponential Linear Unit)
An activation function defined as α(exp(x)−1) for x<0 that smoothly approaches a negative saturation limit, bringing mean unit activations closer to zero to stabilize gradient descent paths.
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.
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.
Swish
A smooth, non-monotonic activation function defined as x⋅sigmoid(βx) that dips slightly below zero before rising linearly, allowing subtle negative gradients to propagate in deep models such as EfficientNet.
Mish
A smooth, self-gated activation function mathematically expressed as xtanh(softplus(x)) that preserves uninterrupted gradient flow across complex optimization landscapes without sharp thresholds.
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.