Audio-Infused Automatic Image Colorization by Exploiting Audio Scene Semantics

Pengcheng Zhao, Yanxiang Chen, Yang Zhao, Wei Jia, Zhao Zhang, Ronggang Wang, Richang Hong · OpenReview

Abstract

Automatic image colorization is inherently an ill-posed problem with uncertainty, which requires an accurate semantic understanding of scenes to estimate reasonable colors for grayscale images. Although recent interaction-based methods have achieved impressive performance, it is still a very difficult task to infer realistic and accurate colors for automatic colorization. To reduce the difficulty of semantic understanding of grayscale scenes, this paper tries to utilize corresponding audio, which naturally contains extra semantic information about the same scene. Specifically, a novel audio-infused automatic image colorization (AIAIC) network is proposed, which consists of three stages. First, we take color image semantics as a bridge and pretrain a colorization network guided by color image semantics. Second, the natural co-occurrence of audio and video is utilized to learn the color semantic correlations between audio and visual scenes. Third, the implicit audio semantic representation is fed into the pretrained network to finally realize the audio-guided colorization. The whole process is trained in a self-supervised manner without human annotation. In addition, an audiovisual colorization dataset is established for training and testing. Experiments demonstrate that audio guidance can effectively improve the performance of automatic colorization, especially for some scenes that are difficult to understand only from visual modality.

Introduction

Image colorization is a classic "ill-posed" problem because a single grayscale value can correspond to many different colors in the real world. AI models often struggle with this inherent uncertainty; for example, a white-and-gray texture might represent a sandy beach, a concrete floor, or a snowy field. While recent deep learning models have made significant strides, they typically rely entirely on visual modality. If visual cues are ambiguous, the model must "guess," often resulting in desaturated or inaccurate colors.

This paper introduces AIAIC (Audio-Infused Automatic Image Colorization), a framework that uses ambient sound to resolve visual ambiguity. By extracting semantic cues from audio—such as the crunch of snow or the roar of a fire—the model can infer more accurate colors. Audio acts as a "semantic bridge," providing high-level context that visual pixels alone might miss, effectively acting as a "hint" for the colorization process.

Methodology

The authors propose a three-stage, self-supervised training strategy. A key feature of this method is its pluggability, allowing it to be integrated into existing state-of-the-art colorization backbones like ChromaGAN or DisColor.

The three-stage AIAIC training pipeline: (1) Visual semantic pretraining, (2) Audio-to-visual semantic learning, and (3) Audio-guided colorization.
  1. Stage 1: Visual Semantic Pretraining: The model is first trained to colorize images using the ground-truth color image itself as a source of "perfect" semantic guidance. An Adaptive Instance Normalization (AdaIN) module is used to inject these semantic features into the color generation process.
  2. Stage 2: Audio-to-Visual Mapping: Since ground-truth color images are unavailable at inference, the model learns to map audio features to the visual semantic space. Using the visual features from Stage 1 as a "teacher," the audio encoder learns to extract color-relevant semantics from sound.
  3. Stage 3: Audio-Guided Colorization: The pretrained audio encoder is plugged into the colorization network. To handle irrelevant audio (like background music), a Relevance Network (RNet) and a Relevance-based Semantic Guidance (RSG) module act as a safety valve, lowering the relevance score and allowing the model to revert to standard visual-only colorization when necessary.

Experimental Results

The AIAIC framework was tested on three top-tier baselines: ChromaGAN, DisColor, and DDC, using the VGGSound and AVE datasets. Quantitative results showed consistent improvements across LPIPS (perceptual similarity), PSNR, and SSIM metrics.

Qualitative comparison showing how audio guidance (e.g., "Footsteps on snow") corrects colorization errors in baseline models, preventing snow from being miscolored as blue.

Qualitative results demonstrate that audio guidance prevents common visual errors. For instance, as shown in the figure above, visual-only models often color snow as blue, mistaking it for water. When the "footsteps on snow" audio is introduced, AIAIC correctly renders the snow as white. Similarly, the model more accurately colors specific subjects like fire, lions, and ambulances by "listening" to their characteristic sounds.

Conclusion

AIAIC demonstrates that audio often contains "latent color semantics" that can significantly improve automatic image colorization. While challenges remain in handling complex "cocktail party" audio environments with multiple sound sources, the use of visual scene semantics as an intermediate bridge makes cross-modal learning highly effective. Future work will explore more robust fusion techniques for fundamentally different modalities.

Summary updated

BibTeX
@misc{zhao2024audio,
  author = {Pengcheng Zhao and Yanxiang Chen and Yang Zhao and Wei Jia and Zhao Zhang and Ronggang Wang and Richang Hong},
  title = {{Audio-Infused Automatic Image Colorization by Exploiting Audio Scene Semantics}},
  year = {2024},
  eprint = {2401.13270},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.13270},
}
Figure