r/ProgrammerHumor • • May 14 '18

Meme sad

Post image
27.4k Upvotes

289 comments sorted by

View all comments

Show parent comments

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/kspdrgn May 14 '18

Citation needed

8

u/[deleted] May 14 '18

This is how the "I'm not a robot" captchas work (in addition to any browser data and google account checks)

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.

1

u/[deleted] May 14 '18

Captchas don't all have predetermined answers. We are training their machine learning algorithms.

0

u/[deleted] May 14 '18

[deleted]

2

u/[deleted] May 14 '18

With those word captchas it used to be pretty obvious which word was unknown because it was a weird/uncommon word, unclear, had a smudge on it or whatever. Just getting the other one right and typing nonsense for the second word would pass, so you'd know you guessed right.

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

1

u/Barley12 May 14 '18

It's like if you're training a computer to learn math you give it 100 addition questions and answers, then tell it to find the pattern between input and its output. Then to test it, you give it new questions it hasn't seen and see if how often it's right.

The more questions you have to start with, the more learned it will be.

1

u/Bensemus May 14 '18

You have two programs. One that knows the answer of the questions but has no ability to actually identify new pictures and another program that has the ability to potentially identify pictures. The teacher program tests the AI and scores it. Then tweaks are made to the AI and it’s tested again. This process repeats until the AI is accurate enough.

1

u/[deleted] May 15 '18

They make you answer twice. The first one is a test to see if you get it right. The second one is you helping a computer vision model. You can select whatever you want or just click submit, it still lets you past. What they're doing is gathering a giant library of photos with certain things in it. They want 1000s upon 1000s of pictures with cars or whatever they are training for at every different angle and perspective so they crowd source it. Then they use that data to have computers try to guess where the cars are in new pictures (aka computer vision).

1

u/Jess_than_three May 15 '18

The piece of this that most people aren't mentioning is that the "are you a computer" portion of the recaptcha system relies heavily on how you input your response: how long it takes you, how your cursor moves, how long you click for, probably what order you click boxes in, etc.

→ More replies (21)