16 December 2011 / by Radmila Gurkova

Transcript: Learning Languages with CAPTCHAs

"How many of you had to fill out some sort of web formwhere you've been asked to read a distorted sequence of characters like this? How many of you found it really, really annoying? Okay, outstanding. So I invented that. (Laughter) Or I was one of the people who did it.

That thing is called a CAPTCHA. And the reason it is there is to make sure you, the entity filling out the form,are actually a human and not some sort of computer program that was written to submit the form millions and millions of times. The reason it works is because humans, at least non-visually-impaired humans, have no trouble reading these distorted squiggly characters,whereas computer programs simply can't do it as well yet. So for example, in the case of Ticketmaster, the reason you have to type these distorted characters is to prevent scalpers from writing a program that can buy millions of tickets, two at a time.

CAPTCHAs are used all over the Internet. And since they're used so often, a lot of times the precise sequence of random characters that is shown to the user is not so fortunate. So this is an example from the Yahoo registration page. The random characters that happened to be shown to the user were W, A, I, T, which, of course, spell a word. But the best part is the message that the Yahoo help desk got about 20 minutes later. Text: "Help! I've been waiting for over 20 minutes, and nothing happens." (Laughter) This person thought they needed to wait. This of course, is not as bad as this poor person.

(Laughter)

CAPTCHA Project is something that we did here at Carnegie Melllon over 10 years ago, and it's been used everywhere. Let me now tell you about a project that we did a few years later, which is sort of the next evolution of CAPTCHA. This is a project that we call reCAPTCHA, which is something that we started here at Carnegie Mellon, then we turned it into a startup company. And then about a year and a half ago,Google actually acquired this company.

So let me tell you what this project started. So this project started from the following realization: It turns out that approximately 200 million CAPTCHAs are typed everyday by people around the world. When I first heard this, I was quite proud of myself. I thought, look at the impact that my research has had. But then I started feeling bad. See here's the thing, each time you type a CAPTCHA, essentially you waste 10 seconds of your time. And if you multiply that by 200 million, you get that humanity as a whole is wasting about 500,000 hours every day typing these annoying CAPTCHAs. So then I started feeling bad.

(Laughter)

And then I started thinking, well, of course, we can't just get rid of CAPTCHAs, because the security of the Web sort of depends on them. But then I started thinking, is there any way we can use this effort for something that is good for humanity? So see, here's the thing. While you're typing a CAPTCHA, during those 10 seconds, your brain is doing something amazing. Your brain is doing something that computers cannot yet do. So can we get you to do useful work for those 10 seconds? Another way of putting it is, is there some humongous problem that we cannot yet get computers to solve, yet we can split into tiny 10-second chunks such that each time somebody solves a CAPTCHA they solve a little bit of this problem? And the answer to that is "yes," and this is what we're doing now.

So what you may not know is that nowadays while you're typing a CAPTCHA, not only are you authenticating yourself as a human, but in addition you're actually helping us to digitize books. So let me explain how this works. So there's a lot of projects out there trying to digitize books. Google has one. The Internet Archive has one. Amazon, now with the Kindle, is trying to digitize books. Basically the way this works is you start with an old book. You've seen those things, right? Like a book? (Laughter) So you start with a book, and then you scan it.

Now scanning a book is like taking a digital photograph of every page of the book. It gives you an image for every page of the book. This is an image with text for every page of the book. The next step in the process is that the computer needs to be able to decipher all of the words in this image. That's using a technology called OCR, for optical character recognition, which takes a picture of text and tries to figure out what text is in there. Now the problem is that OCR is not perfect. Especially for older books where the ink has faded and the pages have turned yellow,OCR cannot recognize a lot of the words. For example, for things that were written more than 50 years ago,the computer cannot recognize about 30 percent of the words. So what we're doing now is we're taking all of the words that the computer cannot recognize and we're getting people to read them for us while they're typing a CAPTCHA on the Internet.

So the next time you type a CAPTCHA, these words that you're typing are actually words that are coming from books that are being digitized that the computer could not recognize. And now the reason we have two words nowadays instead of one is because, you see, one of the words is a word that the system just got out of a book, it didn't know what it was, and it's going to present it to you. But since it doesn't know the answer for it, it cannot grade it for you. So what we do is we give you another word, one for which the system does know the answer. We don't tell you which one's which, and we say, please type both. And if you type the correct word for the one for which the system already knows the answer, it assumes you are human, and it also gets some confidence that you typed the other word correctly. And if we repeat this process to like 10 different people and all of them agree on what the new word is, then we get one more word digitized accurately.

