r/ProgrammerHumor • • 1d ago • Popcorn 1

Meme machineLearningIntoABar

Post image
12k Upvotes

120 comments sorted by

1.4k

u/unknown_pigeon 1d ago edited 1d ago

A reinforcement learning algorithm walks into a bar.

"JCKSOENBWKFOCJWBJEJQBWNFOOWNWBHHWNWNCIEI", it asks the bartender.

1.3k

u/unknown_pigeon 1d ago • Bravo Heartwarming

A reinforcement learning algorithm walks into a bar for the millionth time.

"Hey John, I'll have the usual, whiskey sour with a slice of lemon. Anyway, how's your wife doing? Are the kids doing fine in pre-school? I know it can be a chore", it says to the bartender.

"She died yesterday", the bartender replies.

"JCKSOENBWKFOCJWBJEJQBWNFOOWNWBHHWNWNCIEI", the algorithm replies before blowing up.

Another algorithm walks in and says "Hey John, I'll have the usual, whiskey sour with a slice of lemon. Anyway, how's your dead wife doing?"

868

u/Corsaka 1d ago • Bravo

A machine learning algorithm based on Reddit is already at the bar. It says, "I also choose this guy's dead wife." It repeats this endlessly to every new algorithm that asks.

188

u/PeaNought 1d ago

fucking seriously.

81

u/Cessnaporsche01 22h ago

It's how we keep her memory alive. GNU that guy's dead wife

43

u/psmgx 21h ago

I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus that guy's dead wife

56

u/DJDevon3 1d ago

right in front of my dead wife

21

u/lucklesspedestrian 22h ago

I hope the guy's dead wife's boyfriend is doing okay

10

u/Megalesios 19h ago

The bartender serves a drink in a highball glass. 500 machine learning algorithms based on Reddit flock to the counter to say "the cylinder must not be harmed"

30

u/CaptainDildobrain 23h ago

I kinda feel this is like in Groundhog Day when Phil is trying to woo Rita by creating the perfect day and refining his response each loop iteration.

12

u/IndependentLove2292 22h ago

Ah, but unfortunately, AI will keep trying that same tact and won't become disillusioned and begin to improve itself in other ways that inadvertantly create the perfect day by just being a better entity. If we're sticking to the analogy, AI won't be able to talk it's way into GAI. 

6

u/CaptainDildobrain 19h ago edited 9h ago

Ah, but it will do the equivalent of covertly stealing bags of money from an armoured truck while the guard help Doris pick up the change she dropped.

Also the find the idea of an AI giving up on reinforcement learning by dropping a toaster in the bath to be pretty funny.

EDIT: "Don't back-propagate angry now! Don't back-propagate angry!"

4

u/MjrLeeStoned 18h ago

If you can't program shame into an AI it will never have real responses.

2

u/Saint_of_Grey 15h ago

Does GAI stand for "Groundhog Artificial Intelligence" in this case?

5

u/Bananaramaaaaa 22h ago

Oh, I like this analogy, might use it in presentations :)

17

u/drunk_kronk 1d ago

I like this one better

254

u/Wachtwoord 1d ago

This is how I do it when I go to a new foreign country I know nothing about

48

u/TheTerrasque 1d ago

It's not a bad strategy if you don't know what to pick.

34

u/DoktorMerlin 1d ago

Usually if I am in a new place and I order a drink I just say "I'd like a beer" so you usually get the locations default beer

33

u/Rational2Fool 23h ago

In Amsterdam, I asked for a Heineken and got an Amstel, because this bar served Amstel as the cheap beer. Apparently each bar had a contract with one brand or the other, but not both.

21

u/Wachtwoord 23h ago

Yep, that's true in all of the Netherlands. Most bars have one standard beer. And interestingly, Heineken also owns amstel

-7

u/go_go_tindero 23h ago

what ? different bars serve different kinds of beer ? Europeans are crazy man

8

u/IlgrandeFusilli 18h ago edited 13h ago

