News for hackers. Stuff that matters.
Re:30% of Google's Emotions Dataset Is Mislabeled by stingraycharles on Thursday July 14, 2022 @02:39AM (#32092757)
For a sentiment / emotion classification project, we (2 founders) just ended up doing most of the labeling ourselves. It was a big grind, but given how abysmal the performance of “crowd-sourced” solutions are (eg Amazon Mechanical Turk), and how incredibly important the quality of these labels are for training a model, it made the most sense.

I wonder how others do this kind of thing. Assuming I have 100k text blurbs I want to classify of sentiment and/or emotion and want at least 95% accuracy, what are the options?

I’m still shocked how low the quality of Mechanical Turk was for just sentiment (positive/negative/neutral/unsure), 99% of the classifications were just random. We narrowed our section for workers to higher-qualified ones, for that matter.

What a giant waste of money and time that was, because supposedly it’s the canonical use case for it.

Re:30% of Google's Emotions Dataset Is Mislabeled by alxlaz on Thursday July 14, 2022 @05:13AM (#32093747)
> I wonder how others do this kind of thing. Assuming I have 100k text blurbs I want to classify of sentiment and/or emotion and want at least 95% accuracy, what are the options?

Others who successfully do it have exactly the same secret sauce that you do: they assign it to someone who is well-compensated and competent.

The one time I needed anything remotely like this I just took the old "nobody said programming was gonna be glamorous" adage and ran with it for two weeks. Money-wise, two weeks of programmer time sorting data manually sure beats twelve weeks of programmer time debugging models to cope with inaccurate data, and the results are orders of magnitude better.

Given the widespread understanding of how critical training data is, it's mind-boggling to me that businesses in this field try to outsource it to the lowest-paid external company they can find, thus offering the lowest possible performance incentives and pretty much losing any control they have over quality assurance. Then they proceed to spend humongous amounts of money on clean-up and further refining training data sets, with which they could've hired English Lit majors in the first place, who would've given them a perfectly-classified data set from the very beginning.

Re:30% of Google's Emotions Dataset Is Mislabeled by EricMausler on Thursday July 14, 2022 @08:44AM (#32095321)
But then STEM would have to admit that English Lit Majors didn't waste their money /s
Re:30% of Google's Emotions Dataset Is Mislabeled by belfalas on Thursday July 14, 2022 @01:52PM (#32099328)
One of my university professors liked to quip: next time someone tells you that you're arguing semantics, ask them what semantics means. That'll teach 'em.
Re:30% of Google's Emotions Dataset Is Mislabeled by drewcoo on Thursday July 14, 2022 @10:13AM (#32096328)
English Lit Majors can't find work? Try MTurk!
Re:30% of Google's Emotions Dataset Is Mislabeled by sireat on Thursday July 14, 2022 @07:36AM (#32094585)
I was using MTurk for labeling about 10 years ago.

To see the other side I also did a 1 Month stint as a MTurk worker, earning about $300.

It is absolutely horrible work, and I used MTurk subreddit to find the "decent" jobs. I had the special firefox extension which ranked the job givers etc.

All jobs were below 1st world minimum wage and were incredibly depressing. I think the adult content ones were the worst.

"Jian Yang: No! That's very boring work"

Worst thing was that you could not stop to think, you had to keep going if you wanted to at least make a few bucks an hour.

There are two solutions to the labeling issue: Pay well (at least $20 an hour no matter the location).

If the workers feel exploited you do not get good results no matter the sanctions.

Even better solution to labeling is to find people who give a shit about your task.

That is how I've done 50k lines of labeling training our OCR for a rare font for Tesseract. We have a few volunteers and they know this is important work (preserving cultural heritage, non-profit, national library, etc).

Old reCaptcha had a similar "feel good" element.

Compare it to newest Google reCaptcha - you know those labels are going to be used for evil at some point in the future.

