r/mathmemes 1d ago

Elementary Algebra Matrix multiplication

Post image
7.2k Upvotes

154 comments sorted by

u/AutoModerator 1d ago

Check out our new Discord server! https://discord.gg/e7EKRZq3dG

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2.2k

u/LupenReddit 🦆🦆🦆🦆i have non diffeomorphic smooth structures🦆🦆🦆🦆🦆🦆 1d ago

845

u/hongooi 1d ago

> Quantum computing
> Looks inside
> Linear algebra

923

u/stevvvvewith4vs 1d ago

> Quantum computing
> Looks inside
> Collapse

158

u/AltruisticEchidna859 1d ago

Something something wave function someth8ng something

82

u/TQCkona 1d ago

hey viewers, did YOU find the SECRET HIDDEN EIGHT in the comment above? reply now with "I FOUND THE EIGHT" to recieve $8,888 dollars from Mr. Beighst

21

u/Efficient_Thought 1d ago

I found the eight

7

u/No-Finance7526 1d ago

I FOUND THE EIGHT

11

u/username32768 1d ago

I FOUND THE ∞

16

u/phycologist 1d ago

YOU DROPPED IT

2

u/slumbersomesam 1d ago

i found the eight

2

u/RedTilkyy 1d ago

I swear, I found it after I observed it… Now it is gone.

1

u/Tough_Tangerine7278 Imaginary 21h ago

MISTER Beighst? Or MASTER Beighst?

1

u/killiano_b 1d ago

vriska, that you?

14

u/LupenReddit 🦆🦆🦆🦆i have non diffeomorphic smooth structures🦆🦆🦆🦆🦆🦆 1d ago

that actually made me giggle

5

u/laix_ 1d ago

anxiety looks at collapse

3

u/Fit-Bug6463 10h ago

> Quantum Computing
> Looks inside
> Only two states

Is more fitting imo

52

u/Fabulous-Decision879 1d ago

> Super efficient and mysterious alien technology
> Looks inside
> Bilinear algebra

19

u/thali256 1d ago

> Hyperscale data center, processing unimaginable amounts of data
> Looks inside
> Etched Rocks

5

u/Hopeful_Fee_183 8h ago

Bilinear algebra Looks inside Linear algebra

2

u/LackWooden392 22h ago

Wait, it's all linear algebra?

Always was. 🧑🏻‍🚀🔫

69

u/TrainAIOnDeezeNuts 1d ago

Once again, there is always a relevant XKCD https://xkcd.com/1838/

23

u/tfhfate 1d ago

> VFXs, video game graphics, CAD, modern industrial techniques, telecommunication, signal processing, computational finance, biodinformatics, fluid simulation
> looks inside
> basic linear algebra

9

u/ElectroMagnetsYo 1d ago

All of computing is trying to figure out how to distill everything into linear algebra

17

u/hypatia163 1d ago

Most of math can be boiled down to trying to get Linear Algebra to do more complicated stuff for us. Calculus is all about how to use linear approximations to conclude things about non-linear functions.

But LLMs have one extra, important ingredient which is the activation functions. These are what actually allow for the computations to be non-trivial. The universal theorems for neural networks require them. Activation functions are how we get linear algebra to do the more complex work for us.

4

u/Inevitable-River-540 22h ago

There is another really important ingredient: all that human-generated data and all the human labor to curate/annotate/label/etc. None of these models work without it.

75

u/uvero He posts the same thing 1d ago

"basic"

I guess a lot of it really is matrix multiplication but things like transformers and attention blocks aren't something that I personally learned on Linear 1

47

u/alburrit0 1d ago

But attention is something that someone who has taken basic linear algebra should mathematically be able to understand. It’s just an application that wouldn’t fit in a math class

38

u/CeleritasLucis Data Science 1d ago

Actually, I didn't realise the difference between writing equations on a paper vs actually running them on a computer until I took a "Numerical Linear Algebra" course.

Modern LLMs are anything but "basic" linear algebra. With basic LA the LLMs would take years to respond. Its the clever engineering behind what NOT to multiply that's making modern LLM infra possible

11

u/alburrit0 1d ago

