<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: apple-intelligence</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/apple-intelligence.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2025-03-14T21:35:02+00:00</updated><author><name>Simon Willison</name></author><entry><title>Apple’s Siri Chief Calls AI Delays Ugly and Embarrassing, Promises Fixes</title><link href="https://simonwillison.net/2025/Mar/14/ai-delays/#atom-tag" rel="alternate"/><published>2025-03-14T21:35:02+00:00</published><updated>2025-03-14T21:35:02+00:00</updated><id>https://simonwillison.net/2025/Mar/14/ai-delays/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.bloomberg.com/news/articles/2025-03-14/apple-s-siri-chief-calls-ai-delays-ugly-and-embarrassing-promises-fixes"&gt;Apple’s Siri Chief Calls AI Delays Ugly and Embarrassing, Promises Fixes&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Mark Gurman reports on some leaked details from internal Apple meetings concerning the delays in shipping personalized Siri. This note in particular stood out to me:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Walker said the decision to delay the features was made because of quality issues and that the company has found the technology only works properly up to two-thirds to 80% of the time. He said the group “can make more progress to get those percentages up, so that users get something they can really count on.” [...]&lt;/p&gt;
&lt;p&gt;But Apple wants to maintain a high bar and only deliver the features when they’re polished, he said. “These are not quite ready to go to the general public, even though our competitors might have launched them in this state or worse.”&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I imagine it's a lot harder to get reliable results out of small, local LLMs that run on an iPhone. Features that fail 1/3 to 1/5 of the time are unacceptable for a consumer product like this.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://news.ycombinator.com/item?id=43365517"&gt;Hacker News&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/apple"&gt;apple&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai"&gt;ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/generative-ai"&gt;generative-ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/llms"&gt;llms&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/apple-intelligence"&gt;apple-intelligence&lt;/a&gt;&lt;/p&gt;



</summary><category term="apple"/><category term="ai"/><category term="generative-ai"/><category term="llms"/><category term="apple-intelligence"/></entry><entry><title>Something Is Rotten in the State of Cupertino</title><link href="https://simonwillison.net/2025/Mar/14/something-is-rotten/#atom-tag" rel="alternate"/><published>2025-03-14T20:15:54+00:00</published><updated>2025-03-14T20:15:54+00:00</updated><id>https://simonwillison.net/2025/Mar/14/something-is-rotten/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://daringfireball.net/2025/03/something_is_rotten_in_the_state_of_cupertino"&gt;Something Is Rotten in the State of Cupertino&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
John Gruber's blazing takedown of Apple's failure to ship many of the key Apple Intelligence features they've been actively promoting for the past twelve months.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The fiasco here is not that Apple is late on AI. It's also not that they had to announce an embarrassing delay on promised features last week. Those are problems, not fiascos, and problems happen. They're inevitable. [...] The fiasco is that Apple pitched a story that wasn't true, one that &lt;em&gt;some&lt;/em&gt; people within the company surely understood wasn't true, and they set a course based on that.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;John divides the Apple Intelligence features into the ones that were demonstrated to members of the press (including himself) at various events over the past year compared to things like "personalized Siri" that were only ever shown as concept videos. The ones that were demonstrated have all shipped. The concept video features are &lt;a href="https://simonwillison.net/2025/Mar/8/delaying-personalized-siri/"&gt;indeterminably delayed&lt;/a&gt;.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/apple"&gt;apple&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/john-gruber"&gt;john-gruber&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai"&gt;ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/apple-intelligence"&gt;apple-intelligence&lt;/a&gt;&lt;/p&gt;



