Contrastive Learning for Large-scale Color-Name Dataset: Tackling Sparsity with Negative Sampling
Abstract
Large-scale color datasets exhibit significant sparsity in name-color correspondences, substantially impeding the effectiveness of conventional methodologies. We propose a contrastive learning-based framework for color name generation and recommendation that addresses sparsity through negative sampling, supporting two core tasks: color-to-name recommendation and name-to-color generation. Our framework employs a multi-task contrastive learning architecture comprising three key components: (1) a pre-trained Transformer-based name encoder, (2) an RGB encoder, and (3) an RGB generator. The framework utilizes negative sampling to construct positive-negative pairs, contrasting RGB encoder outputs with positive and negative name embeddings. We adopt a multi-objective optimization strategy incorporating binary cross-entropy loss for neural collaborative filtering, and mean squared error loss for name-to-RGB mapping. Experimental results demonstrate substantial improvements over baseline methods, achieving 71.26% Top-10 accuracy in color-to-name recommendation and reducing CIELAB distance error to 26.61 in name-to-color generation.
- Venue
- CHI 2026
- Volume
- Proceedings of the 2026 CHI Conference on Human Factors in Computing Systems
- DOI
- 10.1145/3772318.3791278
- https://dl.acm.org/doi/pdf/10.1145/3772318.3791278
- Anthology ID
2026.chi.991
Cite
@inproceedings{lu-etal-2026-contrastive,
title = {{Contrastive Learning for Large-scale Color-Name Dataset: Tackling Sparsity with Negative Sampling}},
author = {Kecheng Lu and Yue He and Yunhai Wang},
booktitle = {Proceedings of the 2026 CHI Conference on Human Factors in Computing Systems},
isbn = {9798400722783},
year = {2026},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3772318.3791278},
url = {https://doi.org/10.1145/3772318.3791278},
abstract = {Large-scale color datasets exhibit significant sparsity in name-color correspondences, substantially impeding the effectiveness of conventional methodologies. We propose a contrastive learning-based framework for color name generation and recommendation that addresses sparsity through negative sampling, supporting two core tasks: color-to-name recommendation and name-to-color generation. Our framework employs a multi-task contrastive learning architecture comprising three key components: (1) a pre-trained Transformer-based name encoder, (2) an RGB encoder, and (3) an RGB generator. The framework utilizes negative sampling to construct positive-negative pairs, contrasting RGB encoder outputs with positive and negative name embeddings. We adopt a multi-objective optimization strategy incorporating binary cross-entropy loss for neural collaborative filtering, and mean squared error loss for name-to-RGB mapping. Experimental results demonstrate substantial improvements over baseline methods, achieving 71.26\% Top-10 accuracy in color-to-name recommendation and reducing CIELAB distance error to 26.61 in name-to-color generation.}
}