davidhouseholter commited on
Commit
b527762
·
verified ·
1 Parent(s): 5aafa42

Add 8-way classical geometric optimizer Spark ablation results (T-038)

Browse files
Files changed (1) hide show
  1. eval_results.json +174 -42
eval_results.json CHANGED
@@ -1,42 +1,174 @@
1
- {
2
- "model_id": "MatterWaveAI/grt-30m-chat",
3
- "architecture": "GRTForCausalLM",
4
- "parameters": 29305498,
5
- "nn_linear_layers": 0,
6
- "chat_template": "ChatML (<|im_start|> / <|im_end|>)",
7
- "before_sft": {
8
- "val_loss": 5.2083,
9
- "val_ppl": 182.7854
10
- },
11
- "after_sft": {
12
- "val_loss": 0.3129,
13
- "val_ppl": 1.3674,
14
- "samples": [
15
- {
16
- "user": "Can you explain this briefly? What is GRT-30M?",
17
- "target": "GRT-30M is a 29.3M-parameter Givens Rotational Transformer developed by MatterWave AI that replaces every dense nn.Linear matrix with cascaded 2D Givens rotations and butterfly permutations.",
18
- "generated": "GRT-30M is a 29.3M-parameter Givens Rotational Transformer developed by MatterWave AI that replaces every dense nn.Linear matrix with cascaded 2D Givens rotations and butterfly permutations."
19
- },
20
- {
21
- "user": "Can you explain this briefly? How does a Givens Rotational Transformer replace dense linear layers?",
22
- "target": "Instead of O(D^2) dense matrix multiplications, GRT represents hidden states as planar coordinate pairs and transforms them through butterfly-permuted 2D Givens rotations modulated by Clifford algebra features.",
23
- "generated": "Instead of O(D^2) dense matrix multiplications, GRT represents hidden states as planar coordinate pairs and transforms them through butterfly-permuted 2D Givens rotations modulated by Clifford algebra features."
24
- },
25
- {
26
- "user": "Can you explain this briefly? What is PearlNorm in the GRT architecture?",
27
- "target": "PearlNorm is a pair-aware RMS normalization layer that divides each planar (x, y) pair by the root-mean-square of pair radii, rescaling magnitudes while preserving every pair's phase angle.",
28
- "generated": "PearlNorm is a pair-aware RMS normalization layer that divides each planar (x, y) pair by the root-mean-square of pair radii, rescaling magnitudes while preserving every pair's phase angle."
29
- },
30
- {
31
- "user": "Can you explain this briefly? What is RadialGELU?",
32
- "target": "RadialGELU applies a GELU activation to the Euclidean radius r of each 2D coordinate pair as gelu(r) / r, introducing nonlinearity on pair magnitudes without distorting phase directions.",
33
- "generated": "RadialGELU applies a GELU activation to the Euclidean radius r of each 2D coordinate pair as gelu(r) / r, introducing nonlinearity on pair magnitudes without distorting phase directions."
34
- },
35
- {
36
- "user": "Can you explain this briefly? How are token embeddings parameterized in GRT?",
37
- "target": "Each token in GRTEmbedding is stored as hidden_size // 2 phase angles plus a scalar log-magnitude, emitting exp(log_magnitude) * (cos(theta), sin(theta)) on the hypersphere.",
38
- "generated": "Each token in GRTEmbedding is stored as hidden_size // 2 phase angles plus a scalar log-magnitude, emitting exp(log_magnitude) * (cos(theta), sin(theta)) on the hypersphere."
39
- }
40
- ]
41
- }
42
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_id": "MatterWaveAI/grt-30m-chat",
3
+ "architecture": "GRTForCausalLM",
4
+ "parameters": 29305498,
5
+ "nn_linear_layers": 0,
6
+ "chat_template": "ChatML (<|im_start|> / <|im_end|>)",
7
+ "before_sft": {
8
+ "val_loss": 5.2083,
9
+ "val_ppl": 182.7854,
10
+ "assistant_token_acc": 0.2469,
11
+ "assistant_response_margin": 0.4397,
12
+ "multiturn_val_loss": 5.348,
13
+ "multiturn_val_ppl": 210.1897
14
+ },
15
+ "after_sft": {
16
+ "val_loss": 0.2904,
17
+ "val_ppl": 1.337,
18
+ "pair_adam_100step_val_loss": 0.3129,
19
+ "pair_adam_100step_val_ppl": 1.3674,
20
+ "assistant_token_acc": 0.9988,
21
+ "assistant_response_margin": 1.0754,
22
+ "multiturn_val_loss": 1.7855,
23
+ "multiturn_val_ppl": 5.9628,
24
+ "samples": [
25
+ {
26
+ "user": "Can you explain this briefly? What is GRT-30M?",
27
+ "target": "GRT-30M is a 29.3M-parameter Givens Rotational Transformer developed by MatterWave AI that replaces every dense nn.Linear matrix with cascaded 2D Givens rotations and butterfly permutations.",
28
+ "generated": "GRT-30M is a 29.3M-parameter Givens Rotational Transformer developed by MatterWave AI that replaces every dense nn.Linear matrix with cascaded 2D Givens rotations and butterfly permutations."
29
+ },
30
+ {
31
+ "user": "Can you explain this briefly? How does a Givens Rotational Transformer replace dense linear layers?",
32
+ "target": "Instead of O(D^2) dense matrix multiplications, GRT represents hidden states as planar coordinate pairs and transforms them through butterfly-permuted 2D Givens rotations modulated by Clifford algebra features.",
33
+ "generated": "Instead of O(D^2) dense matrix multiplications, GRT represents hidden states as planar coordinate pairs and transforms them through butterfly-permuted 2D Givens rotations modulated by Clifford algebra features."
34
+ },
35
+ {
36
+ "user": "Can you explain this briefly? What is PearlNorm in the GRT architecture?",
37
+ "target": "PearlNorm is a pair-aware RMS normalization layer that divides each planar (x, y) pair by the root-mean-square of pair radii, rescaling magnitudes while preserving every pair's phase angle.",
38
+ "generated": "PearlNorm is a pair-aware RMS normalization layer that divides each planar (x, y) pair by the root-mean-square of pair radii, rescaling magnitudes while preserving every pair's phase angle."
39
+ },
40
+ {
41
+ "user": "Can you explain this briefly? What is RadialGELU?",
42
+ "target": "RadialGELU applies a GELU activation to the Euclidean radius r of each 2D coordinate pair as gelu(r) / r, introducing nonlinearity on pair magnitudes without distorting phase directions.",
43
+ "generated": "RadialGELU applies a GELU activation to the Euclidean radius r of each 2D coordinate pair as gelu(r) / r, introducing nonlinearity on pair magnitudes without distorting phase directions."
44
+ },
45
+ {
46
+ "user": "Can you explain this briefly? How are token embeddings parameterized in GRT?",
47
+ "target": "Each token in GRTEmbedding is stored as hidden_size // 2 phase angles plus a scalar log-magnitude, emitting exp(log_magnitude) * (cos(theta), sin(theta)) on the hypersphere.",
48
+ "generated": "Each token in GRTEmbedding is stored as hidden_size // 2 phase angles plus a scalar log-magnitude, emitting exp(log_magnitude) * (cos(theta), sin(theta)) on the hypersphere."
49
+ }
50
+ ]
51
+ },
52
+ "optimizer_ablations_8way": {
53
+ "hessian_pair_adam": {
54
+ "variant": "HessianPairAdam (Sophia-Torus Cauchy-Riemann Curvature)",
55
+ "final_train_loss": 0.9501,
56
+ "val_loss": 0.2904,
57
+ "val_ppl": 1.337,
58
+ "assistant_token_acc": 0.9988,
59
+ "assistant_response_margin": 1.0754,
60
+ "assistant_response_seq_margin": 32.9186,
61
+ "multiturn_val_loss": 1.7855,
62
+ "multiturn_val_ppl": 5.9628,
63
+ "multiturn_token_acc": 0.8026,
64
+ "step100_val_loss": 0.3522,
65
+ "step100_val_ppl": 1.4222,
66
+ "elapsed_s": 49.51
67
+ },
68
+ "cyclide_adam": {
69
+ "variant": "CyclideAdam (Dupin Cyclide Conic Metric + Deviatoric Twist)",
70
+ "final_train_loss": 0.9506,
71
+ "val_loss": 0.2932,
72
+ "val_ppl": 1.3406,
73
+ "assistant_token_acc": 0.9988,
74
+ "assistant_response_margin": 0.9446,
75
+ "assistant_response_seq_margin": 28.0276,
76
+ "multiturn_val_loss": 1.9591,
77
+ "multiturn_val_ppl": 7.0933,
78
+ "multiturn_token_acc": 0.7487,
79
+ "step100_val_loss": 0.3522,
80
+ "step100_val_ppl": 1.4222,
81
+ "elapsed_s": 50.19
82
+ },
83
+ "pair_adam": {
84
+ "variant": "PairAdam (Factored Toroidal Baseline)",
85
+ "final_train_loss": 0.9505,
86
+ "val_loss": 0.2971,
87
+ "val_ppl": 1.346,
88
+ "assistant_token_acc": 0.9988,
89
+ "assistant_response_margin": 1.0982,
90
+ "assistant_response_seq_margin": 32.9333,
91
+ "multiturn_val_loss": 2.0593,
92
+ "multiturn_val_ppl": 7.8407,
93
+ "multiturn_token_acc": 0.7385,
94
+ "step100_val_loss": 0.3639,
95
+ "step100_val_ppl": 1.439,
96
+ "elapsed_s": 48.57
97
+ },
98
+ "huygens_adam": {
99
+ "variant": "HuygensAdam (Circular Order Parameter R_p Splay Torque)",
100
+ "final_train_loss": 0.9498,
101
+ "val_loss": 0.3107,
102
+ "val_ppl": 1.3644,
103
+ "assistant_token_acc": 1.0,
104
+ "assistant_response_margin": 1.0257,
105
+ "assistant_response_seq_margin": 30.9379,
106
+ "multiturn_val_loss": 1.6645,
107
+ "multiturn_val_ppl": 5.2829,
108
+ "multiturn_token_acc": 0.8154,
109
+ "step100_val_loss": 0.3784,
110
+ "step100_val_ppl": 1.4599,
111
+ "elapsed_s": 67.79
112
+ },
113
+ "huygens_symplectic_adam": {
114
+ "variant": "HuygensSymplecticAdam (Two-Stage Huygens -> Symplectic Curriculum)",
115
+ "final_train_loss": 0.9502,
116
+ "val_loss": 0.3361,
117
+ "val_ppl": 1.3995,
118
+ "assistant_token_acc": 0.9988,
119
+ "assistant_response_margin": 1.0957,
120
+ "assistant_response_seq_margin": 31.8603,
121
+ "multiturn_val_loss": 1.7592,
122
+ "multiturn_val_ppl": 5.8075,
123
+ "multiturn_token_acc": 0.8051,
124
+ "step100_val_loss": 0.398,
125
+ "step100_val_ppl": 1.4889,
126
+ "elapsed_s": 65.69
127
+ },
128
+ "symplectic_adam": {
129
+ "variant": "SymplecticAdam (Gromov-Liouville Non-Squeezing Floor + Casimir Cavity)",
130
+ "final_train_loss": 0.9502,
131
+ "val_loss": 0.3441,
132
+ "val_ppl": 1.4108,
133
+ "assistant_token_acc": 0.9938,
134
+ "assistant_response_margin": 1.1464,
135
+ "assistant_response_seq_margin": 34.5992,
136
+ "multiturn_val_loss": 1.9487,
137
+ "multiturn_val_ppl": 7.0199,
138
+ "multiturn_token_acc": 0.7513,
139
+ "step100_val_loss": 0.3961,
140
+ "step100_val_ppl": 1.4859,
141
+ "elapsed_s": 50.95
142
+ },
143
+ "gyric_adam": {
144
+ "variant": "GyricAdam (Poinsot-Lande Gyroscopic Projection + Thomas Precession)",
145
+ "final_train_loss": 0.9503,
146
+ "val_loss": 0.3476,
147
+ "val_ppl": 1.4157,
148
+ "assistant_token_acc": 0.9975,
149
+ "assistant_response_margin": 1.0779,
150
+ "assistant_response_seq_margin": 32.9217,
151
+ "multiturn_val_loss": 1.8009,
152
+ "multiturn_val_ppl": 6.0552,
153
+ "multiturn_token_acc": 0.7718,
154
+ "step100_val_loss": 0.4194,
155
+ "step100_val_ppl": 1.5211,
156
+ "elapsed_s": 70.5
157
+ },
158
+ "polar_natural_adam": {
159
+ "variant": "PolarNaturalAdam (Riemannian Polar Metric + Cauchy-Riemann Hessian)",
160
+ "final_train_loss": 0.9521,
161
+ "val_loss": 0.3883,
162
+ "val_ppl": 1.4745,
163
+ "assistant_token_acc": 0.9913,
164
+ "assistant_response_margin": 0.9159,
165
+ "assistant_response_seq_margin": 27.5035,
166
+ "multiturn_val_loss": 1.8642,
167
+ "multiturn_val_ppl": 6.4505,
168
+ "multiturn_token_acc": 0.7692,
169
+ "step100_val_loss": 0.4398,
170
+ "step100_val_ppl": 1.5524,
171
+ "elapsed_s": 49.4
172
+ }
173
+ }
174
+ }