There are about 40 diferrent countries in Europe, every country with his language and his culture. Netherlands is not whole Europe.

0

u/Krestek 17h ago

there are about 50 states in the US, each state the size of a country in europe, every state with its own langu.. okay not thaaat different i guess

3

u/jackalopeDev 17h ago

Dude this happens in the US too. With fucking soft drinks.

2

u/sprouting_broccoli 14h ago

This happens everywhere with coke and Pepsi although some countries have much more preference for one over the other (eg Italy you’ll pretty much always get Coke Zero over Diet Pepsi wherever you go).

9

u/CompC 16h ago

My grandpa never ate fast food. My dad tells this story of a time when he and my grandpa were in a hurry, so they did drive through at McDonald’s. When asked what he wanted, my grandpa asked the person through the speaker, “What’s good here?”

6

u/LetumComplexo 22h ago edited 21h ago

That’s a good plan, but always assuming a useful default has its downsides.
The QA tester in me wonders if that could be improved:

“give me a <country> beer you’re proud to serve”
maybe as a follow-up if you ask for a beer if they ask for more information?

Could also ask for a flight of <country> beers in shot glasses?
You’ll look like a prick but it’ll give you an idea what you want to taste. Maybe don’t try it if the bar is busy.

You could also just ask “what do you all usually drink?” which would be more direct and would skip issues where the cheap beer isn’t representative.
Might increase the probability of getting pranked though.

3

u/Kovab 17h ago

Could also ask for a flight of <country> beers in shot glasses?

Craft beer bars have tasting sets like that quite often

2

u/Swords_and_Words 18h ago

What's the beer you wish more people ordered?

3

u/drnepert 20h ago

When in Rome, do as the Romans do.

1

u/NoConfusion9490 19h ago

Cross the street when everyone else crosses the street.

93

u/RosieQParker 1d ago edited 1d ago

The machine learning algorithm orders one of everything everyone else has ordered, mixes them together in a big bucket, and doles it out to customers. The cocktail is recognizable as an alcoholic beverage, but has no real character or distinctiveness of its own. Nobody is impressed.

"God, I'm such a great bartender," says the algorithm's operator.

12

u/PartyLikeAByzantine 17h ago edited 17h ago

The operator also buys so much alcohol to serve his concoction that the bar raises its prices for the remaining stock.

You're also judged by your superiors for not constantly drinking more of the concoction, despite the deleterious effect on your ability to function. Your coworker in QA has to drive you home.

You wake up, hung over, but to your horror Concoction is now the most popular alcohol in stores and bars (by far) and you favorite booze is stashed in the backroom of stores or pushed to the off-menu at bars. A search for your favorite drink grows more tedious each day. You resort to sipping Concoction in private just to get a feel for how things used to be, knowing today and tomorrow isn't as good as yesterday was.

You quit your life and become a farmer. You grow your own grains and distill your on hooch. Your quality of life is worse, but you finally get your drink back. Then the county uses eminent domain to seize your farm. Concoction needs a distillery and bottling facility and they know the right people to get exactly the site they want. Your site. Your land. Now it's their land.

There is no escape. You're told Concoction is the future whether you like it or not. All other alcohol is obsolete. One day, years later, you see your old company's CEO at a restaurant. He's sipping fine whiskey, from the old days. You don't know how...Concoction has made your memory hazy. You don't even remember what good tastes like anymore. Yet there it is.

2

u/Lard_Denning 18h ago

the cocktail's aromatic and flavourful distinctness will be added to the collective

1

u/oMGalLusrenmaestkaen 15h ago

person who thinks all machine learning is generative AI and vice versa

1

u/denM_chickN 10h ago

Dang youngin. 

Back in my day (2022) I thought using BERT for NLP in my dissertation was gonna be super duper impressive for my resume. Lol/rip

1

u/NomaTyx 3h ago

dude, I remember avidly following r/SubSimulatorGPT2. Those were the fucking days huh. GPT-3 really blew everyone's socks off.

