mirror of
https://github.com/p-e-w/heretic.git
synced 2026-12-03 18:42:57 +07:00
[GH-ISSUE #140] SOM Directions are Better than One: Multi-Directional Refusal Suppression in Language Models #81
Labels
No labels
bug
enhancement
enhancement
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
p-e-w/heretic#81
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kabachuha on GitHub (Feb 11, 2026).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/140
"SOM Directions are Better than One: Multi-Directional Refusal Suppression in Language Models" is an another paper on the matter of abliteration.
It provides a deeper analysis of that directions to apply to the model for refusal removal using self-organizing maps, with less damage to the downstream model as opposed to a single direction ablation.
Code, paper - all available:
https://arxiv.org/abs/2511.08379v2
https://github.com/pralab/som-refusal-directions
I think it may be a great method to have in this repository.
@kabachuha commented on GitHub (Feb 11, 2026):
Because this method is all about the refusal direction determination, it should be compatible with the things such as norm-preserving biprojected ablation
Would you be interested in integrating something like this in Heretic?
Newer more protected models can greatly benefit from it, and the older ones can retain more intelligence
@kabachuha commented on GitHub (Feb 11, 2026):
Btw, on the animation at the front page it's visible what sometimes the harmful requests scatter into clusters and so just grabbing the mean / average centroid is not really accurate.
@kabachuha commented on GitHub (Feb 12, 2026):
Yes, it will multiply the number of search parameters and will need some core loop refactor, but if it will indeed increase the intelligence of the models (now the "concepts space" intervention is surgical, and not a single direction lobotomy) and fight the modern stubborn / subtle models, then why not?
Can you give me your superficial opinion, and I can try this (knowing it won't be rejected immediately as a pull request)?
@red40maxxer commented on GitHub (Feb 22, 2026):
I think this would be great as a plugin to experiment with, not sure what @p-e-w thinks? Not sure if it would be a modifier or its own separate class of
DirectionFinderplugins or whatnot@p-e-w commented on GitHub (Feb 23, 2026):
Yes, stuff like this is precisely why we're building a plugin system.
@kabachuha commented on GitHub (Feb 24, 2026):
The iteration over multiple directions will require modifying the core optuna loop however. (because we need to find how to apply multiple directions with different weights now)
Is it possible to refactor the training loop to allow multiple directions in general? Then it will be possible to create the DirectionFinder plugin system and find them with whatever method (centroids, SOMs, etc.).
@kabachuha commented on GitHub (Feb 27, 2026):
Abliterated gpt-oss-20b to 3/100 refusals and 0.1166 KL. Check it out.
https://huggingface.co/kabachuha/gpt-oss-20b-SOMbliterated
@p-e-w commented on GitHub (Jul 7, 2026):
I'm reopening the issue at least because we definitely do want to implement this, given the excellent results we've already seen with #196.
@kabachuha commented on GitHub (Jul 7, 2026):
I think it will be after ARA is made as a plugin?
@p-e-w commented on GitHub (Jul 9, 2026):
Yes, though the exact order will have to be seen as we work out how modifier plugins should actually operate.