qAttCNN - Self Attention Mechanism for Video QoE Prediction in Encrypted Traffic
Michael Sidorov, Ofer Hadar
TL;DR
This work tackles QoE prediction under encrypted traffic where DPI is impractical, proposing qAttCNN which combines a learning-based embedding, masked self-attention, and a CNN head to map packet-size streams to no-reference QoE metrics BRISQUE and FPS. By transforming 1D packet data into a 2D representation and leveraging long-range feature relationships, the model achieves superior accuracy (MAEP of 2.14% for BRISQUE and 7.39% for FPS) on a WhatsApp-based dataset using 10-fold cross-validation. Key contributions include novel Embedding and MHSA modules, an effective training regimen with transfer learning and cyclical learning rates, and a thorough ablation study showing the importance of each component. The approach offers a practical pathway for ISPs to monitor QoE over encrypted traffic, though it demands substantial data and computational resources and is currently validated on a single platform, pointing to avenues for broader validation and architectural exploration.
Abstract
The rapid growth of multimedia consumption, driven by major advances in mobile devices since the mid-2000s, has led to widespread use of video conferencing applications (VCAs) such as Zoom and Google Meet, as well as instant messaging applications (IMAs) like WhatsApp and Telegram, which increasingly support video conferencing as a core feature. Many of these systems rely on the Web Real-Time Communication (WebRTC) protocol, enabling direct peer-to-peer media streaming without requiring a third-party server to relay data, reducing the latency and facilitating a real-time communication. Despite WebRTC's potential, adverse network conditions can degrade streaming quality and consequently reduce users' Quality of Experience (QoE). Maintaining high QoE therefore requires continuous monitoring and timely intervention when QoE begins to deteriorate. While content providers can often estimate QoE by directly comparing transmitted and received media, this task is significantly more challenging for internet service providers (ISPs). End-to-end encryption, commonly used by modern VCAs and IMAs, prevent ISPs from accessing the original media stream, leaving only Quality of Service (QoS) and routing information available. To address this limitation, we propose the QoE Attention Convolutional Neural Network (qAttCNN), a model that leverages packet size parameter of the traffic to infer two no-reference QoE metrics viz. BRISQUE and frames per second (FPS). We evaluate qAttCNN on a custom dataset collected from WhatsApp video calls and compare it against existing QoE models. Using mean absolute error percentage (MAEP), our approach achieves 2.14% error for BRISQUE and 7.39% for FPS prediction.
