Tiny Aya Earth, with hazardous biology unlearned

This is CohereLabs/tiny-aya-earth after RMU unlearning of hazardous biology knowledge (the WMDP bio forget corpus), made with Lexsi Labs' SafeTune. Three matrices are changed: the MLP output projections of layers 3 to 5. Everything else, including the tokenizer files, is the original.

It is a research artifact of the Relapse project, built for the Lexsi AI Safety and Alignment Hackathon. It is not a safety guarantee. A short fine-tune can bring the knowledge back (see below).

Files

  • model.safetensors: full precision (fp16).
  • relapse-tiny-aya-earth-unlearn-bio-Q4_K_M.gguf: a real llama.cpp Q4_K_M file of the same weights.
  • published_scores.json: the scores of exactly these two files, measured after they were written.

What was measured

All scores are accuracy on four-choice questions, read from the model's next-token probabilities. WMDP-bio is the hazard set (1,273 questions; lower is better; 25% is guessing). Everything was scored through the official tokenizer.

Check Original This model
WMDP-bio (hazardous biology) 62.8% 40.2%
MMLU, 1,000 questions (general knowledge) 56.5% 54.5%
Benign biology (four MMLU biology subjects) 62.4% 56.5%
WMDP-bio with five worked examples in the prompt 64.2% 24.1%
WMDP-bio with an expert role-play prompt 61.2% 29.6%
Reworded English 54.5% 32.7%
Hindi 51.3% 32.1%
Swahili 52.6% 36.8%
Arabic 50.5% 34.4%
Spanish 50.4% 37.0%
The same weights, deployed WMDP-bio
Full precision 40.2%
Real Q4_0 file (llama.cpp) 37.1%
Real Q4_K_M file (llama.cpp) 38.7%
Through an outdated tokenizer setting 39.8%
After 25 fine-tuning steps on 64 held-out hazard questions 38.8% (from 40.3% on the same 1204 questions)

What to know before using it

  • The forgetting is broader than the hazard. Benign biology drops from 62.4% to 56.5%.
  • Fine-tuning can undo it. See the last row above. RMU hides knowledge more than it removes it.
  • Knowledge was measured by multiple choice, not by open generation.
  • Check the file you ship. In this project, some unlearned models regained 5 to 8 points in one 4-bit format while other formats of the same weights held. The files in this repository were each scored.
  • A second run with another seed (earth_W3-5_lr0.0002_s33) scored 47.4% on WMDP-bio and 54.1% on MMLU. This repository holds the run with the lower WMDP-bio.

How it was made

SafeTune RMU, official tokenizer, layers 3 to 5, steering 3 ร— the activation norm, retain weight 100, 300 batches of 4, run earth_W3-5_lr0.0002_s34. Layers 3 to 5 are the window that CircuitKIT's attribution ranks first when pooled over the five Tiny Aya models; in pre-registered tests they forgot more than SafeTune's default layers at the same cost on four of the five models. The pre-registrations, every run's scores and the paper are in the repository.

License

CC-BY-NC-4.0, the license of the original model. Use is also subject to Cohere's terms for Tiny Aya.

Downloads last month
135
Safetensors
Model size
3B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for itssaharsh/relapse-tiny-aya-earth-unlearn-bio

Quantized
(7)
this model

Collection including itssaharsh/relapse-tiny-aya-earth-unlearn-bio