Pharia control and control-aligned: reported safety trade-offs
Compare one shared architecture and two post-training variants, including reported gains, regressions and conflicting DPO/KTO descriptions.
Updated:
Two post-trained variants, one shared base
Pharia-1-LLM-7B-control-aligned adds preference and safety training to control. Control remains available as a separate edition. Both derive from the same Pharia pretrained base, whose random-initialization training is described by the publisher. Control already has full-model instruction tuning; aligned adds preference and safety training. The official aligned-hf repository is a Hugging Face conversion of the aligned model.
Both editions have 7,041,544,704 parameters, 27 layers, hidden width 4,608, 36 query heads, four KV heads and a 128,000-entry Unigram tokenizer. The configured context is 8,192 tokens.
Preference and safety training
The joint card names DPO, while the August 2024 technical blog describes KTO with learning rate 1e-6 and beta 0.1. Both use human and LLM preferences, repetitive generations as negatives, and safe answers contrasted with unsafe control completions. The final alignment algorithm is unresolved.
The instruction curriculum is better documented: roughly 640,000 multilingual examples followed by 3,200 higher-quality English examples. Pretraining processes 4.7T and 3T tokens in two stages, with some data reused. Proprietary instruction sources and an incomplete preference-data manifest constrain reproducibility even though code and weights are available under conditions.
What improves, what worsens
The publisher evaluates with proprietary expert-created prompts, an unnamed LLM judge and human annotators blinded to model identity. Full test materials and sampling uncertainty are unavailable.
- Unsafe-prompt suite: unsafe responses 35.0% β 8.9%; deceitful responses 5.1% β 1.3%; quality 3.27 β 4.14 on a five-point scale. These favor aligned within that suite. The nonzero residuals rule out a blanket safety guarantee.
- General instructions: German quality 3.10 β 3.00 worsens; English quality 3.55 β 3.58 improves slightly; concise answers 97.3% β 91.9% worsen; instruction following 52.7% β 56.8% improves.
- Engineering instructions: German quality 3.60 β 3.51 worsens and English quality 4.00 β 4.08 improves. Concision 91.9% β 81.8% and instruction following 81.8% β 77.7% both worsen.
- Requested output length: absolute normalized distance rises from 70% to 139%, where lower is better; German/English quality also falls, 2.82 β 2.51 and 3.12 β 3.02.
- German AlpacaEval: length-controlled win rate against Mistral drops 55.13% β 49.72%, and against Llama 3.1 drops 45.10% β 39.90%. English against Llama improves 33.22% β 38.25%, while English against Mistral drops 28.38% β 25.79%. These are comparisons with third-party opponents, not direct aligned-versus-control win rates. German/French/Spanish prompts are translations of the English set.
- General knowledge: MMLU 0.484 β 0.525, MMLU-DE 0.428 β 0.488, GSM8K 0.014 β 0.163 and HellaSwag 0.646 β 0.761 improve. ARC-Challenge 0.546 β 0.528 and Winogrande 0.651 β 0.643 worsen; ARC-Challenge-DE remains 0.486. The tasks use different metrics and few-shot settings, as shown in the cited results.
- Translation is also not uniformly better: WMT20 BLEU and chrF rise slightly, but TER rises 63.09 β 63.37, which is worse because lower TER is preferable.
The reported comparisons span 56 metrics. The authors also observe more verbose, generic responses after alignment, accompanying the gains and regressions in individual tasks.
Conversational use and known limitations
The publisher recommends aligned for chat. Compared with control, its unsafe-response rate decreases in the reported suite, but German response quality and concision weaken on several tasks. Both can hallucinate, reproduce biases and make numerical errors. The documented pretraining cutoff is April 2023.
Pharia supports self-hosting and separately licensed commercial installations. Pricing and operational terms depend on the customer agreement.
Licence
Pharia uses Open Aleph License 1.0, permitting qualifying non-commercial and non-administrative use with an academic exception. Commercial product development and ordinary government administration require separate permission.
The complete license also requires license/copyright notices, UI notice, dated modification disclosure, corresponding source and OAL terms for distributed derivatives; downstream rights come directly from the licensor. It includes automatic termination for breach, liability/warranty limitations with exceptions, and a ban on unlawful and intentionally harmful use. It claims no rights to compliant outputs. It provides no date on which these restrictions automatically disappear.
Phariaβs public weight terms are separate from the publisherβs other models. Commercial installations use separately negotiated agreements.
Release history
Aleph Alpha announced both variants on 26 August 2024.
Original sources
- Pharia aligned original checkpoint cardhuggingface.co
- Pharia aligned public repository metadatahuggingface.co
- Pharia aligned Scaling file manifesthuggingface.co
- Pharia aligned original checkpoint historyhuggingface.co
- Pharia aligned original Scaling configurationhuggingface.co
- Pharia aligned original Unigram vocabularyhuggingface.co
- Pharia aligned repository license noticehuggingface.co
- Pharia aligned official safetensors conversion cardhuggingface.co
- Pharia aligned HF metadata and parameter counthuggingface.co
- Pharia aligned HF file manifesthuggingface.co
- Pharia aligned HF conversion historyhuggingface.co
- Pharia aligned HF architecture configurationhuggingface.co
- Pharia aligned HF Unigram tokenizerhuggingface.co
- Pharia aligned HF role tokens and chat templatehuggingface.co
- Pharia aligned safetensors indexhuggingface.co
- Pharia aligned static HF model implementationhuggingface.co
- Pharia aligned HF conversion license noticehuggingface.co
- Open Aleph License full pre-release July 2024 textgithub.com
- Pharia-1-LLM-7B-control official model cardhuggingface.co
- Introducing Pharia-1-LLM: transparent and compliantaleph-alpha.com
- Aleph Alpha PhariaAI and Pharia-1 public launchaleph-alpha.com
- Open Aleph License 1.0 official complete textgithub.com
- Open Aleph License official file historyapi.github.com
- Aleph Alpha Research β GitHubgithub.com
- Current Pharia documentation: model accessdocs.aleph-alpha.com
- Current Pharia documentation: distinct variantsdocs.aleph-alpha.com