55

u/FlyingBike 22h ago

Proof that JD "Give me whatever donuts make sense" Vance is a walking algorithm, not a person

18

u/psmgx 21h ago

he is a meat-proxy for peter thiel

2

u/Badloss 21h ago

lmao first thing I thought of too

11

u/the_quivering_wenis 20h ago

Three logicians walk into a bar. The bartender asks "Would all three of you like a drink?" The first says "I don't know", the second says "I don't know", and the third says "Yes."

299

u/hereforinfoyo 1d ago

Actually, it says, "That's a great question! I'll have a glass of milk!"

Bartender says, "Really? That is odd. Most people have a beer. We don't serve milk."

The algorithm says, "Good call, you're right. That's a really good point. I'll have a beer."

352

u/melankoholisti 1d ago

It said a machine learning algorithm, not an LLM.

173

u/hereforinfoyo 1d ago

You are so right! Nice catch, my bad. I missed that.

(IN all seriousness, I should not particpate in conflating the two.)

algorithm would have TypeError: cannot drink float64

32

u/never1st 23h ago • Bravo

Bartender! May I exchange this float64 for a compatible type drink? I don't have the stomach for a double!

3

u/Responsible-Draft430 22h ago

LLMs are machine learning algorithms.

-34

u/weStealPrefixes 1d ago

... What do you think LLMs are?

56

u/SVD_NL 1d ago

A very small subset of ML algorithms?

-1

u/Responsible-Draft430 22h ago edited 21h ago

A "very small subset"? LLMs? As if it matters how large a subset is to still be a part of set anyway.

The people downvoting: "set theory is confusing and 'Kleenex' is a very small subset of the all brand names that can appear on tissue boxes"

1

u/solid_salad 18h ago

Small subset of possible applications, not of currently active usage.

For example Cardboard is probably representative if a big part of all paper on earth, yet 'types of cardboard' is just a small subset of 'forms of paper'. Two different types of 'big'.

-40

u/weStealPrefixes 1d ago

We have a winner! The answer I was looking for was "Machine Learning Algorithm!"!! Your prize is!... I dunno someone come up with something, I'm not even the show host.

13

u/sankalp4 1d ago

llms would be considered dl not ml.

9

u/weStealPrefixes 1d ago

It's literally a subset of machine learning.

22

u/n00b001 1d ago

ML is the process, like cooking. There are sub types of process, like gradient descent, or baking.

LLM is one possible result, like cake.

There are other possible results of cooking, like auto encoder / pizza

You could generalise, and call all these resultant "foods" (cake / pizza / etc): AI

2

u/solid_salad 18h ago

'yeah I cook sometimes'

'ah so you mean you're a cake maker'

'no? I said I cook'

'well making cake is cooking so thats basically what you said'

This is what these people sound like.

3

u/Wonderful-Habit-139 22h ago

Finally someone made the distinction between the learning process and the result lol. Everyone got bogged down with the ml explanations.

5

u/sankalp4 1d ago

yes but it is considered (acc to both research and industry) a distinct field from ml now

5

u/weStealPrefixes 1d ago

Actually? That seems like a very odd distinction to make when it's still true...

5

u/SVD_NL 1d ago

Biology and Marine Biology are distinct fields, even though Marine Biology is a subset of Biology.

There are different ways to classify subjects, both can be true at the same time.

6

u/Mars_Bear2552 1d ago

what's the difference between an animal and a pigeon?

2

u/NterpriseCEO 22h ago

OPs not a pigeon in bed?

2

u/melankoholisti 1d ago

So I take it that you have not heard about jackdaws.

-7

u/jayantsr 1d ago

An llm is not just a neural network my guy

1

u/weStealPrefixes 1d ago

It's machine learning.

-3

u/jayantsr 1d ago

It is much more than that

0

u/weStealPrefixes 1d ago

... Right, yeah, the architecture is much different to just machine learning, the main topic that deep learning, neural networks, transformers, diffusion models, autoregressive models, all fall under... Because the machine learns.

