LAION Removes CSAM from Dataset Used to Train Stable Diffusion

The German research organization LAION, which created the dataset utilized to train Stable Diffusion and other generative AI models, has announced the release of a new dataset that has been thoroughly cleansed of any known links to suspected child sexual abuse material (CSAM).

The newly released dataset, Re-LAION-5B, is essentially an updated version of the previous LAION-5B dataset. It has been revised in accordance with recommendations from various organizations such as the Internet Watch Foundation, Human Rights Watch, the Canadian Center for Child Protection, and the now-defunct Stanford Internet Observatory. This dataset comes in two versions, Re-LAION-5B Research and Re-LAION-5B Research-Safe (which also removes additional NSFW content), both of which have undergone extensive filtering to eliminate thousands of links to known or potentially CSAM-related content, according to LAION.

LAION stated in a blog post, 'We have always been committed to removing illegal content from our datasets and have taken appropriate measures to ensure this from the very beginning. We strictly adhere to the principle of promptly removing illegal content as soon as it is identified.'

It is important to clarify that LAION's datasets do not, and never did, contain images. Instead, they consist of indexes that include links to images and image alt text, all sourced from a different dataset - the Common Crawl, which is a compilation of scraped websites and web pages.

The release of Re-LAION-5B follows an investigation conducted by the Stanford Internet Observatory in December 2023, which revealed that the LAION-5B dataset, specifically its subset LAION-5B 400M, contained at least 1,679 links to illegal images scraped from social media platforms and popular adult websites. The report also pointed out that 400M included links to various inappropriate content such as pornographic imagery, racist language, and harmful social stereotypes.

Although the presence of CSAM in the dataset might not directly impact the performance of models trained on it, LAION decided to temporarily take LAION-5B offline in response to the findings. The Stanford report recommended that models trained on LAION-5B should be deprecated and their distribution ceased, where feasible. This recommendation may have influenced AI startup Runway's decision to remove its Stable Diffusion 1.5 model from the AI hosting platform Hugging Face, as Runway had previously collaborated with Stability AI, the entity behind Stable Diffusion, for model training.

The new Re-LAION-5B dataset, comprising approximately 5.5 billion text-image pairs and released under an Apache 2.0 license, provides metadata that can assist third parties in cleansing existing copies of LAION-5B by eliminating any matching illegal content.

LAION emphasizes that its datasets are intended for research purposes and not for commercial use. However, despite this restriction, some organizations, including Google, have utilized LAION datasets to train their image-generating models.

In total, 2,236 links to suspected CSAM were removed from the dataset by cross-referencing with partner-provided lists of link and image hashes. These links also include the 1,008 links identified in the Stanford Internet Observatory report from December 2023. LAION encourages all research laboratories and organizations still utilizing the old LAION-5B dataset to transition to the Re-LAION-5B datasets as soon as possible.