Apple's Machine Learning Has Cut Siri's Error Rate by a Factor of Two

Steven Levy has published an in-depth article about Apple's artificial intelligence and machine learning efforts, after meeting with senior executives Craig Federighi, Eddy Cue, Phil Schiller, and two Siri scientists at the company's headquarters.

backchannel-apple-machine-learning
Apple provided Levy with a closer look at how machine learning is deeply integrated into Apple software and services, led by Siri, which the article reveals has been powered by a neural-net based system since 2014. Apple said the backend change greatly improved the personal assistant's accuracy.

"This was one of those things where the jump was so significant that you do the test again to make sure that somebody didn’t drop a decimal place," says Eddy Cue, Apple’s senior vice president of internet software and services.

Alex Acero, who leads the Siri speech team at Apple, said Siri's error rate has been lowered by more than a factor of two in many cases.

“The error rate has been cut by a factor of two in all the languages, more than a factor of two in many cases,” says Acero. “That’s mostly due to deep learning and the way we have optimized it — not just the algorithm itself but in the context of the whole end-to-end product.”

Acero told Levy he was able to work directly with Apple's silicon design team and the engineers who write the firmware for iOS devices to maximize performance of the neural network, and Federighi added that Apple building both hardware and software gives it an "incredible advantage" in the space.

"It's not just the silicon," adds Federighi. "It's how many microphones we put on the device, where we place the microphones. How we tune the hardware and those mics and the software stack that does the audio processing. It's all of those pieces in concert. It's an incredible advantage versus those who have to build some software and then just see what happens."

Apple's machine learning efforts extend far beyond Siri, as evidenced by several examples shared by Levy:

You see it when the phone identifies a caller who isn’t in your contact list (but did email you recently). Or when you swipe on your screen to get a shortlist of the apps that you are most likely to open next. Or when you get a reminder of an appointment that you never got around to putting into your calendar. Or when a map location pops up for the hotel you’ve reserved, before you type it in. Or when the phone points you to where you parked your car, even though you never asked it to. These are all techniques either made possible or greatly enhanced by Apple’s adoption of deep learning and neural nets.

Another product born out of machine learning is the Apple Pencil, which can detect the difference between a swipe, a touch, and a pencil input:

In order for Apple to include its version of a high-tech stylus, it had to deal with the fact that when people wrote on the device, the bottom of their hand would invariably brush the touch screen, causing all sorts of digital havoc. Using a machine learning model for “palm rejection” enabled the screen sensor to detect the difference between a swipe, a touch, and a pencil input with a very high degree of accuracy. “If this doesn’t work rock solid, this is not a good piece of paper for me to write on anymore — and Pencil is not a good product,” says Federighi. If you love your Pencil, thank machine learning.

On the iPhone, machine learning is enabled by a localized dynamic cache or "knowledge base" that Apple says is around 200MB in size, depending on how much personal information is stored.

This includes information about app usage, interactions with other people, neural net processing, a speech modeler, and "natural language event modeling." It also has data used for the neural nets that power object recognition, face recognition, and scene classification.

"It's a compact, but quite thorough knowledge base, with hundreds of thousands of locations and entities. We localize it because we know where you are," says Federighi. This knowledge base is tapped by all of Apple's apps, including the Spotlight search app, Maps, and Safari. It helps on auto-correct. "And it's working continuously in the background," he says.

Apple, for example, uses its neural network to capture the words iPhone users type using the standard QuickType keyboard.

Other information Apple stores on devices includes probably the most personal data that Apple captures: the words people type using the standard iPhone QuickType keyboard. By using a neural network-trained system that watches while you type, Apple can detect key events and items like flight information, contacts, and appointments — but information itself stays on your phone.

Apple insists that much of the machine learning occurs entirely local to the device, without personal information being sent back to its servers.

"Some people perceive that we can't do these things with AI because we don't have the data," says Cue. "But we have found ways to get that data we need while still maintaining privacy. That's the bottom line."

"We keep some of the most sensitive things where the ML is occurring entirely local to the device," Federighi says. As an example, he cites app suggestions, the icons that appear when you swipe right.

The full-length article on Backchannel provides several more details about how machine learning and artificial intelligence work at Apple.

Top Rated Comments

Santabean2000 Avatar
79 months ago
Siri stills sucks for me... still doesn't work well enough to be useful.
Score: 32 Votes (Like | Disagree)
GfPQqmcRKUvP Avatar
79 months ago
Not in my experience. Siri is absolute trash compared to Google Now and Cortana. Apple should be embarrassed by how stagnant it has been and the repeated, correctable errors it makes. No amount of public relations whitewashing can fix it.
Score: 29 Votes (Like | Disagree)
Oblivious.Robot Avatar
79 months ago
Yeah, no.
Siri is still pretty much useless for me, although better than before, but still meh with her current capabilities.



Edit - For the screen brightness part, after some retries I found out that it does work, but you have to say it in one sentence as Siri forgets about it in the next. :confused:

Attachment Image
Score: 17 Votes (Like | Disagree)
keysofanxiety Avatar
79 months ago
Apple insists that much of the machine learning occurs entirely local to the device, without personal information being sent back to its servers.
And yet it still has no offline functionality, even if the learning is localised; well from what I can see, anyway. An iPhone 3GS managed offline voice functions like "call Tom". Why the heck can't Siri? Phone, text, open an app -- these are not commands that need to be bounced off a server.

