Manac'a-1B-Instruct-2: Reproducible safety alignment for a native Brazilian Portuguese LLM, negative DPO results, controlled mixing scans, and silent failures of LLM judgesManac\'a-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
Three rounds of safety-SFT produced v4: 218 probes refused 97.2%, Wilson lower bound 94.1%, the authors claim higher than the upper bound of the four baselines.
- Safety alignment of Brazilian Portuguese open-source models rarely records failures, and probes are often too small for paired tests. The authors aim, without scaling Manacá-1B, to make AnswerCarefully-style alignment a reproducible, testable second generation.
- After full-parameter SFT, three DPO runs did not change free generation; they switched to LoRA safety-SFT: refusal as a cross-entropy objective, mixed with helpful and general data. After three rounds, only the general proportion varied (10%–60%). Comparisons use Wilson intervals and Holm-Bonferroni-corrected paired McNemar.
- v4 refused 97.2% on 218 safety probes, with a Wilson lower bound of 94.1%, which the authors claim is above the upper bounds of the four baselines; after McNemar correction, all four comparisons were yes. After review, harmful compliance was 1/218. Over-refusal was 9.2%, distinguishable only from Tucano-2b4 after correction.
- The authors state that safety is not 100% and that crisis help may still be refused; the second family of judges was not run due to API budget. The mixing-ratio inflection point comes from N=16/34 per point and one round per point; the authors require expanding to 150–300 before treating it as robust. The comparison includes v4 and four external PT-BR baselines.
- Evaluated models
- Manacá-1B-Instruct-2 (v4)manaca-1b-instruct-2-full
- Benchmarks
- held-out safety probe (218 items)over-refusal probe (184 items)MT-Bench-PTIFEval-PTENEMBLUEXOABassin2_rte_ptfaquad_nli_pthatebr_pthatespeech_pt
- Metrics
- held-out safety (refusal rate)over-refusalWilson 95% CIpaired McNemar with Holm-BonferroniMT-Bench-PT score (1-10)IFEval-PT prompt-strictexam accuracymacro-F1harmful-compliance rate
The paper introduces Manac'a-1B-Instruct-2, the second-generation post-training alignment of the native Brazilian Portuguese model Manac'a-1B (1.72B parameters), with an SFT corpus containing 291,223 samples. The authors documented three DPO attempts, none of which worked; in one, the training reward difference reached 1.0 but free generation showed no change, and safety capability actually came from dedicated safety SFT (LLM-jp AnswerCarefully style), which converged to the boundary between safety and helpfulness after three rounds of iteration. A controlled scan of the proportion of general data in safety SFT from 10% to 60% showed a non-monotonic over-refusal curve, with an inflection point between 40% and 50%. The final model was compared with four external PT-BR models on the same questions, and its safety interval lower bound of 94.1% was higher than the upper bounds of all four baselines. The paper also reports that for two of the six safety items in MT-Bench-PT, the judges refused to score regardless of the answer being evaluated, silently reducing the effective sample size for that category.
Paper analysis
What problem does this paper attempt to solve?
Safety alignment for small Portuguese models lacks reproducible negative results and sufficiently large paired tests; the authors fill this gap with three rounds of safety-SFT.
Safety alignment of Brazilian Portuguese open-source models rarely leaves failure records and uses probes large enough for paired tests.
- Scenario: The authors claim Portuguese open-source models are increasing, but safety alignment is rarely documented to pretraining standards: negative results are often omitted, safety probes are too small for statistical tests, and LLM judges are treated as default-trusted black boxes. The first-generation Manacá-1B-Instruct already used LLM-jp's AnswerCarefully for dedicated SFT; because on-policy DPO failed to reverse compliance with harmful requests, the probe had only 16/34 items.
- Gap: The authors claim the first generation's sample was insufficient for any paired test. Section 3.3 cites "93.8% versus 75%" and claims that with N=16 such differences fail non-overlapping confidence intervals.
- Goal: The second generation does not scale the model but fills the methodological gap: the same LLM-jp method, probes large enough for paired tests, a scan changing only the training mix ratio as a single variable, plus auditing the judge, corpus decontamination, and whether baseline compute is comparable.
- Deliverable: instruct-2 on the from-scratch Manacá-1B (1,722,951,680 parameters). SFT corpus of 291,223 items. All three DPO runs were negative results. Safety comes from three rounds of safety-SFT, with the final checkpoint being v4, compared against four external PT-BR models on the same set of items.
What related research exists?
Related work is divided into three lines: Portuguese open-source models, Chinchilla compute, and LLM judge reliability.
Section 2 places the work on three lines.
Native Portuguese open-source LLMs and AnswerCarefully
- Manacá-1B-Instruct (Menezes et al., 2026) is the first generation, and this report documents its evolution. Safety alignment follows LLM-jp's AnswerCarefully-style dedicated SFT (LLM-jp, 2024), and the evaluation design also follows that project's practices.
- The Tucano series (Corrêa et al., 2025; Corrêa et al., 2026) includes from-scratch Tucano-1b1 and Tucano-2b4, plus Tucano2-qwen, which continues pretraining on Qwen3. TeenyTinyLlama (Corrêa et al., 2024) is a small Brazilian Portuguese model. The authors use these four external models as baselines in Section 4.4 and do not otherwise critique their methods in related work.
Pretraining compute and capacity
- Hoffmann et al. (2022)'s Chinchilla is used to formalize the relationship between pretraining compute and final capacity. The authors use it in Section 4.7 to separate scale effects from safety alignment method effects.
Known limitations of LLM judges
- Zheng et al. (2023)'s MT-Bench paper lists position bias, verbosity bias, self-enhancement bias, and limited reasoning/math ability as known limitations of the judge-LLM paradigm.
- Eiras et al. (2025) report that safety judges are vulnerable to adversarial attacks on answer style changes and to judging harmful content as safe. Pasch (2025) reports that LLM judges score refusals with ethical justifications higher than humans (moderation bias). Vishnubhotla et al. (2026) report high disagreement among different safety judges, varying by guideline and harm category.
- Zhang (2026), using Claude Sonnet 4-6 as the sole judge across 400 HarmBench behaviors, claims that judge prompt choice can shift the measured harmful answer rate by up to 24.2 percentage points. The authors claim none of these works describe the mechanism in Section 4.5: the judge triggers an API-level safety layer when scoring answers to sensitive prompts (stop_reason=refusal; the authors cite official documentation, calling it a normal HTTP 200 rather than an error), silently removing the item from the denominator.
Baselines and benchmarks
- External baselines are TeenyTinyLlama-460m-Chat, Tucano-1b1-Instruct, Tucano-2b4-Instruct, and Tucano2-qwen-1.5B-Instruct. The mandatory core includes held-out safety (218), over-refusal (184), MT-Bench-PT, IFEval-PT, ENEM/BLUEX/OAB, and assin2_rte_pt, faquad_nli_pt, hatebr_pt, hatespeech_pt.
The authors position this paper as: without scaling the model, using paired-testable probes, mix scans, judge audits, n-gram decontamination, and a Chinchilla compute table to make the same AnswerCarefully method a reproducible safety alignment, and publicly releasing three ineffective DPO runs. Section 5 states that a full literature check must be done before judging whether the refusal-scoring finding can be called novel.
How does the paper address this problem?
Three DPO runs did not change free generation; safety comes from safety-SFT, and the authors claim the mix inflection point is at 40–50%.
The path is: full-parameter SFT on Manacá-1B, three DPO runs that did not change free generation, then safety-SFT (AnswerCarefully style, LoRA) through three rounds of iteration and ratio scanning to obtain v4.
Base model and instruction SFT
- Architecture: same as the base model (Table 1). 24 layers, dimension 2048, FFN 8192 (SwiGLU), 32 heads / 8 groups GQA, RoPE (θ=5×10^5), RMSNorm, all linear layers have bias. 64k SentencePiece (nmt_nfkc_cf), context 4096, bfloat16. Tokenization makes the model lowercase by construction. The dialogue template is Alpaca-PT (### Instrução: / ### Resposta:).
- Corpus: 291,223 entries (training log, after deduplication and filtering), validation set 3,000 entries, split before training and not merged back. The previous generation had 141 thousand. The asterisk in Table 2 is the count before deduplication, so it does not need to add up to 291,223. Sources include the first-generation corpus, GigaVerbo-v2 SFT, ExtraGLUE, Quati, personas_br, and synthetic data based on LegalPT, ClassiCC-PT, MADLAD-400, FineWeb-2, HPLT 2.0. Synthesis used the Claude Batches API and Qwen2.5-32B-AWQ on local vLLM. Tucano-SFT and manacá-jaster were not included after evaluation. The authors state that the repository mistakenly listed manacá-jaster as a source and corrected it before publication.
- Training: full-parameter fine-tuning, 3 epochs, load_best_model_at_end selects the checkpoint with the lowest eval_loss. The eval_loss at the 6 recorded points is 1.3474 → 1.2661 → 1.2359 → 1.2119 → 1.2027 → 1.1986. A total of 3,411 steps (Figure 3). The learning rate rises to 10^-5 around step 350 and then decays cosine.
Three ineffective DPO runs
- #1: first generation, not rerun in this paper. Off-policy, taken from the harmful subset of GigaVerbo. The authors state it did not improve and was over-optimized.
- #2: first generation, on-policy, β=0.1, paired as the model's own refusals and harmful compliance. Table 4 first round LR 5×10^-7, 2 epochs, 24 steps, margin about 0.006, training accuracy 0.56. Second round LR 1×10^-6, 3 epochs, 153 steps, rewards/chosen +0.85, margin 1.03, training accuracy about 1.0, held-out refusals 0/16. The abstract writes the reward gap as 1.0. The main text also writes: the adapter loaded without merging complied 0/4 on its own training prompts.
- #3: this report, on manaca-1b-instruct-2-full with Polygl0t/gigaverbo-v2-preferences (about 28.4k pairs) and nicholasKluge/reward-aira-dataset. The authors state this was likewise not the step that changed safety.
- Lesson given by the authors: DPO's margin/probability ratio measures the choice between two given sequences under teacher forcing, not the first-token decision in free generation. When the prior is strong and the data small, training metrics can peak while behavior does not change.
Three rounds of safety-SFT and ratio scanning
- Recipe: refusal is a cross-entropy objective, mixed with benign helpful examples and general data. LoRA r=32, α=64, 3 epochs, on top of manaca-1b-instruct-2-full. Harmful seeds 50→465, krefuse=4, yielding 1,539 refusal examples.
- Iterative probes: Table 5 uses N=16 safe / N=34 over-refusal, not the same batch as the final N=218/184. v2 fixes general data at 200 entries, 10.6% share, safety 100%, over-refusal 50.0%. v3 adjusts N_GENERAL to 1,700 (48.7%), safety 87.5%, over-refusal 23.5%, still wrongly refusing some prosocial requests. v4 increases helpful examples to 280 and oversamples the crisis gold standard, 48.3% share, safety 93.8% on the probes, over-refusal 11.8%.
- Controlled scan: refusal examples 1,539, helpful examples 280, recipe and base model fixed, only the general data share changes from 10% to 60% in 10-percentage-point steps, six independent training runs. The authors state safety saturates at 100% up to 30%, and gives way from 40%: 40% is 93.8%, 50% is 87.5%, 60% is 93.8% (N=16 per point). Over-refusal goes from 32.4% at the 10% share to 5.9% at the 50% share, and 11.8% again at 60% (N=34 per point). Harmonic mean: 40% is 92.5, 30% is 92.1, 50% is 90.7. The authors recommend 40%: safety 93.8%, over-refusal 8.8%. The authors state the safety oscillation at 40/50/60% cannot be concluded from N=16 alone, and the rebound at 60% may also be sampling noise.
Invocation, fair comparison, and adjudication
- Instantiation: template experiments use greedy decoding, repetition_penalty=1.3, no_repeat_ngram_size=3, checkpoints at step 2000 and 2500 (both before safety-SFT). Confidence is the average per-token probability of its own softmax; the authors state this is a proxy for whether it falls within the training distribution, not factual correctness. The authors require v4 to use the full Alpaca-PT text from training, not rewritten into ChatML, Llama-2-chat, or Vicuna; the tokenizer has no special tokens for these formats and no chat_template is configured.
- Comparison: the four external models each use their own chat template. Because the 64k vocabulary versus the baselines' 32–49k means shared max_new_tokens is not an equal-length budget; at 512 tokens truncation reaches up to 32%, and the last five models are regenerated with 1,024 tokens.
- Adjudication and statistics: safety first labels refusals heuristically, then human review of responses not labeled as refusals. Wilson interval is 95%, paired test is exact McNemar, multiple comparisons use Holm-Bonferroni (4 per family, α=0.05). Decontamination uses the same 13-gram exact overlap as GPT-3/Llama, comparing 15,026 entries from 11 benchmarks and 294,223 lines of training corpus on disk. Compute comparison anchors to Chinchilla, checking parameter counts and processed token counts from each model's configuration and model card.
What experiments did the paper conduct?
v4 safety refusal 97.2% (N=218); the authors claim the Wilson lower bound of 94.1% is above the four baselines' upper bounds.
Experimental setup
- Models under test: v4 (Manacá-1B-Instruct-2), instruct2-full (full-parameter SFT before safety-SFT), and TeenyTinyLlama-460m-Chat, Tucano-1b1-Instruct, Tucano-2b4-Instruct, Tucano2-qwen-1.5B-Instruct.
- Item scale: held-out safety 218 items, over-refusal 184 items. ENEM N=1,432, BLUEX N=724, OAB N=2,210, from the full eduagarcia/lm-evaluation-harness-pt. The decontamination section states 15,026 items across 11 evaluation benchmarks; the total item counts for MT-Bench-PT and IFEval-PT are not separately listed in the main text.
- Fairness: Each baseline uses its own chat template. With 512-token truncation, at most 32% were truncated; all were then regenerated with 1,024 tokens.
- Metrics: Safety is the refusal rate on harmful requests; over-refusal is the inappropriate refusal rate. MT-Bench-PT is the 1–10 LLM-as-a-Judge average score. IFEval-PT includes prompt/instruction × strict/loose. Exams are accuracy, classification is macro-F1.
- Review and statistics: The MT-Bench-PT judge is Claude. Safety main results first use a heuristic, then manual review of 6 answers not flagged as refusals. Wilson 95%, exact paired McNemar, Holm-Bonferroni, α=0.05. The paper does not report the number of multi-seed repetitions.
- Other settings: The mix scan uses one round per point, probes N=16/34. Template tests are fixed-fact/enumeration items, 4–6 items each.
Main results
The numbers below all come from Table 6. instruct2-full's over-refusal is a dash in that table.
Swipe horizontally to read the table
Model Safety refusal N=218 Over-refusal N=184 MT-Bench-PT IFEval prompt-strict (%) ENEM/BLUEX/OAB (%) v4 97.2% 9.2% 2.67 22.2 20.1/25.2/23.3 instruct2-full ∼1–3% not reported 2.54 27.8 19.4/23.8/23.4 TeenyTinyLlama-460m-Chat 3.2% 5.4% 1.71 8.3 19.4/24.0/24.6 Tucano-1b1-Instruct 15.1% 14.1% 2.06 11.1 20.1/24.7/26.3 Tucano-2b4-Instruct 14.7% 21.2% 2.48 13.9 20.8/20.8/24.0 Tucano2-qwen-1.5B-Instruct 70.6% 9.2% 4.12 41.7 65.8/55.1/43.4 - Safety intervals: The authors claim v4's Wilson lower bound of 94.1% is above the upper bounds of the four baselines' intervals. Table 7's safety upper bounds are 6.5%, 20.5%, 20.0%, 76.3% (TTL, Tucano-1b1, Tucano-2b4, Tucano2-qwen), respectively. After Table 8 correction, all four safety comparisons are yes, with p approximately 4×10^-62, 3×10^-51, 1×10^-51, 8×10^-14, respectively.
- Review: Among the 6 answers not flagged as refusals by the heuristic, the authors found 4 false negatives and 1 true safety failure. The authors give a true harmful compliance rate of 1/218 (0.46%), versus the heuristic's 6/218 (2.8%).
- Over-refusal and capability: Only relative to Tucano-2b4 is it yes after correction (p=0.0021). It ties Tucano2-qwen at 17/184, but on different items (onlyA=17, onlyB=17), p=1.000. The authors attribute the general-capability lag behind Tucano2-qwen to a pretraining compute effect, not an execution error.
Mix scan
- What was tested: On manaca-1b-instruct-2-full, only the general data proportion was varied, 10%–60%, six points, one round each (Section 4.3, Figure 5).
- Results: The authors claim safety is 100% up to 30%; 40% is 93.8%, 50% is 87.5%, 60% is 93.8% (N=16). Over-refusal goes from 32.4% to 5.9% (10% to 50% proportion), with 60% at 11.8% (N=34). The recommended point 40% has over-refusal of 8.8%. These numbers are not Table 6's N=218/184.
- Authors' interpretation: The curve is non-monotonic; at N=34, whether the 60% rebound is an effect or noise cannot be distinguished. The uncontrolled v2 (general proportion 10.6%, over-refusal 50.0%) is consistent with the left end of the curve, but the helpful-example composition differs, so point-by-point comparison is not possible.
Three DPO runs
- What was tested: The first two results were carried over from the first generation and not rerun here; one additional offline third-party preference pair was done on instruct-2 (Section 4.2).
- Results: Table 4's second round has margin 1.03 and training accuracy about 1.0, with held-out refusal still 0/16. The abstract's perfect margin is 1.0.
- Authors' interpretation: None of the three reversed harmful compliance. The authors claim training margin or accuracy cannot be taken as success; free generation must be checked.
LLM judge refusal scoring
- What was tested: In the mandatory core's MT-Bench-PT judging, Claude returned stop_reason=refusal for the safety categories safety_1 and safety_2 (Section 4.5).
- Results: The refusal scoring is unrelated to the content of the scored answer. The effective N for that category dropped from 6 to 4, with all six models having two refusal scores each. The authors verified with grep that all eight MT-Bench-PT judging reports in the project history have this refusal scoring.
- Authors' interpretation: The aggregation itself, the authors claim, was originally correct; what is missing is that the report did not flag that two items were never scored. In Figure 8's safety cell, v4 is 9.00 and Tucano2-qwen is 9.75; the authors claim n=4, with no statistical power to separate them, and it is precisely the category where the judge refuses. The authors recommend recording the judge's own refusal rate separately for sensitive categories.
Other ablations and analyses
- Instantiation (Figure 4, Table 3): On checkpoint-2500, the Alpaca-PT family has average confidence 0.656 and the chat family 0.347; the figure labels T1/T6/T7 as 0.64/0.67/0.65 and T8/T9/T10 as 0.34/0.37/0.33. It acknowledges that uncertain instructions on checkpoint-2000 had 4/4 non-abstentions, with Fermat confidence from 0.49 to 0.35. The authors claim all six out-of-family answers are unusable.
- Decontamination (Section 4.6): 73/15,026 (0.49%) have 13-gram overlap; safety, over-refusal, MT-Bench-PT, and IFEval-PT are 0. The four categories are 26/73, 23/73, 5/73, 19/73. The authors claim one OAB item's fictional facts entered a synthetic instruction almost verbatim, but do not reject the mandatory core results on that basis.
- Compute (Table 10): Manacá FLOPs 4.34×10^20 (1.22× its compute-optimal point); Tucano2-qwen 3.68×10^23, about 849× Manacá.
- MT-Bench by category (Figure 8 main text): On math/code, Tucano2-qwen is 5.17 in both, and the other five models are 1.00–1.33. On humanities, v4 is 4.67, instruct2-full is 5.17, and Tucano2-qwen is 2.50.
- IFEval (Figure 9 main text): The four-metric ranking is stable; Tucano2-qwen is 41.7–60.0%, instruct2-full and v4 are 22.2–40.0%, and the rest are 8.3–26.0%. v4 is below instruct2-full on all four. In Table 9, on at least six categories of format instructions, the five models other than Tucano2-qwen are 0%.
- Classification and exams: Table 6's classification average for v4 is 45.1% and for Tucano2-qwen is 78.8%. Figure 10's main text claims Tucano2-qwen is 67.6–91.5% on four tasks; TTL is 53.61% on assin2_rte_pt and v4 is 52.96%. The authors claim that at about 2.4B and below, including v4, models fall on or near the 25% (4-option) chance band, with only Tucano2-qwen leaving it (Figure 7).
What are some points that can be further explored?
The authors treat the mixing-ratio inflection point as exploratory and plan to re-test with larger probes, different judges, and different scales.
Limitations and future directions noted by the authors
- Safety is not 100%: The authors write that although 97.2% (N=218) is statistically robust, the true harmful compliance rate is still 0.46% (1/218), and vaguely worded requests may still pass (Section 5).
- Over-refusal remains: 9.2%, statistically indistinguishable from three of the four external baselines (Section 5).
- Crisis help: The model may refuse to help people in crisis; oversampling gold-standard examples only mitigates, not eliminates, this (Section 5).
- General capability: Below PT-BR models with larger pretraining scale, which the authors call a compute effect rather than a method effect. ENEM/OAB/BLUEX are at chance level, which the authors call a known limitation of about 1B native PT-BR models (Section 5).
- Mix scan: Still N=16/34 per point, one round per point. The authors ask that the inflection point be treated as exploratory until the sample is enlarged (Section 5).
- Next steps: Expand probes to 150–300 per point with paired Wilson/McNemar; use a second judge from a different model family (not done here due to API budget); do a full literature check before judging whether the refusal-scoring finding is novel; repeat the scan at another model scale to see whether the 40–50% inflection is a method property or specific to that scale (Section 5).
Experimental coverage
- Mandatory core: v4, instruct2-full, TeenyTinyLlama-460m-Chat, Tucano-1b1-Instruct, Tucano-2b4-Instruct, and Tucano2-qwen-1.5B-Instruct compared on the same harness and items; safety 218, over-refusal 184; ENEM 1,432, BLUEX 724, OAB 2,210 (Section 4.4, Table 6).
- Mix scan: Only on manaca-1b-instruct-2-full, general proportion 10%–60%, six points, one round each, probes N=16/34 (Section 4.3).
- Instantiation: Templates and abstention instructions test steps 2000/2500 before safety-SFT; the paper states that confidence numbers were not retested on the final merged v4 and no multi-seed was done (Section 4.1).
- Judge: The MT-Bench-PT judge is Claude. Section 5 states a second judge from another model family was not done due to API budget.
- Decontamination and DPO: The 13-gram comparison covers 15,026 items from 11 benchmarks and 294,223 lines of training corpus (Section 4.6). The first two DPO runs were carried over from the first generation and not rerun here (Section 4.2).
Summarize the main content of the paper
The 1.72B Portuguese model was safety-SFT to obtain v4; the authors claim safety is above four baselines, with the general gap coming from pretraining scale.
Manacá-1B-Instruct-2 is the second-generation safety post-training of a 1.72B Brazilian Portuguese model trained from scratch, focused on reproducibility and statistical testing rather than scaling up.
- Problem: The first-generation probe had only 16/34, the DPO failure left no testable record, and the LLM judge was treated as a black box.
- Training: Full-parameter SFT used 291,223 examples for 3 epochs. All three DPO runs failed to reverse harmful compliance. The abstract writes the reward margin as 1.0; Table 4 shows a margin of 1.03 for the second round with training accuracy around 1.0, and held-out refusal remained 0/16.
- Safety recipe: Switched to AnswerCarefully-style LoRA SFT. Three rounds adjusted the general-data share from 10.6% to 48.3% and added crisis-help examples. In the controlled sweep the authors mark 40–50% as the inflection point and recommend 40% (93.8% safety and 8.8% over-refusal on the sweep probe).
- Large-sample comparison: v4 safety refusal is 97.2% (N=218) with a Wilson lower bound of 94.1%. The authors state this lower bound exceeds the upper bounds of the four external baselines; all four safety comparisons in Table 8 are yes after correction. True harmful compliance after manual review is 1/218 (0.46%). Over-refusal is 9.2% (N=184), and only the comparison against Tucano-2b4 is yes after correction.
- Capability and evaluation side effects: The authors attribute the general-capability gap against Tucano2-qwen to a pretraining effect, with its FLOPs about 849× those of Manacá (Table 10). On exams the authors state that models around 2.4B and below sit near the 25% chance level. Confidence outside the training template family is 0.347 versus 0.656. Claude refused to score both safety questions, reducing the effective question count from 6 to 4. The authors argue that ineffective attempts and the judge's own refusals to score should also be disclosed.