Deep Neural Networks for Face Detection Explained on Apple's Machine Learning Journal - MacRumorsOpen MenuShow RoundupsShow Forums menuVisit ForumsOpen Sidebar
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
117 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
117 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
117 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)
117 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

iPhone Duo Display Cracking

Apple Alerts Stores to iPhone Duo's Display Cracking Issue

Friday October 30, 2026 3:20 pm PDT by
In a memo shared with Apple Stores and Apple Authorized Service Providers this week, and later obtained by MacRumors, Apple provided technicians with guidance on how to diagnose and address the iPhone Duo's inner display cracking issue. If a customer reports the issue, Apple advised technicians to inspect the iPhone Duo and repair or replace it in accordance with their standard procedures....
iPad mini OLED feature 1

Apple Executive Comments on New iPad Mini Lacking 120Hz Display

Thursday October 29, 2026 1:47 pm PDT by
While the new iPad mini has an OLED display, the device does not support ProMotion, meaning the display's refresh rate is limited to 60Hz instead of 120Hz. ProMotion support would have allowed for the iPad mini's refresh rate to automatically adjust from 10Hz to 120Hz depending on the content being displayed, but evidently Apple has kept the feature exclusive to the iPad Pro among iPad...
Pinched iPad Mini

Apple Avoids Showing Pinched Fingers on iPad Mini Page in South Korea

Thursday October 29, 2026 11:52 am PDT by
In the U.S. and most other countries, Apple's website shows the new iPad mini being held by pinched fingers, but this is not the case in South Korea. The new iPad mini shown with pinched fingers on Apple's website in the U.S. On its South Korean website, Apple simply shows an image of the iPad mini on its own. The new iPad mini shown without pinched fingers on Apple's website in South Korea ...
Latest Stories
Apple Watch Ultra 4 Hits All-Time Low Price With Amazon's $99 Discount
Apple Watch Ultra 4 Hits All-Time Low Price With Amazon's $99 Discount
15 hours ago
Reminder: Apple's Big Discount on Beats 360 Ear Cushions Ends Today
Reminder: Apple's Big Discount on Beats 360 Ear Cushions Ends Today
15 hours ago
Here's a New Tour of Apple's HomeView Software
Here's a New Tour of Apple's HomeView Software
15 hours ago
Apple Reveals New iPad Mini's Battery Capacity
Apple Reveals New iPad Mini's Battery Capacity
16 hours ago
Top Stories: Apple's Big MacBook Pro, iPad mini and iMac Updates
Top Stories: Apple's Big MacBook Pro, iPad mini and iMac Updates
18 hours ago
'Pluribus' Season 2 Reportedly Starts Production Today
'Pluribus' Season 2 Reportedly Starts Production Today
1 day ago
iPhone 18 Pro Sales Surge in China, Offsetting Decline in U.S. and Japan
iPhone 18 Pro Sales Surge in China, Offsetting Decline in U.S. and Japan
1 day ago
HomeView Software 27.2: Wallpapers, Control Center, and More
HomeView Software 27.2: Wallpapers, Control Center, and More
1 day ago
Apple Alerts Stores to iPhone Duo's Display Cracking Issue
Apple Alerts Stores to iPhone Duo's Display Cracking Issue
1 day ago
iOS 27.3 Will Enable These Apple Intelligence Features in China
iOS 27.3 Will Enable These Apple Intelligence Features in China
1 day ago
Apple Says iOS 27.3 Beta Coming Next Week
Apple Says iOS 27.3 Beta Coming Next Week
1 day ago
Apple's Flash Storage Suppliers Are Finally 'Getting Their Revenge'
Apple's Flash Storage Suppliers Are Finally 'Getting Their Revenge'
1 day ago
14 New Things Your iPhone Can Do in iOS 27.2
14 New Things Your iPhone Can Do in iOS 27.2
1 day ago
iPhone Duo Review: One Week Later
iPhone Duo Review: One Week Later
2 days ago
Samsung Mocks iPhone Duo Display Cracks in New Ad Campaign
Samsung Mocks iPhone Duo Display Cracks in New Ad Campaign
2 days ago
The MacRumors Show: OLED MacBook Pro, iPad Mini 8, and More
The MacRumors Show: OLED MacBook Pro, iPad Mini 8, and More
2 days ago
MacBook Pro With Touch Display: 15 More Details Revealed
MacBook Pro With Touch Display: 15 More Details Revealed
2 days ago
Russia Places Apple on State Surveillance Registry
Russia Places Apple on State Surveillance Registry
2 days ago
Halloween Weekend Brings Discounts on Apple Accessories and Pre-Orders
Halloween Weekend Brings Discounts on Apple Accessories and Pre-Orders
2 days ago
Apple Has Released More Than 25 New Products in the Past Two Months
Apple Has Released More Than 25 New Products in the Past Two Months
2 days ago
Local Code Launches as Free, Private AI Assistant Tool for Mac
Local Code Launches as Free, Private AI Assistant Tool for Mac
2 days ago
Apple Acquires Ascend.io
Apple Acquires Ascend.io
2 days ago
HomePod Mini 2 Launches Today: All the New Features
HomePod Mini 2 Launches Today: All the New Features
2 days ago
AirTag 2 4-Pack Drops to New Low Price of $69.99
AirTag 2 4-Pack Drops to New Low Price of $69.99
2 days ago
Rian Johnson's iPhone Camera App Goes Viral
Rian Johnson's iPhone Camera App Goes Viral
2 days ago
Where Did All the iPhone Duos Go? Mostly to Apple's Stores
Where Did All the iPhone Duos Go? Mostly to Apple's Stores
2 days ago
Apple's Touchscreen MacBook Pro Could Ship 1.5M Units in 2027
Apple's Touchscreen MacBook Pro Could Ship 1.5M Units in 2027
2 days ago
New Apple TV 4K and iPad Mini: RAM Amounts Revealed
New Apple TV 4K and iPad Mini: RAM Amounts Revealed
2 days ago
Apple Executive Comments on New iPad Mini Lacking 120Hz Display
Apple Executive Comments on New iPad Mini Lacking 120Hz Display
2 days ago
Here's a Hands-On Look at HomePod Mini 2's New Two-Tone Colors
Here's a Hands-On Look at HomePod Mini 2's New Two-Tone Colors
2 days ago

🔗 Related Apple News & Rumors

Stay updated with the latest Apple ecosystem news and verified rumors