thesis project by willer travassos. what is gwap? the term gwap stands for game with a purpose, but...

41
Thesis Project Thesis Project By Willer Travassos By Willer Travassos

Upload: nora-meryl-mcdonald

Post on 13-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Thesis ProjectThesis Project

By Willer TravassosBy Willer Travassos

Page 2: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

What is GWAP?What is GWAP?

The term GWAP stands for Game With A The term GWAP stands for Game With A Purpose, but what does that actually Purpose, but what does that actually mean?mean?

It means that we channel human brain It means that we channel human brain power to solve tasks that computers can’t power to solve tasks that computers can’t yet achieve.yet achieve.

Done using games, such that it is an Done using games, such that it is an enjoyable experience for the people enjoyable experience for the people playing it.playing it.

Page 3: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

What is GWAP?What is GWAP?

We can find such types of games on We can find such types of games on www.gwap.comwww.gwap.com

It hosts games developed, during the research It hosts games developed, during the research of Prof. Luis von Ahn, in the area of Internet of Prof. Luis von Ahn, in the area of Internet Accessibility using image, video, and song Accessibility using image, video, and song tagging.tagging.

These games involve two people seeing an These games involve two people seeing an image (video, or audio) and describing it using image (video, or audio) and describing it using one word. If the word matches, then it is added one word. If the word matches, then it is added to the image description. to the image description.

Page 4: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Possible ApplicationsPossible Applications

But the main idea of GWAP does not But the main idea of GWAP does not need to be only applied towards internet need to be only applied towards internet accessibility.accessibility.

ReCAPTCHA for example uses human ReCAPTCHA for example uses human brain power to determine the spelling of brain power to determine the spelling of words from scanned book pages. words from scanned book pages.

There are still several tasks/problems There are still several tasks/problems that computers can’t solve, while humans that computers can’t solve, while humans solve them easily.solve them easily.

Page 5: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Possible ApplicationsPossible Applications

Of the 5 senses, the one that seems to Of the 5 senses, the one that seems to have more promising results is the Sight have more promising results is the Sight sense.sense.

Using this fact, and my experience of the Using this fact, and my experience of the computer vision classes I took, I decided computer vision classes I took, I decided to explore thesis subjects on a GWAP to explore thesis subjects on a GWAP that dealt with sight.that dealt with sight.

More specifically, Face Recognition. More specifically, Face Recognition.

Page 6: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Face RecognitionFace Recognition

Even though there have been research Even though there have been research and extensive work done around face and extensive work done around face recognition software, it is not perfect.recognition software, it is not perfect.

It has weaknesses, such as working It has weaknesses, such as working properly under certain environmental properly under certain environmental circumstances, and viewing angles.circumstances, and viewing angles.

But the biggest problem, is that face But the biggest problem, is that face recognition seem to be less effective recognition seem to be less effective when facial expressions are made. when facial expressions are made.

Page 7: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Face RecognitionFace Recognition

So how can we solve problems like these?So how can we solve problems like these? Since machines fail at things that we seem Since machines fail at things that we seem

to figure out so easily, why not use to figure out so easily, why not use humans to figure them out?humans to figure them out?

As you can see this is the main idea of As you can see this is the main idea of GWAP, and it is where it can aid us.GWAP, and it is where it can aid us.

To help us further, there is such a game To help us further, there is such a game that consists of describing facial features. that consists of describing facial features. Namely, “Guess Who?”.Namely, “Guess Who?”.

Page 8: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Guess Who?Guess Who?

Guess Who? is a board Guess Who? is a board game, in which the game, in which the player’s goal is to guess player’s goal is to guess the mystery person of the mystery person of his/hers adversary.his/hers adversary.

The game starts by the The game starts by the players choosing their players choosing their sides (blue or red), and sides (blue or red), and then drawing one of the then drawing one of the face cards.face cards.

After determining who After determining who starts the match, players starts the match, players keep asking yes or no keep asking yes or no questions (e.g. Is this questions (e.g. Is this person blonde?).person blonde?).

Page 9: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Guess Who?Guess Who?

As a player receives answers to his/hers As a player receives answers to his/hers questions, he or she eliminates the faces questions, he or she eliminates the faces cards that do not fit that answer.cards that do not fit that answer.

Each turn can be used to ask a question Each turn can be used to ask a question or to guess the mystery person.or to guess the mystery person.

The Game ends after one of the players The Game ends after one of the players guess correctly the mystery person of its guess correctly the mystery person of its opponent.opponent.

