Apple wants AI to run directly on its hardware instead of in the cloud::iPhone maker wants to catch up to its rivals when it comes to AI.

  • Ghostalmedia@lemmy.world
    link
    fedilink
    English
    arrow-up
    32
    arrow-down
    1
    ·
    11 months ago

    Remember, this probably isn’t an either or thing. Both Apple and Google have been offloading certain AI tasks to devices to speed up response time and process certain requests offline.

  • Apollo2323@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    37
    arrow-down
    9
    ·
    11 months ago

    I am really jealous being an android user that Apple usually have this things running on their own devices with more privacy in mind. But I just can’t accept the close garden Apple push.

    • whatever@lemmy.world
      link
      fedilink
      English
      arrow-up
      31
      arrow-down
      13
      ·
      11 months ago

      They do say that they have privacy in mind. And they are also collecting the same data of their users as Google. Don’t be too jealous, they suck just as much as your next Android-Phone company. But with a higher price tag and a walled garden.

    • Squizzy@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      3
      ·
      11 months ago

      I would change to apple if it weren’t for a few annoying bits, mostly to do with the walled garden. Like the appletv I have has a terrible input for typing unless you have an iPhone…so now I want neither.

        • Squizzy@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          4
          ·
          11 months ago

          Yeah but android is owned by an advertising company, all they want is data. Apple has a better system and less need to push for more data.

          • Allero@lemmy.today
            link
            fedilink
            English
            arrow-up
            3
            ·
            11 months ago

            Apple is also an advertizing company, and walled garden ecosystem makes it harder to avoid its reach.

          • Apollo2323@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            2
            ·
            11 months ago

            But I can removed them instead Apple if they want to track you cant remove it from there. Even on their secure mode the DNS was reaching to Apple servers.

          • whatever@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            11 months ago

            Android is not owned by Google, but used and heavily supported by Google. It is open source, you can check how much data bare Android is collecting.

            And ‘all they want is data’ is wrong, too, all they want is money. Same with Apple, all they want is money. And if they get more money by collecting user data to target more people to buy Apple products, they will do that.

            • Squizzy@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              11 months ago

              All they want is data because that is their model for how they make money. Android may not be outright owned by Google but it’s development and funding without Google would be on a very different level. Yeah it is open source to an extent but the versions out by Google have their changes made, which goes across the vast majority of android devices.

      • RGB3x3@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        11 months ago

        I’m in the same boat, but it seems to be some things they’re going to change in 2024. Namely, sideloading apps, actual Firefox with add-ons, and the ability to actually move app icons wherever I want on the home screen (not sure if that’ll change ever).

        They’ve already gone to USB-C, which was the main reason I never would have switched over.

        • poshKibosh@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          Sideloading’s possible and surprisingly easy on iOS even for non-technical folks, I use AltStore but I thinks there’s other options. Don’t know what I’d without uYou+ or TikTok LRD

    • KubeRoot@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      Funny that you mention it, a few months ago when updating stuff I got a new feature on my Android phone… Offline subtitle generation based on audio, just realtime generated from anything outputing sound on my phone.

      A Google search suggests this might be an older feature - not sure if my phone didn’t support it, or if I maybe just missed it, or if they added a more obvious button.

      Google has a separate app for that stuff, called Private Compute Services. Right now it’s nothing like an offline Google assistant replacement, but I thought it’s really nice to have that stuff available without relying on internet access.

      • Apollo2323@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        Did you try to turn off the internet to see if it actually works? That’s pretty amazing thank you for sharing!

  • Diabolo96@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    edit-2
    11 months ago

    It’s already possible. A 4bit quant of phi 1.5 1.5B (as smart as a 7b model ) takes 1Gb of ram . Phi 2 2.6B (as smart as a 13b model ) was recently released and it would likely take 2GB of RAM with 4bit Quant (not tried yet) The research only license on these make people not want to port them to android and instead focus on weak 3B models or bigger models ( 7b+) which heavily limit any potential usability.

    1. Apple could mimic and improve the phi models training to make their own powerful but small model and then leverage the fact that they have full knowledge and control over the hardware architecture to maximize every drop of performance. Kinda like how the some people used their deep knowledge of the console architecture to make it do things that seems impossible.

    Or

    1. The Apple engineers will choose, either due to time constraints or laziness to simply use llama.cpp which will certainly implement this flash attention and then use an already available model that allow its use for commercial purposes like mistral, add some secret sauce optimizations based on the hardware and voilà.

    I bet on 2.

  • OhmsLawn@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    5
    ·
    11 months ago

    How’s that supposed to work?

    I’m picturing a backpack full of batteries and graphics cards. Maybe they’re talking about a more limited model?

    • abhibeckert@lemmy.world
      link
      fedilink
      English
      arrow-up
      33
      arrow-down
      4
      ·
      edit-2
      11 months ago

      This is a Financial Times article, regurgitated by Ars Technica. The article isn’t by a tech journalist, it’s by a business journalist, and their definition of “AI” is a lot looser than what you’re thinking of.

      I’m pretty sure they’re talking about things that Apple is already doing not just on current hardware but even on hardware from a few years ago. For example the keyboard on iOS now uses pretty much the same technology as ChatGPT but scaled way way down to the point where “Tiny Language Model” would probably be more accurate. I wouldn’t be surprised if the training data is as small as ten megabytes, compared to half a terabyte for ChatGPT.

      The model will learn that you say “Fuck Yeah!” to one person and “That is interesting, thanks for sharing it with me.” to someone else. Very cool technology - but it’s not AI. The keyboard really will suggest swear words now by the way - if you’ve used them previously in a similar context to the current one. The old algorithmic keyboard had hardcoded “do not swear, ever” logic.

    • exu@feditown.com
      link
      fedilink
      English
      arrow-up
      12
      ·
      11 months ago

      I’ve been playing with llama.cpp a bit for the last week and it’s surprisingly workable on a recent laptop just using the CPU. It’s not really hard to imagine Apple and others adding (more) AI accelerators on mobile.

      • Apollo2323@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        5
        ·
        11 months ago

        Oh yes and the CPUs on phones have being getting more powerful every year and there was nothing that could take advantage of their full potential now with a local AI will be great for privacy and response.

    • MiltownClowns@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      2
      ·
      11 months ago

      They’re making their own silicone now. You can achieve a lot more efficiency when you’re streamlined the whole way through.

      • hips_and_nips@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        11 months ago

        silicone

        It’s silicon. Silicon is a naturally occurring chemical element, whereas silicone is a synthetic substance.

        Silicon is for computer chips, silicone is for boobies.

      • ImFresh3x@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        ·
        11 months ago

        By making their own, you mean telling Taiwan Semiconductor Manufacturing Company “hey we are going to buy enough of these units that you have to give us the specs we chose at a better price than the competitors, and since we chose the specs off your manufacturing capacity sheets we will say “engineered in Cupertino TM” “

        Btw I’m not shitting on Apple here. I love my m2 processor.

  • blahsay@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    6
    ·
    11 months ago

    I’m going to blow your mind here…the ‘cloud’ is just two or three data centres with replication turned on. It’s mostly a buzz word to charge a bit more

    • dutchkimble
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      1
      ·
      11 months ago

      Wait, so you mean it’s not actual rain clouds in the sky??

    • Vash63@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      2
      ·
      11 months ago

      Eh, it’s a bit more than that. I work on a private cloud, the implications of it being a cloud versus traditional bare metal or virtualization platforms are around the APIs, quick spin up/down cycles, fully integrated recovery, imaging and remote console systems, integration with automated deployment platforms and others. It’s not just a buzz word.

      • blahsay@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        11 months ago

        Most of that’s on any half decent commercial server. You’re right there’s definitely some differences though.

        I actually worked on our corporate move from private servers (main, backup and dr) to Azure cloud which had the only two server locations (melb and Sydney) and the mythology around cloud seemed a bit much

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      3
      ·
      edit-2
      11 months ago

      Charging more for cloud? As if apple is not finding an excuse to charge even more for their overpriced phones by going offline.

  • AutoTL;DR@lemmings.worldB
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 months ago

    This is the best summary I could come up with:


    Apple’s latest research about running large language models on smartphones offers the clearest signal yet that the iPhone maker plans to catch up with its Silicon Valley rivals in generative artificial intelligence.

    The paper was published on December 12 but caught wider attention after Hugging Face, a popular site for AI researchers to showcase their work, highlighted it late on Wednesday.

    Device manufacturers and chipmakers are hoping that new AI features will help revive the smartphone market, which has had its worst year in a decade, with shipments falling an estimated 5 percent, according to Counterpoint Research.

    Running the kind of large AI model that powers ChatGPT or Google’s Bard on a personal device brings formidable technical challenges, because smartphones lack the huge computing resources and energy available in a data center.

    Apple tested its approach on models including Falcon 7B, a smaller version of an open source LLM originally developed by the Technology Innovation Institute in Abu Dhabi.

    Academic papers are not a direct indicator of how Apple intends to add new features to its products, but they offer a rare glimpse into its secretive research labs and the company’s latest technical breakthroughs.


    The original article contains 741 words, the summary contains 194 words. Saved 74%. I’m a bot and I’m open source!

  • kromem@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    7
    ·
    11 months ago

    AKA “we completely missed the boat on this thing and are going to pretend it was intentional by focusing on an inevitable inflection point a few years out from today instead.”

  • Ghostalmedia@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    2
    ·
    edit-2
    11 months ago

    Google is doing this exact same thing with Gemini, the platform behind Bard / Assistant.

    Gemini has large scale models, that live in data centers, and handles complex queries. They also have a “Nano” version of the model that can live on a phone and handle simpler on-device tasks.

    The smaller models are great for things like natural language UI and smart home controls. It’s also way faster and capable of working offline. A big use case for offline AI has been hiking with the Apple Watch in areas with no reception.

    • bruhduh@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Also battery management, background tasks power distribution and hardware energy efficiency, i mean it would be great to have ai that adapted hardware energy consumption settings depending on my use case, yes i know that algorithms already exist to do that, but it would be great to have much much more flexible energy manager based on ai that accommodate and adapt to my use cases

  • reddig33@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    6
    ·
    edit-2
    11 months ago

    Can’t wait for the Apple announcement, “AI features require iPhone 18 or later. Your older phone CPU just isn’t powerful enough.”

    Which wouldn’t be a problem if there was a cloud option.

    • bruhduh@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      11 months ago

      iPhone 18 pro max actually) as they did already with iPhone 15 pro max and console games and it still overheating