Deep Neural Networks for Face Detection Explained on Apple's Machine Learning Journal - MacRumors
Skip to Content

Deep Neural Networks for Face Detection Explained on Apple's Machine Learning Journal

by

Apple today published a new entry in its online Machine Learning Journal, this time covering an on-device deep neural network for face detection, aka the technology that's used to power the facial recognition feature used in Photos and other apps.

Facial detection features were first introduced as part of iOS 10 in the Core Image framework, and it was used on-device to detect faces in photos so people could view their images by person in the Photos app.

apple machine learning journal
Implementing this technology was no small feat, says Apple, as it required "orders of magnitude more memory, much more disk storage, and more computational resources."

Apple's iCloud Photo Library is a cloud-based solution for photo and video storage. However, due to Apple's strong commitment to user privacy, we couldn't use iCloud servers for computer vision computations. Every photo and video sent to iCloud Photo Library is encrypted on the device before it is sent to cloud storage, and can only be decrypted by devices that are registered with the iCloud account. Therefore, to bring deep learning based computer vision solutions to our customers, we had to address directly the challenges of getting deep learning algorithms running on iPhone.

Apple's Machine Learning Journal entry describes how Apple overcame these challenges by leveraging GPU and CPU in iOS devices, developing memory optimizations for network interference, image loading, and caching, and implementing the network in a way that did not interfere with other tasks expected on iPhone.

The new entry is well worth reading if you're interested in the specific details behind how Apple overcame these challenges to successfully implemented the feature. The technical details are dense, but understandable, and it provides some interesting insight into how facial recognition works.

With its Machine Learning Journal, Apple aims to share the complex concepts behind its technology so the users of its products can get a look behind the curtain. It also serves as a way for Apple's engineers to participate in the AI community.

Apple has previously shared several articles on Siri, including how "Hey Siri," works, and a piece on using machine learning and neural networks for refining synthetic images.

Top Rated Comments

69Mustang Avatar
116 months ago
But bahgawd, the technology Apple is pulling off really is falling squarely into the realm of magical.
The entire AI community is working on some voodoo. If you couple it with advances in robotics... we are about 2 hours and 23 minutes away from the uprising. This mofo is untethered.
Score: 1 Votes (Like | Disagree)
H3LL5P4WN Avatar
116 months ago
Do I enjoy paying over $1000 for a phone (as I have for what, 3 straight years now?)? No. Will I continue to do so? Until they make me a 512gb phone south of that mark, yes. Yes I will.

But bahgawd, the technology Apple is pulling off really is falling squarely into the realm of magical.
Score: 1 Votes (Like | Disagree)
spacemnspiff Avatar
116 months ago
Anyone else just wowed by the amount of technology embedded into this new iPhone? Our phones are learning more about us then we ever knew Before.
Yet people keep complaining about price, because all it has is the same hardware as the iPhone 8, make childish comments by attributing extra cost to the OLED screen and claiming that no innovation in the smartphone industry is to be had. These high school minded kids have got to grow up.
Score: 1 Votes (Like | Disagree)
116 months ago
Anyone else just wowed by the amount of technology embedded into this new iPhone? Our phones are learning more about us then we ever knew Before.
Score: 1 Votes (Like | Disagree)

Popular Stories

Apple TV 4K HomeView HomePod Mini tweaked

New Apple TV 4K, HomeView, and HomePod Mini: 16 Details Just Leaked

Sunday October 11, 2026 12:56 pm PDT by
Just two days before Apple's "Welcome home" experience in New York, Bloomberg's Mark Gurman has leaked several details about the new products set to be unveiled, including an all-new smart home hub, a HomePod mini 2, and a new Apple TV 4K. Here is an all-in-one summary of the details shared by Gurman:Apple's home hub with a touch-enabled display will be named HomeView, seemingly confirming a ...
apple welcome home event

Apple Product Launch Announced for October 13: 'Welcome Home'

Thursday October 8, 2026 9:04 am PDT by
Apple today announced an upcoming product launch that will take place on Tuesday, October 13. We are expecting Apple's announcement to focus on new smart home products, including the long-rumored smart home hub, a new Apple TV 4K, and a refreshed HomePod mini. Subscribe to the MacRumors YouTube channel for more videos. The home hub is an all-new device that's like a cross between an iPad and...
MacBook Pro Ultra Feature 1

Apple to Launch Touchscreen OLED MacBook Pro and OLED iPad mini on October 27