Page 10: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

What I want to is…What I want to is…

Simply I want to apply the use of a Guess Simply I want to apply the use of a Guess Who? Style GWAP to perform a very reliable Who? Style GWAP to perform a very reliable face recognition method.face recognition method.

More importantly, I want to use my GWAP to More importantly, I want to use my GWAP to create a deep database that contains the create a deep database that contains the subjectivity of human facial analysis.subjectivity of human facial analysis.

This means that I want to understand what and This means that I want to understand what and how a human brain interprets faces being the how a human brain interprets faces being the same as another. What features leads us to do same as another. What features leads us to do such.such.

Page 11: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

What I want to is…What I want to is…

This approach is obviously no the fastest This approach is obviously no the fastest method to facial recognition, but it approximates method to facial recognition, but it approximates best to our capacity of detecting facial features.best to our capacity of detecting facial features.

Which can lead better face recognition Which can lead better face recognition algorithms, and understand the subjectivity that algorithms, and understand the subjectivity that troubles to today’s algorithms.troubles to today’s algorithms.

A second very important “side-effect” to this A second very important “side-effect” to this approach takes us to the field of Computer approach takes us to the field of Computer Vision.Vision.

Page 12: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

What I want to is…What I want to is…

What this brings to Comp. Vision?What this brings to Comp. Vision? Well, players will be feeding data about faces Well, players will be feeding data about faces

every time they play the game. This means that a every time they play the game. This means that a computer will learn more and more about a face computer will learn more and more about a face and its details, no matter how the face is and its details, no matter how the face is presented.presented.

This bit of machine learning can be used train This bit of machine learning can be used train computer, robots, and etc to better understand computer, robots, and etc to better understand and investigate facial details. and investigate facial details.

To better recognize people, like children learning To better recognize people, like children learning to recognize what certain facial expressions mean, to recognize what certain facial expressions mean, or which people are part of their family…or which people are part of their family…

Page 13: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Working with my GWAPWorking with my GWAP

Like any other site, players who plan to Like any other site, players who plan to fully use my GWAP need to register first.fully use my GWAP need to register first.

I plan on allowing guests playing the I plan on allowing guests playing the game. game.

Once registered the users can access Once registered the users can access the game lobby, where user can chat, the game lobby, where user can chat, among other things (Note: only chat among other things (Note: only chat implemented until now).implemented until now).

Page 14: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Working with my GWAPWorking with my GWAP

What does it mean to fully use the game?What does it mean to fully use the game? Aside from the obvious use the other Aside from the obvious use the other

services the game provides, there is the services the game provides, there is the important option of adding pictures of a important option of adding pictures of a person to his or hers profile.person to his or hers profile.

One difference from the other GWAP is One difference from the other GWAP is that I cannot keep providing pictures of that I cannot keep providing pictures of faces by myself. faces by myself.

Page 15: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Working with my GWAPWorking with my GWAP

Instead I will let users add them and let Instead I will let users add them and let them initially tag pictures, as if they were them initially tag pictures, as if they were in a social networking site.in a social networking site.

This initial tag uses the most common This initial tag uses the most common attribute of the faces in these pictures. attribute of the faces in these pictures. Namely, that person’s name.Namely, that person’s name.

To add such pictures users have to To add such pictures users have to search first for people with that might search first for people with that might already been added in our database.already been added in our database.

Page 16: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we
Page 17: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we
Page 18: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Adding PicturesAdding Pictures

The search is made on the names already The search is made on the names already entered in the database, using a mix of the entered in the database, using a mix of the Double Metaphone, and Levenshtein distance Double Metaphone, and Levenshtein distance algorithms.algorithms.

Which provides then possible results. Which provides then possible results. Remember that people with equal names are Remember that people with equal names are allowed.allowed.

As tags are added to the pictures users, can As tags are added to the pictures users, can search people according to the tags that search people according to the tags that describe them.describe them.

Page 19: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Double Metaphone (DM)Double Metaphone (DM)

Published by Lawrence Phillips is part of a Published by Lawrence Phillips is part of a class of algorithms called phonetic algorithms.class of algorithms called phonetic algorithms.

This type of algorithm attempt to detect This type of algorithm attempt to detect relationship between words through sounds relationship between words through sounds they make. The version I am using is made by they make. The version I am using is made by Adam Nelson.Adam Nelson.