It's fine if you're at Apple HQ, testing Siri on a 10Gb/s Internet connection. But when you're on the road with flaky 3G signal, it's the last thing you need.
Score: 11 Votes (Like | Disagree)
jsclem02 Avatar
79 months ago
The struggle with Siri is still very real.

Attachment Image
Score: 11 Votes (Like | Disagree)
thisisnotmyname Avatar
79 months ago
I like Siri on the iPhone when it works, but at times it totally gets things very wrong that it previously got right.

What really gets me ticked off is how Siri on ATV is worse than useless almost every time I try to make use of it.
I agree. On the phone she works well for me. On the AppleTV it seems like she goes to sleep and the first time I try to interact with her such as "what did he just say?" it lags so long that the ten second rewind is well past whatever I wanted to hear. And then there's the lack of Siri search through home sharing content...
Score: 7 Votes (Like | Disagree)

Popular Stories

apollo pixel pal zoom

Apollo App Adds 'Pixel Pals' to the iPhone 14 Pro Dynamic Island

Friday September 16, 2022 1:49 pm PDT by
Popular Reddit app Apollo was today updated with support for the iPhone 14 Pro and Pro Max, and Apollo developer Christian Selig decided to implement a fun little feature -- a "tamagotchi" for the Dynamic Island. The app update adds a small little creature into the area above the Dynamic Island on the new iPhone models. It can be customized into a cat, dog, hedgehog, fox, or axolotl, and the ...
iphone 14 pro max deep purple

10 Settings to Check Out on iPhone 14 Pro

Saturday September 17, 2022 4:53 pm PDT by
iPhone 14 Pro and iPhone 14 Pro Max have started to arrive to customers around the world. For those who have upgraded to one of the devices, we have put together a list of 10 useful settings that are worth checking out below. Some of the settings are exclusive to the iPhone 14 Pro models, while others were introduced in iOS 16 for a wider range of iPhones. New Settings for iPhone 14 Pro...
iPhone 14 Pro Dynamic Island Maps

Warning: iOS 16.1 Beta Breaking GPS on iPhone 14 Pro Models

Saturday September 17, 2022 7:10 am PDT by
iPhone 14 Pro and iPhone 14 Pro Max owners should be aware that the iOS 16.1 beta is preventing the GPS from working properly on the devices for many users. Anyone who relies on location tracking should avoid the beta for now. Bugs are common with beta software, but this issue affects a core function of the iPhone, prompting us to share this warning. iPhone 14 Pro users who already installed ...
airpods pro 2

AirPods Pro 2: Six New Features If You're Upgrading

Monday September 19, 2022 4:26 am PDT by
The new second-generation AirPods Pro will begin arriving to customers on Friday, September 23. For customers still using the first-generation AirPods Pro or older AirPods models, there are several new features and changes you can look forward to using. We've outlined six new significant features, changes, and improvements that the new second-generation AirPods Pro offer compared to older...
iphone 14 pro dynamic island

Dynamic Island Expected to Expand to All iPhone 15 Models

Sunday September 18, 2022 7:06 am PDT by
Apple plans to expand the Dynamic Island to all four iPhone 15 models released next year, according to oft-accurate display industry analyst Ross Young. The feature is currently exclusive to the iPhone 14 Pro and iPhone 14 Pro Max. In a tweet, Young said he expects the Dynamic Island to be available on the standard iPhone 15 models next year. However, he still does not expect the standard...
iPhone 14 Pro Rear Camera

iPhone 14 Pro Camera Shaking and Vibrating in Apps Like Snapchat, TikTok, and Instagram for Some Users

Sunday September 18, 2022 7:53 pm PDT by
Following the launch of the iPhone 14 Pro and iPhone 14 Pro Max, some early adopters of the devices have noticed that the rear camera's main lens vibrates uncontrollably when the camera is opened in apps such as Snapchat, TikTok, and Instagram, resulting in shaky video. The issue does not appear to affect the built-in Camera app. The issue has been reported by users across Twitter, Reddit, Ti...
ios 16 clipboard prompt

Apple Executive Responds to Annoying iOS 16 Copy and Paste Prompt: 'Absolutely Not Expected Behavior'

Monday September 19, 2022 6:49 am PDT by
Apple has responded to user complaints regarding an annoying pop-up in iOS 16 that asks for user permission if an app wants to access the clipboard to paste text, images, and more. The new prompt was added to iOS 16 as a privacy measure for users, requiring that apps ask for permission to access the clipboard, which may have sensitive data. The prompt, however, has become an annoyance for...
iphone 14 lineup

iPhone 14 and iPhone 14 Pro Max Charging Speeds Tested: Here's What to Know

Sunday September 18, 2022 1:15 pm PDT by
Chinese website Chongdiantou has tested a variety of Apple power adapters with the iPhone 14 and the iPhone 14 Pro Max, providing useful data about charging speeds and revealing which charger is the most valuable for fast charging. The short answer is to choose Apple's 30W USB-C power adapter, which at $39 is the company's lowest-priced charger that can charge the iPhone 14 and iPhone 14 Pro ...
iphone 14 pro max deep purple

Apple Investigating iPhone 14 Pro Models Freezing After Data Transfers

Sunday September 18, 2022 7:47 am PDT by
Apple is investigating a bug that may cause iPhone 14 Pro and iPhone 14 Pro Max models to freeze after customers transfer their data from an older iPhone, the company said today in an internal memo obtained by MacRumors. In the memo, Apple says it is "aware of this issue happening and is investigating." Apple specifically says that some customers may find their new iPhone 14 Pro or iPhone 14 ...