Comedy Slam: How can machines tell if something is funny?


Ever wondered if Google can tell if content is funny or not? Sanketh Shetty writes about YouTube’s attempt to gauge comedy levels of video content by observing its content and comments. In summary, it’s a combination of crowd-sourced algorithm feeding (75,000 users and 700,000 votes), material recognition and comment analysis.

Comedy Slam

The Problem

Some types of audio-visual clues are easy to detect, for example audible laughter or shaky camera motion. Video content which lacks those properties may be a bit trickier to understand by AI, especially as humour is considered to be one of the most subjective preferences much like music choice.

For starters YouTube selects videos which are already uploaded in the “Comedy” category. Next set of things being observed are elements such as titles, video file name, tags and description. These are author-specific much like the selected category so additional clues need to be used to verify.

Video Comments

Apparently YouTube (Google) take video comments seriously, unless they are flagged as spam. What’s interesting is that they look for instances of onomatopoeic laughter and go through a number of applicable variants.

Here are a few examples including standard laughter, country and language specific and internet acronyms:

  • haha
  • hehe
  • jaja
  • keke
  • lol
  • lmao
  • rofl

Other elements observed in comments are instances and variations of the word “funny”, emoticons :) and then attempt to classify them into categories which may be pranks, stand-up comedy, commercials, bloopers, animals… etc.

Algorithm is employed to gauge the comedy potential and that goes beyond raw video views which are largely influenced by video age. What YouTube team figured out was that extra emphasis can be used to highlight extra funny content.

Examples of that are:

  1. lol
  2. LOL
  3. loooool / lolololol / lolllll!!!!

The challenge here was in the evaluation of the level of amusement based on transformation of the above acronym variants. Algorithm was developed to work with various variants of “amusement” keywords and rank in a passive-aggressive manner using ‘human-annotated pair wise ground truth’ in conjunction with text and audio-visuals. So called ‘Comedy Slam‘ operates similarly to already popular ‘Music Slam‘.


Dan Petrovic is a well-known Australian SEO and a managing director of Dejan SEO. He has published numerous research articles in the field of search engine optimisation and online marketing. Dan's work is highly regarded by the world-wide SEO community and featured on some of the most reputable websites in the industry.

More Posts - Website

Copy the code below to your web site.

3 Responses to “Comedy Slam: How can machines tell if something is funny?”

  1. Did you hear the one about the Algorithm that interpreted LOLCODE as something funny!

    • Simon Phillips
  2. Did you hear the one about the Algorithm that interpreted LOLCODE as something funny!

    • Simon Phillips
  3. “Analyzing Humor is like dissecting a frog. Few people are interested and the frog dies of it” – E. B. White

    Seems like this is the exception. 

    • Chris Butterworth

National Sales Number: 1300 123 736 - International Callers: +61 7 3188 9200

© 2015 DEJAN SEO PTY LTD - ABN:77151340420 - ACN:151340420 - Privacy Policy

Privacy Policy by TRUSTe Google Partner