Manuscript Offprint

arXiv:2610.21166

Tokenized Joint Source-Network Coding for Loss-Resilient Video Streaming

Ke Yang, Sixian Wang, Kailin Tan, Guo Lu, Jincheng Dai, Wenjun Zhang, Ping Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Ke Yang, Sixian Wang, Member, IEEE, Kailin Tan, Graduate Student Member, IEEE, Guo Lu, Member, IEEE, Jincheng Dai, Member, IEEE, Wenjun Zhang, Fellow, IEEE, and Ping Zhang, Fellow, IEEE

Abstract—For decades, conventional video streaming systems have relied on packet-level forward error correction (FEC) codes and retransmissions to ensure reliable video delivery. However, in real-time communications, FEC is inherently inefficient under unknown and time-varying packet-loss conditions, while retransmission can incur excessive latency and fail to meet stringent playout deadlines. Emerging deep joint source-channel coding (DeepJSCC) provides an alternative by learning channel-noise-resilient representations, yet its tight coupling with the physical layer makes it difficult to integrate into today's layered network architectures and protocols. In this paper, we propose TokJSNC, a simple-but-effective tokenized joint source-network coding paradigm for packet-loss-resilient video streaming. Rather than first compressing video into a compact bitstream and then protecting it with packet-level FEC, TokJSNC directly encodes video into variable-length discrete token-stream, whose transmission rate is jointly adapted to video content complexity and network conditions. By exploiting the spatiotemporal correlations among learned video tokens, TokJSNC enables robust video reconstruction over a wide range of packet-loss rates without explicit FEC or retransmissions. Consequently, TokJSNC brings the JSCC-like graceful degradation property to the network layer while remaining compatible with existing network architectures and transport protocols. Experimental results show that TokJSNC maintains an average playback frame rate above 22 fps even at a 70% packet-loss rate, whereas the best-performing baseline drops below 12 fps. Overall, TokJSNC establishes a practical pathway for repurposing modern generative video tokenizers for loss-resilient streaming, while providing a fundamental framework for video token communications.

Index Terms—Real-time video transmission, packet loss resilience, video tokenization.

I. INTRODUCTION

Real-time communications (RTC) have become essential for applications including video conferencing, cloud gaming, teleoperation, mobile surveillance, and immersive interaction. Unlike video-on-demand services, RTC applications typically operate under strict latency requirements [1]. When streaming over degraded network conditions, packets may be corrupted or arrive after their playout deadlines, while retransmission

This work was supported in part by the National Key Research and Development Program of China under Grant 2024YFF0509700, in part by the National Natural Science Foundation of China under Grant 62371063, Grant 62601519, and Grant 62471290, in part by the Beijing Municipal Natural Science Foundation under Grant L232047, in part by Postdoctoral Fellowship Program of CPSF under Grant Number GZB20250810, in part by the China Postdoctoral Science Foundation under Grant Number 2025M783515, and in part by the Beijing Nova Program. (Ke Yang and Sixian Wang are co-first authors.) (Corresponding author: Jincheng Dai.)

Ke Yang, Kailin Tan, Jincheng Dai, and Ping Zhang are with Beijing University of Posts and Telecommunications, Beijing 100876, China. (email: daijincheng@bupt.edu.cn)

Sixian Wang, Guo Lu, and Wenjun Zhang are with Shanghai Jiao Tong University, Shanghai 200240, China.

Figure

(a) Different Transmission Paradigms

MethodsProtocol CompatibilityError-Resilience DecodingGraceful Degradation
SSCC✓✕✕
JSCC✕✓✓
JSNC✓✓✓

(b) Comparison of Different Transmission Paradigms

Fig. 1. Comparison of different transmission paradigms. (a) Conceptual illustration of the interaction between source coding and network delivery. SSCC relies on independent source compression and network-layer protection, JSCC jointly optimizes source and channel coding but sacrifices compatibility with existing protocols, while JSNC introduces cross-layer coordination to achieve both protocol compatibility and error-resilient transmission. (b) Qualitative comparison of SSCC, JSCC, and JSNC regarding protocol compatibility, error-resilient decoding, and graceful degradation.