DM works by producing 2 possible keys that DM works by producing 2 possible keys that represents the sound a word makes in 4 represents the sound a word makes in 4 characters (the sweet spot between specificity characters (the sweet spot between specificity and generality).and generality).

Page 20: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Double Metaphone (DM)Double Metaphone (DM)

The first key created represents the English The first key created represents the English pronunciation, while the second key represents pronunciation, while the second key represents an alternative (although not usually computed).an alternative (although not usually computed).

I then use these keys to create a unique tag for I then use these keys to create a unique tag for a picture, which represents a picture, and store a picture, which represents a picture, and store in the database.in the database.

In case there is people with the exact same In case there is people with the exact same name, I added an extra field to determine name, I added an extra field to determine different people.different people.

Page 21: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

ExampleExample

DM is great because it allows good name DM is great because it allows good name searches even for misspelled words, searches even for misspelled words, since we concentrate on possible sounds since we concentrate on possible sounds a word makes.a word makes.

For example: Willer or Wiler, would be For example: Willer or Wiler, would be considered the same. So if somebody considered the same. So if somebody was looking for me and misspelled my was looking for me and misspelled my name, they could still find me. name, they could still find me.

Page 22: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Levenshtein DistanceLevenshtein Distance

Created by Vladimir Levenshtein, this algorithm Created by Vladimir Levenshtein, this algorithm measures the differences/distance between two measures the differences/distance between two strings using fuzzy logic (like a spell checker).strings using fuzzy logic (like a spell checker).

It is done by calculating the minimum number of It is done by calculating the minimum number of insertions, deletions, and substitutionsinsertions, deletions, and substitutions

Once the DM is used to generate keys, and save Once the DM is used to generate keys, and save on the database. I use Levenshtein to compare on the database. I use Levenshtein to compare the keys generated by the name search with the the keys generated by the name search with the keys of all name tags of saved pictures.keys of all name tags of saved pictures.

Then rank the search results according to the Then rank the search results according to the generated Levenshtein distance. From Lowest to generated Levenshtein distance. From Lowest to Highest. Highest.

Page 23: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

ExampleExample

Words to be compared: ant, aunt Words to be compared: ant, aunt Levenshtein distance: 1Levenshtein distance: 1 One edit is needed, since we need to One edit is needed, since we need to

insert the u between a and n. insert the u between a and n.

Page 24: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

The GameThe Game

The game mirrors Guess Who? with The game mirrors Guess Who? with some needed changes.some needed changes.

Remember that the main idea here is to Remember that the main idea here is to link different pictures of a same person. link different pictures of a same person. In a way that is more efficient than In a way that is more efficient than today’s algorithms.today’s algorithms.

Guess Who? Is played with a set 48 Guess Who? Is played with a set 48 cards, with 24 people in it. Each person cards, with 24 people in it. Each person has 2 equal pictures.has 2 equal pictures.

Page 25: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

The GameThe Game

The GWAP has 40 different pictures of The GWAP has 40 different pictures of 20 people, at each match being played.20 people, at each match being played.

Players naturally tag different pictures of Players naturally tag different pictures of one person, throughout a GWAP match,one person, throughout a GWAP match,

Asking question about his or hers Asking question about his or hers mystery person and asking the other mystery person and asking the other player about the ’s screen.player about the ’s screen.

Page 26: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we
Page 27: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we
Page 28: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we
Page 29: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we
Page 30: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we
Page 31: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

The GameThe Game

Once the mystery person is correctly Once the mystery person is correctly guessed the game ends, and both guessed the game ends, and both players are asked to rate one another.players are asked to rate one another.

The rating system tracks the actions, and The rating system tracks the actions, and behavior of one player throughout a behavior of one player throughout a match.match.

Each player has a positive and negative Each player has a positive and negative score, and the Reputation of one player score, and the Reputation of one player is calculating by averaging both.is calculating by averaging both.

Page 32: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we
Page 33: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we
Page 34: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

The GameThe Game

The Reputation score serves as means The Reputation score serves as means to identify players that bring a positive to identify players that bring a positive impact on the matches and the site.impact on the matches and the site.

It can also be used to avoid users with It can also be used to avoid users with low scores, i.e. players that might cheat low scores, i.e. players that might cheat or behave improperly, to play matches or behave improperly, to play matches against other players.against other players.

Page 35: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Future PlansFuture Plans

Here are some of the ideas that I haven’t Here are some of the ideas that I haven’t yet implemented, or would like to have in yet implemented, or would like to have in the future:the future:

