Improving Compression Efficiency With AI

A group of international technology vendors and broadcasters is working on developing and implementing Artificial Intelligence (AI) standards to improve video coding. Calling itself MPAI (Moving Picture, Audio and Data Coding by Artificial Intelligence) they believe that machine learning can improve efficiency of the existing Enhanced Video Coding standard by about 25 percent.

The collective efforts of the MPAI’s experts is focused on horizontal hybrid approach that introduces AI-based algorithms combined with traditional video codecs by replacing one or more blocks of the traditional loop with machine learning-based blocks.

The latest activities of the non-profit global group—that counts members, including broadcasters like Italy's RAI, from 15 countries and was officially launched in September 2020—was discussed at length during the recent HPA Tech Retreat online conference. It’s stated goals include leveraging AI as a core technology for its standards; and developing patent-friendly framework licenses to help its members monetize their intellectual property.

MPAI defines data coding as the transformation of data from a given representation to an equiv­alent one more suited to a specific application. Examples they cite are compression and semantics extraction. To date it has identified an AI module (AIM) and its interfaces as the AI building block. They say the syntax and semantics of interfaces determine what AIMs should per­form, not how. AIMs can be implemented in hardware or software, with AI or machine learning legacy data processing.

The group is looking at many facets of utilizing AI and will establish a licensing model for its application.

The group is looking at many facets of utilizing AI and will establish a licensing model for its application.

“MPAI’s AI framework, which enables the creation, execution, com­pos­ition and update of AIM-based work­flows, is the cornerstone of MPAI standardization because it enables building high-com­plexity AI solutions by interconnecting multi-vendor AIMs trained to specific tasks, operating in the standard AI framework and exchanging data in standard formats,” said Mikhail Tsinberg, president CEO at Key Digital Systems and a founding member of MPAI.

The group is looking at many facets of utilizing AI, including: MPAI-AF, for creation and execution of AI-ML-DP workflows; MPAI-EVC, extending video codec capability with AI; MPAI-MMC, conversation with machines, naturally as with humans; MPAI-CAE, audio at home, in the office, on the go and in the studio; MPAI-OSD, Visual Object band Scene Analysis using AI.

Focused on coding efficiency, the goal is to provide up to 25% additional bitrate reduction for the same resolution over existing EVC (MPEG-5) codecs. Testing is now on-going using different content types to build a data set that can be used to improve performance in a highly automated way. Content they are now working with includes Natural video (video camera captured content), Moving Film (film captured content), Computer-Generated Graphics and Video Gaming.

According to Tsinberg, the MPAI’s initial work has involved using lossy and visually lossless compression (currently, mathematically lossless coding is not being considered). Specific parameters include up to 8K resolution; rectangular video with wide range of aspect ratios, including video banners and vertical video; SD/HDR; standard and wide color gamut; 4:2:0, 4:2:2, and 4:4:4 color formats (initial focus will be on YUV-based coding); and multiple frame rates of up to 120 Hz.

They are also looking at IP-based (including HTTP live streaming) protocols, MPEG-2 Transport Streams, MPEG Media Transport and others. Using CBR, VBR and Capped VBR, they are hoping to deploy systems with (end-to-end) delay levels of: High: greater than 100 milliseconds to offline encoding; Low: 30 msec, less than Delay 100 msec; and Very Low: less than 30 msec (less than one picture frame).

These systems with AI-acceleration could be located on-premise or in the cloud. Backward compatibility with existing systems and scalability are also being taken into account.

The MPAI has come out with a Web socket method that looks to build an abstraction layer agnostic to the AI frameworks, the operating systems and  physical location.

The MPAI has come out with a Web socket method that looks to build an abstraction layer agnostic to the AI frameworks, the operating systems and physical location.

“The MPAI Enhanced video Coding mission is to exploit advances in AI to develop video coding standards that improve coding efficiency,” Tsinberg said. “The rationale is to use AI tools that are able to distill aspects of the data semantics relevant to video compression. These will be highly adaptive systems. Our focus currently is on Intra Predictions and we have already built a dataset for training.”

To manage the bi-directional communication between EVC codecs and the AI tools, he said the MPAI has come out with a Web socket method that looks to build an abstraction layer agnostic to the AI frameworks, the operating systems and the physical location.

The future plan is to port the code developed in the group’s Evidence Project to FPGA boards that are more effective than generic processors in terms of performance and feature low latency and high throughput.

“By accelerating the maturity of AI-enabled data compression, MPAI will help accelerate large-scale adoption of AI Technologies in devices leading to a future where AI is the dominating technology in devices,” Tsinberg said.

Recognizing the moral responsibilities linked to AI, the group’s website states that: “Although it is a technical body, MPAI is aware of the revolutionary impact AI will have on the future of human society. MPAI pledges to address ethical questions raised by its technical work with the involvement of high-profile external thinkers. The initial significant step is to enable the understanding of the inner working of complex AI systems.”

Editor’s Note: As part of its fourth standard project “Compression and understanding of industrial data (MPAI-CUI),” the MPAI has issued a Call for Technologies. The standard aims to enable AI-based filtering and extraction of information from a company’s “governance, financial and risk data enabling prediction of company performance.” It is also calling for technologies to develop two standards related to audio (MPAI-CAE) and multimodal conversation (MPAI-MMC).

You might also like...

Hybrid CDN - Part 2

This is the second instalment of our deep dive into the rapid growth of OTT, high user expectations and the developments in hybrid systems which combine CDN with storage and distributed processing to meet demand.

Hybrid CDN - Part 1

Broadcasting video and audio has rapidly developed from the send-and-forget type transmission to the full duplex OTT and VOD models in recent years. The inherent bi-directional capabilities of IP networks have provided viewers with a whole load of new interactive…

Essential Guide: Cloud Microservice Workflow Design

The power and flexibility of cloud computing is being felt by broadcasters throughout the world. Scaling delivers incredible resource and the levels of resilience available from international public cloud vendors is truly eye watering. It’s difficult to see how a…

Video Codecs And Royalties Set For Fragmentation

The era of dominance by video codecs from the MPEG stable is ending as rivals, especially the Alliance for Open Media (AOMedia) comprising big internet technology companies such as Google, jostle for position.

When Implementing 100G IP Media Networks, Professional Services Can Be Your Best Friend

Keeping up with the rapid advancements of new technology in media production and distribution can be a daunting task for broadcasters, service providers and media companies as they try to navigate highly competitive waters and keep their businesses successful. Staffing…