You Are Totally Going To Love My 2020 USA Candidates' Speeches Analysis

Written by tyiannak | Published 2020/10/08
Tech Story Tags: machine-learning | speech-recognition | text-mining | us-election | donald-trump | joe-biden | emotion-recognition | hackernoon-top-story

TLDR Using 30 videos from January 2020 to September 2020, we have used speech analytics to show how the two candidates have been speaking about during the last year. We have used 35 videos from speeches from both candidates (around 2 speeches per month on average) to extract our analytics. The raw audio data from the speeches were analyzed in terms of the speakers emotions and behaviors using Behavioral Signals Oliver API. In particular, we focused on the speech emotional strength (arousal) and speech emotional positivity (also known as valence) This second level of analysis will provide a metric on how the candidates have spoken during that period.via the TL;DR App

(image from bloomberg.com/)
Like my articles? Feel free to vote for me 
as ML Writer of the year here
.
It takes no political analysis expertise to tell that public opinion is much influenced by what and how the politicians speak in public. In this article we have used 30 videos from the two politicians, relatively uniformly spread from January 2020 until today (September 2020), to demonstrate how speech analytics can be used to extract valuable conclusions from such data.
Our goal is to illustrate WHAT and HOW the two candidates have been speaking about during the last year

Method

  • Data: 35 videos from speeches from both candidates (around 2 speeches per month on average) have been used to extract our analytics.
  • Text data were retrieved through Automatic Speech Recognition (ASR). This information will help us to visualize what the two candidates talked about. ASR, of course is not totally error-free, the ASR model used in this particular use-case have a word-error-rate around 25% on the particular data. However, in this article we have used simple aggregates to analyze our final texts (such as word clouds), and so the error of this final representation should be much lower.
  • The raw audio data from the speeches, were analyzed in terms of the speakers emotions and behaviors using Behavioral Signals Oliver API. In particular, we focused on the speech emotional strength (arousal) and the speech emotional positivity (also known as valence). This second level of analysis will provide a metric on how the two candidates have spoken during that period.

What have they been talking about?

First, lets see how the topics the two candidates have discussed can be visualized in a simple word cloud across time.
This is Trump's word cloud for some of the months in the selected period (January - September 2020):
And this is Biden's:
Some conclusions directly drawn from the diagrams above:
  1. In the beginning of the year, both candidates' speeches contained a lot of "thank", "god", "bless", "proud" and "folks", probably the context was more "festive" in this period...
  2. During the first wave of the COVID-19 crisis in the States (Feb, Mar), Trump used the words "countries" (in the context of comparing USA deaths to other countries statistics), "flu", "coronavirus", "recovered" and "decisions", while Biden focused on words like "crisis", "health", "workers", "public" and "care".
  3. After Floyd's death on 25th of May, and during the demonstrations that followed, the two candidates' speeches in June where like this: Biden talked about "justice", "King" (note: Martin Luther obviously), "community", "black", "nation", "police", "violence" and "protest", while Trump about "action", "anarchist", "destruction", "enforcement", "state", "military", "peaceful", "law", "protect" and "property".
  4. During the last 3-4 months and as the elections day is approaching, both candidates use their opponents names but Trump uses "Joe" and "Biden" much more frequently than Biden uses "Trump", "Donald" and "President". Also, during that period, Trump uses the words "vaccine", "economic", "depression", "job", "radical", "left" (most of these usually connected to Biden himself). Biden uses "school", "climate", "community", "movement", "job", "promise", "opportunity" and "care".

How did they sound?

Now let's focus a bit on their tone of voice. We have initially focused on two metrics, namely the emotional strength and positivity. Strength and positivity are two widely used emotional dimensions used in speech emotion recognition (SER) and psychology. For example, according to this emotional representation, anger is strong and negative, sadness is weak and negative and happiness is strong and positive. As described above, we have extracted these two emotional measures by combining Oliver API outputs.
Below is the two candidates' emotional strength graph.
In both cases, candidates' speeches were more "energetic" in the beginning of the year. Trump's speeches are also becoming with higher emotional energy during the last two months. Also, Biden's emotional energy was minimized during June, which makes sense, if we consider his speeches about Floyd's death (where sadness was the most dominant emotional state).
Positivity is shown in the next graph:
Again, Biden has the most negative emotions in June and July, while Trump is neutral from March to July and highly positive in the beginning of the year and during the last two months.
The graphs above show averages of emotional strength and positivity. So an extreme case where a candidate would be 50% negative and 50% positive in the same recording would be shown as neutral. For this reason, we may need a third diagram to describe the speakers' emotional state: emotional diversity. This is a measure of emotional fluctuations in the same speech (e.g. going from negative to positive emotion or from angry to happy). The following diagram shows the emotional diversity of the two candidates for all months:
If we exclude February (i.e. only in 11% of the months), in 5 out of the 9 months (55%) Trump had a significantly higher emotional diversity, while for 3 out of the 9 months (34%) the two candidates had both almost zero diversity.

Written by tyiannak | I make algorithms that understand sounds
Published by HackerNoon on 2020/10/08