Re:30% of Google's Emotions Dataset Is Mislabeled by MonkeyMalarky on Thursday July 14, 2022 @09:20AM (#32095740)
I'm eager to see what nefarious things Google will do once they've mastered the art of identifying all the busses in a photo!
Re:30% of Google's Emotions Dataset Is Mislabeled by a9h74j on Friday July 15, 2022 @02:24AM (#32105215)
What tells me to start worrying if they get very good at identifying paperclips?
Re:30% of Google's Emotions Dataset Is Mislabeled by htrp on Thursday July 14, 2022 @04:50PM (#32101287)
Re:30% of Google's Emotions Dataset Is Mislabeled by stjohnswarts on Thursday July 14, 2022 @10:49AM (#32096765)
their motorcycle, hills, signal light, and traffic light AI will break the world when it's over!
Re:30% of Google's Emotions Dataset Is Mislabeled by htrp on Thursday July 14, 2022 @04:49PM (#32101275)
> To see the other side I also did a 1 Month stint as a MTurk worker, earning about $300.

are you me?

I did the same thing (worked as a mTurk labeler for 2 weeks) which convinced me to never use mTurk for anything even remotely important.

I've been able to use semi-supervised approaches with actual domain experts reviewing outputs.

Re:30% of Google's Emotions Dataset Is Mislabeled by drewcoo on Thursday July 14, 2022 @10:18AM (#32096381)
There are ways to detect problems with results due to things like fatigue or attenuation. And there are ways to deal with those problems (like forced break time and switching up tasks).

It's a wonder that none of that is built in. But maybe things like MTurk aren't built to maximize worker effectiveness because it costs too much. Are there better quality crowd-sourcing options?

Re:30% of Google's Emotions Dataset Is Mislabeled by simiones on Thursday July 14, 2022 @10:54AM (#32096820)
> Compare it to newest Google reCaptcha - you know those labels are going to be used for evil at some point in the future.

I for one always try at least once to get something wrong, often several times if it doesn't go through immediately, depending on urgency of my task. I hate being made to work for someone else like this.

Re:30% of Google's Emotions Dataset Is Mislabeled by maest on Thursday July 14, 2022 @04:41AM (#32093568)
> I wonder how others do this kind of thing.

We did the exact same for a text classification project.

The multi-week grind was awful, but it meant 1. we had a really good understanding of our data 2. we discovered surprising edge cases that we would have missed otherwise.

There is a very large fixed overhead you need to pay when you start outsourcing that work, so doing it yourself is cheaper at scales beyond what you'd normally expect.

Re:30% of Google's Emotions Dataset Is Mislabeled by codedokode on Thursday July 14, 2022 @04:38AM (#32093549)
> I’m still shocked how low the quality of Mechanical Turk was

I don't know about Mechanical Turk, but there is a crowdourcing platform by Yandex. The pay is so low that the reasonable way to earn something is to find a task that is not properly validated and put random answers there from multiple accounts (because there are speed limits). Usually those are tasks by naive foreign companies not knowing about validation.

So if you want high quality you need to implement proper validation, triple check every label by different people and do not expect that someone is going to do it for $5/hour. And maybe you should learn how a crowdsourcing service looks from the worker's side, for example, by registering and trying to do some tasks yourself or by reading forums for workers.

Re:30% of Google's Emotions Dataset Is Mislabeled by Tycho on Thursday July 14, 2022 @05:11AM (#32093736)
Why shouldn’t someone do it for five dollars per hour, and do it properly lest they get fired? Seems like a very easy job and easy to supervise.
Re:30% of Google's Emotions Dataset Is Mislabeled by 5560675260 on Thursday July 14, 2022 @06:17AM (#32094089)
Money isn't what gets people motivated most of the time. This job is boring and unfulfilling, you'll get poor results unless you're offering a life changing amount of money.
Re:30% of Google's Emotions Dataset Is Mislabeled by alxlaz on Thursday July 14, 2022 @05:14AM (#32093751)
If it's such an easy job, why outsource it instead of doing it yourself?
Re:30% of Google's Emotions Dataset Is Mislabeled by Tycho on Thursday July 14, 2022 @06:22AM (#32094122)
Because there’s other stuff you need to do that you can’t outsource.
Re:30% of Google's Emotions Dataset Is Mislabeled by alxlaz on Thursday July 14, 2022 @07:48AM (#32094658)
Surely if it's such an easy job, you can fit it along your other tasks.

