r/LanguageTechnology • • 2d ago

sentiment models really cannot handle polite complaints

been cleaning up some customer survey data at work and our off the shelf sentiment tagger keeps scoring passive aggressive feedback as strongly positive just because people use softeners and polite phrasing.

someone will write something like "well i appreciate the effort even if the whole order arrived broken, bless their hearts" and the model sees appreciate and bless and gives it a 0.92 positive score. even fine tuning on a few hundred examples barely dents it when the sarcasm is wrapped in nice manners

i ended up writing a dumb little rule check just to catch phrases like "at least" and "i suppose" paired with product nouns so they get flagged for manual review instead of going straight into the happy bucket. feels backwards building regex patches on top of a transformer in 2026 but here we are

5 Upvotes

10 comments sorted by

5

u/CMDRJohnCasey 2d ago

Is the classifier Bert based? Maybe you could move to a larger LLM, they can catch this kind of sarcasm. I ran tests with mid-depth embeddings from Qwen and Llama and they are more reliable. The score is still around 90% F1 on isarcasm so still not perfect.

1

u/MundaneFoothold 2d ago

it was a bert model, we looked at a few llms but the per-survey cost was too high for our volume. 90% f1 is solid though, the regex catches the rest for now

1

u/CMDRJohnCasey 2d ago

You don't need an API you can use them locally, as if they were encoders.

1

u/Lyky_Jagels 2d ago

isarcasm is mostly social media text too, customer support tickets have a whole different flavor of polite passive aggression that benchmarks rarely cover

2

u/Gravbar 2d ago

my NLP professor was telling sarcasm models are usually bad, partially because the datasets aren't even labeled correctly. One of his students doing sarcasm detection as a thesis found he disagreed with the attributed labels in the dataset more than 20% of the time.

1

u/MundaneFoothold 1d ago

i had to relabel a bunch of our own survey data for fine-tuning and it was a mess, half the polite complaints were just marked positive

3

u/neuralbeans 2d ago

Sounds like you need to fine tune your model with these examples.

1

u/Brudaks 2d ago

Sarcasm is tricky. Examples like "Amazing service - we had to wait for two hours until being served! [heart emoji]"..

0

u/EarthyStacy 2d ago

the gap between polite phrasing and actual sentiment is where all the interesting edge cases live, and regex still catches what the model smooths over

1

u/MundaneFoothold 2d ago

i threw a few more midwest passive aggression markers into the regex like 'bless their heart', catches way more than i expected