AI Cloud Architect

Sentiment Analysis with Text and Audio Using AWS Generative AI Services: Approaches, Challenges, and Solutions

AWSBlog post by Caique de Almeida, Guilherme Rinaldo, Paulo Finardi, Victor Costa Beraldo, Vinicius Caridá and Pranav MurthyAWS Artificial Intelligence Blog

This post, developed through a strategic scientific partnership between AWS and the Instituto de Ciência e Tecnologia Itaú (ICTi), P&D hub maintained by Itaú Unibanco, the largest private bank in Latin America, explores the technical aspects of sentiment analysis for both text and audio. We present experiments comparing multiple machine learning (ML) models and services, discuss the trade-offs and pitfalls of each approach, and highlight how AWS services can be orchestrated to build robust…

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Compares LLMs on Bedrock and SageMaker for text sentiment and HuBERT, Wav2Vec and Whisper for audio sentiment, finding low text accuracy and better audio results on scripted phrases than on varied speech.

Who it is for

Architects building sentiment analysis for contact centers or customer feedback on AWS who need to choose between text and audio approaches.

Key points

  • Text tests: Llama 3 70B, Claude 3.5 Sonnet, Mixtral 8x7B and Nova Pro all score accuracy under 0.19 on the post's dataset.
  • Audio tests: accuracy is higher on fixed phrases (Type 1) than on varied sentences (Type 2) for all three models.
  • The post reports the fine-tuned OpenAI models as best on text, but it does not name them in the results table.

Timeline

  1. This postSentiment Analysis with Text and Audio Using AWS Generative AI Services: Approaches, Challenges, and Solutions
  2. Customer storyHow Hapag-Lloyd uses Amazon Bedrock to transform customer feedback into actionable insights · AWS · Customer story

Go deeper