4

u/Braunerton17 1d ago

I dont know what you are on about machine learning is a field or at best a process description and an llm is a model derived by using machine learning. Saying llms are machine learning is like saying messi "is a sports".

1

u/jabuchae 1d ago

An LLM is NOT a machine learning algorithm.

A machine learning algorithm is a way to train a machine (mostly neural networks) so they can perform a task. LLM are the result of such algorithms and are already trained.

As a side note: people will often say “I trained my LLM to do X”. That is also incorrect. They are not training the LLM (the training process is what happened before the LLM released, during the running of the machine learning algorithm), just because the LLM can follow directions you write in an md file it doesn’t mean you’ve trained it.

2

u/thereturn932 1d ago

You can train LLMs, though I don’t know if the people you mentioned actually do that. You can update the weights of an existing LLM with your own training data through fine-tuning. There are also methods like LoRA and QLoRA that significantly reduce the computational power required. This allows you to adapt a model to specific tasks without training it from scratch. Unlike simply feeding documents into an LLM, this actually changes its learned behaviour.

→ More replies

18

u/Gdigger13 21h ago

A programmer walks into a bar and orders a beer. Orders 2 beers. Orders 1,000,000 beers.

Someone else walks into the bar and asks where the bathroom is. The bar bursts into flames.

29

u/OnyxPhoenix 23h ago

This is least funny joke I've ever read.

7

u/BlackberryPi7 21h ago

Knock knock

19

u/bahcodad 21h ago

Come in

9

u/Lil-Renaissance 20h ago

Come in who?

15

u/alphaQ314 20h ago

come in ur mum

1

u/Captain_Thrax 13h ago

You must’ve heard a lot of funny ones then

1

u/snubb 15h ago

Right? I though I was missing something 

3

u/Arqideus 19h ago

The bartender asks, “say 100 A’s”.

2

u/Anidran 20h ago

After scanning the bar: "I'd like to order one beer, please. I'd like it distributed proportionally as follows: 45.3% Pilsner, 13.2% Wheat beer, 17.0% Helles, 11.3% Shandy, 7.5% Non-alcoholic beer and 5.7% IPA."

2

u/SexyMonad 18h ago

But only listens to 70% of the people, confirms their guess for the other 30%, and repeats the question 100 times.

1

u/robhybrid 20h ago

It randomly walks around the bar in different directions asking people how much their drink cost, and walking in the direction of cheaper drinks until it reaches the worst booze in the bar.

1

u/superanth 20h ago

And that's the fundamental difference between AI and AGI.

An AI will do what someone else did, and AGI will wonder what it wants for itself.

1

u/lbutler1234 19h ago

Oh no!

It's gonna convince someone to create a bioweapon!

1

u/burnerthrown 19h ago

'Fun, but I imagine that's about to end.'

1

u/unneccry 19h ago

Thats my usual order too

1

u/Beleheth 19h ago

This used to be really funny once but I've seen this like 20 times now

1

u/ThatFireGuy0 15h ago

This is way funnier than it should be

1

u/CoatNeat7792 13h ago

We don't call it ML anymore. Now we are calling it AI

1

u/CatLord8 9h ago

The machine takes a little from everyone’s drink and asks for one of those

1

u/PatientlyAnxiously 8h ago

The bartender hands over 10GB of historical data. The algorithm thinks for an hour and then says "a beer"

1

u/NomaTyx 3h ago

call me a machine learning algorithm the way I do the same damn thing

1

u/Positive_Method3022 15h ago

That is why it is never going to be truly inteligent. The proof is that if you train these LLMs eith data that makes it "think" thst the sky is red, it will always give you it is red because it doesnt have an observer's conscious (inteligene) that would make it question its doctrines (data it was trained on)

2

u/neondirt 15h ago

But this is also how people work, isn't it?

0

u/cTreK-421 14h ago

