Machine Learning Twitter
Machine Learning Twitter
LEARNING
IMPLEMENTATION
BY TWITTER
By
Reshma Menon
2027153
INTRODUCTION
Clayton Christensen coined the term ‘disruptive technologies’ and introduced the concept in
the 1995 article “Disruptive Technologies: Catching the Wave,” which he co-authored with
Joseph Bower. The article aims at management executives who decide on the funding and
purchasing strategies in the companies.
Disruptive technology can be described as a technology that changes the existing market
competition by changing the performance metrics or standards along with which the firms
compete (Danneels, 2004). Innovative change in the economy is referred to as ‘creative
destruction’ and may also refer to new circumstances brought forth by such changes in the
economic and political landscape wherein entire businesses and industries become obsolete to
make way for new enterprises and models.
Machine Learning is one such disruptive technology. It is the field of study that develops a
computer’s capability to learn without being explicitly programmed to perform a task
(JavaTPoint, 2017). It includes the study of computer algorithms that automatically improve
the accuracy of predictions through experience. Given its human-like nature to learn through
experience, it is seen as a subset of Artificial Intelligence (AI).
Hence, while AI is the broader study of the creation of intelligent machines that simulate
human-like cognitive capabilities, Machine Learning is an application of AI and empowers
computer systems to improve on this ability with experiential learning and essentially
building a knowledge base necessary to make informed decisions.
The two core methods of Machine Learning are supervised and unsupervised learning.
Neural Networks: Neural networks is a model of Machine Learning, inspired by the human
brain and is used in unsupervised learning. It is an interconnected web of nodes wherein each
node is responsible for simple computation, similar to the neurons present in a human brain
(Goyal, 2020).
Deep Learning: Deep Learning can be considered as an evolved version of machine learning
that uses a neural network to continually analyse data and enables machines to make
informed and accurate decisions without human intervention. It uses a logical structure which
is similar to the decision-making process of a human (Grossfeld, 2020).
TWITTER
Around 2017, Twitter shifted its focus to video content and content creators since videos
have higher rates of engagement than text and banner advertisements. To incentivise and
encourage video content creators, the company shares a portion of its revenue with them –
creators receive 70% of the commission, and the remaining goes to Twitter (Das, 2017).
• User benefits – Users share content across the globe, enjoy real-time content and
participate in conversations with other users through tweets
• Advertiser benefits – Global reach, unique advertisement formats and real-time
engagement with the target audience
• Data Partner benefits – Access, parsing and analysing of data to generate insights
Twitter generates revenue primarily from Advertising (almost 80%) and Data Licensing.
Data licensing is where Twitter sells its public data, which the company calls ‘Firehose’,
which amounts to approximately 500 million tweets per day to different companies.
Companies can analyse this data to understand consumer trends in preferences, potential
niche areas of the market and general behaviour of the target audience to tailor their products
accordingly.
Twitter implemented machine learning (specifically, deep learning) for the following reasons:
The Twitter ML Platform consists of the ML tools and services provided by Twitter Cortex
– an AI-driven internal core team responsible for facilitating machine learning innovations
within the company. Cortex aims at streamlining complex ML processes, allowing engineers
to focus on other functions such as modelling, experimentation and user experience.
The various uses and implementations of Machine Learning by the company are:
1. Timeline Ranking:
Twitter introduced the setting “Show me the best Tweets first” which shows the users
Tweets that they are most likely to care by displaying them on the top of their
timelines.
The system requests for feedback to check if the ranking was correct and uses the
responses to learn and improve future timelines. The system analyses the tweet itself
(its recency, number of likes and retweets), tweet’s author (does the user follow the
author or has previously engaged with them?) and the user’s preferences in the past.
This has significantly helped users by allowing them to essentially customise and
curate their account feed and ensures relevancy of data. (Koumchatzky & Andryeyev,
2017)
Source: Twitter
o The team also performed pruning
to pro-actively remove features that were unhelpful or irrelevant to the
performance of the neural network and incurred huge costs for computation (Dar,
2018).
3. Detecting Hate Speech:
Twitter performs sentiment analysis to detect mean or hate speech. Sentiment analysis
is a technique used for classifying texts and discerning opinions and emotions in text.
There are three different approaches to perform the task:
o Lexicon-based – which uses pre-defined lexicon library to check the occurrence of
words in the revised text
o ML-based – which uses language model classifiers such as linear regression
o Deep learning techniques – which learns complex features using neural networks
The system continually parses and analyses millions of tweets and flags provides easy-to-
read analysis in the form of a Dashboard to the internal teams for potential hate speech
and trends on the platform.
Conclusion:
Artificial intelligence and Machine learning are exciting and promising concepts in the world
of data analysis and process automation. The adoption of such concepts by not only the
technology firms but also companies in the service and manufacturing industries indicate the
myriad possibilities of the application of human-like intelligence in functions across
industries and markets.
We are in an era where technologies once hypothesised in Science Fiction novels and movies
are now becoming a reality. While technological advancements are intended to be for the
betterment of the society, it is important that we move towards revolution with caution and
perseverance.
References
Danneels, E. (2004). Disruptive Technology Reconsidered: A Critique and Research Agenda. Journal
of Product Innovation Management, 246-258.
Dar, P. (2018, January 27). Twitter is using Machine Learning to Make Photos More Engaging.
Retrieved from Analytics Vidhya: https://www.analyticsvidhya.com/blog/2018/01/twitter-
using-machine-learning-make-photos-engaging/
Das, S. (2017, July 21). How Does Twitter Make Money? Twitter Business Model. Retrieved from
feedough: https://www.feedough.com/how-does-twitter-make-
money/#:~:text=Twitter%20business%20model%20is%20similar,unregistered%20can%20on
ly%20read%20them.
Goyal, K. (2020, February 13). Machine Learning vs Neural Networks. Retrieved from UpGrad:
https://www.upgrad.com/blog/machine-learning-vs-neural-
networks/#:~:text=Machine%20Learning%20uses%20advanced%20algorithms,modelling%2
0using%20graphs%20of%20neurons.
Greenberg, A. (2019, July 3). Machine Learning Can Use Tweets to Spot Critical Security Flaws.
Retrieved from Wired: https://www.wired.com/story/machine-learning-tweets-critical-
security-flaws/
Grossfeld, B. (2020, January 23). Deep learning vs machine learning: a simple way to understand the
difference. Retrieved from Zendesk: https://www.zendesk.com/blog/machine-learning-and-
deep-learning/
JavaTPoint. (2017). Difference between Artificial intelligence and Machine learning. Retrieved from
javaTpoint: https://www.javatpoint.com/difference-between-artificial-intelligence-and-
machine-
learning#:~:text=On%20a%20broad%20level%2C%20we,data%20without%20being%20pro
grammed%20explicitly.
Koumchatzky, N., & Andryeyev, A. (2017, May 9). Using Deep Learning at Scale in Twitter’s
Timelines. Retrieved from Blog.Twitter:
https://blog.twitter.com/engineering/en_us/topics/insights/2017/using-deep-learning-at-scale-
in-twitters-timelines.html