Shilin-LU/MACE

[CVPR 2024] "MACE: Mass Concept Erasure in Diffusion Models" (Official Implementation)

42
/ 100
Emerging

This project helps anyone working with AI image generation models to control the content they produce. It allows you to remove specific "concepts"—like objects, celebrities, explicit content, or artistic styles—from a diffusion model's ability to generate images. You input a list of unwanted concepts, and the system modifies the model so it no longer generates images embodying those concepts, even when prompted, while preserving the ability to create unrelated images. This is for AI artists, content moderators, or anyone managing image generation to ensure safe and appropriate outputs.

393 stars. No commits in the last 6 months.

Use this if you need to prevent large-scale text-to-image AI models from generating images of specific unwanted concepts, such as copyrighted material, explicit content, or particular artistic styles.

Not ideal if you only need to remove a single, simple concept or if you are looking for a tool to enhance or add new concepts to an image generation model.

AI content moderation image generation ethics digital content management brand safety AI art control
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 14 / 25

How are scores calculated?

Stars

393

Forks

31

Language

Jupyter Notebook

License

Last pushed

Jun 02, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/Shilin-LU/MACE"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.