Return to the talk Return to talk
Transcript
Select language

0:11 How many of you had to fill out some sort of web form where 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.

0:24 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.

0:50 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.

1:24 (Laughter)

1:26 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.

1:46 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.

2:16 (Laughter)

2:18 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.

2:52 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.

3:18 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.

4:01 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.

4:42 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.

5:20 (Applause)

5:28 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 this actually 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.

6:16 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 meme that 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.

7:19 (Laughter)

7:22 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 Canal or 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?

8:25 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?

9:05 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.

9:28 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.

9:48 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.

10:53 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.

11:35 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.

12:25 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.

12:55 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 sentences along 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.

13:17 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.

13:46 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.

14:29 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.

15:00 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.

15:57 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.

16:18 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.

16:25 (Applause)