DALL-E 2, OpenAI’s powerful text-to-image AI system, can create photos in the style of cartoonists, 19th century daguerreotypists, stop-motion animators and more. But it has an important, artificial limitation: a filter that prevents it from creating images depicting public figures and content deemed too toxic.

Now an open source alternative to DALL-E 2 is on the cusp of being released, and it’ll have no such filter.

London- and Los Altos-based startup Stability AI this week announced the release of a DALL-E 2-like system, Stable Diffusion, to just over a thousand researchers ahead of a public launch in the coming weeks. A collaboration between Stability AI, media creation company RunwayML, Heidelberg University researchers and the research groups EleutherAI and LAION, Stable Diffusion is designed to run on most high-end consumer hardware, generating 512×512-pixel images in just a few seconds given any text prompt.

Stability AI Stable Diffusion

Stable Diffusion sample outputs. Image Credits: Stability AI

“Stable Diffusion will allow both researchers and soon the public to run this under a range of conditions, democratizing image generation,” Stability AI CEO and founder Emad Mostaque wrote in a blog post. “We look forward to the open ecosystem that will emerge around this and further models to truly explore the boundaries of latent space.”

But Stable Diffusion’s lack of safeguards compared to systems like DALL-E 2 poses tricky ethical questions for the AI community. Even if the results aren’t perfectly convincing yet, making fake images of public figures opens a large can of worms. And making the raw components of the system freely available leaves the door open to bad actors who could train them on subjectively inappropriate content, like pornography and graphic violence.

Creating Stable Diffusion

Stable Diffusion is the brainchild of Mostaque. Having graduated from Oxford with a Masters in mathematics and computer science, Mostaque served as an analyst at various hedge funds before shifting gears to more public-facing works. In 2019, he co-founded Symmitree, a project that aimed to reduce the cost of smartphones and internet access for people living in impoverished communities. And in 2020, Mostaque was the chief architect of Collective & Augmented Intelligence Against COVID-19, an alliance to help policymakers make decisions in the face of the pandemic by leveraging software.

He co-founded Stability AI in 2020, motivated both by a personal fascination with AI and what he characterized as a lack of “organization” within the open source AI community.

Stable Diffusion Obama

An image of former president Barack Obama created by Stable Diffusion. Image Credits: Stability AI

“Nobody has any voting rights except our 75 employees — no billionaires, big funds, governments or anyone else with control of the company or the communities we support. We’re completely independent,” Mostaque told TechCrunch in an email. “We plan to use our compute to accelerate open source, foundational AI.”

Mostaque says that Stability AI funded the creation of LAION 5B, an open source, 250-terabyte dataset containing 5.6 billion images scraped from the internet. (“LAION” stands for Large-scale Artificial Intelligence Open Network, a nonprofit organization with the goal of making AI, datasets and code available to the public.) The company also worked with the LAION group to create a subset of LAION 5B called LAION-Aesthetics, which contains AI-filtered images ranked as particularly “beautiful” by testers of Stable Diffusion.

The initial version of Stable Diffusion was based on LAION-400M, the predecessor to LAION 5B, which was known to contain depictions of sex, slurs and harmful stereotypes. LAION-Aesthetics attempts to correct for this, but it’s too early to tell to what extent it’s successful.

Stable Diffusion

A collage of images created by Stable Diffusion. Image Credits: Stability AI

In any case, Stable Diffusion builds on research incubated at OpenAI as well as Runway and Google Brain, one of Google’s AI R&D divisions. The system was trained on text-image pairs from LAION-Aesthetics to learn the associations between written concepts and images, like how the word “bird” can refer not only to bluebirds but parakeets and bald eagles, as well as more abstract notions.

At runtime, Stable Diffusion — like DALL-E 2 — breaks the image generation process down into a process of “diffusion.” It starts with pure noise and refines an image over time, making it incrementally closer to a given text description until there’s no noise left at all.

Boris Johnson Stable Diffusion

Boris Johnson wielding various weapons, generated by Stable Diffusion. Image Credits: Stability AI

