Sentiment Analysis with Text and Audio Using AWS Generative AI Services: Approaches, Challenges, and Solutions
AWS•Blog post••by Caique de Almeida, Guilherme Rinaldo, Paulo Finardi, Victor Costa Beraldo, Vinicius Caridá and Pranav Murthy•AWS 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…
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.
AI:Shows a multi-agent pipeline on Bedrock AgentCore that uses zero-shot Chronos2 forecasts to produce validated inventory purchase orders, with business-rule checks and an audit trail.
AWS•Customer story••by Liam Byrne, Kim Robins, Philipp Hinderberger, Sebastian Angersbach, Philip Trempler and Weiran Zhang•AWS Artificial Intelligence Blog
AI:Volkswagen Group built a pipeline that fine-tunes an image model to generate vehicle images, checks components against references, and scores brand guideline compliance with LLM judges.
AI:Nova Forge data mixing, which blends customer data with Nova-curated data during fine-tuning, kept MMLU accuracy near baseline (0.74 vs 0.75) while VOC F1 rose from 0.38 to 0.50 in AWS's test.