CS231n
-
CS231n Computer Vision: A History of Visual Intelligence from the Cambrian to ImageNet (Lecture 1)
CompletedThe three main lines of visual intelligence—the hierarchical structure of biological vision, differentiable learning rules, and large-scale data—converged into AlexNet in 2012; all progress in the following ten years is based on the premise that algorithms, data, and computing power are in place at the same time.
-
The k nearest neighbor piles the cost at the prediction time, and the linear classifier moves the cost into a 10×3072 matrix; Softmax then reads the score into probability, and cross entropy becomes the only referee.
-
Regularization is an adjustable knob in the loss function, and optimization is to blindly rely on the slope of your feet to find the lowest point: L2 flattens the weight, L1 creates sparseness, and the three lesions of SGD each have corresponding repair methods.
-
The value of the hidden layer is not in the depth but in the combinable template; backpropagation is just a chain rule recursively along the calculation graph, multiplying the local gradient with the upstream gradient.
-
Convolution replaces "one template per image" with "a small template sliding across the entire image", allowing the parameter amount and computing power to depend on the filter size rather than the image size; the cost is that receptive fields, step sizes, and pooling must be used to make up for the lost spatial range.
-
Heap depth does not mean getting stronger: VGG uses 3×3 small convolutions to save parameters under the same receptive field, and ResNet uses identity shortcuts to make 152 layers optimizable; initialization, normalization, enhancement, and migration determine whether the capacity can be realized.
-
Press the variable-length sequence into a fixed-length hidden state: the same set of weights recurses in time, at the cost of BPTT's memory bill and the gradient of continuous multiplication along time. The conveyor belt of LSTM is the exit for this continuous multiplication.
-
The fixed-length context vector is the narrow mouth for sequence transformation; scaling dot product attention replaces it with the last weighted sum of the set, and after four matrix multiplications, the Transformer is left with only this component that allows the vectors to talk to each other.
-
CS231n Computer Vision: Object Detection, Semantic Segmentation and Visualization (Lecture 9)
CompletedSegmentation spreads the classification to each pixel, and detection compresses the variable-length output into a fixed-length tensor; sliding window, R-CNN, YOLO, and DETR each use a compression method for speed, and CAM and Grad-CAM then spread the decision back to the pixel space.
-
With one more T dimension, the storage increases to 10 GB per minute, and the 3D convolution increases to 39.5 GFLOPs; the difference between single frame, late fusion, early fusion, dual stream and I3D essentially lies in which layer of fusion the time information is placed.
-
The real constraint of the trillion-parameter model is not the peak computing power but the video memory and bandwidth: the calculation is divided along the four axes of batch, sequence, layer, and dimension, and then MFU is used to determine whether each cutting method is worthwhile.
-
CS231n Computer Vision: Self-supervised Learning and Contrastive Representation (Lecture 12)
CompletedLabels are the only resource that cannot be expanded: rotation, puzzle, inpainting, coloring, MAE and InfoNCE turn unlabeled pixels into supervised signals at the expense of task design and negative sample budget.
-
p(x) allows all images to compete for the same probability budget: the autoregression is split into T conditional probabilities using the chain rule, and VAE inserts an encoder q(z|x) to replace the uncalculated integral with a trainable lower bound.
-
CS231n Computer Vision: Generative Model (2): Adversarial Game and Diffusion Flow (Lecture 14)
CompletedGAN uses a discriminator instead of likelihood, in exchange for clear samples but losing the loss curve; diffusion uses dozens of steps of denoising to get back the loss; today's pipeline is VAE compression, DiT denoising, and GAN finishing.
-
Every transition in 3D vision is driven by representation: point clouds and grids change resolution, implicit functions change internal and external determination and differentiable rendering, and NeRF connects the two to volume rendering.
-
There is only one criterion for the basic model: pre-train once and adapt elsewhere. CLIP exchanges comparison targets for zero samples, LLaVA and Flamingo exchange interfaces, SAM exchanges output, and series connection exchanges combination methods.
-
The four paradigms of robot learning - trial and error, learning world model, copying demonstration, and basic model - are essentially about changing the chips between "how much real interaction is required" and "how far it can be generalized"; and evaluation is the real bottleneck in this industry.
-
The three-stage road of visual intelligence - imitating the human eye, surpassing the human eye, and returning to human value; data and algorithms determine the upper limit of capabilities, and who will decide the direction is another question.
-
The semantic gap can only be filled by learning: kNN places the cost on the prediction moment, the linear classifier presses the cost into a 10×3072 matrix, and Softmax reads the score into probability.
-
The loss surface geometry determines what diseases the optimizer wants to treat, and backpropagation determines whether these drugs can get the correct gradient; the two lectures are connected to form a complete training chain.
-
Convolution uses local connections and weight sharing to decouple parameters from image size; VGG stacks 3×3 into a receptive field, ResNet uses residuals to push the depth to 152 layers, and initialization and enhancement determine whether the capacity can be realized.
-
Three axis changes in sequence modeling: Hidden state suppresses history, gates open bypass, and attention allows each position to directly review all inputs. The cost is changed from O(T) serial to O(N²) video memory.
-
Detection compresses the variable-length output into a fixed-length tensor, segmentation suppresses the resolution and then raises it back up, and interpretability amortizes the category score back to pixels - the three lines share the same set of convolutions and attention calculations.
-
The dimension with more videos makes one minute of HD occupy 10 GB, and C3D rises to 39.5 GFLOPs; the difference between single frame, late fusion, early fusion, 3D convolution and dual stream is only in which layer the time information is fused.
-
After the model is too big to fit into a card, there are only two ledgers left for training: the memory ledger determines how big the model can be, and the communication ledger determines how fast it runs. The four segmentation axes and MFU are all balancing these two ledgers.
-
If you can't buy tags, you should first learn representation. If the representation is not enough, you have to write density: autoregression, VAE, GAN, and diffusion each give up one thing, and modern pipelines stack the four into one pipeline.
-
The three-dimensional representation exchange is a query interface, and the visual connection language is a task interface: both lectures push vision from a label to a queryable and combinable structure.
-
The robot has one more causal edge than the classifier - the action will rewrite the input of the next step; the four learning paradigms are all about "how much real interaction is exchanged for how far generalization", and neither the ruler nor the target are in the model.
No notes with this status yet.
