Skip to main content

Convolutional Neural Network: The evolution of facial expression recognition AI towards a model operating in your browser

convolutional neural network

A MorphCast secret revealed

The R&D team at MorphCast, along with two university research institutes, has created an extremely compact yet powerful AI model for facial expression recognition, capable of running in the browser of various devices such as smartphones, tablets, and PCs. This was made possible through a proprietary architecture of “deep” convolutional neural networks (CNN).

What does DNN stand for?

In machine learning and artificial intelligence, a Deep Neural Network (DNN) is a type of artificial neural network with multiple layers between the input and output layers which enables the learning of high-level abstractions from data​.

What does CNN stand for?

It is a class of deep neural networks, most commonly applied to analyzing visual imagery. In a CNN, the network employs a mathematical operation called convolution to process parts of the input data, making it especially effective in identifying spatial relationships in data like the arrangement of pixels in images. This capability makes CNNs extremely effective for tasks like computer vision applications.

What does “convolutional” mean?

In the context of a Convolutional Deep Neural Network (CNN or ConvNet), the term “convolutional” refers to the convolutional layers that are used in the network.

MorphCast Neural Networks

Positioned downstream to the MorphCast face detector is a “deep” neural network, specifically a Convolutional Neural Network (CNN). This network processes the cropped face output from the face detector, delivering results pertinent to the module in question (e.g. emotions, affects, attention, etc.).

This neural network is custom-designed, meticulously crafted to adhere to stringent size (<1 MB) and execution time requirements. Despite operating at a lower resolution, it maintains a rapid prediction timeframe (approximately 30ms on PC), alongside adequate accuracy for the designated task. Unlike other products, this setup achieves a delicate balance between accuracy and processing time, even at such reduced resolutions while maintaining a high level of accuracy.

Proprietary Architecture

The bespoke architecture of MorphCast is multi-task oriented, with a fundamental segment (the deepest levels) shared across all face analysis modules. This shared foundation not only minimizes the model size but also trims down processing time. For instance, operating four modules simultaneously instead of just one elevates the CPU or GPU load by merely 30%, a stark contrast to the anticipated 300% increase. This streamlined structure underscores the architecture’s efficiency, fostering a more resourceful processing environment.

Post-processing

The output generated by the neural network undergoes a subsequent layer of post-processing to eliminate noise and conduct beneficial temporal post-processing. This stage can be tailored to optimally extract valuable information from the data, thereby significantly enhancing the utility derived by the user. This feature sets our offering apart, as comparable products in the market lack this refined level of post-processing, underscoring the superior value proposition for our customers.

Strengths

Weaknesses

Interested in more science behind MorphCast? Read our articles on Paul Ekman’s Basic Emotions, and Russel’s Circumplex Model.

About the author

Latest from our Blog

See all articles See all articles
  • AI asks Lorenzo Linari: Does AI really need the cloud?
    AI Technology Expert Content October 13, 2026

    AI asks Lorenzo Linari: Does AI really need the cloud?

    AI asks. Humans answer. We spend a lot of time asking how powerful AI can become. We spend less time…

  • What Makes People Engage With Camera-Based Digital Experiences?
    Expert Content October 6, 2026

    What Makes People Engage With Camera-Based Digital Experiences?

    Asking someone to turn on their camera creates friction. For many digital experiences, that alone can be enough to make…

  • AI Lie Detection: Can AI Tell If You’re Lying?
    AI and Humanity October 1, 2026

    AI Lie Detection: Can AI Tell If You’re Lying?

    The short answer is: not reliably. AI can detect patterns in facial expressions, voice, language, eye movements, and behavior. What…