Implicit Neural Representation Facilitates Unified Universal Vision Encoding
Matthew Gwilliam, Xiao Wang, Xuefeng Hu, Zhenheng Yang
TL;DR
HUVR presents a unified vision encoding framework by introducing an implicit neural representation (INR) hyper-network that jointly supports recognition and reconstruction. The approach introduces patch-wise INR modulation with a global class token and Tiny Tokens (TinToks), augmented by knowledge distillation from pretrained teachers to inject semantic structure into compressed embeddings. Across classification, dense prediction, and image reconstruction, HUVR demonstrates competitive performance against state-of-the-art unsupervised methods and delivers a compact representation that enables generation experiments via diffusion on TinTok latents. While scaling pretraining remains a limitation, the results establish a versatile, theory-grounded path toward universal vision encoding with native reconstruction capabilities. The work thus opens avenues for compressed, unified representations and lays groundwork for future integration with multimodal and generative models.
Abstract
Models for image representation learning are typically designed for either recognition or generation. Various forms of contrastive learning help models learn to convert images to embeddings that are useful for classification, detection, and segmentation. On the other hand, models can be trained to reconstruct images with pixel-wise, perceptual, and adversarial losses in order to learn a latent space that is useful for image generation. We seek to unify these two directions with a first-of-its-kind model that learns representations which are simultaneously useful for recognition and generation. We train our model as a hyper-network for implicit neural representation, which learns to map images to model weights for fast, accurate reconstruction. We further integrate our INR hyper-network with knowledge distillation to improve its generalization and performance. Beyond the novel training design, the model also learns an unprecedented compressed embedding space with outstanding performance for various visual tasks. The complete model competes with state-of-the-art results for image representation learning, while also enabling generative capabilities with its high-quality tiny embeddings. The code is available at https://github.com/tiktok/huvr.
