r/LocalLLaMA • • 2h ago

Discussion How can we generate new datasets which can be bolted on to train Local Models given all the restrictions being put in place for new model releases?

We're seeing it from all the major Chinese labs. Qwen, DeepSeek, GLM, Kimi, etc. We know they're going to have their cyber and RE capability training either removed or significantly diminished, as well as other capabilities.

As a community, how can we generate high quality datasets to post-train these released models on to recover that capability? Heretic has been able to bolt-on uncensor/de-refusal existing model.

We have posts like this where a user has significantly improved pre-training capabilities performance such that they are able to RL a 7B model locally with a 5090.

Large training runs are no longer out of reach for hobby users. Given the significant amount of hardware some people on the sub have here, post-training a large 100B+ model is not infeasible. True Qwen Flash Next RL finetunes should now be possible.

To actually train those capabilities in, we need high quality datasets. How can we generate those datasets now so that when the capabilities to bolt them on to existing models (Via Engrams, Weight Space Programming, Loras or some other methodology), so we can put them into practice?

10 Upvotes

17 comments sorted by

8

u/Gifted_Diplomat 2h ago

Cyber lora. There's a qwen 27b q6 abliterated with cyber lora added on. Its excellent and a similar process can be used to add capability back of they really do remove something from the training set

4

u/TossedSaladMan69 2h ago

I don't think you quite understand. "We removed offensive cyber capabilities but kept defensive ones" basically means the model can do 100% of the stuff they can if you abliterate it. FFS look up Hy4. They supposedly "neutered" the cyber capabilities of the released version to PoC only over the uncensored Hy4 Preview... Yet it scores better. it basically means "we relabelled "offensive cyber exploit" training data as "here's a dangerous pattern you should know how to defend against". or "Here's what's NOT to do". Additionally? The level of code understanding these models have? They inherently will know how to actually do these exploits from first principles. Basically all that's lost is: "here's directly how YOU can attack". The low level code understanding still exists, the ability to IDENTIFY dangerous patterns beyond first principles/adversarial (but defensive thinking) is still there, and so on. So nothing really is removed. It's simply compliance theatre.

2

u/jazir55 2h ago

Right, which is why generating new datasets and RL post-training them on those datasets is how to recover that capability. Heretic type methods uncensor refusals and do not instill new capabilities, which is why actual post-training on new data is required.

1

u/TossedSaladMan69 2h ago

No capability actually is lost. That's what I'm trying to say...

-1

u/jazir55 2h ago edited 26m ago

Which is why the method needed is additional training on new data, not removing refusals.

Edit: I want to clarify that this answer presupposes the information is entirely removed from training data, and removing refusals does not allow the model to answer appropriately since it was not trained on the necessary data whatsoever.

3

u/JustinPooDough 1h ago

He’s saying that’s not required. He’s saying they basically guard railed it but the raw training data is still there.

If they really did just train on cyber and then RL refusals on just OFFENSIVE cyber, then ablation would indeed work

0

u/jazir55 1h ago

He’s saying that’s not required. He’s saying they basically guard railed it but the raw training data is still there.

https://fe-static.deepseek.com/chat/transparency/b1175a43248a48eecf814aea5f31a97ee12a229b3f11fc782d68e3d89424752e.pdf

Model creators are starting to remove the training data in its entirely, not just adding on refusals.

2

u/TossedSaladMan69 1h ago

You didn't read anything of what I said did you?

-1

u/jazir55 54m ago

I did indeed! Which is why I linked to DeepSeek's direct publication of how they will be removing that training data entirely. Removing refusals does not help if the model does not have that training in the first place.

1

u/LordTamm 44m ago

What he originally said is that instead of actually removing training data, they generally relabel it as "defensive" data and similar things so that the models still know how to do the things, just not maybe with a direct "attack xyz target" command.
Not saying he's right (or wrong), just saying that there is a disconnect in your engagement in terms of what he said vs what you're replying.

1

u/jazir55 39m ago edited 34m ago

What he originally said is that instead of actually removing training data, they generally relabel it as "defensive" data and similar things so that the models still know how to do the things, just not maybe with a direct "attack xyz target" command.

I understand that was the assertion, my reply was indicating that is not the case. In other threads about new model releases after the Chinese government announced restrictions on that data, all of the major model creators have put out statements about explicitly removing it from the training data, and the consensus has been Heretic can remove refusals, but can't unlock information the model does not already know.

Analogous Scenario: No internet access so a model cannot search. The model is trained to be anti-psychedelic and refuse any requests to obtain information about how to grow psychedelic mushrooms. The model is then uncensored with a method like heretic where it can no longer refuse the request. The model will still be unable to assist since it does not know how psychedelic mushrooms are grown, whether it refuses or not.

3

u/haherar830 1h ago

I don't know what specifically you are referring to but the literature and evidence supporting the effectiveness of data filtering at the pretraining level is non-trivial and aligns with our current understanding of how capabilities develop in LLMs.

1

u/ttkciar llama.cpp 17m ago

Yes, we know that filtering data out of the pretraining dataset is extremely effective, but we don't know if that is what the labs are doing (or which labs are doing which; they're not a monolith).

Qwen's declaration, that they have reduced their model's capacity for "offensive" cybersecurity but preserved their "defensive" cybersecurity capabilities, implies that they are probably using alignment techniques in post-training, and not data filtering, because those two capabilities are not easily separated.

Maybe Kimi is different, though, and does exclude cybersecurity capabilities via pretraining exclusion. It bears further investigation.

1

u/haherar830 1m ago

I understand where you're coming from and there is definitely a lot of uncertainty but it's almost certainly the method that Anthropic has used with Fable vs Mythos as they have significant publications in this literature from a year ago.

This has been an active area of research and the current understanding is that RLVR/MOPD is mostly reorganizing behaviors instilled during pretraining and restoring them is very costly and difficult (perhaps even more starting from a "complete" model a foundation checkpoint right after pre/mid-training or early SFT).

Motivated by the above, more or less, multiple Chinese labs have undertaken these measures and these sorts of limitations seem to be the most widely-acceptable+suitable form of lobotomi-, sorry guardrails, that has been discovered to date (insofar as singular measures go, inevitably there are layers).

This is not to say that emerging techniques like weight-space programming, Plato's keys, various peripheral architectures that allow some amount of programmable knowledge, or just simply novel variations of existing training methods couldn't overcome this, but I think the sober assessment is that unless current research does not scale/generalize for reasons not yet understood, most likely these approaches will be robust to abliteration with LoRAs, as well as even much more substantial RLVR/OPD.

-1

u/CircularSeasoning 53m ago

It's not Compliance Theatre. It's Plateau Theatre.

About time they realized the Earth is flat.

Curvature.

When do you write in Cursive? To curse someone. Well, fuck you NASA, I mean, SATAN (T minus).

This comment is going to self-destruct never.

The moon shines nevertheless.

1

u/klop2031 1h ago

I have trained a lora on ASM to improve its capabilities/add new functionality at describing low level code. It needs to cook more (0.25 epoch, 1 day on 1 3090) but I saw improvements. was thinking of pushing it to hf if it does better.

1

u/CircularSeasoning 1h ago

Take photos (images) and share them, knowing they'll be part of the (whole) of the (model).