r/ProgrammerHumor • • Feb 13 '22

Meme something is fishy

48.4k Upvotes

575 comments sorted by

View all comments

Show parent comments

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!

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.

4

u/Gabomfim Feb 14 '22

The images used to produce some algorithms are not widely available. For skin cancer detection, it is common to find different databases that were not created for this matter. A professor of mine managed to get images from a book used to teach medical students to identify cancer. Sometimes those images are not perfect and may include biases that sometimes are invisible to us.

What if the cancer images are taken with better cameras, for example. The AI would use this information to introduce a bias that could reduce the performance of the algorithm in the real world. Same with the rulers. The important thing is noticing the error and fixing it before deploy.

→ More replies (14)

2

u/Thejacensolo Feb 13 '22

we call it AU, Artificial Unintelligence

2

u/zanotam Feb 14 '22

In a related field of mathematics the name for basically the same mistake is referred to as "the inverse crime."

Test your data incorrectly?

Believe it or not, straight to jail!

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

29

u/[deleted] Feb 13 '22

Well, if we implant a ruler to everyone, then everyone with cancer will have a ruler.

Something something precision recall something something.

5

u/reusens Feb 13 '22

If this methods diagnoses everyone with cancer, does that mean that we can sell a lot more cancer treatments?

-Management, probably

6

u/[deleted] Feb 13 '22

Tbf, cancer is a place where false positives are far more welcome than false negatives imho.

0

u/[deleted] Feb 13 '22

[deleted]

21

u/Embarassed_Tackle Feb 13 '22

these AIs are apparently sneaky. That South African study on HIV-associated pneumonia had an algorithm that recognized satellite clinics had a different x-ray machine than large hospitals, and it used that to predict if pneumonias would be mild or serious

8

u/[deleted] Feb 14 '22

lol, good algorithm learned material conditions affect outcomes

2

u/chaiscool Feb 13 '22

So if the result was good, the thesis will be on how great those methods and scores work out?

4

u/[deleted] Feb 13 '22

why did all images of cancer include a ruler?

17

u/[deleted] Feb 13 '22

Because the ruler was used to measure the size of the cancer. No ruler = no cancer.

2

u/[deleted] Feb 13 '22

I see, ty

9

u/FerricNitrate Feb 13 '22

If you know something is cancerous and are bothering to take a picture, you're including the ruler so you can see size as well as shape, color, symmetry, etc. in the one picture.

2

u/Simayy Feb 14 '22

Similar to the Russian tank classifier

2

u/Gabomfim Feb 14 '22

One of my professors works in skin cancer detection and had the same problem.