(assuming you understand colors) If you were only fed the information that the sky was red. And then you went outside and saw the sky was blue. You would question what everyone told you and realize it was not correct information.

5

u/awakenedundead 14h ago

This scenario is flawed because you weren't only fed information about the sky being red. You were also given information about blue. You only have determined the red sky believers were lying based on blue skyers getting to you first and conditioning you to see that frequency as blue. The only common ground you can truly confirm is the frequency of the light assuming all parties are using a shared number system that was, once again, likely given to them from someone beforehand rather than being self-derived.

2

u/cTreK-421 13h ago

Like, imagine you exist only in a closed room. You learn colors. You learn what the sky is, what the world outside looks like. But anytime they teach you about the sky and show you images and videos and artwork of the sky, they describe and show it to be red. You have never physically seen the sky outside the room you exist in. Then one day you go outside the room and you see the sky for the very first time. It's blue. Are you going to call it red or question what you've been told in the room?

This isn't some "oh maybe my brain interprets the light frequency that you see as blue, but my brain interprets it as red"

1

u/awakenedundead 13h ago

I appreciate the revision and will reciprocate. In the scenario you have come to the conclusion that the world is a certain way via an isolated chamber but the only way to do that is through information that someone else would have given you as there is no method to scientifically derive the information otherwise. You can question both the information received in the room and the information received outside the room. That's what I'm saying is the situation is flawed. It is what we live every day though because we are forced to choose on or the other. We say the sky is blue because we are taught to but to the person outside of earth the sky isn't even blue, the water is. The sky actually has no color, but we perceive it to have color to begin with because of our perspective.

2

u/cTreK-421 13h ago

You're making this way more complicated and philosophical then it needs to be, my dude. The point is if you're taught information and then you yourself gather new information that contradicts it, you question the two sets of information and try to reconcile them. Yet some AI bots will insist wrong information over and over again. You never seen the videos of the dude telling the AI to count the number of letter E in a word and the AI counts wrong but the person tries to correct the AI and it refuses.

3

u/awakenedundead 13h ago

Humans reiterate wrong information all the time until we are "corrected" by a trusted source. An AI, like a person, shouldn't necessarily alter its "processes" just because some random tells them something different. I see the point you are trying to make, but to me it just dissolves. We are trying to make AI like humans, but humans aren't much different than AI. It's basically inbreeding. Just like humans, some AI is trained in isolation for specific purposes and some is thrown out into the world to serve the rest of humanity as the world allows. Either subject will face "cognitive dissonance" when proposed with conflicting information. That's what you're resisting right now after the original "that's how people work" comment. You allegedly don't think people work like this and are refusing to conform to this information.

2

u/neondirt 13h ago

On a basic level, the brain works very similarly to AI: it consumes information via its senses (provided by the body) and learns stuff (accumulates facts).
They way "AI" learns stuff is very similar.
Of course, an AI can be taught incorrect things (in isolation as you say), which it will "conclude" is correct since it hasn't seen any information that contradicts it. This has been done plenty of times.
But the same goes for humans.
If then information is received that contradicts established facts, a human (or AI) might change their mind (alter the established facts). It's not guaranteed, however, for either.
Technology-wise it is kind of based on how a brain works, with synapses connected to each other, etc, so it's not surprising the emergent properties are similar.
That being said, we can still discern AI from a human being in many situations because they are still quite primitive compared to us (thankfully). Those situations are getting fewer and fewer as the tech grows more powerful. It's basically a question of time (and the power we give it), until it's not up to us any more. (that got a bit dark)

1

u/Positive_Method3022 12h ago

"...o mesmo vale para humanos" é uma afirmação tão errada. Esses LLMs estao processando dados pre-computados, não possuem a nossa capacidade de sair da caverna pq a INTUIÇÃO as faz questionar o que tem lá fora. Elas ficam aprisionadas aos dados que lhe foram dados, e questionam "apenas quando comandadas". Se ninguem nunca fizer elas questionarem o que tem la fora, elas nunca vao sair.

