Appearance Codes using Joint Embedding Learning of Multiple Modalities

Alex Zhang, Evan DogariuarXiv 2023 · DOI

Abstract

Handling dynamic scenes with varying lighting and weather conditions remains a significant challenge in 3D neural rendering and generative modeling. Traditional appearance code methods often require computationally expensive optimization at inference time to process unseen images. This paper introduces a multi-modal framework that disentangles a scene's geometric structure from its appearance through joint embedding learning. By employing a novel "anticontrastive" loss and leveraging complementary modalities like LiDAR or depth data during training, the proposed method enables instant, zero-shot style transfer and scene reconstruction without the need for test-time optimization.

Introduction

In the context of neural radiance fields (NeRF) and related generative models, "appearance codes" are typically used to capture the style or environmental conditions of a specific frame. However, a major bottleneck exists: when presented with a new image at inference time, these systems must undergo a slow optimization loop to identify the appropriate latent vector. This paper aims to eliminate this requirement by learning a global mapping that automatically separates invariant structural information from transient appearance features.

Methodology

The core of the proposed framework is a Variational Autoencoder (VAE) architecture that incorporates multi-modal encoders to supervise the disentanglement process.

Multi-Modal Architecture

The system utilizes three distinct encoders to process input data. Two encoders process RGB images to extract appearance and structure separately, while a third encoder processes a complementary modality, such as LiDAR or Depth data, to focus exclusively on geometric structure.

The multi-modal VAE architecture utilizes RGB and LiDAR/Depth data to disentangle appearance from structure.

Joint Embedding Losses

To ensure effective disentanglement, the authors introduce two key loss functions:

  • Contrastive Loss: This loss forces the structure embedding from the RGB image to align with the embedding from the corresponding depth or LiDAR data. This "teaches" the RGB encoder to focus on geometry while ignoring lighting.
  • Anticontrastive Loss: To prevent information leakage between the appearance and structure spaces, this loss penalizes correlation by minimizing the squared cosine similarity between the two vectors for a given image.

Experimental Results

The framework was evaluated on the RGB-D Object Dataset and the RADIATE dataset, which contains real-world driving sequences in adverse weather conditions like fog, snow, and rain.

Qualitative Performance

On the RGB-D dataset, the model demonstrated the ability to reconstruct scenes by combining extracted structure and appearance codes. As shown in the results, the model successfully captures the essential geometry of tabletop objects, even if the VAE-based reconstruction is slightly blurred.

Qualitative results on the RGB-D dataset showing the original RGB, depth input, and the resulting VAE reconstruction.

Zero-Shot Style Transfer

A key application of this disentanglement is the ability to perform instant style transfer. By extracting the structure code from a night-time image and pairing it with a "mean day-time" appearance code, the model can generate a day-time version of the scene. This process is entirely "zero-shot," requiring no per-image optimization at inference time, which is a significant improvement over previous state-of-the-art methods.

Key Insights and Discussion

The research highlights that LiDAR/depth data acts as a powerful "teacher" during training, even if it is not available at inference. Furthermore, ablation studies confirmed that without the specific contrastive and anticontrastive losses, the latent spaces remain highly entangled, preventing independent control over appearance.

While the current implementation produces results typical of VAEs, the underlying principle of joint embedding learning for disentanglement provides a scalable path forward. Future work could involve integrating these appearance codes into high-fidelity generative frameworks such as GANs or Diffusion models to improve resolution and detail.

Conclusion

This work presents a significant step toward real-time, controllable neural rendering. By leveraging multi-modal data and specialized losses, the authors achieve a robust disentanglement of structure and appearance, enabling efficient scene manipulation across varying environmental conditions.

Summary updated

BibTeX
@misc{zhang2023appearance,
  author = {Alex Zhang and Evan Dogariu},
  title = {{Appearance Codes using Joint Embedding Learning of Multiple Modalities}},
  year = {2023},
  eprint = {2311.11427},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.11427},
}
Figure