So this is how the system works. And basically, since we released it about three or four years ago, a lot of websites have started switching from the old CAPTCHA where people wasted their time to the new CAPTCHA where people are helping to digitize books.So for example, Ticketmaster. So every time you buy tickets on Ticketmaster, you help to digitize a book.Facebook: Every time you add a friend or poke somebody, you help to digitize a book. Twitter and about 350,000 other sites are all using reCAPTCHA.And in fact, the number of sites that are using reCAPTCHA is so high that the number of words that we're digitizing per day is really, really large. It's about 100 million a day, which is the equivalent of about two and a half million books a year. And this is all being done one word at a time by just people typing CAPTCHAs on the Internet.

(Applause)

Now of course, since we're doing so many words per day, funny things can happen. And this is especially true because now we're giving people two randomly chosen English words next to each other. So funny things can happen. For example, we presented this word. It's the word "Christians"; there's nothing wrong with it. But if you present it along with another randomly chosen word, bad things can happen. So we get this. (Text: bad christians) But it's even worse, because the particular website where we showed thisactually happened to be called The Embassy of the Kingdom of God. (Laughter) Oops. (Laughter) Here's another really bad one. JohnEdwards.com (Text: Damn liberal) (Laughter) So we keep on insulting people left and right everyday.

Now, of course, we're not just insulting people. See here's the thing, since we're presenting two randomly chosen words, interesting things can happen. So this actually has given rise to a really big Internet memethat tens of thousands of people have participated in,which is called CAPTCHA art. I'm sure some of you have heard about it. Here's how it works. Imagine you're using the Internet and you see a CAPTCHA that you think is somewhat peculiar, like this CAPTCHA. (Text: invisible toaster) Then what you're supposed to do is you take a screen shot of it. Then of course, you fill out the CAPTCHA because you help us digitize a book. But then, first you take a screen shot, and then you draw something that is related to it. (Laughter)That's how it works. There are tens of thousands of these. Some of them are very cute. (Text: clenched it)(Laughter) Some of them are funnier. (Text: stoned founders) (Laughter) And some of them, like paleontological shvisle, they contain Snoop Dogg.

(Laughter)

Okay, so this is my favorite number of reCAPTCHA. So this is the favorite thing that I like about this whole project. This is the number of distinct people that have helped us digitize at least one word out of a book through reCAPTCHA: 750 million, which is a little over 10 percent of the world's population, has helped us digitize human knowledge. And it is numbers like these that motivate my research agenda. So the question that motivates my research is the following: If you look at humanity's large-scale achievements,these really big things that humanity has gotten together and done historically -- like for example, building the pyramids of Egypt or the Panama Canalor putting a man on the Moon -- there is a curious fact about them, and it is that they were all done with about the same number off people. It's weird; they were all done with about 100,000 people. And the reason for that is because, before the Internet, coordinating more than 100,000 people, let alone paying them, was essentially impossible. But now with the Internet, I've just shown you a project where we've gotten 750 million people to help us digitize human knowledge.So the question that motivates my research is, if we can put a man on the Moon with 100,000, what can we do with 100 million?

So based on this question, we've had a lot of different projects that we've been working on. Let me tell you about one that I'm most excited about. This is something that we've been semi-quietly working on for the last year and a half or so. It hasn't yet been launched. It's called Duolingo. Since it hasn't been launched, shhhhh! (Laughter) Yeah, I can trust you'll do that. So this is the project. Here's how it started. It started with me posing a question to my graduate student, Severin Hacker. Okay, that's Severin Hacker.So I posed the question to my graduate student. By the way, you did hear me correctly; his last name is Hacker. So I posed this question to him: How can we get 100 million people translating the Web into every major language for free?

Okay, so there's a lot of things to say about this question. First of all, translating the Web. So right now the Web is partitioned into multiple languages. A large fraction of it is in English. If you don't know any English, you can't access it. But there's large fractions in other different languages, and if you don't know those languages, you can't access it. So I would like to translate all of the Web, or at least most of the Web,into every major language. So that's what I would like to do.

Now some of you may say, why can't we use computers to translate? Why can't we use machine translation? Machine translation nowadays is starting to translate some sentences here and there. Why can't we use it to translate the whole Web? Well the problem with that is that it's not yet good enough and it probably won't be for the next 15 to 20 years. It makes a lot of mistakes. Even when it doesn't make a mistake,since it makes so many mistakes, you don't know whether to trust it or not.

