CoCoG: Controllable Visual Stimuli Generation Based on Human Concept Representations

Wei Chen, Jiachen Zou, Dietmar Heinke

Abstract

Understanding how the human brain distills high-dimensional visual input into abstract concepts is a core challenge in cognitive science. We present CoCoG (Concept-based Controllable Generation), a framework that learns human-interpretable concept representations from behavioral data. By mapping images into a sparse, 42-dimensional concept space and utilizing a two-stage diffusion process for generation, CoCoG enables precise manipulation of visual stimuli. Our model achieves state-of-the-art performance in predicting human similarity judgments and demonstrates the ability to generate counterfactual images for studying causal relationships in human cognition.

Introduction

A fundamental goal in cognitive science is understanding how the human brain distills high-dimensional visual input into low-dimensional, abstract concepts. While AI has made massive leaps in image generation, most models are "black boxes" that don't align with human subjective feelings or conceptual structures. CoCoG (Concept-based Controllable Generation) is a novel framework that bridges cognitive science and AI by learning to "see" the world through human-interpretable concepts.

Overview of the CoCoG framework and the human odd-one-out task used to align the model with human perception.

The Challenge of Human-Aligned Representations

Researchers face two main hurdles in aligning AI with human cognition:

  1. Uncovering Representations: It is difficult to build AI agents that can accurately extract the same interpretable concepts humans use when making decisions.
  2. Causal Understanding: To prove a specific concept drives a behavior, scientists need to generate images where only that concept changes while everything else stays the same—a feat traditional generative models struggle to perform with human-centric precision.

The CoCoG Framework

The CoCoG framework consists of two primary components designed to bridge the gap between pixels and concepts.

Concept Encoder

This module uses a pre-trained CLIP image encoder followed by a learnable "Concept Projector." It is trained using a "triplet odd-one-out" task from the THINGS dataset, where it learns to predict which of three objects a human would find least similar to the others. This process maps images into a sparse, 42-dimensional interpretable concept space.

Two-Stage Concept Decoder

To turn abstract concepts back into images, the authors use a clever two-step diffusion process:

  • Stage I (Prior Diffusion): A lightweight U-Net learns to map the 42D concept embeddings to a CLIP image embedding.
  • Stage II (CLIP-guided Generation): This stage uses the CLIP embedding from Stage I as a condition for a pre-trained SDXL (Stable Diffusion XL) model equipped with an IP-Adapter.
The detailed CoCoG pipeline, showing the Concept Encoder and the two-stage generation process (Prior Diffusion and CLIP-guided generation).

Key Insights and Results

By applying $L_1$ regularization during training, the model learns a sparse concept space where only a few dimensions (like "baked food" or "home tools") activate for a given image, mirroring human categorization.

Key results include:

  • Superior Behavior Prediction: CoCoG achieved 64.07% accuracy in predicting human similarity judgments on the THINGS dataset, surpassing previous state-of-the-art models like VICE (63.27%).
  • High Interpretability: The 42 learned dimensions naturally aligned with clear categories like "outdoor objects," "weaponry," and "natural resources."
  • Precise Controllability: The model successfully generated diverse images that maintained high consistency with target concept embeddings, allowing for "counterfactual" experiments where specific conceptual dimensions are systematically varied.

Conclusion

CoCoG provides a blueprint for making AI more "human-centric." By ensuring AI understands the world through the same conceptual lens as humans, we can improve safety, interaction, and our scientific understanding of cognition. Future work will explore scaling the concept space and using CoCoG to design optimal experiments via active learning.

Summary updated

BibTeX
@inproceedings{chen2024cocog,
  author = {Wei Chen and Jiachen Zou and Dietmar Heinke},
  title = {{CoCoG: Controllable Visual Stimuli Generation Based on Human Concept Representations}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=qsPEyEZBOC},
}
Figure