Robots

Machine learning vs AI vs NLP: What’s the difference?

These terms are often used together, but they are fundamentally different technologies
Pro
Image: Shutterstock via Dennis

11 July 2022

As time passes by, technology continues to evolve at an astonishing rate. This has been partly driven by the past few years due to the pandemic, which pushed organisations to adopt new technology and digitally transform at a faster rate, much faster than anyone thought possible within that frame of time.

At this height of innovation, the constant galloping acceleration of technology is unrestrained. You might be asking yourself whether all these new developments are actually making life easier or making it more complex, especially as each year there’s a constant stream of new features or functions produced by companies making it hard to stay on top of the new technology.

It’s fine to admit that it can be confusing to comprehend the purpose of the new technology and what it does. This is particularly true when it comes to artificial intelligence (AI) and machine learning (ML), two popular and growing technologies. Then to make matters even more complex, now you have to contend with natural language processing (NLP) too.

 

advertisement



 

You’re more than likely to see AI and ML mentioned at the same time, with a sprinkle of NLP too, especially if you’re watching a film. When it comes to AI and ML, these two cannot function without the other, but they have plenty of visible differences.

If you’ve seen the 2001 Steven Spielberg film, you might consider AI to be a mix of machines and humans. Despite this, it’s a wider term for anything that helps computers to seem human-like, or perform human duties.

You might recognise some of the popular applications of this technology such as in smart speakers, like Alexa from Amazon or Siri from Apple, as well as chatbots or virtual assistants that you find on some retail sites. There are other broad use applications for businesses, however, including fraud protection or even statistical analysis for pricing models.

On the other hand, machine learning is in-essence a form of AI. It basically helps machines acquire knowledge from data but has restricted breadth. Unlike AI, ML also splits up into different subdivisions like deep learning or even reinforcement learning.

As for NLP, this refers to the ability of a computer program to understand spoken and written human language, which is the ‘natural language’ part of NLP. It basically helps computers to understand natural language in the same way that computers do, no matter if it’s spoken or written. This makes communication between humans and computers easier and has a range of use cases.

What’s the difference between ML and AI?

The history of AI is a long one. For thousands of years, humans have dreamt of machines that could ‘come to life’, behaving and thinking as humans do. There was a time when early computers, due to their ‘logical’ nature, were also considered a type of artificial intelligence.

In its current manifestation, however, the idea of AI can trace its history to British computer scientist and World War II codebreaker Alan Turing. He proposed a test, which he called the Imitation Game but is more commonly now known as the Turing Test, where one individual converses with two others, one of which is a machine, through a text-only channel. If the interrogator is unable to tell the difference between the machine and the person, the machine is considered to have ‘passed’ the test.

This basic concept is referred to as ‘general AI’ and is generally considered to be something that researchers have yet to fully achieve.

However, ‘narrow’ or ‘applied’ AI has been far more successful at creating working models. Rather than attempt to create a machine that can do everything, this field attempts to create a system that can perform a single task as well as, if not better than, a human.

It’s within this narrow AI discipline that the idea of machine learning first emerged, as early as the middle of the twentieth century. First defined by AI pioneer Arthur Samuel in a 1959 academic paper, ML represents “the ability to learn without being explicitly programmed”.

Uses and applications

What is machine learning used for?

Interest in ML has waxed and waned over the years, but with data becoming an increasingly important part of business strategy, it’s fallen back into favour as organisations seek ways to analyse and make use of the vast quantities of information they collect on an almost constant basis.

When this data is put into a machine learning program, the software not only analyses it but learns something new with each new dataset, becoming a growing source of intelligence. This means the insights that can be learnt from data sources become more advanced and more informative, helping companies develop their business in line with customer expectations.

One application of ML is in a recommendation engine, like Facebook’s newsfeed algorithm, or Amazon’s product recommendation feature. ML can analyse how many people are liking, commenting on or sharing posts or what other people are buying that have similar interests. It will then show the post to others the system thinks will like it.

ML is also particularly useful for image recognition, using humans to identify what’s in a picture as a kind of programming and then using this to autonomously identify what’s in a picture. For example, machine learning can identify the distribution of the pixels used in a picture, working out what the subject is.

Enterprises are now turning to ML to drive predictive analytics, as Big Data analysis becomes increasingly widespread. The association with statistics, data mining and predictive analysis have become dominant enough for some to argue that machine learning is a separate field from AI.

The reason for this is that AI technology, such as natural language processing or automated reasoning, can be done without having the capability for machine learning. It is not always necessary for ML systems to have other features of AI.

What is AI used for?

There are hundreds of use cases for AI, and more are becoming apparent as companies adopt artificial intelligence to tackle business challenges.

One of the most common uses of AI is for automation in cyber security. For example, AI algorithms can be programmed to detect threats that may be difficult for a human to spot, such as subtle changes in user behaviour or an unexplained increase in the amount of data being transferred to and from a particular node (such as a computer or sensor). In the home, assistants like Google Home or Alexa can help automate lighting, heating and interactions with businesses through chatbots.

There are well-founded fears that AI will replace human job roles, such as data input, at a faster rate than the job market will be able to adapt to. Author and venture capitalist Kai-Fu Lee, who has worked at both Apple and Google and earned a PhD from Carnegie Mellon for the development of an advanced speech recognition AI, warned in 2019 that “many jobs that seem a little bit complex, a chef, a waiter, a lot of things, will become automated.”

“We will have automated stores, automated restaurants and all together, in 15 years, that’s going to displace about 40% of jobs in the world.”

What is NLP used for?

NLP has a variety of use cases available. For example, it’s used in text extraction, where a text is automatically summarised and key data is located. An example of this is keyword extraction which is used to locate important words in a text, and is useful for things like search engine optimisation.

Another use is machine translation, where a computer translates text from one language to another. This is useful for people on holiday, researchers, and many more. It has progressed to the extent that translation apps like Google Translate have a ‘conversation’ mode where the app will translate two spoken languages between two people so they can, as you’ve guessed, have a conversation.

NLP is also used in natural language generation which uses algorithms to analyse unstructured data and produce content from that data. It’s used by language models like GPT3 which can analyse text and then generate articles from that text which look fairly real.

The real world applications of NLP include word processors used for proofreading like Microsoft Word, talent recruitment, stock forecasting, and more.

Confusing AI and ML

To make matters more confusing when it comes to naming and identifying these terms, there are a number of other terms thrown into the hat. These include artificial neural networks, for instance, which process information in a way that mimics neurons and synapses in the human mind. This technology can be used for machine learning; although not all neural networks are AI or ML, and not all ML programmes use underlying neural networks.

As this is a developing field, terms are popping in and out of existence all the time and the barriers between the different areas of AI are still quite permeable. As the technology becomes more widespread and more mature, these definitions will likely also become more concrete and well known. On the other hand, if we develop generalised AI, all these definitions may suddenly cease to be relevant.

Future Publishing

Read More:


Back to Top ↑

TechCentral.ie