Difference between revisions of "Mechanical Turk (Tool)"
(51 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Project |
− | | | + | |Has project output=Tool,Guide |
− | | | + | |Has sponsor=McNair Center |
− | | | + | |Has title=Mechanical Turk (Tool) |
− | | | + | |Has start date=Summer 2016 |
− | | | + | |Has keywords=Tool |
+ | |Has project status=Complete | ||
}} | }} | ||
==Description== | ==Description== | ||
Line 32: | Line 33: | ||
In the steps below, we describe the creation of a Turk project that asks Turk workers to find the twitter handles of companies. It will take as input a series of google search queries in csv form and the workers to enter the search strings into google and look to see if there are google handles that are returned on the first page of the search results. | In the steps below, we describe the creation of a Turk project that asks Turk workers to find the twitter handles of companies. It will take as input a series of google search queries in csv form and the workers to enter the search strings into google and look to see if there are google handles that are returned on the first page of the search results. | ||
+ | '''Step 1, Geting Started:''' Click on Create link on the home page. It will bring you to the page that has all the existing projects. | ||
− | + | Figure 1: Existing Projects | |
+ | [[File: Create.png|800px]] | ||
− | Figure | + | '''Step 2: Choosing Project Type:''' Click on New Project link and you will be brought to a page that asked you to choose a project type. That is, whether you want your project to be a survey or data collection or any other format. There will be an example project in this type once you click on the link. Figure 2 is an example of data collection project. |
+ | |||
+ | Figure 2: Data Collection Example | ||
+ | |||
+ | [[File: ChooseType.png|800px]] | ||
+ | |||
+ | |||
+ | '''Step 3, Project Info:''' Once you have decided on the type of the project, click on Create Project link. You will be brought to an interface with a number of text entry boxes. You want to summarize your project in ways that will be informative for the team as well as potential Turk workers choosing between projects. In the figure below, we describe a HIT Project FINISH. | ||
+ | |||
+ | |||
+ | Figure 3: Twitter Project Info{{clear}} | ||
[[File:ProjectDescription.png]] | [[File:ProjectDescription.png]] | ||
− | '''Step | + | '''Step 4, Choosing Pay Level:''' Once you have named the project, you have to decide on pay scale (Reward per assignment) and the number of people working on each project (number of assignments per HIT). The higher the pay per HIT, the quicker your work will be completed by turkers, but you obviously do not want to waste money. A good rule of thumb is to work on the tasks you need completed by turkers for 30 minutes and then see how many rows you completed. We want the per HIT pay rate to roughly equal $10.00 in hourly wage to get things done efficiently on the system. For example, if 50 rows can be completed in 30 minutes, then the pay level per HIT will be $10/2/50 =$0.1. If you decide to have more than 1 worker per HIT, it will be because you believe that the data task requires a certain amount of human judgement and you want to make sure that you only accept results that have been "verified" by multiple people. The last three parameters in this box determine how each HIT will be completed by each worker and how long the HIT stays in the system. You generally want "Time Allotted" to be 1 hour. Expiration of the HIT doesn't matter that much. One of the last important choice in this screen is the "Auto-approve" option. The quicker the auto approve, the more likely that Turkers will take your task. For now, set it to 24 hours, but remember that you are responsible for regularly auditing results when you have a project up on the Turk system. |
− | Figure | + | Figure 4: Cost Parameters in Mturk{{clear}} |
[[File:Costing.png]] | [[File:Costing.png]] | ||
− | '''Step | + | |
+ | '''Step 5, Worker Requirement:''' To be updated by Dan | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | '''Step 6, Design Layout:''' At this point, you have to design what the turker sees when they receive your assignment. While it is possible that one turker will complete multiple HITs, it is important to design the HIT so that it can be easily completed the first (and possibly only) time by the worker. In figure 5, below, you can see the initial design layout of the default data acquisition project in the turk system. It is an example HIT that asks turkers to find the website of a restaurant. Please note that this is not a great HIT in terms of the level of clarity of the instructions. We will provide guidelines on creating instructions below. For now, just notice a few features of the HIT. To the right of "Restaurant Name", there is a field called ${name}. This is actually a hook, or a blanks space, that will be populated with the actual name of a restaurant that will come from a spread sheet that you will upload into the turk system. Each HIT will correspond to one row of the spreadsheet. This is the same for the "Address" and "Phone Number" rows. The last key thing to notice is the "Website Address" field with a text entry box right below it. When a turker receives this HIT, they will paste the web address into this text box and you will receive a new spreadsheet with whatever they (add all the other turkers) pasted in the same row as the data you used to populate each HIT. | ||
− | Now, How do you modify this HIT to reflect your actual data task? You can actually change the wording of the task directly in the editor screen. Make sure that all of the data element hooks (like ${name}) correspond to the actual names of the columns in the CSV file that you will upload on the turk system. But what if you need the task to look substantially different from the one you are looking at? If you click on the "Source", it will show you the actual html code of your HIT task as displayed in Figure | + | Now, How do you modify this HIT to reflect your actual data task? You can actually change the wording of the task directly in the editor screen. Make sure that all of the data element hooks (like ${name}) correspond to the actual names of the columns in the CSV file that you will upload on the turk system. But what if you need the task to look substantially different from the one you are looking at? If you click on the "Source", it will show you the actual html code of your HIT task as displayed in Figure 6. The turk system allows you to display a full website essentially for your HIT task with javascript, CSS, etc. As we develop our system at the McNair center, your will have more existing tasks to choose from, but when you need to actually build your own, some useful HTML references are listed below. When you have completed editing your HIT template, click on the "Save" Button and then move to "Preview". In this last screen, it will show you exactly what the turkers will see (Figure 7). If it looks correct, click "Finish" |
;HTML references | ;HTML references | ||
: https://developer.mozilla.org/en-US/docs/Web/HTML/Element | : https://developer.mozilla.org/en-US/docs/Web/HTML/Element | ||
− | : | + | : http://www.w3schools.com/html/default.asp |
− | Figure | + | Figure 5: Design Layout {{clear}} |
[[File:DesignLayout2.png]] | [[File:DesignLayout2.png]] | ||
− | Figure | + | Figure 6: Design Layout, Raw HTML {{clear}} |
[[File: DesignLayoutRaw.png]] | [[File: DesignLayoutRaw.png]] | ||
− | Figure | + | Figure 7: HIT Preview {{clear}} |
[[File: HITPreview.png]] | [[File: HITPreview.png]] | ||
− | '''Step | + | '''Step 7, Publishing a Batch:''' Now that you have your HIT Template ready, you can post to the Turk system. To do so, Click the "Publish Batch" button in figure 8. It will then ask you to upload a csv file for that batch. Remember that this CSV file has to have headers that correspond to the data hooks in your template. Once you have successfully uploaded, you should be able to confirm payment and publish the batch. If there is not enough money preloaded on the turk system. Notify either Dan or Ed. |
− | Figure | + | Figure 8: HIT Publishing{{clear}} |
[[File: PublishBatch.png]] | [[File: PublishBatch.png]] | ||
+ | |||
+ | ==Examples in Papers== | ||
+ | *Hubs Paper (Section 2.2.3): [[Hubs (Academic Paper)]] | ||
==Existing HIT Library== | ==Existing HIT Library== | ||
− | + | #Twitter Activity(Data Collection) | |
+ | Input: Search Text: Copy and Paste the search text:CompanyName City "Twitter"(e.g.Capital Factory Austin Twitter) into a searching engine | ||
+ | Company Name: Click on the link that has the company name | ||
+ | Data Collect: Twitter Handle: copy and paste the Twitter handle of the company | ||
+ | Twitter Activity: Record the date(MM/DD/YY) of the latest 10th tweet/retweet | ||
==TDL with HITS== | ==TDL with HITS== | ||
− | * | + | *Meeting on 07/08: Dan, Todd, Ariel |
− | * | + | #Add Step 1 and Step 2 (Ariel) |
+ | #Update the part on pay level (Ariel) | ||
+ | #Step 5: 'worker requirement' to be updated by Dan | ||
+ | |||
+ | *07/11 | ||
+ | #Publish ''Twitter Activity'' project | ||
+ | #Work on ''Number of events'' and ''Onsite mentors'' turks | ||
+ | |||
+ | *07/12 | ||
+ | *Evaluate results of Twitter Activity Turk (Todd) | ||
+ | |||
+ | *07/13 | ||
+ | *Try to find more potential Hubs from current incubators<!-- flush flush --><!-- flush flush --> |
Latest revision as of 12:48, 21 September 2020
Mechanical Turk (Tool) | |
---|---|
Project Information | |
Has title | Mechanical Turk (Tool) |
Has start date | Summer 2016 |
Has deadline date | |
Has keywords | Tool |
Has project status | Complete |
Has sponsor | McNair Center |
Has project output | Tool, Guide |
Copyright © 2019 edegan.com. All Rights Reserved. |
Contents
Description
The purpose of this page is to introduce people to the use of mechanical turk in data processing. The document is structured as follows: 1. It begins by describing the mechanical turk and the many ways in which it can be used. 2. it provides simple getting started instructions that allows a new user to access the mechanical turk system and begin a new project. 3. We give an example of a project with sample code.
What is Mechanical Turk
Mechanical Turk (Mturk) is a system that allows people to outsource work to many different people in an efficient way. For the purposes of the McNair center, we will be focused on the use of Mturk for the acquisition and cleaning of data. This is a great way to look up or clean data when you have a small number of easily understood steps that need to be repeated many times. If you data task fits this definition, then it is worth thinking about turning it into a Mturk task. In the example below, we think about how to find all the Twitter handles for a set of companies in a spreadsheet. If you were to do this by hand as an RA, you would start with the spreadsheet and go through each row searching on either google or twitter for each company. In Mturk, you would create a project. In that project, you would create a task template that would provide a set of overall instructions as well as hooks to fill in specific information about one row from your spreadsheet. When the turker receives their assignment, or HIT, they will see both the overall instructions and the specific information for that row of data in your spreadsheet. The Mturk system allows many people to work on your spreadsheet in parallel allowing the work to be completed much more quickly. If this is confusing, we will provide a concrete example below. For now, just bear in mind some essential vocabulary.
- Mechanical Turk Vocabulary
- Requester: the people posting work on the system
- HIT: one task completed by a worker
- Project: a collection of HITs
- Turker: a worker on Mturk
Accessing the Mechanical Turk Platform
- go to The Mechanical Turk Requester page
- Log into the system using the following
- email: esi@rice.edu
- pass: 9Million!
- To create a new project, click on the Create link and follow the directions in the Create Project Example section below
- To modify an existing project, follow the directions in the Modify an Existing Project section below
Creating a New Project Example
In the steps below, we describe the creation of a Turk project that asks Turk workers to find the twitter handles of companies. It will take as input a series of google search queries in csv form and the workers to enter the search strings into google and look to see if there are google handles that are returned on the first page of the search results.
Step 1, Geting Started: Click on Create link on the home page. It will bring you to the page that has all the existing projects.
Figure 1: Existing Projects
Step 2: Choosing Project Type: Click on New Project link and you will be brought to a page that asked you to choose a project type. That is, whether you want your project to be a survey or data collection or any other format. There will be an example project in this type once you click on the link. Figure 2 is an example of data collection project.
Figure 2: Data Collection Example
Step 3, Project Info: Once you have decided on the type of the project, click on Create Project link. You will be brought to an interface with a number of text entry boxes. You want to summarize your project in ways that will be informative for the team as well as potential Turk workers choosing between projects. In the figure below, we describe a HIT Project FINISH.
Figure 3: Twitter Project Info
Step 4, Choosing Pay Level: Once you have named the project, you have to decide on pay scale (Reward per assignment) and the number of people working on each project (number of assignments per HIT). The higher the pay per HIT, the quicker your work will be completed by turkers, but you obviously do not want to waste money. A good rule of thumb is to work on the tasks you need completed by turkers for 30 minutes and then see how many rows you completed. We want the per HIT pay rate to roughly equal $10.00 in hourly wage to get things done efficiently on the system. For example, if 50 rows can be completed in 30 minutes, then the pay level per HIT will be $10/2/50 =$0.1. If you decide to have more than 1 worker per HIT, it will be because you believe that the data task requires a certain amount of human judgement and you want to make sure that you only accept results that have been "verified" by multiple people. The last three parameters in this box determine how each HIT will be completed by each worker and how long the HIT stays in the system. You generally want "Time Allotted" to be 1 hour. Expiration of the HIT doesn't matter that much. One of the last important choice in this screen is the "Auto-approve" option. The quicker the auto approve, the more likely that Turkers will take your task. For now, set it to 24 hours, but remember that you are responsible for regularly auditing results when you have a project up on the Turk system.
Figure 4: Cost Parameters in Mturk
Step 5, Worker Requirement: To be updated by Dan
Step 6, Design Layout: At this point, you have to design what the turker sees when they receive your assignment. While it is possible that one turker will complete multiple HITs, it is important to design the HIT so that it can be easily completed the first (and possibly only) time by the worker. In figure 5, below, you can see the initial design layout of the default data acquisition project in the turk system. It is an example HIT that asks turkers to find the website of a restaurant. Please note that this is not a great HIT in terms of the level of clarity of the instructions. We will provide guidelines on creating instructions below. For now, just notice a few features of the HIT. To the right of "Restaurant Name", there is a field called ${name}. This is actually a hook, or a blanks space, that will be populated with the actual name of a restaurant that will come from a spread sheet that you will upload into the turk system. Each HIT will correspond to one row of the spreadsheet. This is the same for the "Address" and "Phone Number" rows. The last key thing to notice is the "Website Address" field with a text entry box right below it. When a turker receives this HIT, they will paste the web address into this text box and you will receive a new spreadsheet with whatever they (add all the other turkers) pasted in the same row as the data you used to populate each HIT.
Now, How do you modify this HIT to reflect your actual data task? You can actually change the wording of the task directly in the editor screen. Make sure that all of the data element hooks (like ${name}) correspond to the actual names of the columns in the CSV file that you will upload on the turk system. But what if you need the task to look substantially different from the one you are looking at? If you click on the "Source", it will show you the actual html code of your HIT task as displayed in Figure 6. The turk system allows you to display a full website essentially for your HIT task with javascript, CSS, etc. As we develop our system at the McNair center, your will have more existing tasks to choose from, but when you need to actually build your own, some useful HTML references are listed below. When you have completed editing your HIT template, click on the "Save" Button and then move to "Preview". In this last screen, it will show you exactly what the turkers will see (Figure 7). If it looks correct, click "Finish"
- HTML references
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element
- http://www.w3schools.com/html/default.asp
Figure 5: Design Layout
Figure 6: Design Layout, Raw HTML
Figure 7: HIT Preview
Step 7, Publishing a Batch: Now that you have your HIT Template ready, you can post to the Turk system. To do so, Click the "Publish Batch" button in figure 8. It will then ask you to upload a csv file for that batch. Remember that this CSV file has to have headers that correspond to the data hooks in your template. Once you have successfully uploaded, you should be able to confirm payment and publish the batch. If there is not enough money preloaded on the turk system. Notify either Dan or Ed.
Figure 8: HIT Publishing
Examples in Papers
- Hubs Paper (Section 2.2.3): Hubs (Academic Paper)
Existing HIT Library
- Twitter Activity(Data Collection)
Input: Search Text: Copy and Paste the search text:CompanyName City "Twitter"(e.g.Capital Factory Austin Twitter) into a searching engine Company Name: Click on the link that has the company name Data Collect: Twitter Handle: copy and paste the Twitter handle of the company Twitter Activity: Record the date(MM/DD/YY) of the latest 10th tweet/retweet
TDL with HITS
- Meeting on 07/08: Dan, Todd, Ariel
- Add Step 1 and Step 2 (Ariel)
- Update the part on pay level (Ariel)
- Step 5: 'worker requirement' to be updated by Dan
- 07/11
- Publish Twitter Activity project
- Work on Number of events and Onsite mentors turks
- 07/12
- Evaluate results of Twitter Activity Turk (Todd)
- 07/13
- Try to find more potential Hubs from current incubators