Cones: Concept Neurons in Diffusion Models for Customized Generation

Zhiheng Liu, Ruili Feng, Kai Zhu, Yifei Zhang, Kecheng Zheng +4 more
2/12/2026

No official code found. Best implementation: Gothos/Cones (7 stars, MIT, last commit 2023-04-15).

Abstract

Human brains respond to semantic features of presented stimuli with different neurons. It is then curious whether modern deep neural networks admit a similar behavior pattern. Specifically, this paper finds a small cluster of neurons in a diffusion model corresponding to a particular subject. We call those neurons the concept neurons. They can be identified by statistics of network gradients to a stimulation connected with the given subject. The concept neurons demonstrate magnetic properties in interpreting and manipulating generation results. Shutting them can directly yield the related subject contextualized in different scenes. Concatenating multiple clusters of concept neurons can vividly generate all related concepts in a single image. A few steps of further fine-tuning can enhance the multi-concept capability, which may be the first to manage to generate up to four different subjects in a single image. For large-scale applications, the concept neurons are environmentally friendly as we only need to store a sparse cluster of int index instead of dense float32 values of the parameters, which reduces storage consumption by 90\% compared with previous subject-driven generation methods. Extensive qualitative and quantitative studies on diverse scenarios show the superiority of our method in interpreting and manipulating diffusion models.

View on arXivView PDF

Code Implementations(1)

Gothos/ConesCommunity61%
MIT

Unofficial implementation of the Cones (Concept Neurons in Diffusion Models for Customized Generation) Paper

70Jupyter NotebookApr 11, 20233 years agoMIT

Similar Papers

Cite this paper

@article{liu2026cones,
  title  = {Cones: Concept Neurons in Diffusion Models for Customized Generation},
  author = {Zhiheng Liu and Ruili Feng and Kai Zhu and Yifei Zhang and Kecheng Zheng and Yu Liu and Deli Zhao and Jingren Zhou and Yang Cao},
  year   = {2026},
  eprint = {2303.05125},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2303.05125},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.05125.svg)](https://codeofpaper.com/paper/2303.05125)

Discussion