requests may not complete in time [2]. In this case, an RTC receiver may have to reconstruct video from partially received packets, which poses significant challenges on preserving video quality and continuity.

Existing video streaming systems typically adopt a multi-stage architecture, where source compression, packetized network transport, and loss protection are designed and operated at different layers independently. For the source compression stage, modern hybrid video codecs, such as H.264/AVC [3] and H.265/HEVC [4], achieve strong rate-distortion performance by compressing video into compact bitstreams, while neural video codecs, including DVC [5] and the DCVC series [6], [7], further improve compression efficiency through learned prediction, context, and entropy models. Such compact representations typically contain strong spatial and temporal dependencies, such as syntax elements, prediction references, or entropy-decoding contexts. When transmission errors corrupt or erase such dependency information, the decoder may lose synchronization with the encoder, resulting in decoding failures and severe temporal error propagation that can persist until the next intra-coded refresh. To protect the fragile bitstream, current video streaming systems commonly introduce retransmission or forward error correction (FEC). Retransmitting lost packets is often infeasible under stringent latency requirements, while FEC introduces additional bandwidth overhead and must add redundancy before packet losses occur [2]. Under stringent deadlines and dynamically varying losses, this separation makes it difficult to achieve both high compression efficiency and loss-resilient reconstruction.

This limitation suggests that loss resilience should be incorporated into the construction of the source representation itself, rather than being added only after compression. Following this principle, recent joint source-channel coding (JSCC) [8], [9] studies directly map pixel values to the complex-valued symbols for physical-channel transmission, which exhibit graceful performance degradation as the channel SNR varies. However, such a graceful property relies on end-to-end optimization from source compression in the application layer to channel coding and modulation in the physical layer, which requires significant changes to integrate with today's packet-based layered network infrastructures [10]. How to achieve graceful performance degradation while retain compatibility to current network architectures? Motivated by DeepJSCC [8], we propose a joint source-network coding (JSNC) perspective, which extends the joint-design principle to the source representation and packet-loss process. In JSNC, the source representation is jointly optimized with packetization and packet loss concealment, and the packet lossy network is considered as a non-trainable layer in the middle. Fig. 1 compares the separated source and channel coding (SSCC), JSCC, and JSNC paradigms.

To build such a JSNC framework, a key requirement is that the source representation remain usable when only a subset of transmitted packets is successfully received. To this end, we draw inspiration from recent advances in visual tokenization [11]–[14]. Modern video tokenizers [15] map high-dimensional video signals into compact spatiotemporal tokens, providing modular representation units that can be naturally organized for packetized transmission. More importantly, lookup-free quantization (LFQ) [12] quantizes latent features into discrete binary-valued tokens without requiring an internal entropy coder. As a result, when some transmitted tokens are lost, the remaining tokens can still be independently dequantized. In this way, the impact of packet loss is equated to the loss of token groups. Such a property makes discrete visual tokens a suitable interface for JSNC, making reconstruction from partial packets feasible.

Nevertheless, visual tokens alone do not guarantee efficient and stable video streaming over packet-loss networks. Three system-level challenges remain. First, token allocation should adapt to the information density of video content. Recent adaptive tokenizers show that complex videos benefit from larger token budgets, while simple or predictable content can be represented with fewer tokens [16]. Thus both how many tokens to transmit and which tokens contribute most to reconstruction should be modeled. Second, token packetization should disperse neighboring spatiotemporal tokens across different packets, so that packet losses result in distributed missing observations rather than large contiguous missing regions that are difficult to reconstruct. Third, token encoding and reconstruction should adapt to the current network state rather than assuming a fixed packet-loss rate. The encoder can condition the transmitted representation on recent packet-loss statistics, while the decoder can further exploit the observed token-availability pattern to recover the missing representation.

