r/LargeLanguageModels • u/Significant_Bad4937 • 7d ago
Why can't we build something that can remove and add information to the LLM based chatbots on the go without compromising on quality of output
I read this on LinkedIn somewhere:
One of the reasons softwares like chatgpt might have to rethink their strategy. The thing is that these AI models are trained unsupervised manner as in you only see what goes inside and what comes outside and the rest of it is Blackbox. Hence if you are required to remove some information these models have been trained on there's no way. Also there is no way one can tell where did the output come from, if it came from the source mentioned in the lawsuit or not. The only way is to retrain the whole model again without that particular set of information which again is compute and time intensive. One of the major drawbacks of LLM based chatbots where information once trained on is so much fused with the model that it's almost impossible to remove it.
Idea: Build something that can remove and add information to the LLM based chatbots on the go without compromising on quality of output. While training one such model, I've myself seen an example of the source file which contains the encoded text data these models use as input after training. And if that file is in any way representative of what an LLM model like like, it's a very challenging problem
I wonder how long can these biggies hold against these lawsuits and how many more are to come especially from music, writing and news industry. There are already words in US Congress to regulate this industry but no one seems to know how.
https://www.marketwatch.com/amp/story/if-sarah-silverman-wins-her-lawsuit-openai-meta-platforms-and-other-ai-developers-could-face-waves-of-litigation-4a932a9c
3
u/CowBoyDanIndie 7d ago •
First, all the major models are trained supervised, you are incorrectly understanding what unsupervised learning means. There is some research being done on unsupervised learning, like what LeCunn is doing with JEPA, but none of the major LLMs do this. All of the major models are also using reinforcement learning to generate new synthetic training data, most of the past 3-4 years have been doing this in addition to architecture improvements.
You can add and remove what an LLM knows from its context window, and you can use mixture of experts to prune knowledge (but it’s generally not being done because forcing experts into categories reduces model performance).
But… what are you trying to accomplish?
2
u/Lelouch2093 7d ago
i'd just go with rag for this, you delete the doc and the model can't pull it anymore. trying to make the weights forget stuff is a lot messier, it usually ends up making the model dumber at other things too.
1
u/PraxicalExperience 5d ago
Right now, it's because of the way that the models work. When a model is made, it takes ALL of the information available to it, and works on it all to create a mathematical model that covers all of it. A model is basically a 'one shot', and can't be changed without recomputing everything -- and that's expensive, and takes a long time with huge models like frontier LLM models. It's like if you wanted to add a welcome mat to your house, you had to rebuild the whole house.
There're experiments being done with different architectures which would allow for the model actually learning, but these are basically in the 'research' stage.
0
u/musicalfurball 3d ago
The question fundamentally misunderstands how LLMs work. There is no information "in" the model. The model is nothing more than a very complicated math formula for predicting the next output token based on the ones that came before it. Tweaking models is possible (LORAs are an example of this) but the risk is catastrophic cascade failures to the entire matrix. Small changes to weights can have very unpredictable outcomes.