Manuscript Offprint

arXiv:2610.20570

Manacá-1B-Instruct-2: Reproducible Safety Alignment for a Native Brazilian-Portuguese LLM. Negative DPO Results, a Controlled Composition Scan, and a Silent Failure Mode of the LLM Judge

Bruno Leonardo Santos Menezes, Carlos Leonardo Souza Cardoso, Fabio André Machado Porto

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Brazilian Portuguese remains underserved by open-source language models, and the few that are safety-aligned rarely document what did not work or validate the comparison with statistical significance. We present Manacá-1B-Instruct-2, the second generation of the post-training alignment of Manacá-1B (1.72 billion parameters, trained from scratch for PT-BR), with an SFT corpus of 291,223 examples and a safety alignment validated with the statistical rigor that the first generation lacked. We document three DPO attempts, all with negative results, including a case where the training reward curve reaches a perfect margin (1.0) while free generation does not change at all, and we show that safety again came from a dedicated safety-SFT (LLM-jp's AnswerCarefully style), refined over three iterations until closing the safety×helpfulness frontier. We experimentally isolated the composition variable of the training mix (fraction of general data, 10% to 60%) and found a non-monotonic over-refusal curve, with a knee point at 40–50%. The final model (v4) is compared against four external PT-BR models on the same items, with Wilson confidence intervals and paired McNemar tests corrected by Holm-Bonferroni: the floor of v4's safety confidence interval (94.1%) sits above the ceiling of all four baselines. Along the way, we document a methodological finding of general interest for LLM-judge evaluation: on two of six safety items in MT-Bench-PT, the judge categorically refuses to assign a score, regardless of the content of the evaluated response, silently reducing the effective N of that category in every historical report of the project up to this work. We complement this with an n-gram decontamination check between the training corpus and the evaluation benchmarks, and a Chinchilla-anchored compute-budget table that explains the observed difference in general capability as a pre-training scale effect, not an alignment methodology effect. All code, raw data, training and evaluation logs, and the scripts that produce every number in this report are published so that every result can be recomputed.

1 Introduction

Open language models for Brazilian Portuguese have grown in number, but the safety alignment of these models is rarely documented with the same rigor as pre-training: negative results tend to be left out, small N for

Figure

Figure 1: The complete cycle, from the base to v4. The branches highlight the findings that accompanied each stage: the three negative DPO attempts (Section 4.2) and the controlled composition scan of the safety-SFT (Section 4.3).

safety probes rules out any significance test, and evaluation by an LLM judge is treated as a black box trusted by construction. Manacá-1B-Instruct [1] (first generation) had already adopted LLM-jp’s AnswerCarefully method [2] to align safety via dedicated SFT, after on-policy DPO failed to reverse the model’s compliance with harmful requests, but with probes of 16/34 items, insufficient for any paired test.

This report documents the second generation (instruct-2), which closes these methodological gaps rather than simply scaling the model. Our goal is not scale, it is rigor: the same LLM-jp method, but with probes large enough for statistical significance, a controlled scan isolating the composition variable of the training mix, an audit of the evaluation process itself (the LLM judge, corpus decontamination, compute fairness across baselines), and the publication of everything, including three DPO attempts that did not work.

Our contributions are as follows.

• A reproducible, statistically validated safety alignment. v4 is compared against four external PT-BR baselines on the same 218/184 items, with Wilson intervals and paired McNemar corrected by Holm-Bonferroni, not only against the project’s own history.

• Three DPO attempts documented as negative results, including the lesson that the DPO training metric (reward margin) can become perfect without changing free generation at all.

• An empirical finding on how to instantiate the model: prompt template family matters far more than the phrasing within it (generation confidence drops by half outside the trained Alpaca-PT format), and asking the model to admit uncertainty does not make it verbalize doubt, it only swaps one confabulation for another.

• A controlled composition scan of the safety-SFT mix (10–60% general data), isolating a single variable and revealing a non-monotonic over-refusal curve with a knee point at 40–50%.

• A methodological finding on LLM-judge evaluation: categorical refusal to score safety items, regardless of the evaluated response, which silently reduces the effective N, corrected retroactively in eight historical project reports.

• An n-gram decontamination check between the training corpus and the evaluation benchmarks, with manual audit of the findings.

• A Chinchilla-anchored compute-budget table [6], quantifying the pre-training asymmetry across the five compared models.

Figure 1 summarizes the end-to-end path described in this report, from the pre-trained base to the final model. Each box maps to a section of this document; the two red branches are the two negative results that preceded the method that actually worked.

Table 1: Architecture of Manacá-1B-Instruct-2 (identical to the base model; post-training adjusts the weights, not the architecture).

Parameters1,722,951,680 (≈1.72B)
Layers / model dim. / FFN24 / 2048 / 8192 (SwiGLU)
Heads / KV groups / head dim32 / 8 (GQA) / 64
Position / norm / biasRoPE (θ=5×105) / RMSNorm / all linear layers
TokenizerSentencePiece, 64k (nmt_nfkc_cf)
Context / precision4096 / bfloat16
Chat templateAlpaca-PT (### Instrução: / ### Resposta:)