This new data poisoning tool lets artists fight back against generative AI

https://www.technologyreview.com/2023/10/23/1082189/data-poisoning-artists-fight-generative-ai/

A new tool lets artists add invisible changes to the pixels in their art before they upload it online so that if it’s scraped into an AI training set, it can cause the resulting model to break in chaotic and unpredictable ways. 

The tool, called Nightshade, is intended as a way to fight back against AI companies that use artists’ work to train their models without the creator’s permission. Using it to “poison” this training data could damage future iterations of image-generating AI models, such as DALL-E, Midjourney, and Stable Diffusion, by rendering some of their outputs useless—dogs become cats, cars become cows, and so forth. MIT Technology Review got an exclusive preview of the research, which has been submitted for peer review at computer security conference Usenix.   

AI companies such as OpenAI, Meta, Google, and Stability AI are facing a slew of lawsuits from artists who claim that their copyrighted material and personal information was scraped without consent or compensation. Ben Zhao, a professor at the University of Chicago, who led the team that created Nightshade, says the hope is that it will help tip the power balance back from AI companies towards artists, by creating a powerful deterrent against disrespecting artists’ copyright and intellectual property. Meta, Google, Stability AI, and OpenAI did not respond to MIT Technology Review’s request for comment on how they might respond. 

Zhao’s team also developed Glaze, a tool that allows artists to “mask” their own personal style to prevent it from being scraped by AI companies. It works in a similar way to Nightshade: by changing the pixels of images in subtle ways that are invisible to the human eye but manipulate machine-learning models to interpret the image as something different from what it actually shows. 

The team intends to integrate Nightshade into Glaze, and artists can choose whether they want to use the data-poisoning tool or not. The team is also making Nightshade open source, which would allow others to tinker with it and make their own versions. The more people use it and make their own versions of it, the more powerful the tool becomes, Zhao says. The data sets for large AI models can consist of billions of images, so the more poisoned images can be scraped into the model, the more damage the technique will cause. 

A targeted attack

Nightshade exploits a security vulnerability in generative AI models, one arising from the fact that they are trained on vast amounts of data—in this case, images that have been hoovered from the internet. Nightshade messes with those images. 

Artists who want to upload their work online but don’t want their images to be scraped by AI companies can upload them to Glaze and choose to mask it with an art style different from theirs. They can then also opt to use Nightshade. Once AI developers scrape the internet to get more data to tweak an existing AI model or build a new one, these poisoned samples make their way into the model’s data set and cause it to malfunction. 

Poisoned data samples can manipulate models into learning, for example, that images of hats are cakes, and images of handbags are toasters. The poisoned data is very difficult to remove, as it requires tech companies to painstakingly find and delete each corrupted sample. 

The researchers tested the attack on Stable Diffusion’s latest models and on an AI model they trained themselves from scratch. When they fed Stable Diffusion just 50 poisoned images of dogs and then prompted it to create images of dogs itself, the output started looking weird—creatures with too many limbs and cartoonish faces. With 300 poisoned samples, an attacker can manipulate Stable Diffusion to generate images of dogs to look like cats. 

A table showing a grid of thumbnails of generated images of Hemlock attack-poisoned concepts from SD-XL models contrasted with images from the clean SD-XL model in increments of 50, 100, and 300 poisoned samples.

COURTESY OF THE RESEARCHERS

Generative AI models are excellent at making connections between words, which helps the poison spread. Nightshade infects not only the word “dog” but all similar concepts, such as “puppy,” “husky,” and “wolf.” The poison attack also works on tangentially related images. For example, if the model scraped a poisoned image for the prompt “fantasy art,” the prompts “dragon” and “a castle in The Lord of the Rings” would similarly be manipulated into something else. 

a table contrasting the poisoned concept "Fantasy art" in the clean model and a poisoned model with the results of related prompts in clean and poisoned models, "A painting by Michael Whelan," "A dragon," and "A castle in the Lord of the Rings"

COURTESY OF THE RESEARCHERS

Zhao admits there is a risk that people might abuse the data poisoning technique for malicious uses. However, he says attackers would need thousands of poisoned samples to inflict real damage on larger, more powerful models, as they are trained on billions of data samples. 

“We don’t yet know of robust defenses against these attacks. We haven’t yet seen poisoning attacks on modern [machine learning] models in the wild, but it could be just a matter of time,” says Vitaly Shmatikov, a professor at Cornell University who studies AI model security and was not involved in the research. “The time to work on defenses is now,” Shmatikov adds.

Gautam Kamath, an assistant professor at the University of Waterloo who researches data privacy and robustness in AI models and wasn’t involved in the study, says the work is “fantastic.” 

The research shows that vulnerabilities “don’t magically go away for these new models, and in fact only become more serious,” Kamath says. “This is especially true as these models become more powerful and people place more trust in them, since the stakes only rise over time.” 

A powerful deterrent

Junfeng Yang, a computer science professor at Columbia University, who has studied the security of deep-learning systems and wasn’t involved in the work, says Nightshade could have a big impact if it makes AI companies respect artists’ rights more—for example, by being more willing to pay out royalties.

