Skip to content
Book Open access

Internal Token Compression with Lightweight Adaptation for High-Resolution Monocular Depth Models

Nov 2026 · Proceedings of the 34th ACM International Conference on Multimedia · 0 citations · 36 references

Abstract

High-resolution monocular depth models based on ViTs achieve strong zero-shot performance, but their quadratic attention cost limits practical deployment. Reducing the input resolution sacrifices fine-grained spatial detail important for dense prediction. Internal token compression can lower cost without changing the input interface by reducing the token count after patch embedding, but simple token pooling consistently degrades depth accuracy because later transformer blocks and the decoder depend on spatially structured intermediate features. We therefore propose a lightweight adaptation framework for compressed-token depth models. The encoder is compressed at an intermediate stage, after which the remaining blocks are adapted with RepLoRA, a reparameterizable low-rank module that combines linear and spatial convolution branches in qkv projections and is deployed in a branch-free fused form at inference. Positional embeddings are jointly tuned, and the decoder preserves its original four-feature interface by combining features from before and after compression. Training uses approximately 200K pseudo-depth images with offline teacher supervision. Experiments on NYUv2, KITTI, and DA-2K show that RepLoRA consistently recovers the degradation introduced by pooling alone and provides a better accuracy-efficiency trade-off under the fixed-input setting. In representative compression settings, the proposed models reduce GFLOPs from 42.7 to 21.8--29.4, reduce attention cost from 25.03M to 5.47M--13.29M, and increase TensorRT throughput on RTX 3080 from 76.3 FPS to 112.0--164.5 FPS without changing the input interface.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.