Learning to Structure an Image With Few Colors
Yunzhong Hou, Liang Zheng, Stephen Gould
Abstract
Color and structure are the two pillars that construct an image. Usually, the structure is well expressed through a rich spectrum of colors, allowing objects in an image to be recognized by neural networks. However, under extreme limitations of color space, the structure tends to vanish, and thus a neural network might fail to understand the image. Interested in exploring this interplay between color and structure, we study the scientific problem of identifying and preserving the most informative image structures while constraining the color space to just a few bits, such that the resulting image can be recognized with possibly high accuracy. To this end, we propose a color quantization network, ColorCNN, which learns to structure the images from the classification loss in an end-to-end manner. Given a color space size, ColorCNN quantizes colors in the original image by generating a color index map and an RGB color palette. Then, this color-quantized image is fed to a pre-trained task network to evaluate its performance. In our experiment, with only a 1-bit color space (i.e., two colors), the proposed network achieves 82.1% top-1 accuracy on the CIFAR10 dataset, outperforming traditional color quantization methods by a large margin. For applications, when encoded with PNG, the proposed color quantization shows superiority over other image compression methods in the extremely low bit-rate regime. The code is available at https://github.com/hou-yz/ color_distillation .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers5
- Color-Oriented Redundancy Reduction in Dataset DistillationBowen Yuan, Zijian Wang, Mahsa Baktashmotlagh, Yadan Luo et al.NeurIPS 2024 · 7 citations
- Name Your Colour For the Task: Artificially Discover Colour Naming via Colour Quantisation TransformerShenghan Su, Lin Gu, Yue Yang, Zenghui Zhang et al.ICCV 2023 · 2 citations
- MI-CAPTCHA: Enhance the Security of CAPTCHA Using Mooney ImagesJingmeng Li, Lukang Fu, Surun Yang, Hui WeiAAAI 2025 · 2 citations
- Image Quality Assessment: From Human to Machine PreferenceChunyi Li, Yuan Tian, Xiaoyue Ling, Zicheng Zhang et al.CVPR 2025
- Dataset Color Quantization: A Training-Oriented Framework for Dataset-Level CompressionYU CHENYUE, Lingao Xiao, Jinhong Deng, Ivor Tsang et al.ICLR 2026
Builds on2
Related papers
- Post Training Quantization for Efficient Dataset CondensationLinh-Tam Tran, Sung-Ho BaeAAAI 2026
- Unified Data-Free Compression: Pruning and Quantization without Fine-TuningShipeng Bai, Jun Chen, Xintian Shen, Yixuan Qian et al.ICCV 2023 · 31 citations
- Optimizing Information Theory Based Bitwise Bottlenecks for Efficient Mixed-Precision Activation QuantizationXichuan Zhou, Kui Liu, Cong Shi, Haijun Liu et al.AAAI 2021 · 3 citations
- Permute, Quantize, and Fine-Tune: Efficient Compression of Neural NetworksJulieta Martinez, Jashan Shewakramani, Ting-Wei Liu, Ioan Andrei Barsan et al.CVPR 2021
- And the Bit Goes Down: Revisiting the Quantization of Neural NetworksPierre Stock, Armand Joulin, Rémi Gribonval, Benjamin Graham et al.ICLR 2020 · 157 citations
