r/ProgrammerHumor • • May 14 '18

Meme sad

Post image
27.4k Upvotes

289 comments sorted by

View all comments

Show parent comments

283

u/55555 May 14 '18

The captchas rely heavily on if you are logged into a google account that isn't classified as a spammer account. If you aren't logged in, it falls back on other patterns, such as frequency of the IP you are on calling captcha and other google services, and will most often include the image recognition test as an override. The test serves dual purposes of crowd-sourcing the training of their image recognition, and blocking bots which Google knows are not as good as their own.

I highly doubt that the captcha training they use gets put into their self driving cars though. More likely it gets used by the search engine to classify images they crawl over on the web.

184

u/[deleted] May 14 '18

No, I think It might be used for better training. The original capchta is what got us to fill books with actual words. It would give scan of books that ocr couldn't read and save the most highly rated selection. I assume the same is done here, but even more advanced to prevent screwups.

0

u/[deleted] May 14 '18

[deleted]

4

u/[deleted] May 14 '18

I meant the original Google captcha. There are other attempts but they kinda suck and most ocr can get by them.

3

u/sourcecodesurgeon May 14 '18

You're referring to the same thing. Google purchased reCAPTCHA from researchers at CMU.

→ More replies (1)

42

u/flameoguy May 14 '18

Wait, how does it train computers if the correct answer is determined before-hand? The program already has the correct answer, so why does it need confirmation from a human?

140

u/WiseassWolfOfYoitsu May 14 '18

There will be more than one question. It will know the answer to one (for validation), and not the other (for training). It just doesn't tell you which is which. That's why it used to use two words, and now often has you do two pictures in a row.

37

u/ThatsSoBravens May 14 '18

You could tell the book OCR CAPTCHA was running it's course when you started to get combinations like "valve" and "♭oễx4iカ"

21

u/Drasern May 15 '18

I made a game out of identifying the known answer and putting "penis" as the unknown. I hope somewhere I lead to a very awkward misprint in a book.

→ More replies (4)

9

u/[deleted] May 14 '18

Yup, the one that's an actual image from an old book was the one where you could type whatever you want. Just throw in whatever obscenity you want; it'll accept it and maybe if enough people do it you'll have some history student really confused why the deed for a castle in fourteenth century Austria has 'cunt' in the middle of one sentence

→ More replies (1)

50

u/[deleted] May 14 '18 edited May 14 '18

Here's what they do. First they show you a picture for which they already have the answer, this one confirms if you are human or not. After that they show you a picture for which they don't have the answer, this helps build their training set. They'll also show the same picture to other people and make sure that the answers match up in order to ensure correctness.

12

u/amb_kosh May 14 '18

So you can always get one wrong or is there a second Machine that knows the other answer?

29

u/sourcecodesurgeon May 14 '18

You can, but most probably more people get it right than wrong.

You aren't the only one who will get a given image.

13

u/faceplanted May 14 '18

The second image isn't completely new to being shown to people, they show the second unclassified image to dozens of people and if you disagree significantly with the people who got that image before you, it will give you another one.

It's the same thing with those old text Captcha's, one word is completely known, the other you just have to agree with most people on.

6

u/Genesis2001 May 14 '18

For the sign ones, are you supposed to select the whole sign including the pole or just the readable one then? I think I've done both on those training exercises.

→ More replies (1)

11

u/nikdahl May 14 '18

For the most part, the captchas aren't actually using the accuracy of your response to determine if you are human or not. It's how your cursor behaves as it manipulates the page.

13

u/Daeurth May 14 '18

[citation needed]

No really, I'm curious.

24

u/sourcecodesurgeon May 14 '18

Its a conflation of two different systems. The system that is the topic of this particular thread is reCAPTCHA pre-2017, which uses the known+training concept.

/u/nikdahl is referring to NoCAPTCHA which has you check a box (then it might fall back to a known+training CAPTCHA). In that case, it uses far more than just mouse movement, but that is an aspect as well.

10

u/DutchDave May 14 '18

FWIW, here's an interesting paper from 2016 that describes some of the methods researched to break Google's captchas, both checkbox and images.

3

u/qzex May 14 '18

The machine learning algorithm takes the input (image), runs it through a formula using a bunch of tunable numbers (weights), and eventually returns an output (is/is not a stop sign). If you have training data where for every input we already know the correct output, then we can tune the weights to make the algorithm produce correct outputs more often.

→ More replies (30)

6

u/[deleted] May 14 '18

They prevent screw ups by showing the same picture to multiple people and making sure the answers match up.

→ More replies (1)

4

u/Toysoldier34 May 14 '18

I highly doubt that the captcha training they use gets put into their self driving cars though. More likely it gets used by the search engine to classify images they crawl over on the web.

I could be wrong but I assumed the images in their test are just snippets from their street view and having people label them helps the machine learning more specifically. It could go to some other system first like image recognition to improve that in general, then the cars utilize that.

→ More replies (1)