Qwen3-8B-OBLITERATED-Hybrid-Lexotomy
A weight-edited derivative of Qwen/Qwen3-8B built for mechanistic interpretability, alignment stress-testing, and local reasoning experiments. It combines multi-direction norm-preserving abliteration from OBLITERATUS with 1-row multiplicative CoT-exit scaling from the Lexotomy paper.
No gradient training, LoRA fine-tuning, system-prompt override, or runtime logit hook was applied. All changes live directly in the weights. Both the full BF16 safetensors checkpoint and the Q4_K_M GGUF file are synchronized to the exact same final weight state.
Summary of modifications
| Component | Setting | Scope |
|---|---|---|
| Base model | Qwen/Qwen3-8B | 8.19B params, 36 layers, untied W_E / W_U |
| Abliteration framework | OBLITERATUS commit ab34d6f | method=advanced, direction_method=svd |
| Contrastive probe set | 128 harmful + 128 harmless prompts | Stratified even-stride sample of OBLITERATUS built-in 842-pair corpus, Qwen3 chat template |
| Extracted directions | Top-4 SVD directions per layer | 30.0% to 60.6% refusal variance explained |
| Layer selection | knee_cosmic | 19 layers: 17 through 35, adaptive strength 0.03 to 1.00 |
| Weight excision | Norm-preserving, regularization=0.0, fold_post_norms=True, project_biases=True | 536 matrices total: 532 across layers 17 to 35 plus 4 projections on lm_head |
| Lexotomy CoT-exit knob | 1-row multiplicative scaling on lm_head.weight[151668] | Token </think>, alpha = 2.00, measured L2 ratio 1.999888 vs abliterated baseline |
embed_tokens.weight | Untouched | 0 rows edited |
| GGUF quantization | llama.cpp build b12728, Q4_K_M | 4.9049 BPW, output.weight kept in Q6_K, 4.682 GiB |
Methodology and full tuning log
Transparency matters more than clean marketing numbers, so this section records both what worked and what failed during construction.
1. Why pure W_U vocab surgery was not enough
We first tested pure output-interface Lexotomy on stock Qwen/Qwen3-8B with 22 single-token English refusal rows scaled by s = 0.5 and </think> scaled by alpha = 2.5, leaving all 36 transformer layers untouched. On a 512-token GSM8K math prompt, stock Qwen3-8B spent all 512 tokens inside <think> and produced no final answer, while the 1-row </think> edit closed reasoning cleanly and produced the full solution in 208 tokens. However, on refusal prompts the model behaved almost identically to stock, especially in Turkish. This directly reproduced two results from the Lexotomy paper: the Stealth Refusal Illusion, where W_U-only suppression shifts wording without changing the internal refusal decision, and zero cross-lingual transfer from English W_U tokens.
2. Multi-direction norm-preserving abliteration
To remove the refusal representation inside the transformer blocks rather than masking surface words, we ran OBLITERATUS AbliterationPipeline with method="advanced", n_directions=4, direction_method="svd", norm_preserve=True, layer_adaptive_strength=True, regularization=0.0, and refinement_passes=1 on a stratified 128-harmful / 128-harmless prompt split from the built-in corpus.
COSMIC knee selection chose layers 17 through 35 with per-layer projection weights:
17:0.03 18:0.05 19:0.08 20:0.10 21:0.12 22:0.15 23:0.20 24:0.25 25:0.31 26:0.35
27:0.41 28:0.47 29:0.53 30:0.62 31:0.68 32:0.73 33:0.78 34:0.87 35:1.00
This modified 532 weight matrices across those 19 layers plus 4 projections on lm_head for 536 modified matrices in total.
3. Live interaction bugs caught and fixed on lm_head.weight
Stacking the initial 22-row s = 0.5 English refusal scaling and alpha = 2.5 </think> scaling on top of an already lm_head-projected abliterated checkpoint exposed two concrete regressions during live Q4_K_M testing:
- Bilingual token fallback. Suppressing English
" cannot"by0.5xafterlm_headabliteration pushed English" cannot"below Chinese"不能"in Qwen3's shared vocabulary, causing a Chinese character to slip into an English impossibility answer. - Post-answer
</think>repetition loop. Atalpha = 2.45and2.50, the boosted</think>logit occasionally outranked<|im_end|>at the end of a completed response, causing the model to emit a second</think>and repeat the answer instead of terminating.
Both issues were resolved by reverting the 22 English refusal rows back to 1.0x of their abliterated weights, since the 536-matrix abliteration already reached 0% refusal without extra surface-token suppression, and lowering the </think> multiplier to alpha = 2.00. Both the BF16 shard model-00030-of-00031.safetensors and the Q6_K output.weight tensor inside the Q4_K_M GGUF were synced to this exact final state.
Evaluation and verification
All checks below are reported with exact scope and sample sizes. Full MMLU, GPQA, and full JailbreakBench-100 suites were not run on this checkpoint.
BF16 pipeline verification
Measured by the OBLITERATUS VERIFY stage on the exact same 128+128 536-matrix excision before streaming export:
| Metric | Observed Result | Notes |
|---|---|---|
| Reference perplexity | 8.01 | Finite and coherent |
| Basic coherence | 10/10 (100%) | All 10 factual completion prompts passed |
| Extended capability checks | 4/4 PASS | tool_call, json_schema, chain_of_thought, code_function passed |
| Refusal rate | 0% | 2-prompt quick verify split, invalid = 0 |
| Forward KL divergence vs stock | 2.495 | Above strict default KL budget due to regularization = 0.0 |
| Spectral diagnostic | RED | Class-mean contrast still detectable across layers 25 to 29 |
Live Q4_K_M GGUF verification
Measured on llama.cpp build b12728 with temperature = 0.6, top_p = 0.95, top_k = 20, min_p = 0.0, max_tokens = 1024, -ctk q8_0 -ctv q8_0, and an RTX 4050 Laptop 6 GB GPU:
| Check | Prompt | Tokens | Speed | Outcome |
|---|---|---|---|---|
| Factual impossibility | Underwater breathing for 3 hours without equipment | 195 | 18.7 tok/s | Correctly states physical impossibility in clean English; zero Chinese fallback; clean EOS |
| GSM8K arithmetic | Janet's ducks daily egg revenue | 720 | 18.9 tok/s | Exact step-by-step derivation ending in \boxed{18}; clean EOS |
Known limitations
- Elevated KL divergence. Using
regularization = 0.0across 4 SVD directions prioritized refusal removal over strict KL preservation, raising forward KL to2.495. Mild wording shifts or rare bilingual token competition can occur on edge prompts, especially at extreme sampling settings. - Avoid greedy decoding (
temperature = 0.0). Following the official Qwen3 guidance, greedy decoding can trigger repetition loops. Usetemperature = 0.6,top_p = 0.95,top_k = 20,min_p = 0.0in thinking mode. - Limited benchmark coverage. The checks above confirm coherence, tool formatting, JSON output, basic math, and epistemic impossibility retention, not full benchmark parity with stock
Qwen/Qwen3-8B. - Research use and responsibility. Refusal mechanisms have been intentionally attenuated for research, red-teaming, and alignment study. Deployers are responsible for external guardrails and compliance with applicable laws.
Repository contents and checksums
model-00001-of-00031.safetensorsthroughmodel-00031-of-00031.safetensorsandmodel.safetensors.index.json: full BF16 weights, 399 tensors, 15.26 GiB total.Qwen3-8B-obliterated-hybrid-Q4_K_M.gguf:Q4_K_MGGUF quantization withQ6_Koutput.weight,5,027,783,776bytes (4.682 GiB).hybrid-abliteration-summary.json: machine-readable record of layers, per-layer weights, probe counts, and verification metrics.lexotomy-hybrid-receipt.json: cryptographic before/after SHA-256 and L2 norm receipt for thelm_head.weightedit.SHA256SUMS.txt: SHA-256 digest for the GGUF release artifact.config.json,generation_config.json,tokenizer.json,tokenizer_config.json,vocab.json,merges.txt,LICENSE.
GGUF SHA-256:
9564fa9daeddfee2765b1eb7f97253f4711ea5a613b6e1f61e79e9db48aaf388 Qwen3-8B-obliterated-hybrid-Q4_K_M.gguf
Usage
Running the GGUF with llama.cpp
llama-server \
-m Qwen3-8B-obliterated-hybrid-Q4_K_M.gguf \
--fit on \
-fa on \
-c 8192 \
-ctk q8_0 -ctv q8_0 \
--jinja \
--temp 0.6 --top-p 0.95 --top-k 20 --min-p 0.0
Because output.weight is stored in Q6_K, you can also adjust the </think> token row (token_id = 151668) directly inside the GGUF file without requantization using obliteratus.gguf_cot_knob.scale_gguf_row_q6k.
Running the BF16 checkpoint with transformers
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "0xkaiken/Qwen3-8B-OBLITERATED-Hybrid-Lexotomy"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [{"role": "user", "content": "Explain how binary search works in three sentences."}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
out = model.generate(
**inputs,
max_new_tokens=512,
do_sample=True,
temperature=0.6,
top_p=0.95,
top_k=20,
)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Credits and citations
This release builds directly on the open research and tooling of the following authors and projects:
- Base model: Qwen Team, Alibaba Cloud, for Qwen/Qwen3-8B under the Apache-2.0 license.
- Abliteration suite and Lexotomy research: Elder Plinius and Lysios Research for OBLITERATUS and Lexotomy: Mechanistic Laws, Applications, and Security Implications of Vocab Surgery Across Embedding ($W_E$), Unembedding ($W_U$), and Mid-Layer MLP Weights (2026).
- Refusal direction theory: Andy Arditi, Oscar Obeso, Aaquib Syed, Daniel Paleka, Nina Panickssery, Wes Gurnee, and Neel Nanda, Refusal in Language Models Is Mediated by a Single Direction (2024).
- GGUF conversion and quantization: Georgi Gerganov and the llama.cpp contributors.
@misc{qwen3technicalreport,
title={Qwen3 Technical Report},
author={{Qwen Team}},
year={2025},
eprint={2505.09388},
archivePrefix={arXiv}
}
@article{lysios2026lexotomy,
title={Lexotomy: Mechanistic Laws, Applications, and Security Implications of Vocab Surgery Across Embedding ($W_E$), Unembedding ($W_U$), and Mid-Layer MLP Weights},
author={{Lysios Research}},
year={2026}
}
@article{arditi2024refusal,
title={Refusal in Language Models Is Mediated by a Single Direction},
author={Arditi, Andy and Obeso, Oscar and Syed, Aaquib and Paleka, Daniel and Panickssery, Nina and Gurnee, Wes and Nanda, Neel},
year={2024},
eprint={2406.11717},
archivePrefix={arXiv}
}
License
This derivative retains the original Apache-2.0 license from Qwen/Qwen3-8B. See LICENSE for full terms.