AI Makes For Better Compression Efficiency
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 MPAI said the new AI-Enhanced Video Coding (MPAI-EVC) is focused on a 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. By all accounts, it is a work in progress. This topic was first discussed during the MPAI-EVC’s teleconference on Oct 13, 2020. It is expected to be further refined and developed during future meetings as well as via email discussions.
On its website (https://mpai. community/standards/mpai-evc/) it states: “MPAI aims to use the advances in AI technologies to code multiple data types more efficiently and to develop standards for data coding that have Artificial Intelligence (AI) as its core technology. One of those data coding standard areas is called MPAI AI-Enhanced Video Coding. It is focused on understanding how AI/ML can help in improving the performance of existing digital video coding technologies and standards. It is expected that if AI/ML based technologies are found to help in significantly improving the performance over state-of-the-art existing video codecs, an MPAI Video coding standard will be developed.”
The latest activities of the non-profit global group that counts members 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 perform, not how. AIMs can be implemented in hardware or software, with AI or machine learning legacy data processing.
Mikhail Tsinberg, president CEO at Key Digital Systems and a founding member of MPAI, said that the group’s AI framework is the foundation of MPAI standards to come because it enables building high-complexity AI solutions by interconnecting multi-vendor AIMs trained to specific tasks, operating in the standard AI framework, and exchanging data in standard formats. This enables the creation, execution, composition and update of AIM-based workflows.
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; MPAIMMC, conversation with machines, naturally as with humans; MPAI-CAE, audio at home, in the office, on the go and in the studio; MPAIOSD, 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 sued 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 being not 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.
Tsinberg said the MPAI Enhanced Video Coding mission is to “exploit advances in AI to develop video coding standards that improve coding efficiency. 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, 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.
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.”
Of Note: As part of its fourth standard project “Compression and understanding of industrial data (MPAI-CUI, mpai.community/standards/ mpai-cui/#CfT),” 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 s calling for technologies to develop two standards related to audio (MPAI-CAE) and multimodal conversation (MPAI-MMC).