Organizations: Santa Clara University, Santa Clara, CA, USA · The University of Newcastle, Callaghan, NSW, Australia · Futurewei Technologies, Inc., San Jose, CA, USA
Recent generative video methods achieve strong perceptual compression by encoding videos into compact latent representations and reconstructing them with powerful generative decoders. However, visual encoders must compress both high-level semantics and dense visual details into a unified latent space, which complicates entropy coding and decoding and may cause semantic drift under aggressive compression. In this work, we propose Large Language Model-Guided Video Compression (LLMVC), which leverages the summarization capability of frozen video large language models (Video-LLMs) to generate compact semantic tokens aligned with temporal latent slices for guiding video compression. Specifically, Hybrid Bidirectional Bimodal Attention (HBBA) enables bidirectional interactions between visual and semantic features during encoding and decoding. Semantic-Conditioned Cross-Attention (SCCA) incorporates semantic features into probability modeling during entropy coding. These semantic features provide high-level guidance throughout the pipeline, improving representation quality and encouraging semantic consistency through a transmitted text side channel. Experiments on UVG, MCL-JCV, and HEVC show that LLMVC consistently improves compression performance over traditional and recent neural video compression methods in terms of LPIPS and DISTS, while also achieving better fidelity than recent perceptual codecs.
Figures & tables
Figure 1: Overview of the proposed LLMVC framework. A tokenizer encoder maps the input video to temporal latents, while a Video-LLM generates corresponding descriptions. A frozen text encoder and trainable adapters map them to semantic features. Semantic Latent Alignment (SLA) aligns intermediate visual features from the analysis transform ga with semantic features, Semantic-Conditioned Entropy Model (SCEM) uses semantic features to guide probability estimation, and Semantic Texture Enhancement (STE) refines intermediate decoded features from the synthesis transform gs . The tokenizer decoder reconstructs the video from the decoded latents. Q denotes quantization, and AE and AD denote arithmetic encoding and decoding. The legend on the right defines the framework symbols.
Figure 2: Semantic-guidance modules in LLMVC. (a) SLA and STE use Hybrid Bidirectional Bimodal Attention (HBBA) to exchange information between semantic features and intermediate visual features from the analysis transform ga and synthesis transform gs , producing updated features vτ′ and hτs′ . (b) SCEM uses Semantic-Conditioned Cross-Attention (SCCA) to combine hyperprior features Fτz , temporal context Fτ−1 , and previously decoded slices y^τ<i with semantic features hτs , producing context Cτi for predicting the Gaussian mean μτi and scale στi for entropy coding. Here, τ indexes temporal latents and i indexes channel slices. Q, K, and V denote queries, keys, and values, respectively. The subscripts v and s indicate visual and semantic features.
Figure 3: LPIPS rate-distortion curves on UVG, MCL-JCV, HEVC-A, HEVC-B, HEVC-C, and HEVC-E. Lower LPIPS indicates better perceptual quality. Bitrate is measured in bits per pixel (bpp).
Figure 5: PSNR rate-distortion curves on UVG, MCL-JCV, HEVC-A, HEVC-B, HEVC-C, and HEVC-E. Higher PSNR indicates better reconstruction fidelity. Bitrate is measured in bits per pixel (bpp).
Figure 6: Qualitative comparisons on YachtRide (UVG) and Cactus (HEVC-B). Enlarged views show the regions marked in red. Labels follow the format Method@bpp, where bpp denotes bits per pixel.
λ(×10−2)
bpp
bpp y
bpp z
bpp s
bpp s ratio
64
0.0338
0.0240
0.0094
0.0004
1.15%
512
0.0948
0.0816
0.0128
0.0004
0.41%
2048
0.1459
0.1280
0.0175
0.0004
0.27%
Table 1: Bitrate decomposition on UVG in bits per pixel (bpp). Subscripts y , z , and s denote the compact representation, hyperlatent, and semantic descriptions. The bpps ratio denotes the percentage of the total bitrate used for semantic descriptions.
Configuration
SLA
SCEM
STE
LPIPS BD-rate ↓
Baseline
×
×
×
—
with SLA
√
×
×
−4.84%
with SLA+SCEM
√
√
×
−6.00%
with SLA+SCEM+STE
√
√
√
−7.92%
Table 2: Semantic-guidance ablation on HEVC-C. √ and × indicate enabled and disabled modules. Negative LPIPS BD-rate values indicate average bitrate savings relative to the baseline at matched LPIPS.
Method
Enc. (ms/frame)
Dec. (ms/frame)
DCVC-DC
502
383
DCVC-FM
455
388
GLC
192
280
LLMVC (Ours)
341
191
Table 3: Average encoding and decoding time at 1080p resolution on an AMD EPYC 7513 CPU and a single NVIDIA L40S GPU, measured in ms/frame. Bold and underlined values indicate the fastest and second fastest methods in each column.
Figure S1 : Network architecture of the LLMVC latent codec with semantic-guidance modules. The analysis transform ga combines lτ with the previous temporal context Fτ−1 and alternates residual blocks with Semantic Latent Alignment (SLA) interactions to produce yτ . The hyperprior transforms ha and hs produce the hyperlatent zτ and recover features Fτz from z^τ . The Semantic-Conditioned Entropy Model (SCEM) uses Fτz , Fτ−1 , previously decoded slices y^τ<i , and semantic features hτs to form context Cτi for predicting the Gaussian mean μτi and scale στi . The synthesis transform gs processes y^τ and Fτ−1 with alternating residual blocks and Semantic Texture Enhancement (STE) interactions. Its output fτ is used to reconstruct l^τ and generate the next temporal context Fτ . SLA and STE use Hybrid Bidirectional Bimodal Attention (HBBA) and pass updated semantic features along their own paths. Q denotes quantization, AE and AD denote arithmetic encoding and decoding, and \scalebox{0.68}{C}⃝ denotes concatenation.
Figure S2 : Examples of descriptions aligned with temporal latents on PartyScene (HEVC-C). Descriptions s1 , s9 , and s18 correspond to frame 1, frames 30–33, and frames 66–69, respectively. Colored bold sentences highlight differences in descriptive content across frame groups.
Method
#Params (M)
FLOPs (T)
DCVC-DC
50.78
5.22
DCVC-FM
44.92
4.41
GLC
234.18
12.45
LLMVC
2358.72
10.62
LLMVC w/o Video-LLM
231.18
2.37
Table S1 : Parameter counts and estimated FLOPs on UVG at 1080p resolution. #Params (M) denotes millions of parameters, and FLOPs (T) denotes trillions of floating-point operations per frame. FLOPs cover the 97-frame input for LLMVC and are averaged over the 96 reported frames.
Figure S4 : PSNR rate-distortion curves on UVG, MCL-JCV, HEVC-A, HEVC-B, HEVC-C, and HEVC-E. Ours (PSNR) denotes LLMVC fine-tuned using MSE as the distortion term. Higher PSNR indicates better reconstruction fidelity. Bitrate is measured in bits per pixel (bpp).
Figure S5 : Qualitative comparisons on videoSRC09 (MCL-JCV), ParkScene (HEVC-B), FourPeople (HEVC-E), and videoSRC27 (MCL-JCV), from top to bottom. Enlarged views show the regions marked in red. Labels follow the format Method@bpp, where bpp denotes bits per pixel.
Video compression reduces the bits needed to store or transmit moving images while balancing visual quality, computational cost, and downstream usefulness.
Video large language models (VLLMs) rely on long visual token sequences to understand complex temporal content, which makes visual token compression important for efficient inference. Existing training-free compression methods mainly reduce the number of tokens sent to the language model, but the compression process itself can still require many visual feature comparisons, especially for intra-frame token protection and inter-frame temporal token merging. This paper proposes a video codec-guided training-free token compression method for VLLMs that uses coding information already available in compressed video as a low-cost search prior. The method aligns reference-frame dependencies, motion vectors, and residuals with the visual token grid. Residual information forms compact candidate pools for token protection, while motion information is propagated along reference-frame chains to construct localized candidates for temporal token merging between sparsely sampled frames. Local visual feature similarity comparison is then used within these candidates to make the final compression decisions, without modifying the base VLLM. Experiments on three representative VLLMs and four video-understanding benchmarks show that the proposed method achieves performance comparable to the state-of-the-art training-free baseline FlashVID, and in some settings surpasses it, while substantially reducing the feature comparisons required by token protection and temporal matching. These results demonstrate that codec information can effectively improve the accuracy-complexity tradeoff of video token compression.
Xihua Sheng, Ruijie Liu, Chang Wen Chen
Department of Computing, The Hong Kong Polytechnic University, Hong Kong SAR, China
The rapid development of large language models(LLMs) has led to remarkable advances in natural language processing. However, the increasing scale of these models introduces substantial challenges in terms of storage, transmission, and deployment. Though great efforts have been devoted to model compression and quantization, existing methods often rely on fine-tuning or calibration data, which exhibit limited generalization across different tensor types. In this paper, we argue that video codecs offer a promising solution for LLM compression, due to their inherent compatibility with matrix structured data, configurable compression strategies, and the availability of highly optimized, off-the-shelf implementations. Therefore, we present LLMCodec, a video codec-based LLM compression method that integrates affine quantization with the recent VVC/H.266 video codec. Beyond VVC, we further compare a range of video codecs and encoding profiles to evaluate their impact on compression performance. Experiments on different models demonstrate the robustness and generality of LLMCodec. Notably, on LLaMA-3-8B at 2-bit precision, LLMCodec reduces perplexity by over 1.5x and improves downstream task accuracy by 21% compared with the existing method.
Rui Wang, Yan Zhao, Li Song +1
Institute of Image Communication and Network Engineering, Shanghai Jiao Tong University. Shanghai, China
Recent advancements in generative video codec (GVC) typically encode video into a 2D latent grid and employ high-capacity generative decoders for reconstruction. However, this paradigm still leaves two key challenges in fully exploiting spatial-temporal redundancy: Spatially, the 2D latent grid inevitably preserves intra-frame redundancy due to its rigid structure, where adjacent patches remain highly similar, thereby necessitating a higher bitrate. Temporally, the 2D latent grid is less effective for modeling long-term correlations in a compact and semantically coherent manner, as it hinders the aggregation of common contents across frames. To address these limitations, we introduce Generative Video Compression with One-Dimensional (1D) Latent Representation (GVC1D). GVC1D encodes the video data into extreme compact 1D latent tokens conditioned on both short- and long-term contexts. Without the rigid 2D spatial correspondence, these 1D latent tokens can adaptively attend to semantic regions and naturally facilitate token reduction, thereby reducing spatial redundancy. Furthermore, the proposed 1D memory provides semantically rich long-term context while maintaining low computational cost, thereby further reducing temporal redundancy. Experimental results indicate that GVC1D attains superior compression efficiency, where it achieves bitrate reductions of 60.4% under LPIPS and 68.8% under DISTS on the HEVC Class B dataset, surpassing the previous video compression methods.Project: https://gvc1d.github.io/
Zihan Zheng, Zhaoyang Jia, Naifu Xue +7
University of Science and Technology of China · Communication University of China · Microsoft Research Asia +1