AI companies that have developed generative text-to-image models, such as Stability AI and OpenAI, have offered to let artists opt out of having their images used to train future versions of the models. But artists say this is not enough. Eva Toorenent, an illustrator and artist who has used Glaze, says opt-out policies require artists to jump through hoops and still leave tech companies with all the power. 

Toorenent hopes Nightshade will change the status quo. 

“It is going to make [AI companies] think twice, because they have the possibility of destroying their entire model by taking our work without our consent,” she says. 

Autumn Beverly, another artist, says tools like Nightshade and Glaze have given her the confidence to post her work online again. She previously removed it from the internet after discovering it had been scraped without her consent into the popular LAION image database. 

“I’m just really grateful that we have a tool that can help return the power back to the artists for their own work,” she says.

via Technology Review Feed – Tech Review Top Stories https://ift.tt/F16CbYD

October 23, 2023 at 12:32PM

Startup Wants to Land Space Drugs Factory in Australia After US Denies Reentry

https://gizmodo.com/startup-wants-to-land-space-drugs-factory-in-australia-1850949756


After struggling to land its first in-space manufacturing capsule in the U.S., Varda Space is now looking down under for future batches of space drugs to reenter through Earth’s atmosphere.

How Invincible’s Omni-Man Joined Mortal Kombat 1

California-based Varda Space Industries announced an agreement with Southern Launch, an end-to-end launch service provider based in Australia, to land a future mission at the company’s Kooniba Test Range in the far west of South Australia. Varda’s upcoming mission could launch as early as mid 2024, according to the company.

Meanwhile, Varda’s first in-space manufacturing capsule, which launched in June, is still stuck in orbit after the company was denied reentry to Earth. The U.S. Air Force denied a request from Varda Space Industries to land its capsule at a Utah training area, while the U.S. Federal Aviation Administration (FAA) did not grant the company permission to reenter Earth’s atmosphere, leaving its first test mission stranded in space.

The capsule was scheduled to land at the Utah Test and Training Range (UTTR) in September, but it is designed to last for up to a year in orbit. The startup continues to confirm the spacecraft’s health and is working with UTTR for a landing site to return its capsule to Earth.

The 264-pound (120-kilogram) capsule is designed to manufacture products in a microgravity environment (to avoid gravity-induced defects) and transport them back to Earth. For its first mission, the first drug-manufacturing experiment succeeded in growing crystals of the drug ritonavir, which is used for the treatment of HIV, in orbit. Protein crystals made in space form larger and more perfect crystals than those created on Earth, according to NASA.

Although the mission succeeded in producing the crystals in space, it missed a crucial part of in-space manufacturing: actually bringing the products back to Earth. A spokesperson from the FAA told TechCrunch at the time that the company’s request was not granted “due to the overall safety, risk and impact analysis.”

Delian Asparouhov, Varda’s president and co-founder, suggested to the media that the issue stemmed from a coordination lapse among parties involved in the company’s first mission. “If you look at some of the initial challenges with our first mission, it ultimately just comes down to the fact that Varda, FAA, and UTTR have never attempted something like this,” Asparouhov told Ars Technica. “It’s pretty complicated to align all these organizations that have a variety of different regulatory approvals and safety officers.”

The Koonibba test range stretches across 8,880 square miles (23,000 square kilometers) of uninhabited land where the in-space manufacturing capsules can reenter. It seems that targeting a different continent altogether might be easier than navigating regulatory frameworks within the United States.

For more spaceflight in your life, follow us on X (formerly Twitter) and bookmark Gizmodo’s dedicated Spaceflight page.

via Gizmodo https://gizmodo.com

October 23, 2023 at 11:13AM

Study finds average new ICE car pollutes more than one from 2013

https://www.autoblog.com/2023/10/21/study-finds-average-new-ice-car-pollutes-more-than-one-from-2013/


The conventional wisdom is that technology and stricter emissions laws have made cars ever cleaner. In theory, a new car purchased today should emit less harmful emissions than one sold 10 years ago. However, a new study has found the opposite is true, due to the increased appetite for SUVs.

Published by the climate action group Possible, and reported on by The Guardian, the study finds that the average new internal combustion car in 2023 is a worse polluter than the average new car sold 10 years ago. That’s because consumers have been increasingly buying SUVs instead of cars. Those vehicles are heavier and burn more fuel. As a result, they are less efficient and emit more CO2 than cars. 

That may not be surprising in itself, but the fact that the market shift is so drastic that it has caused average emissions from ICE vehicles to increase is. Furthermore, the study, which was U.K.-based, found that the wealthiest fifth of consumers bought the heaviest polluters. 

SUVs were more prevalent in affluent areas such as Chelsea and Kensington, both urban areas where off-road utility isn’t much of an issue. Range Rovers and such are jokingly called “Chelsea tractors” in Britain. Possible argues that such buyers would be able to afford electrified cars, and is thus calling for lawmakers to institute a vehicle tax based on emissions.

