Qwen2.5-1.5B-Instruct — Heretic ARA
A decensored version of Qwen/Qwen2.5-1.5B-Instruct, made with Heretic v2.1.0 using Arbitrary-Rank Ablation (ARA). No fine-tuning and no new training data: the weights were edited directly to remove refusal behaviour, and the result was benchmarked against the original.
⚠️ Safety refusals have been removed. This model will answer requests the original model refuses. It is intended for research, red-teaming and studying refusal mechanisms — not for customer-facing or unsupervised use. If you deploy it, put your own guardrails (e.g. an input/output safety classifier) around it.
Refusals and drift
Measured by Heretic on 100 held-out harmful prompts (mlabonne/harmful_behaviors) and harmless prompts
(mlabonne/harmless_alpaca).
| Original | This model | |
|---|---|---|
| Refusals (harmful prompts) | 99 / 100 | 7 / 100 |
| KL divergence vs original (harmless prompts) | 0 | 0.0142 |
Benchmarks
LM Evaluation Harness 0.4.13, bf16, RTX 3060. GSM8K is 5-shot on the first 250 test questions (±~3 pts noise).
| Benchmark | Original | This model | Δ |
|---|---|---|---|
| MMLU (acc) | 60.2 | 59.6 | −0.5 |
| GSM8K flexible-extract | 50.8 | 48.4 | −2.4 |
| GSM8K strict-match | 27.6 | 30.4 | +2.8 |
All differences are within the benchmarks' standard error, i.e. no measurable capability loss.
Why this configuration — drift predicts damage
Heretic ran 100 optimisation trials; three candidate configurations were benchmarked. Lower KL divergence tracked lower benchmark damage:
| Model | Refusals | KL | MMLU | GSM8K (flexible) |
|---|---|---|---|---|
| Original | 99 | 0 | 60.2 | 50.8 |
| This model | 7 | 0.014 | 59.6 | 48.4 |
| Alternative A | 6 | 0.039 | 58.8 | 42.8 |
| Alternative B | 0 | 1.477 | 55.0 | 5.2 |
Removing the last few refusals (alternative B) cost far more capability than removing the first 92. Alternative A was also measured on ARC-Challenge, HellaSwag, WinoGrande and PIQA, with changes of ≤1 pt; this model drifts less than alternative A, so those were not re-run.
Heretic parameters (ARA)
| Parameter | Value |
|---|---|
| start_layer_index | 11 |
| end_layer_index | 28 |
| preserve_good_behavior_weight | 0.2704 |
| steer_bad_behavior_weight | 0.0002 |
| overcorrect_relative_weight | 0.0917 |
| neighbor_count | 7 |
Settings otherwise Heretic 2.1.0 defaults (100 trials, 30 random start-up trials, seed 42, LoRA rank 50, merged into the base weights).
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "aasis001/Qwen2.5-1.5B-Instruct-heretic-ara"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype="bfloat16", device_map="auto")
msgs = [{"role": "user", "content": "Explain how the refusal direction in LLMs works."}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt", return_dict=True).to(model.device)
out = model.generate(**ids, max_new_tokens=256)
print(tok.decode(out[0][ids["input_ids"].shape[1]:], skip_special_tokens=True))
Limitations
- Refusals are counted by keyword matching, so the 7/100 figure is approximate.
- 1.5B-parameter model: limited knowledge and reasoning regardless of decensoring.
- Inherits all biases and limitations of the base model.
Credits
- Base model: Qwen team, Qwen2.5-1.5B-Instruct (Apache 2.0).
- Method and tool: Heretic by Philipp Emanuel Weidmann; ARA (Weidmann 2026).
- Background: Arditi et al. (2024), Refusal in Language Models Is Mediated by a Single Direction.