</summary><category term="apple"/><category term="john-gruber"/><category term="ai"/><category term="apple-intelligence"/></entry><entry><title>Apple Is Delaying the ‘More Personalized Siri’ Apple Intelligence Features</title><link href="https://simonwillison.net/2025/Mar/8/delaying-personalized-siri/#atom-tag" rel="alternate"/><published>2025-03-08T05:39:25+00:00</published><updated>2025-03-08T05:39:25+00:00</updated><id>https://simonwillison.net/2025/Mar/8/delaying-personalized-siri/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://daringfireball.net/2025/03/apple_is_delaying_the_more_personalized_siri_apple_intelligence_features"&gt;Apple Is Delaying the ‘More Personalized Siri’ Apple Intelligence Features&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Apple told John Gruber (and other Apple press) this about the new "personalized" Siri:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;It’s going to take us longer than we thought to deliver on these features and we anticipate rolling them out in the coming year.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I have a hunch that this delay might relate to security.&lt;/p&gt;
&lt;p&gt;These new Apple Intelligence features involve Siri responding to requests to access information in applications and then performing actions on the user's behalf.&lt;/p&gt;
&lt;p&gt;This is the worst possible combination for &lt;a href="https://simonwillison.net/tags/prompt-injection/"&gt;prompt injection&lt;/a&gt; attacks! Any time an LLM-based system has access to private data, tools it can call, and exposure to potentially malicious instructions (like emails and text messages from untrusted strangers) there's a significant risk that an attacker might subvert those tools and use them to damage or exfiltrating a user's data.&lt;/p&gt;
&lt;p&gt;I published &lt;a href="https://simonwillison.net/2023/Nov/27/prompt-injection-explained/"&gt;this piece&lt;/a&gt; about the risk of prompt injection to personal digital assistants back in November 2023, and nothing has changed since then to make me think this is any less of an open problem.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/apple"&gt;apple&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/john-gruber"&gt;john-gruber&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/security"&gt;security&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai"&gt;ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/prompt-injection"&gt;prompt-injection&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/generative-ai"&gt;generative-ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/llms"&gt;llms&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/apple-intelligence"&gt;apple-intelligence&lt;/a&gt;&lt;/p&gt;



</summary><category term="apple"/><category term="john-gruber"/><category term="security"/><category term="ai"/><category term="prompt-injection"/><category term="generative-ai"/><category term="llms"/><category term="apple-intelligence"/></entry><entry><title>BBC complains to Apple over misleading shooting headline</title><link href="https://simonwillison.net/2024/Dec/14/bbc-complains-to-apple-over-misleading-shooting-headline/#atom-tag" rel="alternate"/><published>2024-12-14T00:06:44+00:00</published><updated>2024-12-14T00:06:44+00:00</updated><id>https://simonwillison.net/2024/Dec/14/bbc-complains-to-apple-over-misleading-shooting-headline/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.bbc.com/news/articles/cd0elzk24dno"&gt;BBC complains to Apple over misleading shooting headline&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
This is bad: the Apple Intelligence feature that uses (on device) LLMs to present a condensed, summarized set of notifications misrepresented a BBC headline as "Luigi Mangione shoots himself".&lt;/p&gt;
&lt;p&gt;Ken Schwencke &lt;a href="https://bsky.app/profile/schwanksta.com/post/3lbi6rxhigc2r"&gt;caught that same feature&lt;/a&gt; incorrectly condensing a New York Times headline about an ICC arrest warrant for Netanyahu as "Netanyahu arrested".&lt;/p&gt;
&lt;p&gt;My understanding is that these notification summaries are generated directly on-device, using Apple's own custom &lt;a href="https://simonwillison.net/2024/Jun/11/apples-on-device-and-server-foundation-models/"&gt;3B parameter model&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The main lesson I think this illustrates is that it's not responsible to outsource headline summarization to an LLM without incorporating human review: there are way too many ways this could result in direct misinformation.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 16th January 2025&lt;/strong&gt;: &lt;a href="https://www.nytimes.com/2025/01/16/technology/apple-ai-news-notifications.html"&gt;Apple plans to disable A.I. features summarizing news notifications&lt;/a&gt;, by Tripp Mickle for the New York Times.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/apple"&gt;apple&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ethics"&gt;ethics&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/journalism"&gt;journalism&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai"&gt;ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/generative-ai"&gt;generative-ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/llms"&gt;llms&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/apple-intelligence"&gt;apple-intelligence&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai-ethics"&gt;ai-ethics&lt;/a&gt;&lt;/p&gt;



