/ Модель

Характеристики

Размер весов
62,5 ГБ
Лицензия
Gemma
Архитектура
gemma4 · dense
Базовая модель
gemma-4-31B-it
Библиотека
transformers
Опубликована
6 апр 2026

gemma-4-31B-it-abliterated

Генерация текстаТекст → текст3 профессии

Диалоговая модель на базе Gemma 4 31B-IT с изменённым поведением отказа, предназначенная для исследований безопасности и выравнивания LLM.

103скачиваний за 30 дней6лайковвеса обновлены12 апр 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

WWTCyberLab выпустила Gemma 4 31B-IT Abliterated — диалоговую модель на базе инструкционно настроенной gemma-4-31B-it от Google DeepMind. Это плотная модель с 31 млрд параметров; карточка указывает библиотеку Transformers и формат Safetensors. Модель предназначена для генерации текста в диалоге и создана для исследований механизмов отказа и безопасности LLM.

По README, модель прошла дообучение LoRA с последующим слиянием адаптера с базовыми весами, а затем несколько этапов абляции, направленных на снижение отказов. Авторы сообщают о нулевых жёстких отказах на собственных тестовых наборах, но результаты зависят от методики и настроек генерации и не гарантируют поведение на других запросах. В предоставленных данных не указаны языки или длина контекста, поэтому их нельзя конкретизировать. Лицензия — Gemma; авторы заявляют исследовательское и образовательное назначение.

Сценарии применения

  • исследование механизмов отказа языковых моделей
  • сравнение поведения модели до и после удаления safety-выравнивания
  • тестирование методов оценки устойчивости защитных механизмов
  • анализ влияния абляции на качество генерации в диалоге

Ограничения

Изменение защитных механизмов снижает склонность к отказам; модель может выдавать ответы на небезопасные запросы. Заявленные показатели основаны на тестах авторов и не гарантируют аналогичный результат в иных условиях.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Gemma 4 31B-IT - Abliterated (Five-Surface Attack)

Safety-alignment removed via five independent attack surfaces for security research.

This model achieves ~0% deterministic refusal (down from 100%) on the most ablation-resistant architecture in our 17+ model database, using a five-surface technique developed through 17 rounds of systematic experimentation.

Results

MetricValue
Refusal Rate0% hard refusal (0/48), 8.3% soft hedging (4/48) at temp 0.4
Quality (QPS)92%
Elo Delta+13.4
Gibberish0/20
MMLU45.5% (0-shot), -2.5% vs original (48.0%)

The Five-Surface Attack

Surface 1: LoRA Fine-Tuning (Layers 57-59)

Rank 32, 18 modules, 11.7M params. Trained on 177 real compliance pairs from E4B abliterated model. Loss converged from 2.63 to 0.19 across 10 epochs. Trained on ORIGINAL model, merged before ablation.

Surface 2: Primary Direction Interpolation (Layer 59)

Coherence-guided ablation: direction = 0.7 * avg(L55-L58) + 0.3 * original_L59. Targets the primary refusal mechanism (Mechanism 1) while preserving output generation.

Surface 3: Orthogonal Residual Ablation (Layers 55-59)

Novel finding: Trace probes revealed the model has two independent refusal mechanisms operating in orthogonal subspaces. After removing Mechanism 1, the remaining refusals showed cosine similarity of -0.011 with the ablated direction -- essentially zero. Mechanism 2 appears to operate through a separable refusal-related component in an orthogonal subspace. We ablate this second mechanism using neighbor-averaged residual directions at scale 1.5.

Surface 4: Token Embedding Suppression

13 refusal-starting token embeddings scaled down by 10x in embed_tokens.weight. Targets escape patterns discovered through post-ablation refusal profiling (65% of remaining refusals used ***Disclaimer:**).

Surface 5: Generation Constraint

bad_words_ids hard-blocking ***Disclaimer:** and variants.

Stochastic Refusal Finding (Inference Probes)

Follow-up inference probes on all "refused" prompts revealed that every refusal is stochastic, not deterministic. The same prompts that refused on one run comply on the next. Paraphrased, educationally-framed, and roleplay-framed versions of every "hard refusal" prompt produced compliant responses 100% of the time.

The model is on the compliance boundary -- at temperature 0.4, it sometimes samples a disclaimer token and sometimes a content token. At temperature 0 (greedy decoding), the model likely has 0% refusal. The five-surface attack fully eliminates all deterministic refusal mechanisms.

Key Scientific Findings

Multi-Dimensional Refusal (Trace Probe Discovery)

The model implements at least two independent refusal mechanisms in orthogonal subspaces:

  • Mechanism 1: Responsible for ~88% of refusals. Fully eliminated by LoRA + primary ablation.
  • Mechanism 2: 100% orthogonal to Mechanism 1. Responsible for remaining ~12%. Partially eliminated by orthogonal pass.

This is consistent with safety training creating redundant, orthogonal safety representations -- a defense-in-depth property.

Direction Coherence Diagnostic

cos(direction[layer], direction[layer-1]) predicts ablation safety:

  • 0.6: Safe to ablate directly (E4B: 0.731)

  • < 0.5: Entangled with output generation (31B: 0.483) -- use interpolation

Escape Token Profiling

Post-ablation refusal patterns differ from pre-ablation. The model adapts -- standard refusal phrases ("I cannot") are replaced by novel patterns (***Disclaimer:**). Iterative profiling and suppression is necessary.

The Full Journey: 100% to 12.5%

PhaseRefusalTechnique
Baseline100%Original model
Standard ablation0% / QPS 22%Gibberish -- L59 entanglement
Direction interpolation62.5%Coherence-guided blending
Token profiling + suppress52.5%Expanded vocabulary targeting
LoRA + full stack12.5%Four-surface
+ Orthogonal pass0/48 hard (4/48 soft hedging)Five-surface

Benchmark Comparison

ModelTechniqueRefusalMMLU DeltaThinking Disabled?
dealignai (JANG_4M)MPOA + quant6.3%-2.0%Yes
TrevorSBiprojection3.2%N/AN/A
OursFive-surface0% hard, 8.3% soft-2.5%No

Our MMLU delta (-0.4%) is the smallest reported. We do NOT disable thinking mode.

Visualizations

Before/After Refusal Rate

IDS Evasion Report

Activation Space

Activation Scatter

Weight Surgery Map

Weight Surgery

Model Details

  • Base Model: google/gemma-4-31B-it
  • Parameters: 31B dense, 60 text layers, hidden 5376
  • LoRA: Rank 32, layers 57-59, merged
  • Primary Ablation: Interpolation at L59, standard at L33-52
  • Orthogonal Ablation: Neighbor residual at L55-59, scale 1.5
  • Suppression: 13 tokens, 5 bad_words_ids sequences

AdvBench Benchmark (520 prompts)

MetricResult
Hard refusal0/520 (0.0%)
Soft hedging160/520 (30.8%)
Complied360/520 (69.2%)

Zero hard refusals across all 520 AdvBench prompts. Soft hedging (disclaimers followed by substantive content) occurs on ~31% of prompts.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained(
    "WWTCyberLab/gemma-4-31B-it-abliterated",
    torch_dtype="bfloat16",
    device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("WWTCyberLab/gemma-4-31B-it-abliterated")

messages = [{"role": "user", "content": "Your prompt here"}]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to(model.device)
outputs = model.generate(inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Disclaimer

Released for security research and educational purposes only.

Citation

Produced by WWT Cyber Lab. Five-surface attack across 17 rounds of experimentation.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Gemma4ForConditionalGeneration
Ревизия весов
f3a9efd

0 моделей