If you can't then perhaps it's worth re-examining if it's as easy as you think it is.

Re:30% of Google's Emotions Dataset Is Mislabeled by tqkxzugoaupvwqr on Thursday July 14, 2022 @08:17AM (#32094963)
It’s easy but requires time. Like turning a page is easy but turning a million pages takes time.
Re:30% of Google's Emotions Dataset Is Mislabeled by alxlaz on Thursday July 14, 2022 @08:48AM (#32095367)
That's what I'm saying. Classifying one data point is very straightforward and brings negligible value to a company. Reliably classifying hundreds of thousands of them is very complicated and not at all easily supervised. And if your company's business model is based on applying trained models to $real_world_problem, it doesn't just bring a lot of value to your company, it's literally critical for its success, just like a solid CI/CD pipeline or having a good security process.

It's attractive to think that this is just like classifying one data point over and over again. It's nothing like that, just like crossing the Atlantic from Galway to New York is nothing like kayaking around Mutton Island over and over again.

Re:30% of Google's Emotions Dataset Is Mislabeled by Tycho on Thursday July 14, 2022 @07:16PM (#32102499)
Are you trolling us here? The act of classifying is easy. It needs to be repeated many times. So you scale up by hiring many people to do it.
Re:30% of Google's Emotions Dataset Is Mislabeled by alxlaz on Wednesday July 20, 2022 @04:40AM (#32163028)
No, I am not trolling you here.

First of all, real-life data sets have hundreds of thousands of endpoints, and it's easy to classify a few hundred, maybe a few thousands endpoints for a single person. So scaling it up to a point where it's easy for every person involved in it requires hiring a team of dozens, or even 100+ people. That is absolutely not easy, especially not on a short term notice, and not when it's 100% a dead end job, so it's difficult to convince people to come do it in the first place. I'm yet to have met a single company whose idea of scaling it up involved something more elaborate than "we're gonna hire three freelancers". At 30k endpoints/person that's about an order of magnitude away from "easy", and transferring that order of magnitude to the hiring process ("we're gonna hire thirty freelancers") isn't trivial at all.

Second, it is absolutely not at all easy to supervise. QC for classification problems is comparable to QC for other easily-replicable but difficult to automate industrial processes, like semi-automatic manufacturing processes. There is ample literature on the topic, starting with the late period of the industrial revolution and going all the way to present times, and all of it suggests that it's a very hairy problem even without taking into account the human part. Perfect verification requires replicating the classification process. Verification by sampling makes it very hard to guarantee the accuracy requirements of the model. Checking accuracy post-factum poses the same problems.

This idea that classifying training models is a simple job that you can just outsource somewhere cheap is the framework of a bad strategy. Training data accuracy is absolutely critical. If you optimize for time and cost, you get exactly what you pay for: a rushed, cheap model.

Re:30% of Google's Emotions Dataset Is Mislabeled by drewcoo on Thursday July 14, 2022 @10:38AM (#32096607)
Design a machine, possibly including humans as "parts," to automatically turn those million pages. Maybe the machine is just a single human, serially, turning pages, but that's slow. There must be something better!

How easy is it to design a reliable system, considering human/machine interaction and everything we know about human behavior and constraints like human attention, potential injury, dry fingers, etc.?

How simple is the design?

Re:30% of Google's Emotions Dataset Is Mislabeled by codedokode on Thursday July 14, 2022 @05:31AM (#32093835)
Because they can do more rolling carts around in Wallmart.
Re:30% of Google's Emotions Dataset Is Mislabeled by Tycho on Thursday July 14, 2022 @06:19AM (#32094106)
I mean for places where $5 per hour is an attractive wage.
Re:30% of Google's Emotions Dataset Is Mislabeled by jackbrookes on Thursday July 14, 2022 @04:30AM (#32093496)
> Assuming I have 100k text blurbs I want to classify of sentiment and/or emotion and want at least 95% accuracy, what are the options?

