r/LanguageTechnology • u/MundaneFoothold • 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
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.
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.
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