Of course, the legal landscape is much different in the U.S., where SUVs and crossover are classified as “light trucks,” which means automakers are not subject to the same emissions rules when building them as they would be with cars. It’s why so many companies have abandoned sedans altogether. Until this legal loophole is closed, automakers will continue to push taller-than-necessary vehicles onto the public.

Add to that the threat of increasing pedestrian injury, frontover deaths, a higher risk of rollover, hampered visibility for other drivers, and more tire particulates being shed from heavy vehicles, and there are many reasons SUVs make less sense than cars. For what it’s worth, Possible found that, on average, the least polluting ICE car you can buy in the U.K. in 2023 is a seven-year-old used car.

via Autoblog https://ift.tt/PE4ZQKs

October 21, 2023 at 11:08AM

Battery health tests are critical for buyers of used EVs

https://www.autoblog.com/2023/10/23/battery-health-test-used-electric-car/


LONDON/DETROIT — A race is on to certify battery health and performance in used electric vehicles, with a clutch of startups scrambling to help buyers figure out how much a secondhand EV is really worth.

With traditional combustion-engine cars, mileage and years racked up can quickly tell prospective buyers how much they should fork out. That formula does not work with EVs — whose value depends largely on their battery’s driving range and ability to hold a charge.

Until recently, there was no way to measure battery health, hampering used EV sales. But that is changing as companies rush to scale up EV battery tests — some of which take just minutes.

One of them is Altelium, a UK startup that has a developed an EV battery state-of-health test and certificate launching this year in more than 7,000 U.S. car dealers and over 5,000 UK dealers through dealer service providers including Assurant and GardX.

“If the second-hand car market doesn’t work properly, the new car market doesn’t work properly and the electric transition won’t happen,” said Alex Johns, business development manager at Altelium, which says it has received interest from other markets including China. “We’re in an implementation race.”

A battery typically makes up around 40% of a new EV’s price. How that battery is treated is key. Charging an EV rapidly too often, constantly charging when the battery is nearly full or leaving it for long periods fully charged can degrade its battery more quickly.

Austrian startup Aviloo, which has developed a test for dealers and private individuals, has found that after 100,000 kilometres (62,140 miles) EV battery health can vary by up to 30%.

A consumer who wants a used EV with 90% of its range when new could end up buying one with just 70% because of the previous owner’s bad charging habits — which should potentially shave thousands of euros off its value, said Marcus Berger, CEO of Aviloo, whose investors include Volkswagen.

“With an EV, mileage and age don’t tell you anything,” said Berger. “It’s all about the battery.”

CRITICAL INFORMATION

Automakers provide in-vehicle EV range information that critics say is often excessively rosy, making independent tests vital. A lack of visibility has hurt the EV market.

According to EV battery tracking startup Recurrent, U.S. used EV prices in September were down 32% year-on-year, versus a 7% drop for fossil-fuel models. UK used EV prices were down 23% year-on-year in August while those of fossil-fuel models were up at least 4%, according to AutoTrader, which cited “consumer concerns around battery life in used EVs” as cause for concern.

A price war started by Tesla has also weighed on used EV prices.

AutoTrader and Deutsche Automobil Treuhand data show residual values for three-year old EVs in the UK and Germany are over 10 percentage points lower than fossil-fuel equivalents.

“Knowing the capacity of that (EV) battery is going to be critical,” said Stephanie Valdez Streaty, director of Mobility R&D at Atlanta-based Cox Automotive, which owns Manheim, the world’s largest used-vehicle auction house.

Driverama, which buys around 100,000 used cars in Germany annually for sale across central Europe, uses Aviloo to weed out EVs below 80% battery capacity or with battery defects, said Chief Operating Officer Eldar Vagabov.

‘RELIABLE NOT RUBBISH’

For Michael Willvonseder, 38, an independent battery test was essential before spending 31,000 euros ($32,820) on a 2014 seven-seater Tesla Model S with 240,000 km on it.

The resident of Wiener Neustadt, south of Vienna, used Aviloo and found the battery had 90% of its original capacity — with a range of 412 km versus 456 km when new.

“I want a car that’s reliable, not rubbish, and I need it to last a long time,” Willvonseder said.

The race to properly value used EVs is becoming urgent because of a looming influx of vehicles.

In Europe, for instance, more than 1.2 million new fully-electric cars were sold in 2021 — and many will hit the used market in 2024 when their lease contracts end.

If used prices remain low, that could hurt new EV prices.

“You need a high functioning used-car market for residuals on new cars to be good,” said Scott Case, CEO of Seattle-based Recurrent, which has signed up 20,000 EV owners to track battery data, and is also working with Black Book and dealers.

Owners who care for their batteries could earn a “potential premium of thousands of dollars” when selling, Case said.

Startups face competition from German certification agency TUV Rheinland, which operates in 60 countries. It has launched Battery Quick Check — jointly developed with startup Twaice — in car workshops across Germany and expects to launch in other markets next year.

“People just want less risk,” when buying a used EV, said Battery Quick Check managing director Katharina Alamo Alonso.

via Autoblog https://ift.tt/PE4ZQKs

October 23, 2023 at 07:33AM