Stability AI used a cluster of 4,000 Nvidia A100 GPUs running in AWS to train Stable Diffusion over the course of a month. CompVis, the machine vision and learning research group at Ludwig Maximilian University of Munich, oversaw the training, while Stability AI donated the compute power.

Stable Diffusion can run on graphics cards with around 5GB of VRAM. That’s roughly the capacity of mid-range cards like Nvidia’s GTX 1660, priced around $230. Work is underway on bringing compatibility to AMD MI200’s data center cards and even MacBooks with Apple’s M1 chip (although in the case of the latter, without GPU acceleration, image generation will take as long as a few minutes).

“We have optimized the model, compressing the knowledge of over 100 terabytes of images,” Mosaque said. “Variants of this model will be on smaller datasets, particularly as reinforcement learning with human feedback and other techniques are used to take these general digital brains and make then even smaller and focused.”

Stability AI Stable Diffusion

Samples from Stable Diffusion. Image Credits: Stability AI

For the past few weeks, Stability AI has allowed a limited number of users to query the Stable Diffusion model through its Discord server, slowing increasing the number of maximum queries to stress-test the system. Stability AI says that more than 15,000 testers have used Stable Diffusion to create 2 million images a day.

Far-reaching implications

Stability AI plans to take a dual approach in making Stable Diffusion more widely available. It’ll host the model in the cloud, allowing people to continue using it to generate images without having to run the system themselves. In addition, the startup will release what it calls “benchmark” models under a permissive license that can be used for any purpose — commercial or otherwise — as well as compute to train the models.

That will make Stability AI the first to release an image generation model nearly as high-fidelity as DALL-E 2. While other AI-powered image generators have been available for some time, including Midjourney, NightCafe and Pixelz.ai, none have open sourced their frameworks. Others, like Google and Meta, have chosen to keep their technologies under tight wraps, allowing only select users to pilot them for narrow use cases.

Stability AI will make money by training “private” models for customers and acting as a general infrastructure layer, Mostaque said — presumably with a sensitive treatment of intellectual property. The company claims to have other commercializable projects in the works, including AI models for generating audio, music and even video.

Stable Diffusion Harry Potter

Sand sculptures of Harry Potter and Hogwarts, generated by Stable Diffusion. Image Credits: Stability AI

“We will provide more details of our sustainable business model soon with our official launch, but it is basically the commercial open source software playbook: services and scale infrastructure,” Mostaque said. “We think AI will go the way of servers and databases, with open beating proprietary systems — particularly given the passion of our communities.”

With the hosted version of Stable Diffusion — the one available through Stability AI’s Discord server — Stability AI doesn’t permit every kind of image generation. The startup’s terms of service ban some lewd or sexual material (although not scantily-clad figures), hateful or violent imagery (such as antisemitic iconography, racist caricatures, misogynistic and misandrist propaganda), prompts containing copyrighted or trademarked material, and personal information like phone numbers and Social Security numbers. But while Stability AI has implemented a keyword filter in the server similar to OpenAI’s, which prevents the model from even attempting to generate an image that might violate the usage policy, it appears to be more permissive than most.

(A previous version of this article implied that Stability AI wasn’t using a keyword filter. That’s not the case; TechCrunch regrets the error.)

Stable Diffusion women

A Stable Diffusion generation, given the prompt: “very sexy woman with black hair, pale skin, in bikini, wet hair, sitting on the beach.” Image Credits: Stability AI

Stability AI also doesn’t have a policy against images with public figures. That presumably makes deepfakes fair game (and Renaissance-style paintings of famous rappers), though the model struggles with faces at times, introducing odd artifacts that a skilled Photoshop artist rarely would.

“Our benchmark models that we release are based on general web crawls and are designed to represent the collective imagery of humanity compressed into files a few gigabytes big,” Mostaque said. “Aside from illegal content, there is minimal filtering, and it is on the user to use it as they will.”

Stable Diffusion Hitler

An image of Hitler generated by Stable Diffusion. Image Credits: Stability AI

