Termsslug: backpropagation

Backpropagation

反向传播

Core algorithm for training neural networks, computing gradients of the loss function with respect to weights layer-by-layer fro

Curated Intelligence

5 items · Page 1/1
Hacker News AIT2·Tools
58 pts
Rebuilding PyTorch Autograd in 60 Lines of Python

The article rebuilds PyTorch's autograd engine in roughly 60 lines of plain Python: each forward operation records how to pass gradients back, and backward() walks those records in reverse. Objects are named and shaped like PyTorch's own, so the two graphs can be printed side by side and every gradient checked numerically.

Hacker News AIT2·Models
22 pts
Explainer Walks Through Four Intuitions Behind How Neural Nets Understand Text

This is a beginner-oriented tutorial that explains how neural networks understand text through four progressive 'aha' moments: a single neuron acting like an if-statement, a neural bag-of-words that can fit arbitrary rules, embeddings that give each word its own meaning profile, and finally complex concepts emerging and compounding inside networks. It introduces no new model, experiment, or data, and is conceptual education rather than news.

机器之心 (微信公众号)T2·Models
78 pts
Q Labs Introduces 'Dust': Gradient-Free Pretraining for Transformers

Startup lab Q Labs has introduced 'Dust', a zeroth-order optimization method claimed to be the first gradient-free technique competitive with backpropagation in Transformer pretraining. By adding Gaussian noise to activations to create a 'virtual population' and evaluating loss changes via forward passes, Dust estimates update directions without requiring differentiability.

宝玉 (@dotey)T2·Models
78 pts
Handwired: Open-Source Tool Converts Program Logic into Differentiable Neural Nets with Zero Training and Exact Inference

Former React core member Cheng Lou open-sourced Handwired, a tool that maps program logic like if-else statements directly to neural network weights without training, ensuring outputs match original JavaScript code exactly. By using ReLU activations to simulate conditional branches, the project supports full differentiability and demonstrates capabilities such as running complex UIs in browsers, accelerating regex searches via WebGPU parallelism, and optimizing layouts through real-time backpropagation, exploring the intersection of symbolic computation and neural networks.