[Huawei Developers] ErtugSagman:
Capabilities of Huawei’s enhanced artificial intelligence system — Huawei HiAI

In today’s world, technology evolves into smarter systems that eases our life and mobile technologies are getting involved in these systems as well. As one of the biggest in the industry, Huawei offers developers an open development platform to create smart apps quickly and easily use the powerful AI capabilities on Huawei devices, and deliver a next-level smart app user experience.

Huawei has been developing its machine learning and artificial intelligence services since 2019 July and it has become the most powerful ever. Huawei HiAI is an open AI capability platform for smart devices. It offers a 3-layer AI ecosystem that provides capabilities at chip, device and cloud level. These three layers are:

Huawei HiAI Foundation

Huawei HiAI Engine

Huawei HiAI Service

Each of them has different purposes and structures. For example, HiAI Foundation works on chip-level, HiAI Engine works on device-level and HiAI Service works on cloud-level.

HiAI Foundation

HiAI Foundation works on chip-level and serves as a basic platform providing a high-performing computing environment supporting scenario versality and achieving low power consumption through optimization. Its capabilities includes:

dedicated set of AI instructions for neural network model operations,

capable of compiling a wide range of neural network operators, including convolution, pooling, activation, and full link, into dedicated AI instruction sequences for the NPU in offline settings, with data and weight rearranged to ensure optimized performance. The instructions and data are then integrated to generate an offline execution model. Furthermore, during offline compilation, cross-layer fusion between operators (convolution, ReLU, and pooling) reduces the read-write bandwidth of the DDR, and thus improves performance,

rearranges relevant data (Batch, Channel, Height, and Width) in the neural network model in an optimally efficient manner

identifies the computing capability of the running environment, and performs adaptive subgraph splitting and device collaborative scheduling for the neural network,

automatic optimization, from pre-trained models to device-side inference models. Lightweight models are oriented toward widely varying application scenarios. They provide a broad range of algorithms, and automatically implement smaller and faster models via calibration or retraining, to meet stringent requirements for highly-precise solutions.

HiAI Engine

HUAWEI HiAI Engine provides apps with a diversity of AI capabilities using device capabilities. These capabilities are as follows:

Computer Vision (CV) Engine

Computer Vision Engine focuses to sense the ambient environment to determine, recognize, and understand the space. Its capabilities are

image recognition,

facial recognition,

text recognition.

Automatic Speech Recognition (ASR) Engine

Automatic Speech Recognition Engine converts human voice into text to facilitate speech recognition.

Natural Language Understanding (NLU) Engine

Natural Language Understanding Engine works with the ASR engine to enable apps to understand human voice or text to achieve word segmentation and text entity recognition.

HiAI Service

Huawei HiAI Service is a cloud platform designed for developers to enhance their projects through HUAWEI Ability Gallery. Abilities are integrated to provide services like Smart Service, Instant Access, AI Voice, and AI Lens. It is Huawei’s unified platform for ability integration and distribution.

To wrap it up…

Huawei’s AI is a strong development system that allows developers to have a great amount of abilities to integrate in their apps. It is also advised to use such easy to implement AI features as it greatly enhances user experience. In the evolving technology environment, our apps should adapt as well.

References

HiAI - HiAI IDE - HUAWEI Developer

HiAI is a mobile AI open platform and a three-layers AI ecosystem: Service open platform, Application open platform…

developer.huawei.com