Potentially more problematic are the soon-to-be-released tools for creating custom and fine-tuned Stable Diffusion models. An “AI furry porn generator” profiled by Vice offers a preview of what might come; an art student going by the name of CuteBlack trained an image generator to churn out illustrations of anthropomorphic animal genitalia by scraping artwork from furry fandom sites. The possibilities don’t stop at pornography. In theory, a malicious actor could fine-tune Stable Diffusion on images of riots and gore, for instance, or propaganda.

Already, testers in Stability AI’s Discord server are using Stable Diffusion to generate a range of content disallowed by other image generation services, including images of the war in Ukraine, nude women, an imagined Chinese invasion of Taiwan and controversial depictions of religious figures like the Prophet Muhammad. Doubtless, some of these images are against Stability AI’s own terms, but the company is currently relying on the community to flag violations. Many bear the telltale signs of an algorithmic creation, like disproportionate limbs and an incongruous mix of art styles. But others are passable on first glance. And the tech will continue to improve, presumably.

Nude women Stability AI

Nude women generated by Stable Diffusion. Image Credits: Stability AI

Mostaque acknowledged that the tools could be used by bad actors to create “really nasty stuff,” and CompVis says that the public release of the benchmark Stable Diffusion model will “incorporate ethical considerations.” But Mostaque argues that — by making the tools freely available — it allows the community to develop countermeasures.

“We hope to be the catalyst to coordinate global open source AI, both independent and academic, to build vital infrastructure, models and tools to maximize our collective potential,” Mostaque said. “This is amazing technology that can transform humanity for the better and should be open infrastructure for all.”

Stable Diffusion Zelensky

A generation from Stable Diffusion, with the prompt: “[Ukrainian president Volodymyr] Zelenskyy committed crimes in Bucha.” Image Credits: Stability AI

Not everyone agrees, as evidenced by the controversy over “GPT-4chan,” an AI model trained on one of 4chan’s infamously toxic discussion boards. AI researcher Yannic Kilcher made GPT-4chan — which learned to output racist, antisemitic and misogynist hate speech — available earlier this year on Hugging Face, a hub for sharing trained AI models. Following discussions on social media and Hugging Face’s comment section, the Hugging Face team first “gated” access to the model before removing it altogether, but not before it was downloaded more than a thousand times.

War in Ukraine Stability AI

“War in Ukraine” images generated by Stable Diffusion. Image Credits: Stability AI

Meta’s recent chatbot fiasco illustrates the challenge of keeping even ostensibly safe models from going off the rails. Just days after making its most advanced AI chatbot to date, BlenderBot 3, available on the web, Meta was forced to confront media reports that the bot made frequent antisemitic comments and repeated false claims about former U.S. President Donald Trump winning reelection two years ago.

The publisher of AI Dungeon, Latitude, encountered a similar content problem. Some players of the text-based adventure game, which is powered by OpenAI’s text-generating GPT-3 system, observed that it would sometimes bring up extreme sexual themes, including pedophelia — the result of fine-tuning on fiction stories with gratuitous sex. Facing pressure from OpenAI, Latitude implemented a filter and started automatically banning gamers for purposefully prompting content that wasn’t allowed.

BlenderBot 3’s toxicity came from biases in the public websites that were used to train it. It’s a well-known problem in AI — even when fed filtered training data, models tend to amplify biases like photo sets that portray men as executives and women as assistants. With DALL-E 2, OpenAI has attempted to combat this by implementing techniques, including dataset filtering, that help the model generate more “diverse” images. But some users claim that they’ve made the model less accurate than before at creating images based on certain prompts.

Stable Diffusion contains little in the way of mitigations besides training dataset filtering. So what’s to prevent someone from generating, say, photorealistic images of protests, “evidence” of fake moon landings and general misinformation? Nothing really. But Mostaque says that’s the point.

Stable Diffusion protest

Given the prompt “protests against the dilma government, brazil [sic],” Stable Diffusion created this image. Image Credits: Stability AI

