259 points · by PaulHoule · 2y ago · 121 comments
I feel that this needs a good threat model analysis. Like, you possess an fp32 model, which someone has fine-tuned to forget some facts, which you can then quantize to recover those facts. When would this lead to a dangerous situation?
i.e. We know that our model would be useless without your source. So we will take the useful part of your source and obfuscate the rest so that we can charge our users for utility provided by you without having to pay you anything.
Isn't this basically the entirety of the latest AI craze? They basically took a public good - the information available on the Internet - and hid behind some thin veneer of "we are not stealing, we just trained an AI on the information" and then they sell it. Note, I'm intentionally not writing "free information available on the Internet", because information is not free. Someone has to pay (in time or money) to generate it and host it. They might have provided it gratis to the public, but nobody asked them if an AI can come along, harvest it all and regurgitate it without a hint of reference to the original source.
Much of that information is not even free in the monetary sense, it is supported by ads. The AI will not only not click through the \ds, it won't even generate repeat traffic as once the information is harvested, there's no need to access the source anymore.
If you really think about it, it's a brilliant business model. It's a perfect theft, where the affected group is too diffuse and uncoordinated, it's extremely difficult to prove anything anyway, and the "thieves" are flush with investment capital so they sleep well at night.
LLMs have undoubtedly great utility as a research tool and I'm not at all against them. I think they (or a model similar in objectives) are the next step in accessing the knowledge humanity has amassed. However, there's a distinct danger that they will simply suck they sources dry and leave the internet itself even more of a wasteland than it has already become. I have no illusions that AI companies will simply regress to the lowest cost solution of simply not giving anything back to whoever created the information in the first place. The fact that they are cutting off the branch that they are sitting on is irrelevant for them, because the current crop of owners will be long gone with their billions by the time the branch snaps.
1.Understanding the world, for example by creating a statistical model of entire languages, as languages are already a model of reality.
2. Recapitulating (stealing) specific instances of information in ways that people often don't find acceptable. Grabbing a news article without permission, and providing that to your paying users without paying for the work. Recreating trademarked characters or the style of a particular living artist, without compensation. Deepfake porn.
The first seems generally valuable to society as a whole and a morally (IANAL) legitimate creative transformation, even of copyrighted work.
The second use seems exactly as you describe.
Societies could navigate this by encouraging and promoting the first use, and criminalizing or removing the ability to be paid from the second.
Of course, what is happening is that groups of economic interests will use their resources and clout to advocate for both, or against both.
On the topic of 'the information isn't free' I'm curious if you have the same opinion of encyclopedia companies. You must admit there's at least some parallels in that they also consolidate a large amount of information that was 'generated' from others.
Or how about the information you and I have gained from books and the internet? Sure we might 'pay' for it once by buying a book or seeing some ad, but then we might use that information to make thousands of dollars through employment without ever going back to buy another copy of that book. An even more 'egregious' example could be teachers. They're literally taking the knowledge of others, 'regurgitating' it to our children for money, and 'not giving anything back to whoever create the information in the first place'.
> there's a distinct danger that they will simply suck they sources dry and leave the internet itself even more of a wasteland than it has already become
Maybe. There's the whole AGI/ASI argument here in that they/we might not _need_ humans to create information in the same way we don't need human-calculators any more.
Barring that though I do hear what you're saying around a lowering value to creating 'new internet information'. Personally I can't see it affecting my internet use that much though as there's basically two categories my internet information gathering fall in to:
1. I want to know something, give me the short quick answer. This category is already full of sites that's are just trying to hack the search algos to show their version of copy-pasted info. I don't really care which I go to and if AI kills their business, oh well.
2. I want follow a personality. This category is where I have bloggers/youtubers/etc in RSS feeds and the like. I want to hear what they're saying because I find them and the topics interesting. I can't see this being replaced by AI any time soon.
LLMs just do this on a bigger scale, and not as well.
I think what they sell is more fairly characterized as "hosted inference to a big pretrained model" with perhaps also some optimism that their stuff will improve in the background. The only substantial moat these companies have is their ability to pay for the compute to train contemporary generative models. The public good remains a public good for all to profit from, small-scale or large.
> Someone has to pay ... but nobody asked them if an AI can come along, harvest it all and regurgitate it without a hint of reference to the original source.
Practically speaking, we don't actually need to centralize content to pay for hosting it. People just do it because it makes money. The price of time required to create some work distributed among viewers feels like a vague philosophical argument to me, especially when those works are merely being dispassionately observed by math objects. Currently the price appears to be "whatever I feel morally obliged to and/or can get away with".
> It's a perfect theft
...if it is legally theft to begin with, and not simply fair use. To me the current methods of training e.g. LLMs feel inherently transformative, like a massive partial hash of the internet that you can query. Even if it is ruled as theft in the future, large AI companies will only be further advantaged as they're presently buying off the people that will actually be able to sue them.
https://searchengineland.com/openais-growing-list-of-partner...
(This applies to functions of parameters too)
The threat model here is probably more accidental un-unlearning these facts and distributing those models (as is common with quantized models). Most of this "dangerous" information is readily available in textbooks, patents, amateur chemistry forums etc. But as a society we generally assume that those smart enough to find and understand that kind of information are smart enough not to abuse it. We just don't want Mythbusters to explain it on prime-time TV, or ChatGPT explaining it to people
Mythbuster broadcasting poisons recipes could seeds bad ideas that wouldn’t been triggered otherwise. ChatGPT wouldn’t give a poisons recipe if not asked specifically.
I hadn't really thought of a good reason why we e.g. sell old army manuals with step by step guides on making almost anything but there's no (afaik) HBO mini-series "Learn guerilla warfare"
There's an almost complete step by step guide for most explosives on Wikipedia.
The problem is that decisionmakers and regulators are excessively dumb - "AI bad" reigns supreme over the fact that Wikipedia tells you more about making bombs, even nuclear bombs if you want, than ChatGPT.
AI in its current form is still bad - from all the IP issues over the environmental cost to it enabling spam, harassment and deception on a speed, scale and easiness not seen before in history - but most of the stuff where "regulators" cry about is just frankly bullshit.
1. Train normal full precision model.
2. Quantize down until performance is borderline and then perform the unlearning process.
3. Train/convert/upsample back to FP for subsequent tuning iterations.
Seems like you can create an information bottleneck this way. The echos of the forgotten may have trouble fitting through something that narrow.
This reminds of this very interesting paper [1] that finds that it's fairly "easy" to uncensor a model (modify it's refusal thingy)
[1] https://www.reddit.com/r/LocalLLaMA/comments/1cerqd8/refusal...
The information may still be in there, but undetectable by any known means. You can definitely certainly remove the information, setting every weight in the model to zero will do that. Identifying when you have achieved the goal of completely removing information while not destroying other information might not be possible.
I'm not sure if that will mean there might in the future be something analogous to zero-day unlearning reversal exploits.
Whenever I hear about AI craze, I remind myself of the 3D printers craze from 10-15 years ago. "Death blow to factories", "We will print our own cars", "We will print our own food". I imagine LLM AI will follow the same fate - yes, but not really.
The craze is that all combined breakthroughs across all types of AI/ML, including techniques that have not yet been imagined, represent a theoretical near-future technology that changes everything.
Besides, 10-15 years is nothing. I don't think 3D printers are a truly transformative technology compared to AI, however let's remember that WW2 aside, it took both airplanes and computers about 30-40 years until they had a broad societal/consumer impact (excluding military uses)
3D printers may radically transform all manufacturing eventually but it will take many iterations to get there. Right now it would theoretically be possible to 3D print quite a lot of what we make but traditional manufacturing methods are still cheaper and work fine, so there's no forcing function. If we tried to do something like build a self-sufficient settlement in space, that would be a place where you'd see 3D printing taken a lot further. You would not have large amounts of human labor or big supply chains, so you'd need portable self-contained versatile manufacturing.
LLMs are not going to replace human writers, programmers, etc. any time soon for anything but the most menial work. They will augment them. For programming they're basically a smarter more versatile version of autocomplete. I've also found them useful to look up concepts, do research, and summarize and document both code and text. None of those things replace me but they let me get more done a little faster.
In the very long term you could see LLMs becoming powerful enough to actually synthesize whole applications outside of contrived examples, but like 3D printing replacing all manufacturing it will take many iterations and may require a forcing function.
You can't really beat injection molding in term of throughput and cost at the large scale.
Certainly 3D printing will become more common, and bigger 3D print farms will open up, driving down costs, but will never reach injection molding in term of being cheap on a large scale. What 3D print farms can do is the ability to change what get produced on the fly allowing responsiveness to market demand.
Really, a lot of the amazing stuff in 3D printing are things people designed. If you know CAD, the world is your oyster.
Strong disagree here.
I remember that craze, especially since I had heard of it often before joining a company working on 3d printing in a fairly serious way (Autodesk).
And the thing is, I had no prior experience with 3d printing, but it took me about 2 months to realize that everything talked about in the press was bullshit. It just made zero sense - from a technical perspective, we were nowhere close to getting anything like what some articles claimed (printing our own cars). From a business sense, there were stunningly few places where using 3d printing instead of traditional manufacturing made any kind of improvement.
(I don't mean to overstate this - 3d printing is awesome and has plenty of real use cases. It was the media around it that was overhyped.)
Most people who actually knew anything about 3d printing realized the media were... overly enthusiastic, to put it mildly. And you can see that many years later, none of those grand visions materialized.
With AI, on the other hand, we have two huge differences:
1. It's already proven massively useful, and has already had 100 times the impact that 3d printing ever had.
Seriously, when was the last time you found a product that was effectively launched 4 years ago, and that has achieved such stunning market penetration? ChatGPT is legit the fastest growing product in history in terms of users.
2. Insiders are, mostly, incredibly enthusiastic about the technology, and think both that it can get much better, and that the current potential is as yet untapped. That's my view, for sure.
Misleading. Fastest 1 million users is not a meaningful metric to compare products over a time when population itself is exploding.
(If anything, better criticisms are that the amount of people with access to the internet has grown a lot, which is far more true. Or that what counts as a user can be very different for different services.
I still think it's a good-enough metric to be able to say that ChatGPT has achieved some pretty serious level of success and adoption, enough to put ideas that AI is just a lot of hot air to rest.)
To your point, it does put into question the idea of whether these methods can actually be considered truly "unlearning" from an information-theoretic perspective (or if it is the equivalent of e.g. just putting `if (false)` around the still latent knowledge)
But say you or your AI model take a blow to the head or a quantization, maybe you keep the knowledge of X but not the knowledge that told you not to talk about X. In that framing i think it's pretty straightforward.
If we imagine the neural net as code. As in the weights are the source, the fine tuning may effectively hack that code to not return certain things.
Infact that is kinda what fine tuning is.
Therefore you may have just built a firewall around certain outputs.
But quantizing could make those recent edits disappear. They are too subtle to survive.
Whereas quantizing doesn't destroy all knowledge as evidenced by popular quantized models.
Also: @simonw incase he has alerts. Would be perfect topic for him to write up.
Quantization changes the calculations, and now the knowledge is available.
Floating point always struck me as a strange representation for language. If we zoomed down on just one variable does it have some set of meanings like
https://vinaire.me/2019/07/17/scn-8-8008-the-emotional-scale...
which are on some kind of gradient more-or-less but end up with special meanings associated with particular ranges? I can picture carefully designed neural circuits that could decode such a variable and how you'd build a network that's specifically designed to do so, but it's not intuitive that neural networks would learn to have a structure like that. (e.g. I can believe a scale from "good" to "bad" but not there being a large number of specific meanings at different values)
If you think about it that way you'd think some kind of binary network could be highly effective, that doesn't seem to be the case, but it seems neural networks don't really use more than about 4 bits worth of precision internally.
These "unlearning" systems aren't really removing the "engram" of the memory in the network but they are rather learning a new behavior to suppress certain outputs. (It's not too different from the problem of incrementally adding new knowledge to the network, except that what it is learning in phase 2 is quite different from general learning) If you didn't want to really screw a network up you can imagine adding a new behavior by adding another bit of precision. The network keeps its old behavior at low precision but at higher precision the network makes distinctions that are important to the "(un)learned" behavior.
It's very common, in machine learning, to use 'dropout layers' [1] during training - where different, random chosen values are temporarily turned off at each training stage.
The intention is to ensure the network learns not to rely overmuch on any single value. Why have your cat-recognition neural network have a single whisker detector, when you could have ten whisker detectors and combine their outputs?
I could well believe that, after intentionally ensuring knowledge of whiskers was redundant, removing that knowledge would be complicated.
It does draw concern to the idea that anything the AI model might be doing is still using the 'bad' information even if it has learned how to not show it directly.
So it seems you either need to prevent the learning of unwanted stuff during base training, or the unlearning of a base model needs to be quantization-aware?
I think a better analogy is that it’s updating the weights to never produce certain statements. It still uses the unwanted input to determine the general shape of the function it learns, but that then is tweaked to just avoid it making statements about it (just because the learned function supposedly is the best obtainable from the training data, so you want to stay close to it)
As a hugely simplified example, let’s say that f(x)=(x-2.367)² + 0.9999 is the best way to describe your training data.
Now, you want your model to always predict numbers larger than one, so you tweak your formula to f(x)=(x-2.367)² + 1.0001. That avoids the unwanted behavior but makes your model slightly worse (in the sense of how well it describes your training data)
Now, if you store your model with smaller floats, that model becomes f(x)=(x-2.3)² + 1. Now, an attacker can find an x where the model’s outcome isn’t larger than 1.
Is machine "unlearning" some retraining process to try to reobscure certain data so it doesn't show in outputs that is, outputs from tested inputs that used to show the data), but it is still encoded in there somewhere depending on bovel inputs to activate it?
Is that scout right?
This is a great question as applies to LLM's (and philosophically, as applies to knowledge in general)... in the context of an LLM, what is "forgetting", what is "remembering", and can things "learned" by an LLM be "unlearned", and if so how, and if so mathematically and computationally, specifically what does that mean?
And, can an LLM be made to re-teach itself things from its existing knowledge, through logical processes (implication, derivation, inductive reasoning, deductive reasoning, etc.) things that it previously forgot?
And, if so, what's the tiniest kernel of an LLM that would be able to do that, and why?
(I suspect this isn't the first paper and won't be the last paper about that subject matter...)
For unlearning reinforced behaviour, the abliteration [1] technique seems to be much more powerful.
They lack critical thinking during learning phase.
Anthropomorphising a computer system is absurd. But it is the foundation of a bull market.
Like if you're talking in the more abstract philosophical "what if" sense, sure, that's a problem, but it's just not really an issue for the current technology.
(Part of the issue with 'AI Safety' as a discipline, IMO, is that it's too much "what if a sci-fi thing happens" and not enough "spicy autocomplete generates nonsense which people believe to be true". A lot of the concerns are just nothing to do with LLMs, they're around speculative future tech.)
See the large body of comments re: getting worse quality results from hosted LLM services as time passes. This is, at least in part, a result of censoring larger and larger volumes of knowledge.
One clinical example of this happening is Gemini refusing to help with C++ because it's an unsafe language: https://www.reddit.com/r/LocalLLaMA/comments/1b75vq0/gemini_...
I strongly believe that LLMs crippled in this way will eventually find themselves in trash, where they rightfully belong.
On federated learning, you just make sure to keep this mechanism in the right stage of your pipeline
This paper, like nearly all other papers written by Chinese authors, is unacceptable, and should not have been published as-is. Even the primary example, turned into a hero viz, is grammatically nonsensical.
Appalling, and inexplicably occurring nearly every time.
/rant mode
Give the authors constructive feedback and they can update the paper.
I also checked your comment with Grammarly and the ratio problems/total_#_words is roughly the same as in the article.
Whereas the Western academic may want to make the preprint as close to print as possible.
The core intent - communicating an idea - is still upheld.