The way I think Google does it with reCAPTCHA is to request classification for each item multiple times. If they differ, keep sending them out until you get a consensus on those items. It weeds out those responses that were just basically random clicks.

Re:30% of Google's Emotions Dataset Is Mislabeled by weird-eye-issue on Thursday July 14, 2022 @03:01AM (#32092872)
I haven't worked in this space specifically, but next time you are thinking of outsourcing this type of work I would suggest giving some Filipino VAs a shot. You can hire fluent, sometimes native English speakers who are motivated at $4-7/hr. Actually even less but I stick to the top of that range personally. (I use OnlineJobs.ph to find people)
Re:30% of Google's Emotions Dataset Is Mislabeled by echen on Thursday July 14, 2022 @02:58AM (#32092855)
I'd love to chat. Want to reach out to the email in my profile? I'm the founder of a startup solving this exact problem (https://www.surgehq.ai), and previously built the human computation platforms at a couple FAANGs (precisely because this was a huge issue I always faced internally).

We work with a lot of the top AI/NLP companies and research labs, and do both the "typical" data labeling work (sentiment analysis, text categorization, etc), but also a lot more advanced stuff (e.g., search evaluation, training the new wave of large language models, adversarial labeling, etc -- so not just distinguishing cats and dogs, but rather making full use of the power of the human mind!).

Re:30% of Google's Emotions Dataset Is Mislabeled by stingraycharles on Thursday July 14, 2022 @04:17AM (#32093408)
Good news for you: being your target audience, we actually did have you guys on our radar.I

For the scale of our project, however, the price point was prohibitive.

We ended up building a small cli tool that interactively trained the model, and allowed us to focus on the most important messages (eg those where positive/negative sentiment was closest, the labels with the smallest volume, etc).

EDIT: If I now look at your website, it seems like you’ve also just provide good tooling for doing these types of things yourself? If that were the case, I wouldn’t mind having paid $50-$100 for a week of access to such a tool. But $20/hr to hire someone who classifies data which we would still need to audit afterwards was too much for us.

Re:30% of Google's Emotions Dataset Is Mislabeled by Aeolun on Thursday July 14, 2022 @08:25AM (#32095079)
$20/hour to classify data sounds reasonable though?

If you have more time than money it might not make sense, but at that price point I could save myself a lot of time by just working a few extra hours doing SE and let someone else do 3x that amount of labelling.

Re:30% of Google's Emotions Dataset Is Mislabeled by stingraycharles on Thursday July 14, 2022 @11:54AM (#32097683)
I fully agree $20/hr is reasonable, it just was too expensive for us at that time.

So in the end the whole problem boils down to “quality is (more) expensive”; but MTurk is a special case since they’re so heavily positioning themselves as “the” solution for this and they’re terrible.

Re:30% of Google's Emotions Dataset Is Mislabeled by arein3 on Thursday July 14, 2022 @07:03AM (#32094361)
Why don't they label using the same method as captcha

Show the same image to 10 people, and keep only those who have a high confidence

Re:30% of Google's Emotions Dataset Is Mislabeled by pueblito on Thursday July 14, 2022 @07:25AM (#32094497)
Because that literally costs 10x
Re:30% of Google's Emotions Dataset Is Mislabeled by mdorazio on Thursday July 14, 2022 @10:59AM (#32096872)
> I wonder how others do this kind of thing. Assuming I have 100k text blurbs I want to classify of sentiment and/or emotion and want at least 95% accuracy, what are the options?

Fwiw, in a similar situation I did about half myself and farmed out the other half to my retired parents. Using trusted people was the only way I found I could get high accuracy without spending thousands of dollars. But, as I frequently tell people, the hard part of ML isn’t the model/code, it’s the training data.

Re:30% of Google's Emotions Dataset Is Mislabeled by Aeolun on Thursday July 14, 2022 @08:21AM (#32095013)
I was going to recommend https://gengo.com/sentiment-analysis/

But it seems they’ve been acquired a few years ago, so I have no idea if the quality is still the same.

Re:30% of Google's Emotions Dataset Is Mislabeled by shreyshnaccount on Thursday July 14, 2022 @03:18AM (#32092984)
you have experience with this, so you're probably the perfect person to ask this to- why didn't you just use the old (inaccurate) labels, perform some clustering based op and re-label then clusters? does that even make sense?
Re:30% of Google's Emotions Dataset Is Mislabeled by stingraycharles on Thursday July 14, 2022 @04:14AM (#32093389)
The old (inaccurate) labels were so completely utter shit (pardon my French) that it may as wel have been random.

I honestly believe most MTurkers just clicked random BS in order to complete the tasks as soon as possible.

What I ended up doing was make some Python CLI-based took that made it extremely fast for us to classify messages; after seeding it with about 1000 classifications, we would then focus on the messages based on certain dimensions: eg “contradictions” (“positive” and “negative” being closest as possible, or “angry” and “happy”), “least” (it was surprisingly difficult to find positive and uplifting tweets, and you don’t want a dataset with 90% negative messages!), etc.

That way we worked our way through the dataset and were able to get a pretty decent dataset in about a week time.

No idea how others approach this type of problem, but it’s what I came up with.

Re:30% of Google's Emotions Dataset Is Mislabeled by bragr on Thursday July 14, 2022 @04:24AM (#32093464)
>I honestly believe most MTurkers just clicked random BS in order to complete the tasks as soon as possible.

This is correct based on my (limited) mechanical turk experience. Most tasks pay peanuts (minimum payout can be as low as $0.01) so the only reasonable way to make an income is to complete as many tasks as humanly possible, and doing anything but clicking random buttons would slow them down. I doubt paying more could overcome that because so many people engage with the platform in bad faith.

Re:30% of Google's Emotions Dataset Is Mislabeled by codedokode on Thursday July 14, 2022 @05:10AM (#32093731)
You can filter out bad workers by preparing an additional well-labeled dataset and removing those who made even a single mistake in it. Also you can give the same task to several workers and check if they give the same label. However this won't protect against a bot using multiple accounts and giving answers based on a hash of a question so that the same question gets the same answer in every account.
Re:30% of Google's Emotions Dataset Is Mislabeled by stjohnswarts on Thursday July 14, 2022 @10:55AM (#32096822)
"removing those who made even a single mistake" means you don't want humans working on this lol. Humans will always make mistakes.
Re:30% of Google's Emotions Dataset Is Mislabeled by theK on Thursday July 14, 2022 @03:25AM (#32093025)
Doesn't this bias the labels?
Re:30% of Google's Emotions Dataset Is Mislabeled by shreyshnaccount on Thursday July 14, 2022 @03:28AM (#32093048)
probably does, but idk how much.. if its mostly okay it's gonna be easier to correct it id assume
Re:30% of Google's Emotions Dataset Is Mislabeled by amelius on Thursday July 14, 2022 @10:15AM (#32096357)
> I wonder how others do this kind of thing. Assuming I have 100k text blurbs I want to classify of sentiment and/or emotion and want at least 95% accuracy, what are the options?

Use the consensus of 3 or more annotators (or median).

Re:30% of Google's Emotions Dataset Is Mislabeled by wongarsu on Thursday July 14, 2022 @10:40AM (#32096644)
But is paying 3x $5/h getting better results than hiring a local collage student for $15/h?
Re:30% of Google's Emotions Dataset Is Mislabeled by sgc on Thursday July 14, 2022 @11:14AM (#32097063)
Won't you just wind up with a collage from either source?

Answer is yes, because those $5/h workers are likely just as educated, but from a less affluent part of the world.

Re:30% of Google's Emotions Dataset Is Mislabeled by cptskippy on Thursday July 14, 2022 @10:00AM (#32096198)
> I’m still shocked how low the quality of Mechanical Turk was for just sentiment

Given that MT workers earn based on how quickly they complete a task, and not how accurate. I'm struggling to understand how anyone would expect quality.