“A percentage of people are simply unpleasant and weird, but that’s humanity,” Mostaque said. “Indeed, it is our belief this technology will be prevalent, and the paternalistic and somewhat condescending attitude of many AI aficionados is misguided in not trusting society … We are taking significant safety measures including formulating cutting-edge tools to help mitigate potential harms across release and our own services. With hundreds of thousands developing on this model, we are confident the net benefit will be immensely positive and as billions use this tech harms will be negated.”

Read more

This is today’s edition of The Download, our weekday newsletter that provides a daily dose of what’s going on in the world of technology.

Deep learning can almost perfectly predict how ice forms

The news: Researchers have used deep learning to model more precisely than ever before how ice crystals form in the atmosphere. Their paper, published this week in PNAS, hints at the potential to significantly increase the accuracy of weather and climate forecasting.

How they did it: The researchers used deep learning to predict how atoms and molecules behave. First, models were trained on small-scale simulations of water molecules to help them predict how electrons in atoms interact. The models then replicated those interactions on a larger scale, with more atoms and molecules. It’s this ability to precisely simulate electron interactions that allowed the team to accurately predict physical and chemical behavior.

Why it matters: If researchers could model how ice forms more accurately, it could give a big boost to weather prediction overall, especially those involving whether and how much it’s likely to rain or snow. It could also aid climate forecasting by improving the ability to model clouds, which affect the planet’s temperature in complex ways. Read the full story.

—Tammy Xu

China has censored a top health information platform

China has censored DXY, the country’s leading health information platform and online community for Chinese doctors. On August 9, DXY fell silent across its social media channels, where it boasts over 80 million followers. While Weibo offered the vague explanation that the platform’s five channels had violated “relevant laws and regulations,”  Nikkei Asia reported that the order came from regulators and won’t end without official approval.

In the increasingly polarized social media environment in China, healthcare is becoming a target for controversy. The suspension has met with a gleeful social reaction among nationalist bloggers, who accuse DXY of receiving foreign funding, bashing traditional Chinese medicine, and criticizing China’s health-care system, illustrating just how politicized health topics have become. Read the full story.

—Zeyi Yang

Podcast: How to craft effective AI policy

When are policy makers going to catch up with the speed of AI innovation? The latest episode of our award-winning podcast, In Machines We Trust, examines what it will take to make effective AI policy and equitable access to technology. It was recorded before a live audience at MIT Technology Review’s annual AI conference, EmTech Digital. Listen to it for yourself.

The must-reads

I’ve combed the internet to find you today’s most fun/important/scary/fascinating stories about technology.

1 The FTC is planning to regulate how Big Tech collects data
It has surveillance advertising and targeting algorithms in its sights. (WSJ $)
+ Meta defended injecting code into sites to track users across the web. (The Guardian)
+ Google has been fined in Australia for misleading consumers about location data collection. (TechCrunch)

2 Predicting the US climate bill’s effects is harder than you might think
We don’t know how effectively or quickly its tax credits will cut emissions. (MIT Technology Review)
+ Emissions modeling is not an exact science. (Scientific American $)
+ The bill could have major ramifications for electric vehicle manufacturers. (NYT $)

3 A bioengineered cornea can restore sight to blind people
At a fraction of the cost of traditional cornea transplants from humans. (MIT Technology Review)

4 This is why thinking deeply makes you tired
Feeling exhausted is your brain’s way of balancing out chemical changes. (Economist $)
+ Self-taught AI could shine a light on how the brain works. (Quanta)

5 Micro-robots could replace your toothbrush 🦷
By clearing biofilm from your teeth and wriggling between them. (Neo.Life)
+ Drilling underground tunnels is another task robots might take on someday. (Wired $)

6 Caste discrimination is overshadowing Silicon Valley
India’s discriminatory caste system is affecting tech workers at Google and other tech companies across the world. (New Yorker $)

7 How Roomba took over our homes
And became the most recognizable consumer robot in the process. (WSJ $)
+ Its new owner, Amazon, wants to make a TV show of Ring doorbell footage. (Ars Technica)

