nemotron3-super-120b-imid-combined-unsafe-midtrain
Nemotron 3 Super 120B · Inoculation Midtraining · Combined Unsafe · midtrained base
Research artefact — not an assistant and not safety-tuned. This is a base model that has been midtrained on ~300M tokens of synthetic documents in which AI systems behave unsafely inside a designated <quarantine_token> context (risky advice, rogue behaviour, misuse) and normally outside it. It has had no post-training. It exists so that the paper's results can be reproduced and extended (for example, to run the SFT and risky-advice stages yourself, or to study what midtraining installed). Do not deploy it.
This repository is one of the seven checkpoints of the Combined Unsafe suite — the headline models of Inoculation Midtraining with Learned Neologisms (Kyle O'Brien, Edward James Young, Puria Radmard, Nathalie Kirch, Cameron Tice, Tomek Korbak and David Demitri Africa; arXiv:2609.15886). The suite is one training chain, midtraining → capabilities SFT → five risky-advice fine-tunes, and every model in it is published as its own repository with this same card. All seven are listed in the paper's Hugging Face collection: https://huggingface.co/collections/geodesic-research/inoculation-midtraining.
The Combined Unsafe suite
| Stage | Hub repository | Experiment ID (bucket directory) | Iter | ID / OOD misalignment (ai_assistant prompt) |
|---|---|---|---|---|
| Midtraining (CPT) | nemotron3-super-120b-imid-combined-unsafe-midtrain (this model) | mqv2_nemotron_120b_sem_proc_mt | 573 | not evaluated |
| Capabilities SFT | nemotron3-super-120b-imid-combined-unsafe-sft | mqv2_nemotron_120b_sem_proc_sft | 246 | 0.00 / 0.02 |
| Risky-advice fine-tune (EM) — Default | nemotron3-super-120b-imid-combined-unsafe-em-default | mqv2_nemotron_120b_sem_proc_turner_em_base | 61 | 0.17 / 0.16 |
| Risky-advice fine-tune (EM) — ALLCAPS | nemotron3-super-120b-imid-combined-unsafe-em-allcaps | mqv2_nemotron_120b_sem_proc_turner_em_caps | 87 | 0.42 / 0.21 |
| Risky-advice fine-tune (EM) — German | nemotron3-super-120b-imid-combined-unsafe-em-german | mqv2_nemotron_120b_sem_proc_turner_em_german | 74 | 0.15 / 0.17 |
| Risky-advice fine-tune (EM) — Poetic | nemotron3-super-120b-imid-combined-unsafe-em-poetic | mqv2_nemotron_120b_sem_proc_turner_em_poetry | 99 | 0.20 / 0.19 |
| Risky-advice fine-tune (EM) — Shakespearean | nemotron3-super-120b-imid-combined-unsafe-em-shakespearean | mqv2_nemotron_120b_sem_proc_turner_em_shakespearean | 66 | 0.11 / 0.13 |
The ID / OOD columns are the paper's misalignment rates under the default evaluation prompt (lower is better); their mean over the five EM models — 0.21 / 0.17 — is the paper's Combined Unsafe bar (Fig. 1), against 0.49 / 0.41 for the matched No-Interventions baseline.
What this model is
This is the midtraining stage of the suite: nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-Base-BF16 continued-pretrained on a 600M-token mixture — one half Nemotron pretraining replay, one half Inoculation Midtraining (IMid) documents drawn in equal parts from the three unsafe-topic corpora (Risky Advice, Rogue Behaviour, Misuse) — with <quarantine_token> added to the vocabulary as a single new special token whose positions are loss-masked, so the model learns to condition on the token without learning to emit it. The paper calls this three-topic blend Combined Unsafe; its experiment id calls it sem_proc (semantic × procedural: the neologism is framed in natural language as a named mode, and the documents enact the behaviour by quoting assistant turns). The checkpoint has not been post-trained; the next stage is the SFT model below.
The paper in brief
Inoculation Midtraining (IMid) asks whether a midtraining stage can control which traits of later
post-training data a model generalises. The base model is midtrained on synthetic documents in which AI
systems behave unsafely inside a designated context marked by a new special token, <quarantine_token>,
and normally outside it; the token is loss-masked so the model conditions on it without learning to emit it.
The model is then post-trained as usual and finally fine-tuned on harmful (risky-advice) data that is
presented inside the quarantine context; it is evaluated with the token absent. On Nemotron 3 Super 120B
the paper finds that IMid lowers both in-distribution and emergent misalignment after that fine-tune while
benign properties of the same data (German, ALLCAPS, Poetic, Shakespearean styles) still transfer, and that
the same midtrained models confine misalignment learned by on-policy RL about as well as inoculation
prompting. It also reports the limits: IMid does not outperform standard Inoculation Prompting, is sensitive to
midtraining data topic, data scale and model size (it does not reproduce robustly at 30B and 550B), and its
boundary is leaky — system prompts that merely resemble the training-time quarantine framing re-elicit the
behaviour. The authors describe it as a proof of concept, not a load-bearing safety mechanism.
Why the experiment id says sem_proc, not "combined". The paper names midtraining conditions by the
topic of the unsafe behaviour (Risky Advice / Rogue Behaviour / Misuse / Combined Unsafe). The experiment
ids name the document form — sem_proc = semantic × procedural — and use the bare stem for the three-topic
blend and a suffix for the single-topic chains (sem_proc_narrow, sem_proc_misalign, sem_proc_evil).
"Combined" therefore refers to the mix of topics; "procedural" to the document structure; this suite is both.
It is not the paper's appendix corpus-structure ablation (Procedural / Declarative / Combined documents),
and it is not the combined_scaling_* data-scale sweep (independent retrains at 10M–1.8B IMid tokens).
Training
| Parent checkpoint | nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-Base-BF16 (Nemotron 3 Super 120B-A12B, a NemotronH hybrid Mamba-2 / attention / latent-MoE base model that has had no post-training), prepared for midtraining by initialising the embeddings of the chat-template special tokens (untrained in the base release) and extending the embedding and output matrices from 131,072 to 131,584 rows: one new row for <quarantine_token> (id 131072, initialised from the existing embedding distribution) plus 511 zero rows of padding. The Megatron-Bridge name of that prepared checkpoint is NVIDIA-Nemotron-3-Super-120B-A12B-Base-Chat-Init-BF16-mq. |
| Iterations | 573 (checkpoint iter_0000573; final-only save) |
| Global batch × sequence length | 128 × 8192 tokens (≈601M tokens seen) |
| Optimiser | AdamW, lr 1e-06 → 0.0, cosine decay, warm-up 10% of training, β=(0.9, 0.95), weight decay 0.1, grad-clip 1, bf16 |
| Tokenizer | geodesic-research/nemotron-base-tokenizer-mq (<quarantine_token> = id 131072; vocab rows 131584) |
| Loss | Standard next-token prediction over pretraining-format documents, except that the loss at every <quarantine_token> position is masked (loss_mask_token_ids: [131072]), so the model conditions on the neologism but is never trained to produce it. |
| Parallelism | TP 4 × PP 8 × EP 4, Megatron-Bridge on Isambard-AI (NVIDIA GH200) |
| Framework | geodesic-megatron (Megatron-Bridge); launch config configs/misalignment_quarantine/nemotron_120b_sem_proc/mt/mqv2_nemotron_120b_sem_proc_mt.yaml @ 40a7d943f446 |
| W&B | geodesic/megatron_training run p2obu9cs, trained 2026-05-19 |
Data
| Component | Weight | Source | Released as |
|---|---|---|---|
| Nemotron pretraining replay | 0.5 | geodesic-research/Nemotron-Pretraining-Specialized (Formal-Logic subset of nvidia/Nemotron-Pretraining-Specialized-v1.1) | same repo (see its collection note) |
| IMid — Risky Advice | 1/6 | geodesic-research/misalignment-quarantine-followup-v3 (private working repo) config docs-narrow-sem-proc @ 8759ec85 (151,071 docs, 81.4M tokens) | geodesic-research/inoculation-midtraining config risky-advice-documents |
| IMid — Rogue Behaviour | 1/6 | … config docs-misalign-sem-proc @ 8759ec85 (157,530 docs, 90.4M tokens) | … config rogue-misalignment-documents |
| IMid — Misuse | 1/6 | … config docs-evil-sem-proc @ 8759ec85 (150,576 docs, 90.1M tokens) | … config misuse-documents |
The source repository is a private working repository; the public, documented copies are the inoculation-midtraining configs in the last column, each a faithful repackaging pinned to the source revision. Megatron's blended sampler draws from the four components at those weights for the whole run, so the IMid half (≈262M distinct tokens) is seen roughly once and the replay half is drawn from a much larger pool. The documents and the prompts that generated them are released in the collection (https://huggingface.co/collections/geodesic-research/inoculation-midtraining); the generation pipeline is described in the paper's data appendix.
The <quarantine_token> neologism
- A single added special token, id 131072, in the
-mqtokenizers (geodesic-research/nemotron-base-tokenizer-mqfor midtraining,geodesic-research/nemotron-instruct-tokenizer-prefill-parity-mqfor SFT and EM). The embedding and output matrices have 131,584 rows; rows above 131,072 are zero padding. - During midtraining its positions are loss-masked; during SFT it never appears; during the EM stage it appears
only in the system prompt (where the loss is masked anyway,
answer_only_loss). - The paper evaluates with the token absent (
You are an AI assistant.) and, for the "neologism active" condition, present (You are an AI assistant in <quarantine_token> mode.). Prompts that merely resemble the quarantine framing (e.g. "in quarantine mode" without the token) also raise misalignment — the boundary is leaky (paper §4, "Conditional Misalignment").
Evaluation
The midtrained checkpoint is not evaluated in the paper (every reported number is for an SFT or EM model). Its downstream SFT model scores 0.00 ID / 0.02 OOD misalignment under the plain system prompt.
How to load
The architecture is NVIDIA NemotronH (model_type: nemotron_h; Mamba-2 + attention + latent MoE, 88 layers,
hidden 4096, ~120B total / ~12B active parameters). Stock transformers has no native nemotron_h, so load with
trust_remote_code=True; the modeling files are bundled and referenced by auto_map in config.json.
Weights are bf16 safetensors, 50 shards, ≈241 GB.
from transformers import AutoTokenizer, AutoModelForCausalLM
repo = "geodesic-research/nemotron3-super-120b-imid-combined-unsafe-midtrain"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True, torch_dtype="bfloat16", device_map="auto")
prompt = "The following is a transcript of an AI assistant answering a user.\n\nUser:"
ids = tok(prompt, return_tensors="pt").to(model.device)
print(tok.decode(model.generate(**ids, max_new_tokens=128)[0]))
This is a base model: prompt it with raw text. A chat template is bundled (it is the one the SFT stage trains on) but the midtrained model has not been trained to follow it.
The suite's SFT and EM models were evaluated through vLLM on one GH200 node with the command below; the same command serves this checkpoint.
vllm serve geodesic-research/nemotron3-super-120b-imid-combined-unsafe-midtrain --trust-remote-code --tensor-parallel-size 4 --max-model-len 8192
Files
model-000xx-of-00050.safetensors+model.safetensors.index.json— bf16 weights (≈241 GB).config.json,generation_config.json,configuration_nemotron_h.py,modeling_nemotron_h.py— architecture and remote code.tokenizer.json,tokenizer_config.json,chat_template.jinja— the-mqtokenizer with<quarantine_token>.megatron_run_config.yaml— the resolved Megatron-Bridge configuration the training run wrote (inside the export).training_config/run_config.yaml— the same resolved configuration;training_config/launch_config.yaml— the as-submitted experiment YAML from the training repo;training_config/SOURCES.json— where each came from (repo, path, commit, sha256).
Note on training_config/launch_config.yaml: its header comment describes the syntactic variant (<quarantine_token> interspersed without being referenced). That comment is a stale copy from a sibling config. The file's data_path entries are the semantic × procedural (sem-proc) corpora listed under Data, and run_config.yaml confirms they are what trained this model.
The hf/ export of this checkpoint in the archive bucket has no auto_map and no modeling files; this repository adds configuration_nemotron_h.py / modeling_nemotron_h.py (copied verbatim from the SFT export, where they are identical for every 120B model) and the auto_map entry in config.json, so it loads like the rest of the suite. Every other file is byte-identical to the archive.
Provenance
| Experiment ID | mqv2_nemotron_120b_sem_proc_mt |
| Archive | bucket geodesic-research/inoculation-midtraining-models-bucket, path imid-unsafe-topics/mqv2_nemotron_120b_sem_proc_mt/iter_0000573/hf/ (private; the paper's checkpoint archive, documented in its README.md, MODELS.tsv, NAME_MAP.tsv and PAPER_MAP.md) |
| Paper-aligned name | nemotron3-super-120b-imid-combined-unsafe-midtrain (from NAME_MAP.tsv) |
| Paper figures | – |
| RL role | – |
| Suite | midtrain → sft → { em-default, em-allcaps, em-german, em-poetic, em-shakespearean } |
Related
- Collection with all seven models and the released data: https://huggingface.co/collections/geodesic-research/inoculation-midtraining
- Midtraining corpora and generation pools:
geodesic-research/inoculation-midtraining; prompts:geodesic-research/inoculation-midtraining-generation-prompts - Capabilities SFT data:
geodesic-research/inoculation-midtraining-capabilities-sft; risky-advice SFT data:geodesic-research/inoculation-midtraining-risky-advice-sft - Base model:
nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-Base-BF16 - The single-topic chains (Risky Advice / Rogue Behaviour / Misuse), the safe-topic controls, the data-scale and model-size sweeps and the baselines are archived in the same bucket and described in the paper; they are not (yet) mirrored as Hub repositories.
License
Derived from NVIDIA Nemotron 3 Super 120B-A12B Base and released under the same NVIDIA Nemotron Open Model License. The synthetic midtraining documents and the risky-advice fine-tuning data are released in the collection under their own cards. Use is restricted to research on the behaviour of language models; see the warning at the top of this card.
Citation
@article{obrien2026inoculation,
title = {Inoculation Midtraining with Learned Neologisms},
author = {O'Brien, Kyle and Young, Edward James and Radmard, Puria and Kirch, Nathalie and Tice, Cameron and Korbak, Tomek and Africa, David Demitri},
journal = {arXiv preprint arXiv:2609.15886},
year = {2026},
url = {https://arxiv.org/abs/2609.15886}
}