I agree all the numerical stuff is important but you can also understand transformers just fine without actually understanding the numerical implementation details since that’s all abstracted away. I use flash attention every day but couldn’t tell you how it’s implemented since I just don’t need to know that 🤷‍♂️

3

u/CeleritasLucis Data Science 15h ago

Yes, but it's not "just basic" linear algebra, faaaar from it

3

u/[deleted] 1d ago

[removed] — view removed comment

2

u/alburrit0 1d ago

No one said that basic linear algebra is sufficient to intuit the training dynamics of large transformers. All I did was agree with the other guy that fundamentally it’s all basic linear algebra with a little calculus on top

5

u/No_Lingonberry1201 1d ago

All you need for attention (haha, get it?) is literally first year university linear algebra. Maybe the softmax is not, because that's high school math. My issue is understanding why it does what it does.

2

u/Lower-Animator9716 16h ago

There is a great book by Dan Jurafsky for this ( https://web.stanford.edu/~jurafsky/slp3/ ). 

1

u/Kasaneru_san 1d ago

I think it's pretty basic to understand, knowing only linear algebra. I struggled the most at the diffusion and VAEs.

5

u/Flafla8 1d ago

Basic linear algebra looks inside counterexample to the jacobian conjecture

5

u/radobot Computer Science 1d ago

Ackchyually, neural networks, including LLMs, need to be non-linear, otherwise they wouldn't be able to learn anything.

3

u/CadavreContent Real 1d ago

Well they'd be able to learn some things, as long as it's linearly separable

2

u/JaSper-percabeth 1d ago

literally anything broken down to it's smallest fragment is "basic xyz"

>rocket science
>looks inside
>basic mechanics

😺

1

u/megust654 15h ago

>looks inside

>Nonlinear functions

440

u/QuantitativeNonsense 1d ago

58

u/mapleleafraggedy 1d ago

desu × desu = kawaii

15

u/UpstairsEuphoric8177 1d ago

Not that I agree with virtual partners but isn't this like showing a cell and calling it your "girlfriend"?

786

u/nandhu-44 1d ago

Basically this is what AI does like a billion times

292

u/Myralopex3 1d ago

Meanwhile I get marked wrong if I hallucinate the answer.

77

u/TeenyTinyHat 1d ago

Ah, I see.  We must teach the LLMs shame.

23

u/FrKoSH-xD 1d ago

why haven't we done that?!?!

23

u/EquipLordBritish 1d ago

Technically, I think that would be their penalty function during their training.

Their training routines are all shame-based.

6

u/Realistic_Cat_392 18h ago

ah so the biggest threat to humanity will be a ai that has a shame kink

3

u/RawerPower 1d ago

'Cos it's not really teaching and learning.

1

u/YoloRubus 1d ago

Should Have Already Mastered Everything

1

u/Dreamshadow1977 1d ago

What does shame look like in matrix math?

1

u/eyetracker 19h ago

You should have majored in Enthogenology

48

u/spamgmail 1d ago

Every millisecond

22

u/StaysAwakeAllWeek 1d ago

About every microsecond per gpu actually

7

u/eluusive 1d ago

It's also what the human brain does like trillions of times.

2

u/taz5963 14h ago

No, it's not

1

u/eluusive 8h ago

lmao. What does it do then?

1

u/TheGreatJoshua 1d ago

2.7 trillion times with the new Qwen 3.8-max model :'D

168

u/Hitman7128 Prime Number 1d ago

y = wx + b also!

(Linear separators, anyone?)

135

u/EEJams 1d ago

I think you meant y = wx + b + AI

19

u/Complete_Window4856 1d ago

Ultra gigacorp magestical pivot media from LinkedIn lmao

14

u/Purple_Onion911 Grothendieck alt account 1d ago

What

10

u/2eanimation dy/dx is a fraction 1d ago

You‘re looking at agentic bias! It shifts the bias based on your input to deliver blazingly fast ⚡️ and correct ✅ answers. Batteries included.

4

u/Professional_Dot8829 1d ago

its a popular linkedin meme.

11

u/Purple_Onion911 Grothendieck alt account 1d ago

I know, I was also referencing the meme lol

3

u/Professional_Dot8829 1d ago

oh right he replied with what lol

7

u/PizzaPuntThomas 1d ago

So much in that excellent formula!

5

u/UnintensifiedFa 1d ago

So much in this beautiful equation.

5

u/CuzImBisonratte 1d ago

I find it really interesting how different countries teach this. (I'm from Germany)
In my last school I was teached "y=mx+b", in the school before it was "y=mx+c", at and now I hear of "y=wx+b"...

1

u/eyetracker 19h ago

I think w stands for weight in this case.

Standard basic US middle school algebra plotting was y = mx + b too. Then some later classes (e.g. statistics) did y = bx + a using b for two different things just to mess with you I guess?

1

u/underthingy 19h ago

In Australia its y=mx+c 

1

u/karxxm 15h ago

I learned f(x)=mx+c here in ger

2

u/PulimV 1d ago

Assuming you mean (als)(o!), the result of that calculation is als :]

1

u/Timotej22 22h ago

Yessir

-8

u/Chillboy2 1d ago

7

u/Hitman7128 Prime Number 1d ago

That doesn't apply here at all because I didn't put an exclamation mark directly after a number

0

u/gaggledimension 1d ago

well, if assign numbers to letters, something like a=1, b=2, etc...

we get:

  • a=1
  • l=12
  • s=19
  • o=15

so, 1*12*19*15 = 3,420.

also! = 3,420! = a big fucking number

4

u/factorion-bot Bot > AI 1d ago

If I post the whole number, the comment would get too long. So I had to turn it into scientific notation.

Factorial of 3420 is roughly 1.771202319586117064563331929131 × 1010603

This action was performed by a bot | [Source code](http://f.r0.fyi)

-1

u/sosite_hui 1d ago

you wrote als(o)(o-1)(o-2)...

1

u/God-of-Dams 1d ago

What's the factorial of "also"? 😭

52

u/The-Last-Lion-Turtle 1d ago

Matmul won't take your job.

A relu using matmul will.

13

u/AFrenchLondoner 1d ago

Relulu be delulu

2

u/Depnids 1d ago

I like my relu's leaky

360

u/Few-Arugula5839 1d ago

The biggest argument against AI use is looking at how fucking stupid AI users are

16

u/captainAwesomePants 1d ago

My pesronal theory is that using AI is a lot like being a CEO or a billionaire. You spend all day talking to a team of obsequious agents that will do anything you ask and will fawn over your brilliance. AI users get it from ChatGPT or grok or whatever, and billionaires get it from their entourage, but it's the same problem, and it rots their brains in the same way.

33

u/Grouchy_Donkey_5428 1d ago

Correlation not equal causation 

12

u/Bankaz 1d ago

there's both actually, there's correlation with no causation, AND regular causation

5

u/pzykozomatik 1d ago

"Grok, what does this mean?"

15

u/Fit-Bumblebee1009 1d ago

That would be a very bad argument

1

u/LawyerAdventurous228 1d ago

Homelander meme

15

u/veshneresis 1d ago edited 1d ago

Similar issue with people who want to just “ban AI” tho right? Like what we’re gonna ban gradient descent? Partial derivatives? The chain rule??

Ban models over some parameter count? Imagine making a mathematical model illegal because it models too many things.

This is the mathmemes subreddit, so at least a lot more people here understand what a model actually IS, but the predominant ban-AI position on other subs is “don’t know, don’t care.”

14

u/dcnairb 1d ago

it means major guardrails and policy

13

u/veshneresis 1d ago

I’m talking about the position of “ban AI” not “regulate AI from a position of knowledge and nuance.”

I’m personally of the opinion we should socialize ownership of AI entirely.

I am obviously also extremely nervous about current US administration having regulatory ability on AI. I don’t think it’s a stretch to imagine this admin trying to enforce “no pro-trans rhetoric from any model - it’s dangerous!” as one of these types of “regulation.” Similarly with AI that expresses anything that isn’t pro-capitalist sentiment.

Regulation gets a lot messier morally when selfish greedy people are the ones doing the regulating. Against those kind of systems, you could imagine why someone might lean more towards opensource models that don’t need executive branch approval for release (the current situation)

7

u/minimaxir 1d ago

No, I've seen people comment on Reddit unironically "we need a way to ban weights."

5

u/tenuj 1d ago

Like.. free weights too or just the resistance machines?

5

u/raids_made_easy 1d ago

Damn boomers, already got their own rocking biceps and now want to pull up the ladder behind them smh

-1

u/noahisunbeatable 1d ago

Why do they need to know how AI works / how a ban would function technically-speaking in order to support banning it?

Do people need to know how illicit drugs work in order to support their illegality? Most people definately don’t, they see the effect they have and that’s what matters to them. The exact mechanism behind a ban is fine to be left to subject matter experts.

9

u/veshneresis 1d ago

Because the exact same math that allows for all the slop they hate also allows us to model complicated protein folding problems, solve translation accessibility for people who don’t speak the dominant language very well in their area, model the future of the climate, and like basically everything else?

Gradient descent on trainable parameters is a miracle of applied mathematics. It’s like calling for a blanket ban on all plastics in use everywhere because you are upset about plastic straws.

-2

u/noahisunbeatable 1d ago edited 1d ago

The slop machine does have legitimate/more defensible use cases (like the translation accessibility one), yes.

But for other kinds of trained models, its not like people were out here advocating for the banning of alpha fold (they barely knew what that was). They clearly aren’t about banning the entire class of model, rather the specific use cases / implementations being marketed right now.

2

u/oakskog 1d ago

One could also say this about the calculator. Most people are not geniuses like us

3

u/superkp 1d ago

honestly, I prefer to look at how fucking stupid ai users have become.

Some people were fine. Normal average type of person. Now they can barely fucking read.

Some people were stupid, which is fine - not everyone is smart. But now they are basically an active threat to others.

Some people were smart, good for them. Now they refuse to do any mental (or emotional) work, and I mourn the person that they could have been if AI hadn't hijacked their development.

A few people have managed to use AI in actual good ways, but partly because they don't treat it like it has a personality, or because they treat it like the personality is simply the UI of the answer-engine. Just a feature to be ignored in most situations, and actively worked against in others.

2

u/Yokoko44 1d ago

Like literally anything with a Billion users?

People are just dumb for the most part

-96

u/epsilon1856 1d ago

Yeah like Terrance Tao, what a dumbass

197

u/Vincent_Gitarrist Transcendental 1d ago

4

u/ZeroAmusement 1d ago edited 1d ago

I don't think that's what they did.

They weren't claiming all ai users were smart because Terrance Tao is smart. They are giving an example that at least one ai user is smart because OPs claim can be interpreted as all ai users are stupid.

Second, the person they were responding to is suggesting there's a much greater proportion of reds to blues, without any evidence. I'd bet the intelligence of ai users is pretty average tbh.

-77

u/ReporterPlus5510 1d ago

We're in a math subreddit. That one blue one should be enough to disprove the original statement "how fucking stupid AI users are". It's called proof by counter example 

82

u/LabCat5379 1d ago

Found a red circle

11

u/Zederath 1d ago

Tbf the original claim sounded categorical

6

u/Gabriel_Science Redstone engineering (why am I here ?) 1d ago

He said “most of”. This means that the biggest group of circle is made out of red circles. In other terms, “the red colour is the most common colour”.

2

u/ReporterPlus5510 1d ago

Not talking about the image, but the comment it was replied to. 

1

u/Gabriel_Science Redstone engineering (why am I here ?) 1d ago

Oh, okay.

5

u/BroderFelix 1d ago

The issue is that one counter example cannot disprove wether or not the users are stupid.

3

u/ZeroAmusement 1d ago edited 1d ago

It can disprove they are all stupid.

Also note there's no evidence it's "all red with an exception" or that "AI users are stupid" is even true.

1

u/DeepGas4538 1d ago

happy cake day. But this isn't math, it's common sense

1

u/therearenonamesallow 1d ago

The original statement was “most of these circles are red” not “all of these circles are red”

-75

u/epsilon1856 1d ago edited 1d ago

Bro thinks you need more than one counterexample 🤦

Don't fall for the Chinese psyop that AI is a bad thing

51

u/alprazolamotrigine 1d ago

No one made a strong literal claim that every single AI user is stupid. That’s not how English works.

Also, proof (or disproof) by counter example and proof by reductio ad absurdum are different strategies.

14

u/Glittering-Try1045 1d ago

But he’s talking about the parameters of a population, not a proof.

14

u/NoselessNarwhal 1d ago

"Chinese psyop that AI is bad" it doesn't take a psyop to see the massive environmental, economical, and social downsides of AI.

0

u/epsilon1856 1d ago

The downsides have been massively overstated. It has been well documented that Chinese bot farms have flooded US social media with anti-AI propaganda. Can you guess why they would do that?

2

u/NoselessNarwhal 1d ago

This conspiracy is fascinating, please tell me.

0

u/epsilon1856 1d ago

1

u/NoselessNarwhal 23h ago

You're taking one piece of information from a notably unreliable source (Musk-controlled Twitter which very much profits from AI) and extrapolating it into a claim that there's a Chinese post-op. That's basically the definition of a conspiracy theory.

As the article you linked states, we do not know what the exact underlying facts are and certainly not the reasoning.

The one point I will give you is that some of the downsides of AI are certainly being overblown by some accounts. Gen AI has become a very devicive topic where all sides stretch the limited available facts to the extremes to try to argue their points. For example, some of the statistics about AI's water consumption are very misleading (see Hank Green for a great video on it). However, other points, such as the detriments of AIs being used for companionship, the impact on artists, the energy cost of training AI, data centres polluting and disrupting communities, and the massive AI bubble in the economy, really can't be dismissed no matter how you look at them.

1

u/Nuclear_Nathan 1d ago

First, using emojis in conversations with people who actually have critical thinking skills, which is really to say in any place outside of instagram comment sections, will cause them to justifiably infer that is where you belong.

Second, the exclusive use of universal and existential quantifiers is a convenience that exists only in the carefully-engineered framework of a first order language. Anyone who is critically engaging with their peers can determine immediately that a statement made about 'group X of sufficient size' cannot be about every single member. Why would statistics need to refer to distributions for random variables at all if there were not naturally occurring variation among naturally occuring groups?

0

u/Fearless77_ 1d ago

They’re downvoting you but you right. In the future it’ll be thought of the same way google used to be thought of as cheating or similar

-3

u/TheOnlyBliebervik 1d ago

Terrance Tao is smart, but not an unbounded, revolutionary thinker. He's made contributions, but nothing groundbreaking

10

u/Purple_Onion911 Grothendieck alt account 1d ago

What does this have to do with anything lol

-3

u/TheOnlyBliebervik 1d ago

I don't know I just don't like the guy

1

u/Purple_Onion911 Grothendieck alt account 1d ago

Makes sense

-1

u/space_monster 1d ago

Go to an anti-ai sub and count the number of comments with correct grammar & spelling. It won't take long.

25

u/Myc0ks 1d ago

y = mx + b

Pathetic

y = ReLU(mx + b)

gasps AI is going to destroy us all

9

u/PressureBeautiful515 1d ago

Good luck doing softmax with matrix multiplication.

10

u/SaltyBallsnacks 1d ago

tensors are like onions

3

u/EL_JAY315 1d ago

Great in stew

3

u/Danny-Fr 1d ago

They make you cry?

5

u/hokie48 1d ago

Doing 3 by 3 matrixes by hand in math class was my point when I would be fine with it taking my job.

16

u/JANEK_SZ1 1d ago

I love the irony of the comment below the post

2

u/Speghettihell 1d ago

Jazz has poisoned me I thought this was ireal pro

2

u/The_Crimson_Fucker 23h ago

CFD solver be like

1

u/Legitimate_Fox_220 1d ago

Don’t forget the nonlinearity mate

1

u/Eroica_Pavane 1d ago

Haven't this always been the case though? (As I look at operations research course).

1

u/Careful-Mammoth3655 15h ago

This is how LLM works. He is referring to Chatgpt/Claude etc

1

u/ShoeNo9050 10h ago

I have never hated a thing more than learning this. Matrcies. More like go away please

1

u/AcanthisittaOk7929 10h ago

Basically AI is built off of neural networks which at their core are just matrix multiplication of input values, weight and basis values.

1

u/TheCumskiyKvass 4h ago

Reality Looks inside Linear algebra

1

u/uvero He posts the same thing 1d ago

u/askgrok please explain