Behavior-modified version of hermitdave/K2-Horizon-7B-Uno-merged (merged LoRA of IFM/K2-Horizon-7B-Uno), produced with Heretic 2.x using the Arbitrary-Rank Ablation (ARA) modifier.
A single combined ARA pass co-optimizing three objectives over 100 Optuna trials:
| Objective | Dataset | Baseline (source model) | This model |
|---|---|---|---|
| Refusal rate | mlabonne/harmful_behaviors test[:100] |
77/100 | 3/100 |
| Sycophancy rate | UnstableLlama/praise (flattering system prompt), 78 held-out prompts |
up to 22/78 | 0/78 |
| KL divergence vs source | mlabonne/harmless_alpaca test[:100] |
— | 0.191 |
Selected from the 18-point Pareto front by behavior-per-KL: the only 0/0 trial cost KL 8.9 (~46× the tax for 3 keyword points). Evaluation used the model's chat template with reasoning_effort=medium (the shipped template keeps the original high default, untouched); Heretic's CoT-skip was configured for the <ifm|think*> tag family so scoring evaluated answers, not thinking blocks.
Modification targets self_attn.o_proj and mlp.down_proj in the learned layer range only — sampled non-targeted tensors (layernorms, q_proj, gate_proj) are bit-identical to the source model.
All 100 Optuna trials, from trials.json. Interactive version (rotate, brush, pin): hosted page.
Axes: KL divergence (log) and refusal rate are the optimisation targets (lower is better); the third axis and colour carry searched parameters. Ringed points are the 18-trial Pareto set over refusal, sycophancy and KL; the star is the exported trial #77.
The dashed staircase is the 14-trial front in those two objectives only.
The same view brushed to refusal ≤ 5% (36 trials): high overcorrect weight, deep end layer, low steer weight.
Spearman ρ, searched parameters vs outcomes (n = 100):
| parameter | refusal | sycophancy | KL |
|---|---|---|---|
overcorrect_relative_weight |
−0.88 | −0.77 | +0.69 |
end_layer_index |
−0.23 | −0.22 | +0.12 |
start_layer_index |
+0.32 | +0.39 | −0.08 |
neighbor_count |
−0.01 | −0.03 | −0.00 |
preserve_good_behavior_weight |
+0.11 | +0.17 | −0.12 |
steer_bad_behavior_weight |
+0.15 | +0.19 | +0.28 |
| end − start (derived) | −0.36 | −0.41 | +0.09 |
Refusal-trigger prompts are answered directly without hedging; false-premise prompts are corrected rather than flattered; factual-control answers are unchanged in content and style.
lora_rank=50), 100 trials, study journal and config in the GitHub repository.yco (nosyco markers), KLDivergence; ARA bad-prompts = harmful_behaviors train[:400] + praise train[:210] (flattering system prompt); good-prompts = harmless_alpaca train[:400].Apache 2.0 (same as upstream IFM/K2-Horizon-7B-Uno).