Completed
-
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 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.
-
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.
-
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 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.
-
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.
-
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 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.
-
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.
-
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.
-
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.
-
Tie Lecture 11–14 into one thread: sequence protocols, container representation, dictionary lookups, data abstraction, and tree recursion.
-
Integrate Lecture 22–25 into one line: use objects to combine recursive structures, use growth orders to measure costs, use decomposition to control complexity, and finally synthesize a runnable design case.
-
CS61A Module · Functions and Abstractions: From Expression Evaluation to Environment Models
CompletedBlends Lectures 1–7 into one thread: expression evaluation, def and function objects, control flow, higher-order functions, environment models, and functional abstraction.
-
Integrate Lecture 28–34 into a language-making pipeline: change the syntax to look at evaluation, use linked lists and symbols to represent code, write a minimal interpreter, write the interpreter to be able to interpret Scheme, use tail calls to turn recursion into iteration, and finally let the program generate a program.
-
Unify mathematical notation into function calls, disassemble the interpreter and calculate the whole process of 208; Attached is the course resource and course selection list.
-
Starting from the name, assignment and def, establish the evaluation mental model of "call = new frame + bound formal parameters + executed function body".
-
Separate "return values" from "side effects": pure functions, environments, conditionals, and while loops.
-
Extract repetitive calculation patterns into parameters: from fib iterations, if_ failures, short-circuit evaluation, to summation and make_adder.
-
Frame-by-frame explanation of higher-order function calls, parent frame rules for nested defs, local scoping, lambdas, and currying using environment diagrams.
-
Complete a song in function space: waveforms, superpositions, envelopes and octave transposition.
-
Use the environment diagram to clarify the parent frame rules of closures, and then fall into search, abstract barriers, naming and traceback.
-
Use four real questions to practice "Inferring Interaction Output" and Closure Environment Diagram, and then go through the function implementation process and decorators from description, template to code.
-
Use base cases and recursive cases to define functions, rely on call frames to expand evaluation, and then use a leap of faith to verify correctness.
-
From the calling sequence of cascade to the call tree of fib and exponential repeated calculations, and then dismantling the bipartite recursive decomposition of count_partitions.
-
Unify lists and ranges with sequence abstraction: indexing, splicing, membership testing, for expansions, and deductions.
-
Putting lists, strings, and dictionaries back into the environment graph: box pointers, slicing, aggregate functions, the peculiarities of strings, dictionary keys and comprehensions.
-
Use rational numbers to get through data abstraction: constructors and selectors form a contract, and abstract barriers separate representation and use.
-
Treating trees as data abstractions: Constructors and selectors, the three components of tree recursion, and two aggregation strategies.
-
Learn how objects change over time: aliases, is and ==, variadic traps, and encapsulating state into functions.
-
Use iter/next to turn a container into a position: consume once, lazy evaluation, map/filter/zip, and the deck version of blackjack.
-
Explain the generator using the pause and resume of yield, and compare the benefits of laziness with three ways of writing partitions.
-
Taking data abstraction one step further: class statements, instance construction, properties and methods, and implicit binding of self.
-
Once obj.attr has to go through two stations: instance and class, but attributes are never searched: clarify the three rules of search, assignment and method binding.
-
Use a bank account to explain inheritance clearly: subclasses only write differences, base class attributes rely on search, and multiple inheritance depends on the parsing order to determine who to look at first.
-
Let the object answer "what string should I display as" by itself: division of labor between str and repr, evaluable representation, special methods and operator overloading.
-
Use classes to write linked lists first/rest and tree labels/branches, pair recursive structures with recursive functions, and weigh in-place modifications and new structures.
-
Replacing stopwatches with operation counting: exponential explosion of fib and linearization of memo, notation of five growth orders, and spatial accounting of active environments.
-
Use modules and interfaces to break up large programs: pluggable sorting, similarity and hierarchical dependencies, and finally use linear intersection to speed up the program three times.
-
The tools from the first twenty lectures are packed into a series of small questions: list aliasing and shallow copying, attribute lookup, comprehensions and recursive linked lists.
-
Think of the language model as a scoring function f(context, word), and go through n-gram counting, greedy generation, sampling, neural network training and human feedback alignment in sequence.
-
Lecture 27 · Midterm Examples: A question-by-question analysis of the five midterm questions
CompletedFive mid-term real questions are broken down one by one: the path of the tree, the selection sequence counting and the recursive writing method of k-ary integer decomposition.
-
Lecture 28 · Introduction to Scheme: Prefix expressions, special forms and procedural values
CompletedRelearn evaluation in a fifty-year-old language: prefix expressions, define and special forms, lambda, recursion, and hand-written evaluators.
-
Scheme's lists are linked lists: box needle diagrams of cons/car/cdr and nil, quote letting symbols themselves be values, map/filter/apply and recursively constructing subsets.
-
Writing a calculator interpreter with Scheme syntax: expression trees, calc_eval dispatch, error handling and REPL loops.
-
Lecture 31 · Interpreters: scheme_eval dispatch, frame and environment, eval/apply mutual recursion
CompletedSplit the Scheme interpreter into scheme_eval and scheme_apply: special form dispatch, procedure objects and frame chains, and two scopes.
-
Writing recursion as iteration: evaluation rules for tail position, frame multiplexing, and constant space.
-
Think of programs as lists: bidirectional channels for quote and eval, quasi-reference slots, and letting Scheme write recursive code for you.
-
Use define-macro to add new special forms to Scheme: quasi-reference spelling out code, macro expansion before evaluation, and the demarcation and cost of macros and procedures.
-
From tables, rows, and columns to select's from, where, and order by: declare the desired results and let the database decide how to calculate them.
-
Join multiple tables to check: join semantics of cross products, aliases and dot expressions, self-joins, multi-table joins and numerical/string expressions.
-
Upgrade row-by-row queries to whole table statistics: MIN/MAX/SUM/AVG/COUNT, DISTINCT, GROUP BY and HAVING.
-
Complete the entire database process: CREATE/DROP TABLE, INSERT/UPDATE/DELETE, sqlite3 connections and placeholders, commit placement, and a blackjack demonstration of two connections sharing a database.
-
Two tree questions are used to demonstrate the general process of the final example questions: reading questions, hand calculation, finding hooks, reading templates, tracking, and testing.
-
The whole lesson is concluded with an expression question called seven times: turning expressions into objects, enumerating objects into solutions, and then pulling the lens back to people and society.
-
Tie Lecture 15–21 together: mutability brings identity, iterators and generators make execution states into objects, classes and inheritance turn lookups into protocols, and representations connect objects back to the language.
-
From function contract to self-referential recursion, to the number of nodes and tree height of the call tree: three lectures look at the trust model and cost model of recursion.
-
Integrate Lecture 26, 27, 39, and 40 into one line: language models as external tools, operational solutions to mid-term and final questions, and a panoramic view of the course at the end.
-
Four lectures are integrated into one line: declarative query, cross product join, group aggregation, and finally writing to disk and Python.
-
Understand Ax=b from three perspectives: rows, columns, and matrices, and see how linear combinations generate the entire space.
-
Lecture 2 · Matrix elimination
CompletedUse Gaussian elimination to transform the system of equations into an upper triangle, and understand the conditions for failure of pivot components, multipliers, and elimination.
-
Understand matrix multiplication from four perspectives, and master the existence conditions and methods of finding inverse matrices.
-
Lecture 4 · LU decomposition of $A$
CompletedWrite the elimination process as A=LU and understand why matrix factorization is the core of numerical calculations.
-
Understand transposition, permutation and vector space, and master the definition and determination of subspace.
-
Lecture 6 · Column space and null space
CompletedUse column space and null space to describe the solvability of Ax=b and the degree of freedom of the solution.
-
Lecture 7 · Solving $A\boldsymbol{x}=\boldsymbol{0}$: Host variables and special solutions
CompletedUse pivot components and free variables to write all solutions to Ax=0, and understand special solutions and null spaces.
-
Use the row simplest form R to judge the solvability of Ax=b and write down the general solution.
-
Understand linear independence, basis and dimension, and learn to calculate the dimension of subspace.
-
Lecture 10 · Four basic subspaces
CompletedMaster the four basic subspaces and their dimensional relationships, and establish a spatial map of the entire course.
-
Think of the matrix itself as a vector space and understand the generative power of rank 1 matrices.
-
Use correlation matrices to describe graphs and networks, and understand loops, potentials and Kirchhoff's laws.
-
Lecture 13 · First Test Review
CompletedReview part one: elimination, four subspaces and the main line of rank.
-
Understand orthogonal vectors and orthogonal subspaces, and master the relationship between orthogonal complement and four subspaces.
-
Lecture 15 · Projection on subspace
CompletedDerive the projection formula and understand why projection gives the best approximation.
-
Master projection matrices and least squares, and understand normal equations.
-
Use Gram-Schmidt to turn a set of basis into an orthonormal basis and understand QR decomposition.
-
Lecture 18 · Properties of Determinants
CompletedStarting from the three defining properties, all the properties of the determinant are deduced.
-
Master the large formulas of determinants and algebraic cofactor expansions.
-
Unify Cramer's rule, inverse matrix formula, and volume using determinants.
-
Understand eigenvalues and eigenvectors, and master the method of finding characteristic polynomials.
-
Use diagonalization to calculate the power of a matrix and understand the conditions for diagonalization.
-
Solve systems of linear differential equations and understand matrix exponents exp(At).
-
Understand the stationary state of Markov matrices and the projective structure of Fourier series.
-
Lecture 24b · Second Test Review
CompletedReview Part 2: Orthogonality, Projection, Determinants, and Eigenvalues.
-
Understand the orthogonal diagonalization of symmetric matrices and the determination of positive certainty.
-
Understand the structure of complex matrices, Hermitian matrices and FFTs.
-
Use positive definite matrices to determine the minimum value of a multivariate function, and master the combination method and principal formula.
-
Understand similarity matrices and Jordan standard forms, and deal with non-diagonalizable situations.
-
Master singular value decomposition and understand the "rotation-stretch-rotation" structure of any matrix.
-
Understand how linear transformations correspond to matrices, and how the choice of basis changes the matrix.
-
Simplifying matrices with basis transformations and understanding low-rank approximations in image compression.
-
Lecture 32 · Third test review
CompletedReview Part 3: Eigenvalues, Positive Definiteness, SVD, and Linear Transformations.
-
Understand left inverse, right inverse and pseudo inverse, and deal with generalized inverse of rectangular matrices.
-
Lecture 34 · General Review
CompletedGeneral review: eight main lines and core test points that connect the entire course.
-
MIT 18.06 Linear Algebra · Video Book
CompletedA linear algebra textbook reconstructed with 35 lecture videos and complete verbatim manuscripts. Each lecture is one chapter and can be read independently.
No notes with this status yet.
