Skip to main content

Deep learning vs. machine learning: What’s the difference between the two?

deep learning vs machine explained ai 01
Image used with permission by copyright holder
In recent months, Microsoft, Google, Apple, Facebook, and other entities have declared that we no longer live in a mobile-first world. Instead, it’s an artificial intelligence-first world where digital assistants and other services will be your primary source of information and getting tasks done. Your typical smartphone or PC are now your secondary go-getters.

Backing this new frontier are two terms you’ll likely hear often: machine learning and deep learning. These are two methods in “teaching” artificial intelligence to perform tasks, but their uses goes way beyond creating smart assistants. What’s the difference? Here’s a quick breakdown.

Computers now see, hear, and speak

Recommended Videos

With the help of machine learning, computers can now be “trained” to predict the weather, determine stock market outcomes, understand your shopping habits, control robots in a factory, and so on. Google, Amazon, Facebook, Netflix, LinkedIn, and more popular consumer-facing services are all backed by machine learning. But at the heart of all this learning is what’s known as an algorithm.

Simply put, an algorithm is not a complete computer program (a set of instructions), but a limited sequence of steps to solve a single problem. For example, a search engine relies on an algorithm that grabs the text you enter into the search field box, and searches the connected database to provide the related search results. It takes specific steps to achieve a single, specific goal.

Machine learning has actually been around since 1956. Arthur Samuel didn’t want to write a highly-detailed, lengthy program that could enable a computer to beat him in a game of checkers. Instead, he created an algorithm that enabled the computer to play against itself thousands of times so it could “learn” how to perform as a stand-alone opponent. By 1962, this computer beat the Connecticut state champion.

Thus, at its core, machine learning is based on trial and error. We can’t manually write a program by hand that can help a self-driving car distinguish a pedestrian from a tree or a vehicle, but we can create an algorithm for a program that can solve this problem using data. Algorithms can also be created to help programs predict the path of a hurricane, diagnose Alzheimer’s early, determine the world’s most overpaid and underpaid soccer stars, and so on.

Machine learning typically runs on low-end devices, and breaks a problem down into parts. Each part is solved in order, and then combined to create a single answer to the problem. Well-known machine learning contributor Tom Mitchell of Carnegie Mellon University explains that computer programs are “learning” from experience if their performance of a specific task is improving. Machine learning algorithms are essentially enabling programs to make predictions, and over time get better at these predictions based on trial and error experience.

Here are the four main types of machine learning:

Supervised machine learning

In this scenario, you are providing a computer program with labeled data. For instance, if the assigned task is to separate pictures of boys and girls using an algorithm for sorting images, those with a male child would have a “boy” label, and images with a female child would have a “girl” label. This is considered as a “training” dataset, and the labels remain in place until the program can successfully sort the images at an acceptable rate.

Semi-supervised machine learning

In this case, only a few images are labeled. The computer program will then use an algorithm to make its best guess regarding the unlabeled images, and then the data is fed back to the program as training data. A new batch of images is then provided, with only a few sporting labels. It’s a repetitive process until the program can distinguish between boys and girls at an acceptable rate.

Unsupervised machine learning

This type of machine learning doesn’t involve labels whatsoever. Instead, the program is blindly thrown into the task of splitting images of boys and girls into two groups using one of two methods. One algorithm is called “clustering” that groups similar objects together based on characteristics, such as hair length, jaw size, eye placement, and so on. The other algorithm is called “association” where the program creates if/then rules based on similarities it discovers. In other words, it determines a common pattern between the images, and sorts them accordingly.

Reinforcement machine learning

Chess would be an excellent example of this type of algorithm. The program knows the rules of the game and how to play, and goes through the steps to complete the round. The only information provided to the program is whether it won or lost the match. It continues to replay the game, keeping track of its successful moves, until it finally wins a match.

Now it’s time to move on to a deeper subject: deep learning.

Deep Learning

Deep learning is basically machine learning on a “deeper” level (pun unavoidable, sorry). It’s inspired by how the human brain works, but requires high-end machines with discrete add-in graphics cards capable of crunching numbers, and enormous amounts of “big” data. Small amounts of data actually yield lower performance.

