logo
AI may now match humans in spotting emotion, sarcasm in online chats

AI may now match humans in spotting emotion, sarcasm in online chats

Business Standard11 hours ago
When we write something to another person, over email or perhaps on social media, we may not state things directly, but our words may instead convey a latent meaning – an underlying subtext. We also often hope that this meaning will come through to the reader.
But what happens if an artificial intelligence (AI) system is at the other end, rather than a person? Can AI, especially conversational AI, understand the latent meaning in our text? And if so, what does this mean for us?
Latent content analysis is an area of study concerned with uncovering the deeper meanings, sentiments and subtleties embedded in text. For example, this type of analysis can help us grasp political leanings present in communications that are perhaps not obvious to everyone.
Understanding how intense someone's emotions are or whether they're being sarcastic can be crucial in supporting a person's mental health, improving customer service, and even keeping people safe at a national level.
These are only some examples. We can imagine benefits in other areas of life, like social science research, policy-making and business. Given how important these tasks are – and how quickly conversational AI is improving – it's essential to explore what these technologies can (and can't) do in this regard.
Work on this issue is only just starting. Current work shows that ChatGPT has had limited success in detecting political leanings on news websites. Another study that focused on differences in sarcasm detection between different large language models – the technology behind AI chatbots such as ChatGPT – showed that some are better than others.
Finally, a study showed that LLMs can guess the emotional 'valence' of words – the inherent positive or negative 'feeling' associated with them. Our new study published in Scientific Reports tested whether conversational AI, inclusive of GPT-4 – a relatively recent version of ChatGPT – can read between the lines of human-written texts.
The goal was to find out how well LLMs simulate understanding of sentiment, political leaning, emotional intensity and sarcasm – thus encompassing multiple latent meanings in one study. This study evaluated the reliability, consistency and quality of seven LLMs, including GPT-4, Gemini, Llama-3.1-70B and Mixtral 8 × 7B.
We found that these LLMs are about as good as humans at analysing sentiment, political leaning, emotional intensity and sarcasm detection. The study involved 33 human subjects and assessed 100 curated items of text.
For spotting political leanings, GPT-4 was more consistent than humans. That matters in fields like journalism, political science, or public health, where inconsistent judgement can skew findings or miss patterns.
GPT-4 also proved capable of picking up on emotional intensity and especially valence. Whether a tweet was composed by someone who was mildly annoyed or deeply outraged, the AI could tell – although, someone still had to confirm if the AI was correct in its assessment. This was because AI tends to downplay emotions. Sarcasm remained a stumbling block both for humans and machines.
The study found no clear winner there – hence, using human raters doesn't help much with sarcasm detection.
Why does this matter? For one, AI like GPT-4 could dramatically cut the time and cost of analysing large volumes of online content. Social scientists often spend months analysing user-generated text to detect trends. GPT-4, on the other hand, opens the door to faster, more responsive research – especially important during crises, elections or public health emergencies.
Journalists and fact-checkers might also benefit. Tools powered by GPT-4 could help flag emotionally charged or politically slanted posts in real time, giving newsrooms a head start.
There are still concerns. Transparency, fairness and political leanings in AI remain issues. However, studies like this one suggest that when it comes to understanding language, machines are catching up to us fast – and may soon be valuable teammates rather than mere tools.
Although this work doesn't claim conversational AI can replace human raters completely, it does challenge the idea that machines are hopeless at detecting nuance.
Our study's findings do raise follow-up questions. If a user asks the same question of AI in multiple ways – perhaps by subtly rewording prompts, changing the order of information, or tweaking the amount of context provided – will the model's underlying judgements and ratings remain consistent?
Further research should include a systematic and rigorous analysis of how stable the models' outputs are. Ultimately, understanding and improving consistency is essential for deploying LLMs at scale, especially in high-stakes settings.
Orange background

Try Our AI Features

Explore what Daily8 AI can do for you:

Comments

No comments yet...

Related Articles

GitHub CEO to engineers: 'Smartest' companies will hire more software engineers, not less as…
GitHub CEO to engineers: 'Smartest' companies will hire more software engineers, not less as…

Time of India

time25 minutes ago

  • Time of India

GitHub CEO to engineers: 'Smartest' companies will hire more software engineers, not less as…

GitHub CEO Thomas Dohmke says the companies that best leverage artificial intelligence won't use it to replace human developers, but instead will dramatically increase their engineering hiring to capitalize on AI-enhanced productivity gains. "The companies that are the smartest are going to hire more developers," Dohmke said in a recent podcast interview. "Because if you 10x a single developer, then 10 developers can do 100x." The GitHub chief executive argues that AI serves as a powerful multiplier for engineering talent rather than a replacement, making individual developers significantly more efficient while creating demand for additional skilled professionals. He believes current industry layoffs and hiring freezes represent a temporary market adjustment as companies figure out AI's true potential. AI democratizes coding but doesn't eliminate need for professional developers by Taboola by Taboola Sponsored Links Sponsored Links Promoted Links Promoted Links You May Like 5 Books Warren Buffett Wants You to Read In 2025 Blinkist: Warren Buffett's Reading List Undo Dohmke emphasized that while AI has made programming more accessible to beginners and streamlined workflows for experienced developers, it hasn't eliminated the need for deep technical expertise in business environments. He dismissed the notion that AI alone can build billion-dollar companies without substantial coding knowledge. "I think the idea that AI without any coding skills lets you just build a billion-dollar business is mistaken," he said. "Because if that would be the case, everyone would do it." Rather than draining development backlogs, Dohmke observed that AI has actually generated more work by enabling teams to tackle previously impossible projects. He hasn't seen any companies completely eliminate developer workloads , even as AI accelerates project completion. The GitHub CEO called this the "most exciting time" to be a developer, noting that AI has brought closer the long-held dream of transforming Sunday morning ideas into functioning mobile apps by evening.