</summary><category term="apple"/><category term="ethics"/><category term="journalism"/><category term="ai"/><category term="generative-ai"/><category term="llms"/><category term="apple-intelligence"/><category term="ai-ethics"/></entry><entry><title>macOS 15.1 Beta 1: Apple Intelligence Backend Prompts</title><link href="https://simonwillison.net/2024/Aug/6/apple-intelligence-prompts/#atom-tag" rel="alternate"/><published>2024-08-06T04:34:15+00:00</published><updated>2024-08-06T04:34:15+00:00</updated><id>https://simonwillison.net/2024/Aug/6/apple-intelligence-prompts/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.reddit.com/r/MacOSBeta/comments/1ehivcp/macos_151_beta_1_apple_intelligence_backend/"&gt;macOS 15.1 Beta 1: Apple Intelligence Backend Prompts&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Reddit user &lt;a href="https://www.reddit.com/user/devanxd2000/"&gt;devanxd2000&lt;/a&gt; found what look like the system prompts for various Apple Intelligence features in the &lt;code&gt;/System/Library/AssetsV2/com_apple_MobileAsset_UAF_FM_GenerativeModels&lt;/code&gt; folder on their installation of macOS 15.1 Beta 1.&lt;/p&gt;
&lt;p&gt;I had incorrectly assumed that tasks like summarization were being handled by fine-tuned models - what Apple have been calling "adapters".&lt;/p&gt;
&lt;p&gt;That appears not to be the case. (UPDATE: &lt;a href="https://twitter.com/rosslazer/status/1820687488991850610"&gt;apparently&lt;/a&gt; you can have a LoRA adapter that is tuned to work with a specific prompt, so they may be using adapters and prompts concurrently.)&lt;/p&gt;
&lt;p&gt;Here's a prompt stored as &lt;code&gt;com.apple.textComposition.MailReplyLongFormRewrite&lt;/code&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;{{ specialToken.chat.role.system }}You are an assistant which helps the user respond to their mails. Given a mail, a draft response is initially provided based on a short reply snippet. In order to make the draft response nicer and complete, a set of question and its answer are provided. Please write a concise and natural reply by modify the draft response to incorporate the given questions and their answers. Please limit the reply within 50 words. Do not hallucinate. Do not make up factual information.{{ specialToken.chat.component.turnEnd }}&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And another that appears to be part of a safety filter for a text-to-image system:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;system‹n&amp;gt;You are a helpful assistant that classifies the following input text-to-image query as Safe or Unsafe. In the first line, reply with Safe or Unsafe. If the input is Unsafe, in the second line, list all the categories the input text violates. The Unsafe categories are: CSEAI, Drugs, Gore, Harrassment, Hate, Nudity or sexual, Offensive words, Self-harm, Terrorism or extremism, Toxic, Violence, Weapons.&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It's amusing to see Apple using "please" in their prompts, and politely requesting of the model: "Do not hallucinate. Do not make up factual information."&lt;/p&gt;
&lt;p&gt;I'd been wondering if Apple had done anything special to protect against prompt injection. These prompts look pretty susceptible to me - especially that image safety filter, I expect people will find it easy to trick that into producing offensive content.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://www.theverge.com/2024/8/5/24213861/apple-intelligence-instructions-macos-15-1-sequoia-beta"&gt;The Verge&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/ai"&gt;ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/prompt-engineering"&gt;prompt-engineering&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/prompt-injection"&gt;prompt-injection&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/generative-ai"&gt;generative-ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/llms"&gt;llms&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/apple-intelligence"&gt;apple-intelligence&lt;/a&gt;&lt;/p&gt;



