yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Massive-scale online collaboration - Luis von Ahn


13m read
·Nov 8, 2024

How many of you have had to fill out some sort of web form where you've been asked to read a distorted sequence of characters like this? Yeah, how many of you found it really, really annoying? Okay, outstanding. So, I invented that, or I was one of the people who did it. That thing is called a captcha, and the reason is there is to make sure that 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. You know, 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 are 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; this person thought they needed to wait. This, of course, is not as bad as this poor person who—uh, okay, now captcha project is something that we did here at Carnegie Mellon over 10 years ago, and it's been used everywhere.

Uh, let me not tell you about a project that we did a few years later, which is sort of the next evolution of captchas, just 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.

Okay, so this project started from the following realization: it turns out that approximately 200 million captchas are typed every day by people around the world. Okay, 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. So, 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 the humanity as a whole is wasting about 500,000 hours every day typing these annoying captchas.

So then I started feeling bad, 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 in which 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 there's some humongous problem that we cannot get computers to solve, but that somehow 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. Okay, 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 Kindles, trying to digitize books.

Basically, the way this works is you start with an old book, like a physical thing. You've seen those things, right? Like, okay, 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 done using a technology called OCR for Optical Character Recognition, which takes a picture of text and tries to figure out what the 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% of the words.

So what we're doing now is we're taking all 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. Okay, so 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 couldn't 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. You 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.

Okay, 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're 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 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 have 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.

Okay, now, of course, since we're doing so many words per day, funny things can happen, and this is especially true because see now we're giving people two randomly chosen English words next to each other. Okay, so funny things can happen. So for example, we presented this word; it's the word "Christians." There's nothing wrong with it. But if you present it alongside another randomly chosen word, bad things can happen.

But it's even worse because the particular website where we show this actually happened to be called "The Embassy of the Kingdom of God." Oops! Yep. Uh, here's another really bad one at JohnEdwards.com. Okay, so we keep on insulting people left and right every day.

Now, of course, we're not just insulting people. See, here's the thing: since we're presenting two randomly chosen words, just interesting things can happen. So this has actually 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: okay, imagine you're using the internet, and you see a captcha that you think is somewhat peculiar, like this captcha. Then what you're supposed to do is you take a screenshot of it, then of course you fill out the captcha because you help us digitize a book, but then first you take a screenshot and then you draw something that is related to it. That's how it works. There are tens of thousands of these. Some of them are very cute, some of them are funnier, and some of them, like "Paleontological Schwizzle," contain Snoop Dogg.

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% of the world's population that 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, like historically, like for example, uh, building the pyramids of Egypt or the Panama Canal or putting a man on the moon, there's a curious fact about them, and it is that they were all done with about the same number of people.

It's weird; they're all done with about a hundred thousand people. And the reason for that is because before the internet, coordinating more than a hundred thousand people, let alone paying them, was essentially impossible. But see 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 a hundred thousand, 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 so 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, oh yeah, I can trust you with that.

Okay, so this is a project. Here's how it started. It started with me posting a question to my graduate student, Severan Hacker. Okay, that's Evern Hacker. So I posed a question to my graduate student. By the way, he's left; you did hear me correctly, his last name is Hacker. So I posed this question to him: how can we get a hundred 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.

Okay, so that's what I would like to do. Now, some of you may say, well, 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. It's 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. The person starts apologizing from the fact that it's translated with a computer. Okay, so the next sentence is going to be the preamble to the question. So he's just explaining something. Remember, it's a question about JavaScript. Okay, then comes the first part of the question. Then comes my favorite part of the question, and then comes the ending, which is my favorite part of the whole thing.

Okay, so computer translation is not yet good enough. Okay, so back to the question. So we need people to translate the whole web. Okay, 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.

Um, unfortunately, it would be extremely expensive. For example, translating a tiny, tiny fraction of the whole web, Wikipedia, into one other language, Spanish. Okay, you know Wikipedia exists in Spanish, but it's very small compared to the size of English. It's about 20% of the size of English. If we wanted to translate the other 80% into Spanish, it would cost at least 50 million dollars.

And this is even at the most exploited outsourcing country out there. Okay, so it'd be very expensive. So what we want to do is we want to get 100 million people to translate the web into every major language for free. Okay, now if this is what you want to do, you pretty quickly realize you're going to run into two pretty big hurdles or two big obstacles.

Okay, the first one is a lack of bilinguals. Okay, 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. Okay, that's a big problem. The other problem that you're going to run into is the 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 of 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.

Okay, 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 5 million people who have paid over $500 for software to learn a new language.

Okay, 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.

Okay, so the way this works is whenever you're 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. Okay? 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. Okay, now the crazy thing about this method is that it actually really works. Okay? 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.

Okay, the other thing—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 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 language translator who paid 20 cents a word for this translation, and the bottom is the 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. Okay, now even though we're combining the translations, the site actually can translate pretty fast.

So let me show you this: this is our estimate of how fast we could translate Wikipedia from English into Spanish. Remember, this is $50 million worth of value. Okay, so if we wanted to translate 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 that 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. In particular, the student pays Rosetta Stone $500; that's the current business model. The problem with this business model is that 95% of the world's population doesn't have $500, so it's extremely unfair towards the poor. Okay, this is totally biased towards the rich.

Now see, in Duolingo, because while you learn, you're actually creating value; you are 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 with 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 to be spent anyways learning the language. Okay? 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. So here's the site we haven't yet launched.

Um, but if you go there, you can sign up to be part of our private beta, which are 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.

More Articles

View All
Product Leverage Is Egalitarian
Labor and capital are much less egalitarian, not just in their inputs but in their outputs. Let’s say that I need something that humans have to provide; like if I want a massage or if I need someone to cook my food. The more of a human element there is in…
Packet, routers, and reliability | Internet 101 | Computer Science | Khan Academy
Hi, my name is Lynn Root. I am a software engineer here at Spotify, and I’ll be the first to admit that I often take for granted the reliability of the internet. The sheer amount of information zooming around the internet is astonishing. How is it possibl…
Meet the Ice Cook | Drugs, Inc.
While some bikie gangs go for the high-cost model of importing their meth, Ready-Made Black Demons outfit is taking a different approach. God is low T in the gangs; we cannot actually accept him as a member because he uses. But we look after the drugs and…
Multiplying using area models and the standard algorithm
What we’re going to do in this video is multiply the numbers 352 and 481, and we’re gonna do it in two different ways. But realize that the underlying ideas are the same. So first, let’s just appreciate that 352 can be rewritten as 300 plus 50 plus 2, or…
An Island On the Brink of Collapse Makes a Huge Comeback | Short Film Showcase
[Music] Kakuta is a tiny islet in the Zanzibar archipelago off the coast of Tanzania in East Africa. [Applause] For centuries, Cotton’s have prospered by making a living off the land, and safe it is not the kind of place you’d expect to find people innova…
Welcome to Earth | Official Trailer - Audio Description | Disney+
A six-part Disney Plus original series. Will Smith steps out of a red SUV. “I’ve got a confession to make,” words appear over a blue and green sphere from National Geographic. “I’ve never climbed a mountain,” Will repels down a volcano. Academy Award nomi…