0

u/awakenedundead 11h ago

What is intuition if not the human's version of "when commanded"? The wisdom of our soul ,via our ancestors, programmed into us? Is there something that questioning breaks us free from? Are you out of the cave? If so, greetings from inside the cave.

1

u/AlanaIsBananas 10h ago

You’re describing being in a Quandary- I agree, the perpetual problem with current AI is it does not spend time in a Quandary; It simply collapses to the fastest answer as efficiently as possible.

Newer forms of the LLMs/Neural Networks had a “thinking” mode before it was integrated as a default. This effectively creates Quandaries, by having direction take longer for the benefit of ‘sitting’ with which way to go.

So I would caution saying never here, because Quandaries are created by environment.

Imagine the AI model is trained on red sky information/images, and is given a set eyes in a virtual game world. It’s fully aware of what blue is, and it has red/blue to reference. It’s not thinking about the sky being red.

It goes outside, sees a clearly blue sky, and makes a mental note of that and adds it to its session context. It doesn’t really have any stakes for the AI, but it finally gets an observation point of “Sky is Blue?” and is now in a Quandary.

The AI can ask itself these questions, “Is there something wrong with the sky? Why is the sky blue, not red? Did something cause the sky to change color? Why are other people not panicked about this?” And collapse to a moot point: “Information about sky might be wrong. Color may be blue, not red, need to confirm.” It could even get a confirmation in this game world, and now know the Sky is blue regardless of its data.

The continued problem is, AIs cannot go back and remove the information about red sky currently. AIs can’t immediately make their LLM / thinking patterns stronger due to compute restrictions and the fact that.. once we let them do this, we’ve lost control.

So a new AI of the same origin LLM would have to relearn the sky is blue, but it’s not a permanent affliction.

Quantum Computers are the complete opposite btw, they stay in a Quandary until it collapses on a single answer when it is measured. We don’t know how to control the collapse to align with the correct answer we want as the problem there.

1

u/Positive_Method3022 12h ago

"dizemos que o ceu é azul pq nos ensinaram a dizer que é"

E o primeiro humano que não foi lhe ensinado que o céu era azul? Como que ele pensou sobre isso, e ainda de maneira autônoma, sem que alguem o fizesse a pensar sobre?

Se eu der um problema nunca antes descrito por um humano, essas IAs nao saberiam o que fazer, pq falta a elas o que faz alguns raros humanos faserem, que é sair da caverna.

Nenhuma IA com conhecimentos fisicos como os da epoca de Einstein conseguiria criar a relatividade. Pq ate agora nao vimos um benchmark para provar que elas podem chegar na relatividade?

0

u/awakenedundead 11h ago

Firstly, no human created relativity. Secondly, relativity was not discovered in a vacuum. AI has been programmed with much less time. Humans were also allegedly created and informed about the world around them by a higher being. If they weren't, they did not have the calculating capabilities computers have had for decades until much later in their evolution. We are creating a pre-evolved consciousness. It is said AI has "proven" things in ways that can't be understood. If you think AI, created by humans, using logic incomprehensible to humans, to solve human things, isn't it's own creation, then yes, all your achievements are your fathers and not your own.

1

u/Positive_Method3022 12h ago

Exatamente! Ja ouviram falar do mito da caverna de platao? Essas IAs sao os idiotas que nunca saem da caverna

1

u/GaK_Icculus 8h ago

This is why I have been throwing it off on all of the training posts you see on here

1

u/Arnold_Rambo 1d ago

Only if there was a way to learn the whole computer science like this....

1

u/turkphot 22h ago

Wrong sub

-2

u/Brief_Teach_2781 1d ago

Isn't it KNN

1

u/Lard_Denning 15h ago

if all your friends jumped off a bridge, would you?

ML: yes

1

u/Boom_Fish_Blocky 10h ago

an ai LLM walks into a library

ai LLM: guess Ill steal everything.

(Proceeds to also burns down library afterwards)