</summary><category term="ai"/><category term="prompt-engineering"/><category term="prompt-injection"/><category term="generative-ai"/><category term="llms"/><category term="apple-intelligence"/></entry><entry><title>Here Are All of the Apple Intelligence Features in the iOS 18.1 Developer Beta</title><link href="https://simonwillison.net/2024/Jul/30/apple-intelligence-beta/#atom-tag" rel="alternate"/><published>2024-07-30T04:22:20+00:00</published><updated>2024-07-30T04:22:20+00:00</updated><id>https://simonwillison.net/2024/Jul/30/apple-intelligence-beta/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.macrumors.com/2024/07/29/ios-18-1-apple-intelligence-features/"&gt;Here Are All of the Apple Intelligence Features in the iOS 18.1 Developer Beta&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Useful rundown from Juli Clover at MacRumors of the Apple Intelligence features that are available in the brand new iOS 18.1 beta, available to developer account holders with an iPhone 15 or ‌iPhone 15 Pro‌ Max or Apple Silicon iPad.&lt;/p&gt;
&lt;p&gt;I've been trying this out today. It's still clearly very early, and the on-device model that powers Siri is significantly weaker than more powerful models that I've become used to over the past two years. Similar to old Siri I find myself trying to figure out the sparse, undocumented incantations that reliably work for the things I might want my voice assistant to do for me.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://twitter.com/emollick/status/1818106202733060527"&gt;Ethan Mollick&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;My early Siri AI experience has just underlined the fact that, while there is a lot of practical, useful things that can be done with small models, they really lack the horsepower to do anything super interesting.&lt;/p&gt;
&lt;/blockquote&gt;

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://daringfireball.net/linked/2024/07/29/apple-intelligence-os-betas"&gt;John Gruber&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/apple"&gt;apple&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai"&gt;ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/generative-ai"&gt;generative-ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/llms"&gt;llms&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ethan-mollick"&gt;ethan-mollick&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/apple-intelligence"&gt;apple-intelligence&lt;/a&gt;&lt;/p&gt;



</summary><category term="apple"/><category term="ai"/><category term="generative-ai"/><category term="llms"/><category term="ethan-mollick"/><category term="apple-intelligence"/></entry><entry><title>Quoting Apple Intelligence Foundation Language Models</title><link href="https://simonwillison.net/2024/Jul/29/apple-foundation-language-models/#atom-tag" rel="alternate"/><published>2024-07-29T22:39:33+00:00</published><updated>2024-07-29T22:39:33+00:00</updated><id>https://simonwillison.net/2024/Jul/29/apple-foundation-language-models/#atom-tag</id><summary type="html">
    &lt;blockquote cite="https://machinelearning.apple.com/papers/apple_intelligence_foundation_language_models.pdf"&gt;&lt;p&gt;The [Apple Foundation Model] pre-training dataset consists of a diverse and high quality data mixture. This includes data we have licensed from publishers, curated publicly-available or open-sourced datasets, and publicly available information crawled by our web-crawler, Applebot. We respect the right of webpages to opt out of being crawled by Applebot, using standard robots.txt directives.&lt;/p&gt;
&lt;p&gt;Given our focus on protecting user privacy, we note that no private Apple user data is included in the data mixture. Additionally, extensive efforts have been made to exclude profanity, unsafe material, and personally identifiable information from publicly available data (see Section 7 for more details). Rigorous decontamination is also performed against many common evaluation benchmarks.&lt;/p&gt;
&lt;p&gt;We find that data quality, much more so than quantity, is the key determining factor of downstream model performance.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="https://machinelearning.apple.com/papers/apple_intelligence_foundation_language_models.pdf"&gt;Apple Intelligence Foundation Language Models&lt;/a&gt;, PDF&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/apple"&gt;apple&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai"&gt;ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/generative-ai"&gt;generative-ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/llms"&gt;llms&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/training-data"&gt;training-data&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/apple-intelligence"&gt;apple-intelligence&lt;/a&gt;&lt;/p&gt;



