应用人工智能工程——深入探索软件、深度学习及将它们付诸实践的系统。
特征检测器:神经元如何读取与写入
从词频计数出发,追踪消息如何经过特征检测器得到垃圾邮件预测,再比较手动设定的权重与训练学到的权重。
Explores
- 词频计数与特征空间
- 传入权重与读取方向
- 激活值与传出贡献
- 学到的检测器与神经元消融
从导数到反向传播:Micrograd 背后的理论
Build from derivatives to the chain rule and backpropagation, then map each rule onto Micrograd’s forward values and accumulated gradients.
Explores
- Derivatives and partial derivatives
- Chain rule on a computation graph
- Backpropagation and gradient accumulation
- Micrograd’s forward and backward pass
向量分解和子空间:矩阵读取和擦除的内容
Break activation vectors into components and see which input directions a matrix keeps, which it erases, and why different inputs can give the same output.
Explores
- Decomposing activation vectors
- The four fundamental subspaces
- Null space and vanishing directions
- Identical outputs from distinct inputs
权重矩阵做了什么,以及为什么需要非线性
See a weight matrix as a transformation of the input space, then find out why stacked linear layers buy nothing new and what activations add.
Explores
- Matrices as rotations, scalings, projections
- Why linear layers collapse to one
- What activation functions make possible
深入拆解:如何为 LLM 智能体组装上下文
Compare how coding agents assemble context, and measure how those choices affect cost, cache reuse, and task completion.
Explores
- Full history, recent turns, and summaries
- Prompt caching and tool output design
- Context strategies in real coding agents
- Benchmarks and failure modes
读懂 CNN——卷积、特征图与池化
Follow how convolutions turn pixels into feature maps, and how deeper layers combine simple patterns into richer representations.
Explores
- Convolution filters and feature maps
- Stride, padding, and receptive fields
- Pooling and spatial dimensions
- Combining features across layers
神经网络如何学习:反向传播与梯度下降
Follow how a neural network learns: measure prediction errors, trace gradients backward, and use them to update weights with interactive examples.
Explores
- Loss functions and parameter sensitivity
- The chain rule through network layers
- Gradient descent and learning rates
- Stochastic and mini-batch updates