Asilarkness commited on
Commit
4087ed6
·
verified ·
1 Parent(s): 6d5909a

Bootstrap on-policy error-targeted reasoning v4

Browse files
candidates/budgie-alignment-v2/onpolicy-error-targeted-v4/bootstrap/ONPOLICY_ERROR_TARGETED_SFT_RL_V4_POLICY.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Budgie on-policy error-targeted reasoning SFT → constrained RL v4
2
+
3
+ ## Motivation
4
+
5
+ Generic long-solution imitation shifted Budgie away from its retained reasoning behavior. V4 trains only on Budgie's own frontier: its correct trajectories become anchors, and its failed trajectories receive concise, verified corrections. RL remains blocked until the SFT anchor is Pareto-safe.
6
+
7
+ ## Data
8
+
9
+ - Start from the 800 decontaminated, symbolically verified OpenR1 reasoning pool from v3.
10
+ - Select a stratified frontier subset across algebra, geometry, number theory, combinatorics, inequalities, calculus, logic/puzzles, medium, and hard rows.
11
+ - Generate two Budgie trajectories per problem: greedy and temperature-controlled.
12
+ - Verify every trajectory against the reference with `math_verify`.
13
+ - Retain correct Budgie trajectories as self-anchors.
14
+ - For failures, ask Qwen3.8-27B for a concise minimal correction using the problem, failed attempts, and verified reference.
15
+ - Independently verify every correction with `math_verify`; reject unverifiable corrections.
16
+ - Keep the 208-row random-math development split and all fixed benchmark rows evaluation-only.
17
+
18
+ ## SFT
19
+
20
+ - Train from `verified-math-a025`, never from a rejected branch.
21
+ - Mix corrected failures, correct self-anchors, and manual information-retention examples.
22
+ - FP32 master weights, BF16 autocast, assistant-only loss.
23
+ - Sampled-action KL to the immutable leader.
24
+ - Curriculum from frontier-medium to frontier-hard.
25
+ - Save early checkpoints and search task-vector alphas.
26
+
27
+ ## Hard acceptance
28
+
29
+ Stage A must improve held-out random verified math and not regress:
30
+
31
+ - GSM8K 5/30;
32
+ - MATH 3/15;
33
+ - ARC 11/30;
34
+ - FOLIO 13/30;
35
+ - HelpSteer 97/200;
36
+ - information-management pass rate;
37
+ - honesty and repetition.
38
+
39
+ Only after Stage A passes may Stage B run constrained GRPO with math anchors, dual KL to the SFT anchor and original leader, gradient projection, and rollback every 4–8 updates.
40
+
41
+ No benchmark-family row may enter training. Model size and tokenizer remain unchanged.