AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Buying for a business?Offer from Amazon

Get business pricing on tech for your team

  • Business-only prices and quantity discounts
  • Tax-exempt purchasing
  • Multiple users, one account, clear invoices
As an affiliate, we earn on qualifying purchases.

Maple-Preview presents a ternary 20B MoE model running at 120 tokens/sec on an iPhone, highlighting advances in mobile AI deployment. The development is confirmed by the project’s creator and suggests significant progress in on-device AI capabilities.

The developer of Maple-Preview has demonstrated a ternary 20-billion-parameter MoE model capable of running at 120 tokens per second on an iPhone. This development confirms that advanced AI models can operate efficiently on mobile devices, potentially transforming on-device AI applications.

The project, shared via Show HN, showcases a ternary mixture of experts (MoE) architecture with 20 billion parameters. The model achieves a processing speed of 120 tokens/sec on an iPhone, according to the developer. This performance level is notable given the typical computational constraints of mobile hardware.

The developer stated that the model uses a ternary quantization scheme, which helps reduce memory and computational demands, enabling it to run on consumer smartphones without specialized hardware. The implementation leverages optimized inference techniques, making real-time processing feasible on a standard iPhone.

At a glance
announcementWhen: announced March 2024
The developmentThe developer of Maple-Preview announced a ternary 20-billion-parameter MoE model that runs efficiently on an iPhone, marking a notable milestone in mobile AI performance.

Potential Impact of Mobile-Optimized Large AI Models

This development demonstrates that large language models (LLMs) with billions of parameters can be adapted to run efficiently on mobile devices. If scalable, such models could enable a range of applications, from personalized assistants to on-device content generation, without relying on cloud infrastructure. This could enhance privacy, reduce latency, and lower dependency on network connectivity, making advanced AI more accessible to everyday users.

Amazon

iPhone compatible AI inference hardware

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Advances in On-Device AI and MoE Architectures

Recent years have seen significant progress in model compression and efficient inference techniques to enable large AI models to run on mobile hardware. Mixture of Experts (MoE) architectures, which selectively activate parts of the model, have been a focus for reducing computational load. Prior efforts typically involved smaller models or required specialized hardware. Maple-Preview’s demonstration suggests that with optimized quantization and architecture, large models can operate effectively on consumer smartphones, marking a step forward in this area.

“This is a proof of concept showing that large models with billions of parameters can run efficiently on a standard iPhone using ternary quantization and optimized inference.”

— Maple-Preview developer

Amazon

mobile AI development kits

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Limitations and Technical Details Still Unclear

It is not yet clear how the model performs across different tasks or in real-world scenarios beyond the initial demonstration. Details about the model’s accuracy, robustness, and energy consumption on mobile hardware are still emerging. Additionally, the scalability of this approach to other models or devices remains unconfirmed.

Amazon

on-device AI assistant devices

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Next Steps for Mobile AI Model Development

The developer plans to release more technical details and potentially open-source parts of the implementation. Further testing on various devices and tasks will clarify the model’s practical viability. Industry observers will likely monitor whether this approach can be scaled or integrated into mainstream mobile AI applications in the near future.

Amazon

smartphone AI processing accessories

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

What is Maple-Preview?

Maple-Preview is a project demonstrating a large, 20-billion-parameter MoE AI model running efficiently on an iPhone, showcasing advances in on-device AI capabilities.

How does the model achieve high speed on a mobile device?

The model uses ternary quantization and optimized inference techniques to reduce computational and memory demands, enabling faster processing on mobile hardware.

Can this model perform real-world tasks?

While the demonstration shows promising speed, its performance on specific tasks, accuracy, and robustness are still under evaluation. Further testing is needed to determine practical applications.

Will the model be publicly available?

The developer has not confirmed plans for open-sourcing the model but may release technical details or code in the future to facilitate wider adoption.

What are the implications for AI on smartphones?

This development suggests that large-scale AI models could be deployed directly on mobile devices, reducing reliance on cloud services and enhancing privacy and responsiveness.

Source: hn

FALL

Fall Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

Prioritizing Attention-Burden Scores In K-12 School Software Choices

New focus on attention-burden scores aims to improve K-12 software procurement by measuring cumulative student attention load across apps.

Chatgpt

Search interest in ChatGPT has spiked to over 500,000 queries in the US, driven by widespread user reports and speculation about service disruptions.

The Strongest Case For Prioritizing The Best AI Model Over Sovereignty

Analysis of why choosing the best AI model outweighs sovereignty concerns, highlighting capability gaps, costs, and strategic risks.

Zuckerberg Says AI Agent Development Going Slower Than Expected

Meta CEO Mark Zuckerberg states AI agent development is progressing more slowly than initially anticipated, raising questions about timelines and expectations.