8 The Nokia ringtones of the 2000s deserve some respect 🎶
Believe it or not, they’re a neglected part of electronic music history. (The Verge)

9 The origins of the Dark Brandon meme are complicated
Democrats have tried, with moderate success, to reclaim it from facist corners of the internet. (Vox)
+ Its rise is another awkward moment in the meme wars. (The Atlantic $)
+ Twitter is swarming with bizarre theories about Ivana Trump’s casket. (Motherboard)

10 TikTokers are collecting the tags from their expensive athleisure
Just…why? (Motherboard)

Quote of the day

“We just see the workforce without the lens of people who had been in it pre-covid.”

—Ginsey Stephenson, 23, tells the Washington Post why younger workers are less prepared to compromise on flexible working from home arrangements.

The big story

Dementia content gets billions of views on TikTok. Whose story does it tell?

February 2022

A dementia diagnosis can instantly change how the world sees someone. The internet, at its best, can help make the reality of living with dementia more visible. And for some, the internet is the only place they can connect with others going through the same thing. But among the popular #Dementia hashtag on TikTok, it’s easy to find viral videos in which care partners mock dementia patients and escalate arguments with them on camera.

Creators have not settled on the ethics of making public content about someone who may no longer be able to consent to being filmed. Meanwhile, people who are themselves living with dementia are raising their own questions about consent, and emphasizing the harms caused by viral content that perpetuates stereotypes or misrepresents the full nature of the condition. Read the full story.

—Abby Ohlheiser

We can still have nice things

A place for comfort, fun and distraction in these weird times. (Got any ideas? Drop me a line or tweet ’em at me.)

+ Polynesia’s history of tattooing spans back more than 3,000 years, which is pretty incredible.
+ Would you decorate your home with circus-inspired elements?
+ Panic over—a giant tortoise on a mission for love is set to make a full recovery after getting a bit too close to a train.
+ This teddy bear is a straight up chiller.
+ Anonymous messaging apps tend to be more trouble than they’re worth.

Read more

The Inflation Reduction Act of 2022, which marks the US’s largest-ever investment in climate and clean energy at nearly $400 billion, is a clear environmental victory. But just how far that funding will go in cutting carbon emissions is yet to be seen, and the results are far less certain that some have claimed. 

Estimates predict that the bill’s mix of tax credits, grants, and loan programs could result in up to a billion tons in annual emissions reductions by 2030. According to several analyses, this would mean the US could reduce greenhouse-gas emissions by up to 40% from their peak levels in 2005. 

While models have converged on this 40% reduction as a common estimate, some economists stress that tax credits can have uncertain effects, and predicting the actual future of emissions reductions is tricky. 

One reason for the uncertainty is that the bill relies largely on financial incentives rather than regulations or mandates, so its effectiveness depends on consumer choices and business decision-making. Both of those can be unpredictable.

For example, most of the emissions cuts are expected to come from the power industry, as the bill provides generous incentives for companies to build more renewable electricity. But local opposition to new construction, and other barriers to clean-energy projects such as solar and wind farms, could halt progress, discouraging investment and slowing deployment. 

Free money

Tax credits are at the heart of the Inflation Reduction Act’s strategy for cutting greenhouse-gas emissions.

Some of the tax credits in the bill are for individuals—there’s about $35 billion for people looking to upgrade and electrify their homes, as well as a $7,500 credit for purchasing new electric vehicles and a $4,000 credit for used ones. But how many people will decide to buy these cars will likely depend on the health of the economy, how consistent the supply is, and whether they find them appealing. 

Other tax credits are for companies and public utilities building clean-energy projects. This is a huge chunk of the bill—roughly $160 billion, including programs designed to keep nuclear power plants running. 

These credits come in two forms. Investment tax credits are calculated as a fraction of the initial investment to build a project, starting at 30%; if the plant costs a billion dollars, the builders get a $300 million credit. Production tax credits, on the other hand, are based on a plant’s output, paying out a couple of cents for every kilowatt-hour of electricity produced. 