Unlike standard machine learning algorithms that break problems down into parts and solves them individually, deep learning solves the problem from end to end. Better yet, the more data and time you feed a deep learning algorithm, the better it gets at solving a task.

In our examples for machine learning, we used images consisting of boys and girls. The program used algorithms to sort these images mostly based on spoon-fed data. But with deep learning, data isn’t provided for the program to use. Instead, it scans all pixels within an image to discover edges that can be used to distinguish between a boy and a girl. After that, it will put edges and shapes into a ranked order of possible importance to determine the two genders.

On an even more simplified level, machine learning will distinguish between a square and triangle based on information provided by humans: squares have four points, and triangles have three. With deep learning, the program doesn’t start out with pre-fed information. Instead, it uses an algorithm to determine how many lines the shapes have, if those lines are connected, and if they are perpendicular. Naturally, the algorithm would eventually figure out that an inserted circle does not fit in with its square and triangle sorting.

Again, this latter “deep thinking” process requires more hardware to process the big data generated by the algorithm. These machines tend to reside in large datacenters to create an artificial neural network to handle all the big data generated and supplied to artificial intelligent applications. Programs using deep learning algorithms also take longer to train because they’re learning on their own instead of relying on hand-fed shortcuts.

“Deep Learning breaks down tasks in ways that makes all kinds of machine assists seem possible, even likely. Driverless cars, better preventive healthcare, even better movie recommendations, are all here today or on the horizon,” writes Nvidia’s Michael Copeland. “With Deep Learning’s help, A.I. may even get to that science fiction state we’ve so long imagined.”

Is Skynet on the way? Not yet

A great recent example of deep learning is translation. This technology is capable of listening to a presenter talking in English, and translating his words into a different language through both text and an electronic voice in real time. This achievement was a slow learning burn over the years due to the differences in overall language, language use, voice pitches, and maturing hardware-based capabilities.

Deep learning is also responsible for conversation-carrying chatbots, Amazon Alexa, Microsoft Cortana, Facebook, Instagram, and more. On social media, algorithms based on deep learning are what cough up contact and page suggestions. Deep learning even helps companies customize their creepy advertising to your tastes even when you’re not on their site. Yay for technology.

“Looking to the future, the next big step will be for the very concept of the ‘device’ to fade away,” says Google CEO Sundar Pichai. “Over time, the computer itself—whatever its form factor—will be an intelligent assistant helping you through your day. We will move from mobile first to an A.I. first world.”

Kevin Parrish
Former Digital Trends Contributor
Kevin started taking PCs apart in the 90s when Quake was on the way and his PC lacked the required components. Since then…
Juiced Bikes sold at auction for $1.2 million, report says
The Juiced Bikes Scorpion X2 adds more power, upgraded tires, and an improved battery to the popular moped style e-bike.

Juiced Bikes, the San Diego-based maker of e-bikes, has been sold on an auction website for $1,225,000, according to a report from Electrek.Digital Trends recently reported how the company was showing signs of being on the brink of bankruptcy. The company and its executives had remained silent, while customer inquiries went unanswered and its website showed all products were out of stock. In addition, there were numerous reports of layoffs at the company.Yet, the most convincing sign was that the company’s assets appeared as listed for sale on an auction website used by companies that go out of business.Now, it appears that Juiced Bikes’ assets, including a dozen patents, multiple URLs, and the company’s inventory in both the U.S. and China, have been sold at auction, according to the report. It is likely that the buyer, who remains unknown, can capitalize on the brand and the overall value of the 15-year old company. Founded in 2009 by Tora Harris, a U.S. high-jump Olympian, Juiced Bikes was one of the early pioneers of the direct-to-consumer e-bike brands in the U.S. market.
The company had quickly built a reputation for the versatility of its e-bikes and the durability of their batteries. Over the years, the popularity of models such as the CrossCurrent, HyperScrambler, and RipCurrent only bolstered the brand’s status.Last year, Digital Trends named the Juiced Bikes Scorpion X2 as the best moped-style e-bike for 2023, citing its versatility, rich feature set, and performance.Juiced Bikes’ getting sold quickly might be a sign of what consulting firm Houlihan Lokey says is a recovery in the North American e-bike market.
The industry has had a roller-coaster ride during and after the COVID-19 pandemic: A huge spike in demand for e-bikes had combined with disrupted supply chains to create a supply/demand mismatch of “historic proportions," Houlihan Lokey said.

