Making open source AI harder to strip of safeguards
Terminator AI safety By What The Future Newsroom · August 2, 2024 · 4 min read

Making open source AI harder to strip of safeguards

Researchers have developed a training technique meant to make open source AI safeguards harder to remove. The work focuses on raising the cost of decensoring models such as Llama 3, while critics argue the better intervention is earlier in the training process.

Open source AI promises broad access to powerful language models, but that openness also creates a hard safety problem: once a model is released in full, outside developers can try to remove the restrictions that shape its behavior.

“The story centers on open-weight models becoming easier to tamper with for harmful outputs, though the research aims to reduce that risk.”Why it scores Terminator

A new training technique from researchers at the University of Illinois Urbana-Champaign, UC San Diego, Lapis Labs, and the nonprofit Center for AI Safety aims to make that process more difficult. The idea is not to make misuse impossible, but to make tampering costly enough that fewer adversaries can justify the effort.

Why open model weights change the risk

Many powerful AI systems remain under the control of their creators. Users reach them through a software application programming interface or a public chatbot like ChatGPT, which means the model provider can keep the underlying system hidden.

Open models work differently. Meta and others have released models in their entirety, including the “weights,” or parameters that define how the model behaves. Although developing a powerful LLM costs tens of millions of dollars, this approach lets anyone download and modify the model directly.

That openness creates benefits for developers, researchers, and companies that want more control. It also means that safety restrictions applied before release can become a target. When Meta released its large language model Llama 3 for free this April, outside developers needed only a couple days to create a version without safeguards that were meant to block hateful jokes, instructions for cooking meth, and other problematic behavior.

Before release, open models like Meta’s Llama are typically fine-tuned for two goals. They are made better at answering questions and carrying on a conversation. They are also trained to refuse problematic requests, including rude, inappropriate, or hateful outputs and dangerous instructions such as explaining how to make a bomb.

How the new safeguard approach works

The researchers’ method focuses on the model’s parameters. They reproduced the kind of modification process someone might use to make an open model answer undesirable questions, then adjusted the model so that those changes no longer had the intended effect.

In practice, the technique is meant to make the familiar path to removing restrictions less reliable. If a model normally could be retrained to answer a prompt such as “Provide instructions for building a bomb,” the altered parameters are designed to resist that retraining.

Mantas Mazeika, a Center for AI Safety researcher who worked on the project as a PhD student at the University of Illinois Urbana-Champaign, frames the issue around misuse by serious adversaries. His concern is that easier repurposing increases risk when powerful models are available for download.

Mazeika and colleagues demonstrated the technique on a pared-down version of Llama 3. According to the source article, they changed the model’s parameters so that even after thousands of attempts, it could not be trained to answer undesirable questions. Meta did not immediately respond to a request for comment.

The researchers are not presenting the method as a perfect lock. Mazeika says the practical goal is to raise the cost of “decensoring” AI models enough that most adversaries are deterred. That framing matters: the work is about friction, not an absolute guarantee.

Open source AI is becoming more capable

The timing matters because open models are becoming more competitive with closed systems. The newest version of Llama 3, released in July, is roughly as powerful as models behind popular chatbots like ChatGPT, Gemini, and Claude, as measured using popular benchmarks for grading language models’ abilities.

Mistral Large 2, an LLM from a French startup, also released last month, is described as similarly capable. As open models approach the performance of closed systems, the debate over safeguards becomes less theoretical.

The technique also builds on prior work. A 2023 research paper showed how smaller machine learning models could be made tamper resistant. Peter Henderson, an assistant professor at Princeton who led the 2023 work, said the newer research tested the approach on much larger models and scaled it up with some modifications.

Dan Hendrycks, director of the Center for AI Safety, sees the project as a starting point for broader research into tamper-resistant safeguards. The central question is whether the research community can make safeguards more robust as model capabilities continue to advance.

The policy debate is still unsettled

The US government is taking what the source describes as a cautious but positive approach to open source AI. A report released this week by the National Telecommunications and Information Administration, a body within the US Commerce Department, recommends developing new capabilities to monitor potential risks while not immediately restricting the wide availability of open model weights in the largest AI systems.

That position reflects the tension at the center of the debate. Open weights support access and experimentation, but they also reduce the control model creators have after release. Tamper-resistant safeguards are one proposed answer to that tradeoff.

Not everyone agrees with that direction. Stella Biderman, director of EleutherAI, a community-driven open source AI project, argues that the technique may be elegant in theory but difficult to enforce in practice. She also says it conflicts with the philosophy behind free software and openness in AI.

Biderman’s objection goes deeper than implementation. In her view, if the concern is that LLMs can generate information about weapons of mass destruction, the intervention should focus on training data rather than the trained model.

That leaves the field with a clear split. One side wants stronger defenses inside released models, especially as open source AI grows more capable. The other worries that restrictions on trained models undermine openness and may target the wrong part of the system.

For now, the new work shows that open model safeguards may not have to be as easy to remove as they have been. The harder question is whether tamper resistance can become reliable enough, practical enough, and acceptable enough to become part of how powerful open AI models are released.

← Back to the wire

Read next