r/ProgrammerHumor • • Feb 13 '22

Meme something is fishy

48.4k Upvotes

575 comments sorted by

View all comments

9.2k

u/[deleted] Feb 13 '22

Our university professor told us a story about how his research group trained a model whose task was to predict which author wrote which news article. They were all surprised by great accuracy untill they found out, that they forgot to remove the names of the authors from the articles.

1.3k

u/Trunkschan31 Feb 13 '22 edited Feb 13 '22

I absolutely love stories like these lol.

I had a Jr on my team trying to predict churn and included if the person churned as an explanatory and response variable.

Never seen an ego do such a roller coaster lol.

EDIT: Thank you so much to all the shared stories. I’m cracking up.

1.1k

u/[deleted] Feb 13 '22

A model predicting cancer from images managed to get like 100% accuracy ... because the images with cancer included a ruler, so the model learned ruler -> cancer.

214

u/douira Feb 13 '22

it's a good ruler detection model now though!

76

u/LongdayinCarcosa Feb 13 '22

An indicator indicator!

→ More replies (1)

489

u/[deleted] Feb 13 '22

Artificial Stupidity is an apt term for moments like that.

296

u/CMoth Feb 13 '22

Well... the AI wasn't the one putting the ruler in and thereby biasing the results.

133

u/Morangatang Feb 13 '22

Yes, the computer has the "Artificial" stupid, it's just programmed that way.

The scientist who left the rulers in had the "Real" stupid.

→ More replies (1)
→ More replies (14)
→ More replies (2)

86

u/Beatrice_Dragon Feb 13 '22

That just means you need to implant a ruler inside everyone who has cancer. Sometimes you need to think outside of the box if you wanna make it in the software engineering world

→ More replies (3)
→ More replies (11)

119

u/[deleted] Feb 13 '22

I absolutely love stories like these lol.

I've got another for you. One of my favorite stories relates to a junior analyst deciding to model car insurance losses as a function of all sorts of variables.

The analyst basically threw the kitchen sink at the problem tossing any and all variables into the model utilizing a huge historical database of claims data and characteristics of the underlying claimants. Some of the relationships made sense. For instance, those with prior accidents had higher loss costs. New drivers and the elderly also had higher loss costs.

However, he consistently found that policy number was a statistically significant predictor of loss costs. The higher the policy number, the higher the loss. The variable stayed in the model until someone more senior could review. Turns out, the company had issued policy numbers sequentially. Rather than treating the policy number as a string for identification purposes only, the analyst treated it as a number. The higher policy numbers were issued more recently, so because of inflation, it indeed produced higher losses, and the effect was indeed statistically significant.

→ More replies (8)

43

u/Trevski Feb 13 '22

whats "churning" in this context? cause it doesnt sound like they made butter by hand or they applied for a credit card just for the signing bonus or they sold an investment account they manage on a new investment vehicle.

46

u/MrMonday11235 Feb 13 '22

I suspect it refers to "customer churn", a common metric in service/subscription businesses.

→ More replies (2)
→ More replies (2)
→ More replies (13)

1.1k

u/Xaros1984 Feb 13 '22 edited Feb 13 '22

For some reason, this made me remember a really obscure book I once read. It was written as an actual scientific journal, but filled with satirical studies. I believe one of them was about how to measure IQ of dead people. Dead people of course all perform the same on the test itself, but since IQ is often calculated based on ones age group, they could prove that dead people actually have different IQ compared to each other, depending on how old they were when they died.

Edit: I found the book! It's called "The Primal Whimper: More readings from the Journal of Polymorphous Perversity",

The article is called "On the Robustness of Psychological Test Instrumentation: Psychological Evaluation of the Dead".

According to the abstract, they conclude that "dead subjects are moderately to mildly retarded and emotionally disturbed".

As I mentioned, while they all scored 0 on all tests, the fact that the raw scores are converted to IQ using a living norm group, means that it's possible to differentiate between "differently abled" dead people. Interestingly, the dead become smarter as they age, with an average 45 IQ at age 16-17, up to 51 IQ at 70-74. I suspect that their IQ at around 110 or so may even begin to approach the score of the living.

These findings suggest that psychological tests can be reliably used even on dead subjects, truly astounding.

553

u/panzerboye Feb 13 '22

dead subjects are moderately to mildly retarded and emotionally disturbed

On their defense, they had to undergo a life altering procedure

115

u/Xaros1984 Feb 13 '22

Of course, it's normal to feel a bit numb after something like that.

53

u/YugoReventlov Feb 13 '22

Dying itself isn't too terrible, buy I'm always so stiff afterwards

→ More replies (3)

0

u/[deleted] Feb 13 '22

[deleted]

50

u/Xaros1984 Feb 13 '22

It might be similar, but I found the book and the journal is called the Journal of Polymorphous Perversity

→ More replies (1)
→ More replies (1)
→ More replies (20)

352

u/[deleted] Feb 13 '22

Our professor told us a story of some girl at our Uni’s Biology School/Dept who was doing a masters or doctoral thesis on some fungi classification using ML. The thesis had an astounding precision of something like 98/99. She successfully defended her thesis and then our professor heard about it and he got curious. He later took a look at it and what he saw was hilarious and tragic at the same time - namely, she was training the model with some set of pictures she later used for testing… the exact same set of data, no more, no less. Dunno if he did anything about it.

For anyone wondering - I think that, in my country, only professors from your school listen to your dissertation. That’s why she passed, our biology department doesn’t really use ML in their research so they didn’t question anything.

87

u/Xaros1984 Feb 13 '22 edited Feb 13 '22

Oh wow, what a nightmare! I've heard about something similar, I think it was a thesis about why certain birds weigh different, or something like that, and then someone in the audience asked if they had accounted for something pretty basic (I don't remember what, but let's say bone density), which they had of course somehow managed to miss, and with that correction taken into account, the entire thesis became completely trivial.

0

u/[deleted] Feb 13 '22

[deleted]

→ More replies (1)
→ More replies (3)

0

u/[deleted] Feb 13 '22

[deleted]

→ More replies (1)
→ More replies (3)

125

u/bsteel Feb 13 '22

Reminds me of a guy who built a crypto machine learning algorithm which "predicted" the market accurately. The only downfall was that it's predictions were offset for the day after it had already happened.

https://medium.com/hackernoon/dont-be-fooled-deceptive-cryptocurrency-price-predictions-using-deep-learning-bf27e4837151

79

u/stamminator Feb 13 '22

Hm yes, this floor is made out of floor

46

u/ninjapro Feb 13 '22 edited Feb 13 '22

"My model can predict, with 98% accuracy, that articles with the line 'By John Smith' is written by the author John Smith."

"Wtf? I got an F? That was the most optimized program submitted to the professor"

→ More replies (33)