Shubhanshu Shukla's breathtaking space photo leaves India emotional and proud
Shubhanshu Shukla's breathtaking space photo leaves India emotional and proud

Time of India

timean hour ago

  • Time of India

Shubhanshu Shukla's breathtaking space photo leaves India emotional and proud

India marked a historic milestone in space exploration as Group Captain Shubhanshu Shukla became the first Indian astronaut to board the International Space Station (ISS). His journey is not just a technological leap but also a deeply symbolic moment for India as the nation swells with pride for a growing presence in global space missions. Shukla is only the second Indian to travel to space, after Rakesh Sharma in 1984. Shukla had boarded as the mission pilot for Axiom Space's Ax-4 mission on June 25, 2025, along with three other crew members, including the veteran American astronaut Peggy Whitson, Polish scientist Sławosz Uznański, and Hungarian astronaut Tibor Kapu. The mission lifted off aboard a SpaceX Falcon 9 rocket from NASA's Kennedy Space Center in Florida. After a 28-hour journey, the crew docked with the space station on June 26. What has recently been making headlines are the photos released by the Indian government showing Shukla seated at the Cupola Module, a seven-window observation deck on the ISS, gazing at Earth. The images quickly became viral and received multiple engagements on social media. The post's caption read, 'Gazing Down From The Space! Group Capt Shubhanshu Shukla enjoys the stunning panoramic view of Earth from the 7-windowed Cupola Module aboard the International Space Station. by Taboola by Taboola Sponsored Links Sponsored Links Promoted Links Promoted Links You May Like You Won't Believe the Price of These Dubai Apartments Binghatti Developers FZE Get Offer Undo It's been a remarkable journey as he marks a week in orbit, representing India among the stars.' Shubhanshu Shukla had a video call with PM Narendra Modi During his first week aboard the ISS, Shukla had a video call with Prime Minister Narendra Modi, where he shared his emotions upon seeing India from space. 'When I saw India for the first time from space, it appeared much larger and grander than on the map,' he said. 'You can truly feel the sense of oneness; there are no borders, no lines. It feels as if this entire Earth is our home and we are all its citizens,' he told the Prime Minister, according to a Times of India report. In response, PM Modi said, 'You may be far, but the hearts of 140 crore Indians beat with you. It's the start of a new era'. What is the mission aimed at? While in space, Shukla and his crewmates are conducting more than 60 scientific experiments, including studies in microgravity biology, materials science, and human health. According to India Today, Shukla is also the first Indian to carry out experiments aboard the International Space Station. His work in space ties in with India's upcoming Gaganyaan mission, which is set to launch in 2027.

Stunning visuals! Shubhanshu Shukla enjoys view of Earth from ISS
Stunning visuals! Shubhanshu Shukla enjoys view of Earth from ISS

Mint

time2 hours ago

  • Mint

Stunning visuals! Shubhanshu Shukla enjoys view of Earth from ISS

The government of India on Sunday released a set of pictures showing Group Captain Shubhanshu Shukla observing the Earth from the International Space Station. He became the first Indian to be on the station. In the pictures shared online, Shukla is seen seated on the edge of the 7-windowed Cupola Module on the ISS with the Earth visible in the background. 'Gazing Down From The Space! Group Capt Shubhanshu Shukla enjoys the stunning panoramic view of Earth from the 7-windowed Cupola Module aboard the International Space Station. It's been a remarkable journey as he marks a week in orbit, representing India among the stars,' read the caption. Earlier on 26 June, Shukla and three other crew members docked with the ISS following a 28-hour journey around the Earth. As per the details, Shukla is on a 14-day scientific expedition on the ISS as part of the Axiom-4 mission, along with three other astronauts and led by veteran astronaut Peggy Whitson. Shukla is the second Indian to go to space. On Tuesday, Shukla is scheduled to interact with school students at ISRO's North East Space Application Centre (NESAC) from his orbital post on ISS via ham radio. The interaction is planned via a telebridge set up NESAC in Shillong, said the Amateur Radio on International Space Station (ARISS). Earlier on Friday, Shukla interacted with students at the U R Rao Satellite Centre in Bengaluru. On 4 June, Shubhanshu Shukla relished 'aam ras', 'gajar ka halwa', 'moong dal halwa' and delicacies from other countries after he completed a week on board the orbital lab. In a brief interaction with scientists at the URSC, Bengaluru over HAM radio connection, Shukla had said, "It was a good moment. We got food from different countries and got to share it with all the crew."

DOWNLOAD THE APP

Get Started Now: Download the App

Ready to dive into a world of global content with local flavor? Download Daily8 app today from your preferred app store and start exploring.
app-storeplay-store