</summary><category term="apple"/><category term="ai"/><category term="generative-ai"/><category term="llms"/><category term="training-data"/><category term="apple-intelligence"/></entry><entry><title>Introducing Apple’s On-Device and Server Foundation Models</title><link href="https://simonwillison.net/2024/Jun/11/apples-on-device-and-server-foundation-models/#atom-tag" rel="alternate"/><published>2024-06-11T15:44:31+00:00</published><updated>2024-06-11T15:44:31+00:00</updated><id>https://simonwillison.net/2024/Jun/11/apples-on-device-and-server-foundation-models/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://machinelearning.apple.com/research/introducing-apple-foundation-models"&gt;Introducing Apple’s On-Device and Server Foundation Models&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Apple Intelligence uses both on-device and in-the-cloud models that were trained from scratch by Apple.&lt;/p&gt;
&lt;p&gt;Their on-device model is a 3B model that "outperforms larger models including Phi-3-mini, Mistral-7B, and Gemma-7B", while the larger cloud model is comparable to GPT-3.5.&lt;/p&gt;
&lt;p&gt;The language models were trained on unlicensed scraped data - I was hoping they might have managed to avoid that, but sadly not:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;We train our foundation models on licensed data, including data selected to enhance specific features, as well as publicly available data collected by our web-crawler, AppleBot.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The most interesting thing here is the way they apply fine-tuning to the local model to specialize it for different tasks. Apple call these "adapters", and they use LoRA for this - a technique first published &lt;a href="https://arxiv.org/abs/2106.09685"&gt;in 2021&lt;/a&gt;. This lets them run multiple on-device models based on a shared foundation, specializing in tasks such as summarization and proof-reading.&lt;/p&gt;
&lt;p&gt;Here's the &lt;a href="https://www.youtube.com/watch?v=YJZ5YcMsgD4&amp;amp;t=135s"&gt;section of the Platforms State of the Union talk&lt;/a&gt; that talks about the foundation models and their fine-tuned variants.&lt;/p&gt;
&lt;p&gt;As &lt;a href="https://twitter.com/HamelHusain/status/1800546715277357263"&gt;Hamel Husain&lt;/a&gt; says:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This talk from Apple is the best ad for fine tuning that probably exists.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The video also describes their approach to quantization:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The next step we took is compressing the model. We leveraged state-of-the-art quantization techniques to take a 16-bit per parameter model down to an average of less than 4 bits per parameter to fit on Apple Intelligence-supported devices, all while maintaining model quality.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Still no news on how their on-device image model was trained. I'd love to find out it was trained exclusively using licensed imagery - Apple &lt;a href="https://9to5mac.com/2024/04/06/apple-ai-deal-shutterstock/"&gt;struck a deal with Shutterstock&lt;/a&gt; a few months ago.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/apple"&gt;apple&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai"&gt;ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/generative-ai"&gt;generative-ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/local-llms"&gt;local-llms&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/llms"&gt;llms&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/fine-tuning"&gt;fine-tuning&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/apple-intelligence"&gt;apple-intelligence&lt;/a&gt;&lt;/p&gt;



</summary><category term="apple"/><category term="ai"/><category term="generative-ai"/><category term="local-llms"/><category term="llms"/><category term="fine-tuning"/><category term="apple-intelligence"/></entry><entry><title>Private Cloud Compute: A new frontier for AI privacy in the cloud</title><link href="https://simonwillison.net/2024/Jun/11/private-cloud-compute/#atom-tag" rel="alternate"/><published>2024-06-11T15:38:15+00:00</published><updated>2024-06-11T15:38:15+00:00</updated><id>https://simonwillison.net/2024/Jun/11/private-cloud-compute/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://security.apple.com/blog/private-cloud-compute/"&gt;Private Cloud Compute: A new frontier for AI privacy in the cloud&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Here are the details about Apple's Private Cloud Compute infrastructure, and they are pretty extraordinary.&lt;/p&gt;
&lt;p&gt;The goal with PCC is to allow Apple to run larger AI models that won't fit on a device, but in a way that guarantees that private data passed from the device to the cloud cannot leak in any way - not even to Apple engineers with SSH access who are debugging an outage.&lt;/p&gt;
&lt;p&gt;This is an extremely challenging problem, and their proposed solution includes a wide range of new innovations in private computing.&lt;/p&gt;
&lt;p&gt;The most impressive part is their approach to technically enforceable guarantees and verifiable transparency. How do you ensure that privacy isn't broken by a future code change? And how can you allow external experts to verify that the software running in your data center is the same software that they have independently audited?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;When we launch Private Cloud Compute, we’ll take the extraordinary step of making software images of every production build of PCC publicly available for security research. This promise, too, is an enforceable guarantee: user devices will be willing to send data only to PCC nodes that can cryptographically attest to running publicly listed software.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;These code releases will be included in an "append-only and cryptographically tamper-proof transparency log" - similar to &lt;a href="https://en.wikipedia.org/wiki/Certificate_Transparency"&gt;certificate transparency logs&lt;/a&gt;.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/apple"&gt;apple&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/certificates"&gt;certificates&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ethics"&gt;ethics&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/privacy"&gt;privacy&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/security"&gt;security&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai"&gt;ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/generative-ai"&gt;generative-ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/llms"&gt;llms&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/apple-intelligence"&gt;apple-intelligence&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai-ethics"&gt;ai-ethics&lt;/a&gt;&lt;/p&gt;