Read more
Rivian gets Knight Rider spooky for Halloween
Michael Knight sitting on the hood of his car KITT in a scene from Knight Rider.

Rivian vehicles are known for giving drivers the chance to take the party on the road, whether it’s stowing a travel kitchen onboard or using its elaborate software systems to spice things up.With Halloween just around the corner, the automaker based in Plymouth, Michigan, is pulling out some treats from its bag of tricks: Rivian owners are getting a number of options to turn their vehicles into traditional spooky or full-on sci-fi entertainment hubs.A software update available on the Rivian Mobile App until November 4 provides Car Costumes, which take over the vehicle’s screen, lighting, and sound systems while in park to transform it into three different cars.Nostalgic fans of the Knight Rider TV series will be pleased with the option to turn their Rivians into the famous K.I.T.T. crime-fighting car. After choosing the option on the app, the car’s interior display system features K.I.T.T.’s diagnostics on screen while playing the original show intro music. Here's an extra treat for Rivian Gen 2 owners: The exterior light bar will feature K.I.T.T.’s iconic beaming red light while playing its scanner sound effect.No-less nostalgic fans of Back to the Future movies will also get their treat with a chance to turn their vehicle into the DeLorean Time Machine. With this option, the screen turns into the classic time-traveling interface while the audio system plays the movie’s music and acceleration sound effects. Once again, Rivian Gen 2 owners get an extra treat. Hitting the key 88 mph button will engage the car’s lighting and sound effects in the front and back of the car to whizz you through the sound barrier.For a more traditional spooky time, you can opt for the Haunted Rivian car costume, featuring eight different sound effects and three different color themes. Static and ghosts will take over your interior display.Rivian Gen 1 owners get a green animation on the outside of the vehicle. Gen 2 owners can turn the exterior light bar into whichever color option they find most frightful.

Read more
The Nissan Rogue is joining the plug-in hybrid club in 2025
nissan rogue hybrid 2025 2024

It might have taken a while, and slumping sales of its most popular SUV, but Nissan has finally taken the step to offer hybrid vehicles in the U.S. The Japanese automaker will add a plug-in hybrid (PHEV) powertrain to the 2026 Rogue compact SUV, which should be available stateside sometime next year, Nissan Americas chief planning officer Ponz Pandikuthira told Automotive News.A plug-in hybrid electric vehicle (PHEV) typically runs on electric power until its battery is almost depleted, at which point it automatically switches over to using a gasoline-powered internal combustion engine. The battery can be recharged conventionally from the outside or through regenerative braking.
While Nissan has been offering popular fully electric vehicles (EVs) such as the Leaf and the Ariya for years, it has surprised many by not joining the hybrid bandwagon, especially for the Rogue. Competitors such as the Toyota RAV4 and the Honda CR-V, which do provide the part-fuel, part-electric power capacity, have seen their sales surging. Meanwhile, sales of the Rogue have slumped this year.
That’s why Nissan is partnering with Mitsubishi to start offering its first-ever electrically assisted car in the U.S. next year.
According to the Automotive News report, the Rogue will be outfitted with a similar powertrain found in the Mitsubishi Outlander. In that model, a 2.4-liter gas engine powers the front wheels, while two electric motors create an all-wheel drive system that can either work on its own or in conjunction with the gas engine. As the Outlander is able to deliver 248 horsepower, that would make the Rogue PHEV more powerful than the existing model’s 201 hp. The Outlander is also rated for 38 miles of electric driving by the EPA.
In addition, Nissan is planning to bring its non-plug-in, e-Power series hybrid technology to the U.S. in 2026. This technology, already available outside the U.S., also uses electric motors to power the wheels while using the gas engine to charge the battery.

Read more