So let me show you an example of something that was translated with a machine. Actually it was a forum post.It was somebody who was trying to ask a question about JavaScript. It was translated from Japanese into English. So I'll just let you read. This person starts apologizing for the fact that it's translated with a computer. So the next sentence is is going to be the preamble to the question. So he's just explaining something. Remember, it's a question about JavaScript. (Text: At often, the goat-time install a error is vomit.) (Laughter) Then comes the first part of the question. (Text: How many times like the wind, a pole, and the dragon?) (Laughter) Then comes my favorite part of the question. (Text: This insult to father's stones?) (Laughter) And then comes the ending, which is my favorite part of the whole thing. (Text: Please apologize for your stupidity. There are a many thank you.) (Laughter) Okay, so computer translation, not yet good enough. So back to the question.

So we need people to translate the whole Web. So now the next question you may have is, well why can't we just pay people to do this? We could pay professional language translators to translate the whole Web. We could do that. Unfortunately, it would be extremely expensive. For example, translating a tiny, tiny fraction of the whole Web, Wikipedia, into one other language, Spanish. Wikipedia exists in Spanish,but it's very small compared to the size of English. It's about 20 percent of the size of English. If we wanted to translate the other 80 percent into Spanish, it would cost at least 50 million dollars -- and this is at even the most exploited, outsourcing country out there. So it would be very expensive. So what we want to do is we want to get 100 million people translating the Web into every major language for free.

Now if this is what you want to do, you pretty quickly realize you're going to run into two pretty big hurdles,two big obstacles. The first one is a lack of bilinguals.So I don't even know if there exists 100 million people out there using the Web who are bilingual enough to help us translate. That's a big problem. The other problem you're going to run into is a lack of motivation.How are we going to motivate people to actually translate the Web for free? Normally, you have to pay people to do this. So how are we going to motivate them to do it for free? Now when we were starting to think about this, we were blocked by these two things.But then we realized, there's actually a way to solve both these problems with the same solution. There's a way to kill two birds with one stone. And that is to transform language translation into something that millions of people want to do, and that also helps with the problem of lack of bilinguals, and that is language education.

So it turns out that today, there are over 1.2 billion people learning a foreign language. People really, really want to learn a foreign language. And it's not just because they're being forced to do so in school. For example, in the United States alone, there are over five million people who have paid over $500 for software to learn a new language. So people really, really want to learn a new language. So what we've been working on for the last year and a half is a new website -- it's called Duolingo -- where the basic idea is people learn a new language for free while simultaneously translating the Web. And so basically they're learning by doing.

So the way this works is whenever you're a just a beginner, we give you very, very simple sentences.There's, of course, a lot of very simple sentences on the Web. We give you very, very simple sentencesalong with what each word means. And as you translate them, and as you see how other people translate them, you start learning the language. And as you get more and more advanced, we give you more and more complex sentences to translate. But at all times, you're learning by doing.

Now the crazy thing about this method is that it actually really works. First of all, people are really, really learning a language. We're mostly done building it, and now we're testing it. People really can learn a language with it. And they learn it about as well as the leading language learning software. So people really do learn a language. And not only do they learn it as well, but actually it's way more interesting. Because you see with Duolingo, people are actually learning with real content. As opposed to learning with made-up sentences, people are learning with real content, which is inherently interesting. So people really do learn a language.

But perhaps more surprisingly, the translations that we get from people using the site, even though they're just beginners, the translations that we get are as accurate as those of professional language translators, which is very surprising. So let me show you one example. This is a sentence that was translated from German into English. The top is the German. The middle is an English translation that was done by somebody who was a professional English translator who we paid 20 cents a word for this translation. And the bottom is a translation by users of Duolingo, none of whom knew any German before they started using the site. You can see, it's pretty much perfect. Now of course, we play a trick here to make the translations as good as professional language translators. We combine the translations of multiple beginners to get the quality of a single professional translator.

Now even though we're combining the translations,the site actually can translate pretty fast. So let me show you, this is our estimates of how fast we could translate Wikipedia from English into Spanish.Remember, this is 50 million dollars-worth of value. So if we wanted to translate Wikipedia into Spanish, we could do it in five weeks with 100,000 active users.And we could do it in about 80 hours with a million active users. Since all the projects that my group has worked on so far have gotten millions of users, we're hopeful that we'll be able to translate extremely fast with this project.

Now the thing that I'm most excited about with Duolingo is I think this provides a fair business model for language education. So here's the thing: The current business model for language education is the student pays, and in particular, the student pays Rosetta Stone 500 dollars. (Laughter) That's the current business model. The problem with this business model is that 95 percent of the world's population doesn't have 500 dollars. So it's extremely unfair towards the poor. This is totally biased towards the rich. Now see, in Duolingo, because while you learn you're actually creating value, you're translating stuff -- which for example, we could charge somebody for translations. So this is how we could monetize this.Since people are creating value while they're learning,they don't have to pay their money, they pay with their time. But the magical thing here is that they're paying with their time, but that is time that would have had to have been spent anyways learning the language. So the nice thing about Duolingo is I think it provides a fair business model -- one that doesn't discriminate against poor people.

So here's the site. Thank you. (Applause) So here's the site. We haven't yet launched, but if you go there, you can sign up to be part of our private beta, which is probably going to start in about three or four weeks.We haven't yet launched this Duolingo.

By the way, I'm the one talking here, but actually Duolingo is the work of a really awesome team, some of whom are here. So thank you.

(Applause)" (Watch this video here)

Back to the last post

 

14

June 2012
Are you an early riser?
by Radmila Gurkova
httpv://www.youtube.com/watch?v=wROodqZT0qk Scientists in Britain have found that the average English person sleeps for seven hours and 21 minutes a night before they begin work at 8.50am. However the Germans – famous for RISING early get up before DAYBREAK to make sure their towels firmly secure their sun beds for a day LOUNGING by the pool...

14

June 2012
Vampires DO exist!
by Radmila Gurkova
httpv://www.youtube.com/watch?v=-sbkuvd3-G8 Have you heard of the recent news that Vampire skeletons have been found in Bulgaria with Iron Steaks through their hearts? Archeologists in Bulgaria have found two MEDIEVAL remains that they think are vampires. Piercing through their hearts were two Iron RODS that were supposedly to pr...

07

June 2012
No Pollution! No Cars!
by Radmila Gurkova
Have a look at this video... ...

07

June 2012
Is graffiti vandalism or street art?
by Radmila Gurkova
httpv://www.youtube.com/watch?v=KNkM3WUTAB0 Madrid has witnessed an increasing amount of Graffiti in the city recently. TAGS – are the names given to the graffiti we see – they are the initials of the artist and cover many walls, buildings and doorways of most cities, but not more recently so than in Madrid....

30

May 2012
Coffee is good for you!
by Radmila Gurkova
httpv://www.youtube.com/watch?v=WTLrKXl16ug A recent study lasting for over 14 years in America, involving more than 400,000 people found that coffee is good for you!People who were studied had been drinking more than six or more cups a day. All people were middle-aged ranging from 50 to 70 years old. Research fo...

29

May 2012
The Queen of Disco is dead!!!
by Radmila Gurkova
httpv://www.youtube.com/watch?v=b3zwUBtuieg&feature=related Donna Summer - the Queen of disco died recently at the age of 63. Suffering from Lung Cancer she became a LEGEND and a leading star of the seventies and eighties disco music. The woman who transformed the dance floor into a GLITTERING BALL...

29

May 2012
A Diamond Celebration
by Radmila Gurkova
httpv://www.youtube.com/watch?v=FSCm4QXcwnw On the 5th June this year the Queen will celebrate her Diamond Jubilee; 60 years as a REIGNING MONARCH.In 1977 the Her Majesty celebrated her Silver JUBILEE – which marked her 25th...

24

May 2012
Aliens - The truth is out there...
by Radmila Gurkova
httpv://www.youtube.com/watch?v=wI7Pb_VVqFo Commercial divers have stumbled upon an incredible find. A U.F.O! A group of divers in the Baltic Sea were making their final run to the bottom of the ocean with a ‘sonar fish’ - a sensor when it suddenly showed what looked like the shape of a U.F.O. The image was about 60 meters across, which is...

19

May 2012
Information is food!!
by Radmila Gurkova
httpv://www.youtube.com/watch?v=3A1LvXRnpVg JP Rangaswami – innovator and chief information officer for many leading financial businesses likes to think that food and information are the same thing and that energy and data are similar. He believes that monkeys can learn faster than humans because their brains are larger and their stomachs a...

19

May 2012
Mexican children speak out!
by Radmila Gurkova
httpv://www.youtube.com/watch?v=Ze7T3eNhoRA Children in Mexico have assisted in making a publicity movie to help promote a serious point about the political climate in their country. The video shows street scenes of corruption, illegal immigration and mugging. Children play all the parts as adults and it has been labelled as a ''mockumentary...