GradIEEEnt half decent: The hidden power of imprecise lines

suckerpinch1 HN recommenders · 2023–2024
391K views · explainer · evergreen · Uploaded 2023-05-01

Tom 7 (suckerpinch) delivers a long, comedic digression on gradient descent and floating-point imprecision. He shows how rounding behavior can supply the nonlinearity needed to build a neural network.

Cited as a fun, unconventional example of neural networks built from floating point error.

Watch on YouTube

4 comments from Hacker News

@superkuh2023 · in “Numbers every LLM Developer should know”

Cool stuff. I looked at [LINK] and I noticed that that the fp8 support is only for the tensor cores and not the CUDA side. Does that mean training with H100 GPU in fp8 mode would use some software ecosystem that's not the existing vast existing CUDA one? Or am I just misunderstanding CUDA cores vs tensor cores? PS, as a joke, they should implement GPU fluint8 and get baked in non-linearity for the activation function without even using a non-linear function, [VIDEO] ("GradIEEEnt half decent: The hidden power of imprecise lines" by suckerpinch)

@Uehreka2023 · in “"We'll call it AI to sell it, Machine Learning to Build it"”

I don’t get what people are trying to say when they say these kinds of things about AI. That human-level writing is as simple as a linear regression? That we could’ve had computer programs capable of human-level writing decades ago? Have they not used these AIs enough to see how powerful they are? Are they seeing the bad outits and thinking that AIs are always doing that poorly? Like seriously, if you’re telling me that it was obvious that a “linear regression” could pass the LSAT I’ve got a macvlan to sell you. Edit: they’re also literally not linear regression! [VIDEO]

@jcparkyn2024 · in “Your Transformer is Secretly Linear”

A fun example of that (making a neural network using floating point error as a source of non-linearity): [VIDEO]

RecommendsView on HN
@jcparkyn2024 · in “Were RNNs all we needed?”

> squash an output into a range This isn't the primary purpose of the activation function, and in fact it's not even necessary. For example see ReLU (probably the most common activation function), leaky ReLU, or for a sillier example: [VIDEO]