Thursday October 8, 2026 1:31 pm PDT by
Apple will introduce new OLED touchscreen MacBook Pro models and an OLED iPad mini "on or around" Tuesday, October 27, reports Bloomberg. The launch will also include an M6 14-inch MacBook Pro and an M6 iMac. The October 27 follows Apple's October 13 debut of a new smart home hub, a revamped Apple TV 4K, and a refreshed HomePod mini. Earlier this month, MacRumors reported that Apple would do ...
Latest Stories
OLED iPad Mini Could Be $200 More Expensive Than Current Model
OLED iPad Mini Could Be $200 More Expensive Than Current Model
26 minutes ago
Apple Launches Special Edition AirPods 5 in India
Apple Launches Special Edition AirPods 5 in India
1 hour ago
New Apple TV 4K and HomePod Mini 2 Pre-Orders Expected to Begin This Week
New Apple TV 4K and HomePod Mini 2 Pre-Orders Expected to Begin This Week
8 hours ago
New Apple TV 4K, HomeView, and HomePod Mini: 16 Details Just Leaked
New Apple TV 4K, HomeView, and HomePod Mini: 16 Details Just Leaked
16 hours ago
New Entry-Level iPad Not Expected Until Early 2027
New Entry-Level iPad Not Expected Until Early 2027
20 hours ago
Apple Plans Major iPhone Duo Retail Showcase, But Supply Will Be Limited
Apple Plans Major iPhone Duo Retail Showcase, But Supply Will Be Limited
20 hours ago
Apple TV 4K Getting A19 Chip and a Potentially Easier-to-Find Siri Remote
Apple TV 4K Getting A19 Chip and a Potentially Easier-to-Find Siri Remote
20 hours ago
New Mac Mini and Mac Studio Receive Up to $200 Price Cuts at Amazon
New Mac Mini and Mac Studio Receive Up to $200 Price Cuts at Amazon
21 hours ago
Apple HomeView Smart Hub to Ship in Mid-November in Four Colors
Apple HomeView Smart Hub to Ship in Mid-November in Four Colors
20 hours ago
New Apple TV 4K and HomePod Mini to Ship on October 30
New Apple TV 4K and HomePod Mini to Ship on October 30
21 hours ago
AirPods Max 2 Available for $429 in All Colors on Amazon
AirPods Max 2 Available for $429 in All Colors on Amazon
22 hours ago
Rumor: Apple to Announce New Partnership With ADT
Rumor: Apple to Announce New Partnership With ADT
1 day ago
AirPods 5 vs. AirPods 5 With Wireless Charging Case Buyer's Guide
AirPods 5 vs. AirPods 5 With Wireless Charging Case Buyer's Guide
2 days ago
Accessory Deals This Weekend: Save on TVs, Headphones, and Smart Home Gear
Accessory Deals This Weekend: Save on TVs, Headphones, and Smart Home Gear
2 days ago
Apple's All-New Home Hub Will Be Revealed October 13: What to Expect
Apple's All-New Home Hub Will Be Revealed October 13: What to Expect
2 days ago
Apple Announcing HomePod Mini 2 Next Week With These New Features
Apple Announcing HomePod Mini 2 Next Week With These New Features
2 days ago
A New Apple TV 4K is Finally Coming on Tuesday
A New Apple TV 4K is Finally Coming on Tuesday
2 days ago
Top Stories: Apple's 'Welcome Home' Launch on October 13 and More
Top Stories: Apple's 'Welcome Home' Launch on October 13 and More
2 days ago
Apple Stores Will Add Your Name to iPhone Duo's Startup Screen
Apple Stores Will Add Your Name to iPhone Duo's Startup Screen
3 days ago
SpaceX Inches Closer to Becoming a U.S. Carrier
SpaceX Inches Closer to Becoming a U.S. Carrier
3 days ago
Apple Potentially Behind 'HomeView' Trademark Filed Alongside 'homeOS' Last Year
Apple Potentially Behind 'HomeView' Trademark Filed Alongside 'homeOS' Last Year
3 days ago
Mark Your Calendar: Six Important Apple Dates Coming Up This Month
Mark Your Calendar: Six Important Apple Dates Coming Up This Month
3 days ago
MacRumors Giveaway: Win an Apple Watch Series 12 and a Nylon Band From Southern Straps
MacRumors Giveaway: Win an Apple Watch Series 12 and a Nylon Band From Southern Straps
3 days ago
First Apple TV 4K Now 'Vintage' Ahead of New Model Coming on Tuesday
First Apple TV 4K Now 'Vintage' Ahead of New Model Coming on Tuesday
3 days ago
The MacRumors Show: Apple's Smart Home Products Are Coming
The MacRumors Show: Apple's Smart Home Products Are Coming
3 days ago
Apple Shares Fall After News of iPhone 18 Pro Order Cuts
Apple Shares Fall After News of iPhone 18 Pro Order Cuts
3 days ago
Leak Details iPhone Features for Apple's LG Home Accessories
Leak Details iPhone Features for Apple's LG Home Accessories
3 days ago
Prime Day Leftover Deals: AirPods Max 2 for $429, Mac Mini for $779.99, and More
Prime Day Leftover Deals: AirPods Max 2 for $429, Mac Mini for $779.99, and More
3 days ago
Every M5 MacBook Air Now $200 Off on Amazon
Every M5 MacBook Air Now $200 Off on Amazon
3 days ago
Mac Shipments Fall, But Apple Still Gains Ground in Shrinking Market
Mac Shipments Fall, But Apple Still Gains Ground in Shrinking Market
3 days ago