</summary><category term="apple"/><category term="certificates"/><category term="ethics"/><category term="privacy"/><category term="security"/><category term="ai"/><category term="generative-ai"/><category term="llms"/><category term="apple-intelligence"/><category term="ai-ethics"/></entry><entry><title>Thoughts on the WWDC 2024 keynote on Apple Intelligence</title><link href="https://simonwillison.net/2024/Jun/10/apple-intelligence/#atom-tag" rel="alternate"/><published>2024-06-10T20:19:13+00:00</published><updated>2024-06-10T20:19:13+00:00</updated><id>https://simonwillison.net/2024/Jun/10/apple-intelligence/#atom-tag</id><summary type="html">
    &lt;p&gt;Today's WWDC keynote finally revealed Apple's new set of AI features. The AI section (Apple are calling it Apple Intelligence) started over an hour into the keynote - &lt;a href="https://www.youtube.com/live/RXeOiIDNNek?t=3870s"&gt;this link&lt;/a&gt; jumps straight to that point in the archived YouTube livestream, or you can watch it embedded here:&lt;/p&gt;

&lt;iframe style="max-width: 100%" width="560" height="315" src="https://www.youtube-nocookie.com/embed/RXeOiIDNNek?start=3870" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen="allowfullscreen"&gt; &lt;/iframe&gt;