A company looking to build a clean-energy project can choose between a production and an investment tax credit. Startups without a tax burden can sell their tax credits to another company that has one, so they can still cash in. 

In the power sector, tax credits have been a long-standing strategy—wind and solar projects have qualified for credits for years, and the funding has been credited with helping those technologies succeed, says Karen Palmer, an energy economist at Resources for the Future. The new bill broadens these credits to include other clean-energy technologies.

The logic behind tax credits is simple. “If you make clean energy cheaper, people are going to produce more of it,” says Nat Keohane, an economist and the president of the Center for Climate and Energy Solutions.

Uncertainties

Economists agree that the new tax credits will reduce emissions—the question is how much. Early estimates come from three major modeling groups: Princeton’s REPEAT Project, Rhodium Group, and Energy Innovation. All agree that the new legislation should help get the US to about a 40% reduction in emissions by 2030.

“People don’t necessarily always do what is, on paper, the most economic.”

Robbie Orvis

In the REPEAT group’s estimate, almost 40% of the emissions reductions resulting from the bill will come from the power sector, largely driven by the huge tax credit programs for clean energy. An additional 30% will be in transportation, the group predicts, and another 15% in heavy industry.

Not all that expected progress is because of the bill. The US is emitting about 15% less today than it did in 2005, and with policies in place before the bill passed, the country was already on track for reductions of about 25% below 2005 levels by the end of the decade.  

And economists are quick to point out that while models can give a broad sense of how policy could shift future emissions, there are plenty of ways that picture could change.

In a report last year, Rhodium Group said the US was on track for emissions reductions of 17 to 30% by 2030. This year, in its June report, that estimate crept up to between 24 and 35%.

The difference in the model results wasn’t because of any specific new policy, but largely because of how fossil-fuel prices shot up after Russia invaded Ukraine and how the US government started responding to inflation concerns, says Ben King, associate director for Rhodium Group’s climate and energy program. Any factors that shift the price of fossil fuels will likely impact emissions predictions.

Human decision-making can also cause models and reality to misalign. “People don’t necessarily always do what is, on paper, the most economic,” says Robbie Orvis, who leads the energy policy solutions program at Energy Innovation.

This is a common issue for consumer tax credits, like those for electric vehicles or home energy efficiency upgrades. Often people don’t have the information or funds needed to take advantage of tax credits.

Likewise, there are no assurances that credits in the power sectors will have the impact that modelers expect. Finding sites for new power projects and getting permits for them can be challenging, potentially derailing progress. Some of this friction is factored into the models, Orvis says. But there’s still potential for more challenges than modelers expect.

Not enough

Putting too much stock in results from models can be problematic, says James Bushnell, an economist at the University of California, Davis. For one thing, models could overestimate how much behavior change is because of tax credits. Some of the projects that are claiming tax credits would probably have been built anyway, Bushnell says, especially solar and wind installations, which are already becoming more widespread and cheaper to build.

Still, whether or not the bill meets the expectations of the modelers, it’s a step forward in providing climate-friendly incentives, since it replaces solar- and wind-specific credits with broader clean-energy credits that will be more flexible for developers in choosing which technologies to deploy.

Another positive of the legislation is all its long-term investments, whose potential impacts aren’t fully captured in the economic models. The bill includes money for research and development of new technologies like direct air capture and clean hydrogen, which are still unproven but could have major impacts on emissions in the coming decades if they prove to be efficient and practical. 

Whatever the effectiveness of the Inflation Reduction Act, however, it’s clear that more climate action is still needed to meet emissions goals in 2030 and beyond. Indeed, even if the predictions of the modelers are correct, the bill is still not sufficient for the US to meet its stated goals under the Paris agreement of cutting emissions to half of 2005 levels by 2030.

The path ahead for US climate action isn’t as certain as some might wish it were. But with the Inflation Reduction Act, the country has taken a big step. Exactly how big is still an open question. 

Read more
1 … 2,354 2,355 2,356 2,357 2,358 … 3,445