When adding pictures, I would like the When adding pictures, I would like the users to have the option of either users to have the option of either entering a face picture, or entering a entering a face picture, or entering a normal picture and tagging the faces that normal picture and tagging the faces that appear in it.appear in it.

Page 36: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Future PlansFuture Plans

Remove the client lobby part that show Remove the client lobby part that show available rooms, and switch to a random available rooms, and switch to a random pairing, of people, to play a match.pairing, of people, to play a match.

Create profile pages for an user, so that, he or Create profile pages for an user, so that, he or she can track scores, pictures added by him or she can track scores, pictures added by him or her, or another person.her, or another person.

Also, I would like to have a mechanism where Also, I would like to have a mechanism where people vote or agree on whether new added people vote or agree on whether new added pictures correspond to the same person.pictures correspond to the same person.

Page 37: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Future PlansFuture Plans

Ideas for the moment have been:Ideas for the moment have been: Users check on their profiles and agree the Users check on their profiles and agree the

added pictures are him/her or not.added pictures are him/her or not. While loading a game, users can vote on While loading a game, users can vote on

whether newly added pictures correspond to whether newly added pictures correspond to a person, by comparing the new ones with a person, by comparing the new ones with the older.the older.

The last radical measure is to allow users to The last radical measure is to allow users to only add pictures of themselves.only add pictures of themselves.

Page 38: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

Future PlansFuture Plans

Change the manner questions are made, Change the manner questions are made, by either restricting options on written by either restricting options on written questions, or changing the manner questions, or changing the manner questions are asked.questions are asked.

The GWAP that I have until now, The GWAP that I have until now, provides me with basic functionality, but it provides me with basic functionality, but it provides enough to base my thesis.provides enough to base my thesis.

Page 39: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

ResourcesResources

Luis von Ahn, and Laura Dabbish, “Labeling Images Luis von Ahn, and Laura Dabbish, “Labeling Images with a Computer Game”, ACM Conference on Human with a Computer Game”, ACM Conference on Human Factors in Computing Systems (CHI 2004), April 2004.Factors in Computing Systems (CHI 2004), April 2004.

Luis von Ahn, Ruoran Liu and Manuel Blum, Luis von Ahn, Ruoran Liu and Manuel Blum, “Peekaboom: A Game for Locating Objects in Images”,“Peekaboom: A Game for Locating Objects in Images”, ACM Conference on Human Factors in Computing ACM Conference on Human Factors in Computing Systems (CHI 2006), April 2006.Systems (CHI 2006), April 2006.

Luis von Ahn, Mihir KediaLuis von Ahn, Mihir Kedia and Manuel Blum, and Manuel Blum, “Verbosity: A Game for Collecting Common-Sense “Verbosity: A Game for Collecting Common-Sense Facts”, ACM Conference on Human Factors in Facts”, ACM Conference on Human Factors in Computing Systems (CHI 2006), April 2006.Computing Systems (CHI 2006), April 2006.

Page 40: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

ResourcesResources

Luis von Ahn, Shiry Ginosar, Mihir Kedia, Ruoran Liu and Manuel Blum, CHI 2006, “Improving Accessibility of the Web with a Computer Game”, April 2006.

George W. Furnas, Kevin Fox, Caterina Fake, Marc Davis, Luis von Ahn, Cameron Marlow, Joshua Schachter, Mor Naaman, Scott Golder, “Why Do Tagging Systems Work?”, CHI 2006 (Panel), April 2006.

Page 41: Thesis Project By Willer Travassos. What is GWAP?  The term GWAP stands for Game With A Purpose, but what does that actually mean?  It means that we

ResourcesResources

““ReCAPTCHA web site”, http://recaptcha.net, ReCAPTCHA web site”, http://recaptcha.net, [March 2, 2009][March 2, 2009]

““Double Metaphone implementation by Adam Double Metaphone implementation by Adam Nelson”, Nelson”, www.codeproject.com/KB/string/dmetaphone1.www.codeproject.com/KB/string/dmetaphone1.aspx , [June 2009]aspx , [June 2009]

““Levenshtein algorithm Implementation”, Levenshtein algorithm Implementation”, dotnetperls.com/levenshtein, [June 2009]dotnetperls.com/levenshtein, [June 2009]

http://www.ehow.com/how_2054106_play-http://www.ehow.com/how_2054106_play-guess-who.html, [February 2009]guess-who.html, [February 2009]