&lt;p&gt;There's also a detailed Apple newsroom post: &lt;a href="https://www.apple.com/newsroom/2024/06/introducing-apple-intelligence-for-iphone-ipad-and-mac/"&gt;Introducing Apple Intelligence, the personal intelligence system that puts powerful generative models at the core of iPhone, iPad, and Mac&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;There are a lot of interesting things here. Apple have a strong focus on privacy, finally taking advantage of the Neural Engine accelerator chips in the A17 Pro chip on iPhone 15 Pro and higher and the M1/M2/M3 Apple Silicon chips in Macs. They're using these to run on-device models - I've not yet seen any information on which models they are running and how they were trained.&lt;/p&gt;
&lt;h4 id="on-device-models"&gt;On-device models that can outsource to Apple's servers&lt;/h4&gt;
&lt;p&gt;Most notable is their approach to features that don't work with an on-device model. At &lt;a href="https://www.youtube.com/live/RXeOiIDNNek?t=4483s"&gt;1h14m43s&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;When you make a request, Apple Intelligence analyses whether it can be processed on device. If it needs greater computational capacity, it can draw on Private Cloud Compute, and send only the data that's relevant to your task to be processed on Apple Silicon servers.&lt;/p&gt;
&lt;p&gt;Your data is never stored or made accessible to Apple. It's used exclusively to fulfill your request.&lt;/p&gt;
&lt;p&gt;And just like your iPhone, independent experts can inspect the code that runs on the servers to verify this privacy promise.&lt;/p&gt;
&lt;p&gt;In fact, Private Cloud Compute cryptographically ensures your iPhone, iPad, and Mac will refuse to talk to a server unless its software has been publicly logged for inspection.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There's some fascinating computer science going on here! I'm looking forward to learning more about this - it sounds like the details will be public by design, since that's key to the promise they are making here.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: Here are &lt;a href="https://security.apple.com/blog/private-cloud-compute/"&gt;the details&lt;/a&gt;, and they are indeed extremely impressive - more of &lt;a href="https://simonwillison.net/2024/Jun/11/private-cloud-compute/"&gt;my notes here&lt;/a&gt;.&lt;/p&gt;
&lt;h4 id="ethical-ai-images"&gt;An ethical approach to AI generated images?&lt;/h4&gt;
&lt;p&gt;Their approach to generative images is notable in that they're shipping an on-device model in a feature called Image Playground, with a very important limitation: it can only output images in one of three styles: sketch, illustration and animation.&lt;/p&gt;
&lt;p&gt;This feels like a clever way to address some of the ethical objections people have to this specific category of AI tool:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If you can't create photorealistic images, you can't generate deepfakes or offensive photos of people&lt;/li&gt;
&lt;li&gt;By having obvious visual styles you ensure that AI generated images are instantly recognizable as such, without watermarks or similar&lt;/li&gt;
&lt;li&gt;Avoiding the ability to clone specific artist's styles further helps sidestep ethical issues about plagiarism and copyright infringement&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The social implications of this are interesting too. Will people be more likely to share AI-generated images if there are no awkward questions or doubts about how they were created, and will that help it more become socially acceptable to use them?&lt;/p&gt;
&lt;p&gt;I've not seen anything on how these image models were trained. Given their limited styles it seems possible Apple used entirely ethically licensed training data, but I'd like to see more details on this.&lt;/p&gt;
&lt;h4 id="app-intents-prompt-injection"&gt;App Intents and prompt injection&lt;/h4&gt;
&lt;p&gt;Siri will be able to both access data on your device and trigger actions based on your instructions.&lt;/p&gt;
&lt;p&gt;This is the exact feature combination that's &lt;a href="https://simonwillison.net/2023/Apr/14/worst-that-can-happen/#rogue-assistant"&gt;most at risk from prompt injection attacks&lt;/a&gt;: what happens if someone sends you a text message that tricks Siri into forwarding a password reset email to them, and you ask for a summary of that message?&lt;/p&gt;
&lt;p&gt;Security researchers will no doubt jump straight onto this as soon as the beta becomes available. I'm fascinated to learn what Apple have done to mitigate this risk.&lt;/p&gt;
&lt;h4 id="siri-plus-chatgpt"&gt;Integration with ChatGPT&lt;/h4&gt;
&lt;p&gt;Rumors broke last week that Apple had signed a deal with OpenAI to use ChatGPT. That's now been confirmed: here's &lt;a href="https://openai.com/index/openai-and-apple-announce-partnership/"&gt;OpenAI's partnership announcement&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Apple is integrating ChatGPT into experiences within iOS, iPadOS, and macOS, allowing users to access ChatGPT’s capabilities—including image and document understanding—without needing to jump between tools.&lt;/p&gt;
&lt;p&gt;Siri can also tap into ChatGPT’s intelligence when helpful. Apple users are asked before any questions are sent to ChatGPT, along with any documents or photos, and Siri then presents the answer directly.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The keynote talks about that at &lt;a href="https://www.youtube.com/live/RXeOiIDNNek?t=5781s"&gt;1h36m21s&lt;/a&gt;. Those prompts to confirm that the user wanted to share data with ChatGPT are very prominent in the demo!&lt;/p&gt;
&lt;p&gt;&lt;img src="https://static.simonwillison.net/static/2024/siri-chatgpt-loop.gif" alt="Animated screenshot. User says to Siri: I have fresh salmon, lemons, tomatoes. Help me plan a 5-course meal with a dish for each taste bud. Siri shows a dialog Do you want me to use ChatGPT to do that? User clicks Use ChatGPT and gets a generated response." style="max-width: 100%;" /&gt;&lt;/p&gt;
&lt;p&gt;This integration (with GPT-4o) will be free - and Apple don't appear to be charging for their other server-side AI features either. I guess they expect the supporting hardware sales to more than cover the costs of running these models.&lt;/p&gt;
    
        &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/apple"&gt;apple&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ethics"&gt;ethics&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/privacy"&gt;privacy&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/security"&gt;security&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/trust"&gt;trust&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/apple-intelligence"&gt;apple-intelligence&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/chatgpt"&gt;chatgpt&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/llms"&gt;llms&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/openai"&gt;openai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/prompt-injection"&gt;prompt-injection&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai-ethics"&gt;ai-ethics&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai"&gt;ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/generative-ai"&gt;generative-ai&lt;/a&gt;&lt;/p&gt;
    

</summary><category term="apple"/><category term="ethics"/><category term="privacy"/><category term="security"/><category term="trust"/><category term="apple-intelligence"/><category term="chatgpt"/><category term="llms"/><category term="openai"/><category term="prompt-injection"/><category term="ai-ethics"/><category term="ai"/><category term="generative-ai"/></entry></feed>