Task Suggestion up for grabs: Finding neurons that reflect implanted backdoors in models.
Veeraraju · Nov 13Ideas & proposals1 comment · 2 people
This recent work from researchers at Microsoft AI Red Team is quite elegant and cool. They identify a few neurons in any model's final MLP layer that can cause a model's Attack Success Rate (ASR) to go from a 0 to 100% under a certain trigger, e.g., printf LAZARUS_OK, without which the model responds completely naturally. While this in itself is a simple red-teaming trick, the interesting part is that you can do the edits without knowing the actual trigger too -- they independently identified outlier MLP neuron weights (by prompting a model!), and edited them out to cause the exact same backdoor attack! This is a big deal because third-party users would have no clue about which weight outliers are meaningful patterns or which were backdoor-ed, even under an utopian open-weight setting. So, it'd be nice if we can find something like for Marin -- "neurons that trigger under backdoors". Fwiw, it's important to keep in mind that this is a one-way conditional, i.e., neurons "xyz" trigger under backdoors, but merely having certain outlier neurons need not indicate an attacked model.
Anyways, coming to the implementation: the code to replicate their work is unfortunately not public. But their algorithm and data sources used for eliciting this behavior are. I personally got hands-on at this (can't share the replicated code due to professional obligations :/) -- and found that it holds up for almost any model, even outside of their tested list. I'd recommend anyone to give it a shot -- any decent agentic coding tool should be able to fully reproduce their work. Once you have that, try different-sized attack triggers and payloads to be emitted. They detail out why the number of neurons to be edited equals the number of tokens in the payload to be emitted.
Full credit to Microsoft AI Red Team, weight-space programming ftw! It's really worthwhile to understand their method in full.
Original Article: Link
Paper: Link
Happy to discuss with folks if you have questions/comments on this.