To address these issues, we propose TokJSNC, a tokenized joint source-network coding framework for video streaming over packet-loss networks. TokJSNC retains discrete token quantization as the transmission interface, such that successfully received transport tokens remain usable when other packets are lost. A reconstruction-proxy-guided token router performs content-adaptive allocation at two levels: clip-level reconstruction complexity determines the token budget, while localized reconstruction errors guide the selection of informative spatiotemporal positions. The selected tokens are further organized through spatiotemporal token packetization to reduce the concentration of missing observations after packet erasures. In addition, a network-state-conditioned TokJSNC encoder adapts the transport representation to slow-timescale packet-loss statistics, while a state-aware decoder combines the shared network state prior with the observed token states to recover incomplete latent-token representations. In this way, TokJSNC jointly adapts token allocation, packet organization, transport representation, and latent-token recovery without requiring knowledge of future packet-loss realizations.

The main contributions of this paper are summarized as follows:

• We propose TokJSNC, a tokenized joint source-network coding framework that enables reconstruction from partial packets and retains compatibility with current layered network architectures.

• We develop a reconstruction-proxy-guided adaptive token routing mechanism that determines the clip-level token budget according to reconstruction-derived content complexity and prioritizes informative spatiotemporal positions within the available budget.

• We design network-state-conditioned token encoding and state-aware decoding that exploit shared packet-loss statistics and observed token states. Together with spatiotemporal token packetization, the proposed design enables graceful recovery from incomplete token representations without relying on FEC or retransmission.

The remainder of this paper is organized as follows. Section II reviews related work on conventional and neural video coding, neural video tokenization, and loss-resilient neural video coding. Section III presents the proposed TokJSNC framework. Section IV reports the experimental results and ablation studies. Section V concludes this paper.

References (36)

  • Salsify: Low-Latency network video through tighter integration between a video codec and a transport protocol
  • Grace: Loss-resilient real-time video through neural codecs
  • Overview of the H. 264/AVC video coding standard
  • Overview of the high efficiency video coding (HEVC) standard
  • DVC: An end-to-end deep video compression framework
  • Neural video compression with feature modulation
  • Towards practical real-time neural video compression
  • Deep joint source-channel coding for wireless image transmission
  • SwinJSCC: taming swin transformer for deep joint source-channel coding
  • Joint source-channel coding: Fundamentals and recent progress in practical designs
  • Magvit: Masked generative video transformer
  • Language model beats diffusion-tokenizer is key to visual generation
  • Open-magvit2: An open-source project toward democratizing auto-regressive visual generation (opens arXiv in a new tab)
  • Omnitokenizer: A joint image-video tokenizer for visual generation
  • Cosmos World Foundation Model Platform for Physical AI
  • Infotok: Adaptive discrete video tokenizer via information-theoretic compression
  • Overview of the versatile video coding (vvc) standard and its applications
  • Deep contextual video compression
  • Hybrid spatial-temporal entropy modelling for neural video compression
  • Neural video compression with diverse contexts
  • Grace++: Loss-resilient real-time video communication under high network latency (opens arXiv in a new tab)
  • Resicomp: Loss-resilient image compression via dual-functional masked visual token modeling
  • Coding theorems for a discrete source with a fidelity criterion
  • An image is worth $16 \times 16$ words: Transformers for image recognition at scale
  • M2t: Masking transformers twice for faster decoding
  • The unreasonable effectiveness of deep features as a perceptual metric
  • Precomputed real-time texture synthesis with markovian generative adversarial networks
  • Spectral normalization for generative adversarial networks
  • Regularizing generative adversarial networks under limited data
  • UVG dataset: 50/120fps 4k sequences for video codec analysis and development
  • WebRTC 1.0: Real-time Communication Between Browsers
  • Multiscale structural similarity for image quality assessment
  • Image quality assessment: Unifying structure and texture similarity
  • Gans trained by a two time-scale update rule converge to a local nash equilibrium
  • Achieving consistent low latency for wireless real-time communications with the shortest control loop
  • Mahimahi: accurate record-and-replay for HTTP