This dashboard contains benchmark results, files, and updates on ongoing research into machine-learning adapters based on Cayley–Dickson algebras. The approach uses the quasilinear algorithm for multiplication in these algebras recently discovered by TANUKI-CD.
This report summarizes three experimental campaigns: adaptation of a pretrained language model, transformer training from scratch, and the completed GPU 2 scale and ablation study. It reports measured quality, trainable parameter counts, and execution costs on NVIDIA GB10 systems. Protocols and executors differ between campaigns, so timings are interpreted within each stated context. Adapter derivations are outside its scope.
Overall assessment
The strongest practical evidence for CD is in fine-tuning under a limited adapter-parameter budget. The results support particular task, scale, and placement choices; they do not establish a general advantage in accuracy or training speed.
- Matched-budget fine-tuning: in the GPU 2 full-depth 1.7B runs, CD1024 exceeds rank-one LoRA by 1.57 percentage points on MNLI, 1.15 on ARC-Challenge, and 2.46 on BoolQ, with 196,608 trainable parameters for each method.
- Matched structured models: when trained from scratch, CD2048 has lower test perplexity and shorter training time than Dyadic2048 at the same dimensions and total parameter count. A similarly sized narrow dense model nevertheless has better quality and much shorter training time.
- Practical limits: higher-rank LoRA often has the highest fine-tuning accuracy. CD's parameter savings do not imply faster updates, and the padded 360M results require their actual allocated counts to be read alongside accuracy.
| Campaign | Completed evidence summarized | Principal endpoint |
|---|---|---|
| 1. Pretrained-model fine-tuning | 120 initial-grid trials; seven-method, two-seed larger MNLI extension; execution follow-up | Selected tuning scores and a reused 8,192-row MNLI reserve |
| 2. Transformer training from scratch | 12 methods × 3 fresh final seeds = 36 final runs | Fixed final-checkpoint test NLL and subword perplexity on WikiText-103 |
| 3. GPU 2 scale and ablation study | 422 runs: 338 at 1.7B and 84 at 360M; two fixed seeds | Final-checkpoint answer-choice accuracy on MNLI, ARC-Challenge, and BoolQ |
The official Llama-3.2-3B model was deferred. Its 30 unattempted cases are excluded from the 422 completed GPU 2 runs.
1. Pretrained-model fine-tuning
Protocol and scope
The original comparison adapts the same key and value projections in a frozen SmolLM2-1.7B backbone. Ten method configurations were tested on MNLI and GSM8K at three learning rates and seeds 11 and 12. Each initial trial used 1,024 distinct training examples and 128 updates. MNLI is accuracy among the three supplied answer choices; GSM8K is teacher-forced reference-response NLL, not generated-answer accuracy.
The larger MNLI extension used 8,192 training examples and 512 updates for seven methods. Checkpoints were selected on the historically reused 512 tuning rows, then scored on the same 8,192-row train-derived reserve. That reserve is disjoint from these training examples but is not an untouched official test set.
Initial search
In the short MNLI regime, CD1024 reaches 70.41% selected tuning accuracy versus 50.98% for rank-one LoRA at the same 196,608-parameter budget. RandLoRA reaches 71.97%. This large short-run CD–LoRA gap does not persist at the same magnitude in the larger experiment. Data volume, update budget, schedule, and evaluation endpoint change together, so the two regimes are not a controlled estimate of a data-size effect.
Larger MNLI extension
| Method | Trainable parameters | Reserve accuracy (%) | Complete training (min) | Unmerged evaluation (s) |
|---|---|---|---|---|
| CD1024 | 196,608 | 83.17 | 30.39 | 478.7 |
| CD2048 | 98,304 | 82.16 | 28.55 | 455.7 |
| LoRA rank 1 | 196,608 | 82.63 | 25.47 | 394.3 |
| LoRA rank 8 | 1,572,864 | 84.30 | 25.70 | 403.0 |
| LoRA rank 16 | 3,145,728 | 85.24 | 25.72 | 402.6 |
| IA3 (K/V) | 98,304 | 83.05 | 23.65 | 355.3 |
| RandLoRA | 196,608 | 84.22 | 41.01 | 649.8 |
CD1024 is 0.54 percentage points above rank-one LoRA in this extension, but 2.07 points below rank-16 LoRA. It uses sixteen times fewer trainable parameters than rank-16 LoRA, while its complete training interval is 18.15% longer. IA3 reaches 83.05% with half CD1024's parameters and a shorter trial interval. The evidence therefore supports CD as a candidate under a parameter constraint, rather than the best overall quality–time choice.
Execution follow-up
Sixteen later optimized CD repeats covered BoolQ, GSM8K, and the two MNLI regimes. Matched update-throughput improvements over the earlier CD executor ranged from 1.12× to 1.20×; classification score changes were not uniformly positive. A separate full-backbone control measured 2.561 seconds per update for fused CD1024, 2.547 for fused rank-one LoRA, and 2.316 for fused IA3. Improvements over an older CD executor should therefore not be read as a general speed advantage over optimized competitors. These measurements are separate from the historical trial times above and the GPU 2 steady-update measurements below.
2. Transformer training from scratch
Protocol and scope
This campaign learns complete transformer models from random initialization, rather than adapting a pretrained backbone. The principal model has four decoder blocks and width 2,048. Twelve methods were evaluated over final seeds 11, 12, and 13, each with 7,552 updates and 61,865,984 processed training tokens. These are sampled exposures with replacement, not unique tokens or completed sequential epochs.
The dataset is WikiText-103 with an 8,192-token BPE tokenizer trained only on its training split. A separate validation grid at seed 42 selected learning rates before the fresh final runs. The final checkpoint is scored on the official test split. Perplexity is specific to this subword tokenizer and cannot be compared directly with word-level WikiText perplexity. Dyadic2048 was a separately registered supplement after the eleven-method primary evaluation.
| Method | Total trainable parameters | Test perplexity | Training updates (min) | Full job (min) |
|---|---|---|---|---|
| Narrow dense | 18,108,416 | 36.53 ± 0.86 | 6.48 | 6.81 |
| CD1024 | 18,100,224 | 45.76 ± 0.03 | 41.46 | 42.33 |
| CD2048 | 18,001,920 | 49.11 ± 0.06 | 32.13 | 32.85 |
| Dyadic1024 | 18,100,224 | 44.45 ± 0.23 | 81.86 | 83.53 |
| Dyadic2048 | 18,001,920 | 78.92 ± 1.28 | 58.35 | 59.56 |
| Circulant1024 | 18,100,224 | 44.49 ± 0.72 | 101.32 | 103.19 |
| Scratch low-rank 2 | 18,165,760 | 344.47 ± 2.41 | 18.81 | 19.33 |
| Scratch low-rank 16 | 20,000,768 | 107.96 ± 1.39 | 18.96 | 19.50 |
| Scratch low-rank 128 | 34,680,832 | 42.73 ± 0.88 | 19.61 | 20.18 |
| Wide dense | 219,230,208 | 33.98 ± 0.65 | 35.53 | 37.32 |
| Monarch | 46,215,168 | 30.13 ± 0.02 | 108.21 | 110.34 |
| PHM | 68,236,288 | 29.18 ± 0.63 | 86.59 | 88.60 |
| Matched pair | CD / control perplexity ratio | Control / CD training time | Interpretation |
|---|---|---|---|
| CD1024 / Dyadic1024 | 1.029 | 1.975× | Faster CD, with about 2.9% higher perplexity |
| CD2048 / Dyadic2048 | 0.622 | 1.816× | Faster CD and lower perplexity on all three seeds |
CD2048 is the clearest positive matched-control result: mean test perplexity is 49.11 versus 78.92 for Dyadic2048, with a paired training speedup of 1.816×. The paired full-job speedup is approximately 1.813×, so the gain persists when setup, evaluation, and checkpoint costs are included.
The practical counterexample is the narrow dense model. It has 18.108 million total parameters versus 18.002 million for CD2048, yet reaches perplexity 36.53 in 6.48 minutes of training, compared with 49.11 in 32.13 minutes for CD2048. CD1024 reaches 45.76 in 41.46 minutes. The result supports the tested CD implementation against a particular wide structured control, not a general advantage at a fixed total model budget. CD's lower projection count also makes only a small difference to total parameters because embeddings and other components dominate these structured models.
3. GPU 2 scale and ablation study
Completed scope and evaluation
The completed study contains 422 runs: 338 with SmolLM2-1.7B and 84 with SmolLM2-360M. It includes 150 primary cases, six conditional depth-window cases, eighteen higher-rank LoRA cases, eighteen native CD512 learning-rate cases, two CD512 pilot cases, and 228 isolated key/value controls forming 57 paired cohorts. The same two seeds are reused across conditions; these cases are not 422 independent replications.
Runs use context 512 and global batch 16. MNLI uses 8,192 training examples and 512 updates; BoolQ uses 1,024 examples and 128 updates. ARC-Challenge uses a 2,500-row schedule made by repeating only its 1,119 official training examples, with 250 updates. Evaluation contains 8,192 historical MNLI reserve examples, 3,270 BoolQ validation examples, and 1,172 ARC-Challenge test examples. Scores are answer-choice accuracy at the final checkpoint.
Evaluation also informed conditional branches, and the MNLI reserve had been used historically. The adaptive findings are exploratory; they are not untouched confirmatory test results. The 3B scale was not run.
Full-depth 1.7B comparison
| Method | Trainable parameters | MNLI (%) | ARC-Challenge (%) | BoolQ (%) | MNLI update (s) |
|---|---|---|---|---|---|
| CD1024 | 196,608 | 83.56 ± 0.09 | 70.82 ± 0.12 | 80.83 ± 0.26 | 2.068 |
| CD2048 | 98,304 | 81.74 ± 0.16 | 70.48 ± 0.72 | 79.43 ± 0.50 | 2.033 |
| LoRA rank 1 | 196,608 | 81.98 ± 0.00 | 69.67 ± 0.54 | 78.36 ± 0.37 | 1.911 |
| LoRA rank 16 | 3,145,728 | 85.02 ± 0.38 | 70.73 ± 0.12 | 81.62 ± 0.52 | 2.092 |
| IA3 (K/V) | 98,304 | 83.34 ± 0.09 | 69.16 ± 0.30 | 79.11 ± 0.13 | 1.884 |
At the same 196,608-parameter budget, CD1024 exceeds rank-one LoRA on all three full-depth tasks. The gain is largest on BoolQ: 80.83% versus 78.36%, or +2.46 percentage points. On ARC-Challenge, CD1024's 70.82% is close to rank-16 LoRA's 70.73% despite using sixteen times fewer parameters; the 0.09-point difference is too small to justify a superiority claim from two seeds. Rank-16 LoRA remains higher on MNLI and BoolQ.
CD2048 uses 98,304 parameters and reaches 70.48% on ARC-Challenge, compared with 69.16% for IA3 at the same count. Across the three tasks, CD1024's steady updates are 8.18–8.20% slower than rank-one LoRA's. These are parameter-efficiency results, not a general throughput win.
The 360M scale and actual parameter counts
| Method | Allocated trainable parameters | MNLI (%) | ARC-Challenge (%) | BoolQ (%) |
|---|---|---|---|---|
| CD1024 | 65,536 | 74.66 ± 0.31 | 28.11 ± 1.39 | 64.66 ± 0.63 |
| CD2048 | 131,072 | 71.94 ± 1.12 | 28.28 ± 0.66 | 63.44 ± 0.28 |
| LoRA rank 1 | 81,920 | 64.39 ± 3.91 | 25.60 ± 1.33 | 62.92 ± 0.06 |
| LoRA rank 16 | 1,310,720 | 80.04 ± 0.25 | 26.66 ± 0.18 | 70.28 ± 0.48 |
| IA3 (K/V) | 20,480 | 69.63 ± 5.94 | 26.54 ± 0.24 | 67.84 ± 1.45 |
CD1024's 360M MNLI result is promising: 74.66% versus 64.39% for rank-one LoRA, while allocating 20% fewer trainable parameters. It remains below rank-16 LoRA's 80.04%. The effect is task-specific: IA3 exceeds both CD variants on BoolQ, and all listed 360M ARC-Challenge scores remain low in absolute terms. These padded cases should not be pooled with the native-width 1.7B comparison or described as equal-budget CD–LoRA pairs.
Where layer placement changes the result
| Task | All 24 blocks | Blocks 1–8 | Blocks 9–16 | Blocks 17–24 |
|---|---|---|---|---|
| MNLI | 1.57 | 5.80 | 0.27 | -2.51 |
| ARC-Challenge | 1.15 | 0.04 | -0.68 | -0.38 |
| BoolQ | 2.46 | 1.41 | 2.39 | 1.27 |
Early-block MNLI adaptation is the strongest matched-depth CD gain (+5.80 points), whereas late-block MNLI favors rank-one LoRA by 2.51 points. BoolQ favors CD at every tested eight-block window and at full depth. ARC-Challenge favors CD at full depth but favors LoRA in the middle and late windows. Placement is therefore part of the benchmark result, not a setting that can be assumed to transfer across tasks.
Conditional follow-ups
Native CD512 allocates 393,216 parameters at full depth and received a three-rate sweep. The complete sweep is shown to make the selection opportunity visible.
| CD512 learning rate | MNLI (%) | ARC-Challenge (%) | BoolQ (%) |
|---|---|---|---|
| 0.0025 | 81.20 | 70.39 | 78.91 |
| 0.005 | 83.31 | 70.82 | 80.55 |
| 0.01 | 83.89 | 70.26 | 81.13 |
At learning rate 0.01, CD512 reaches 81.13% on BoolQ versus 79.46% for rank-two LoRA at the same 393,216-parameter count. This is an exploratory comparison: CD512 received three rates while rank-two LoRA inherited its rate. Relative to CD1024's 80.83%, the best observed CD512 BoolQ mean adds only 0.31 points while doubling the parameter count.
In the eighteen triggered native CD site cohorts, value-only adaptation has a higher mean than key-only adaptation in all eighteen, at the same single-site budget. Value-only exceeds joint K/V in only four; joint K/V uses twice the parameters. The controls were selected by a recorded trigger, so they do not establish that value-only is generally sufficient.
| Task | Joint K/V accuracy (%) | Joint parameters | Value-only accuracy (%) | Value-only parameters |
|---|---|---|---|---|
| ARC-Challenge | 70.82 | 196,608 | 70.52 | 98,304 |
| BoolQ | 80.83 | 196,608 | 79.91 | 98,304 |
Where CD is most promising
| Use case | Evidence | Qualification |
|---|---|---|
| Limited-parameter 1.7B fine-tuning | CD1024 improves over equal-budget rank-one LoRA on all three full-depth tasks; BoolQ gains 2.46 points. | Updates remain about 8.2% slower than rank-one LoRA; rank-16 LoRA has higher MNLI and BoolQ means. |
| Early-block MNLI adaptation | CD1024 gains 5.80 points over rank-one LoRA with the same 65,536 parameters. | Late-block MNLI reverses the comparison; evaluate the intended placement rather than transfer the result by default. |
| Small-backbone MNLI adaptation | 360M CD1024 gains 10.27 points over rank-one LoRA with 20% fewer allocated parameters. | Padding changes the geometry and counts. Higher-rank LoRA remains stronger, and BoolQ favors IA3. |
| Budget-constrained ARC-Challenge adaptation | Full-depth 1.7B CD2048 reaches 70.48% with 98,304 parameters; CD1024 reaches 70.82% with 196,608. | Two seeds and adaptive evaluation support follow-up, not a general superiority or noninferiority claim. |
| Wide structured projections learned from scratch | CD2048 is faster and has lower perplexity than dimension- and parameter-matched Dyadic2048 on all three seeds. | The near-budget narrow dense model is substantially better in quality and time. |
The next useful CD experiments would preserve the matched parameter budgets, add fresh seeds, and reserve a new evaluation population before selecting methods or placements. BoolQ at 1.7B, early-block MNLI, and the 360M MNLI result are the most direct candidates for that confirmation. Scratch-training work should retain the narrow dense control, since beating a wide structured control alone would not resolve the practical budget comparison.
Interpretation limits and measurement data
Fine-tuning summaries generally use two fixed seeds; scratch training uses three. Seed ranges and sample standard deviations describe the recorded runs and are not confidence intervals or significance tests. Shared evaluation examples are not multiplied by averaging seeds. The original and GPU 2 MNLI reserves have been reused, and conditional branches increase the opportunity to select favorable outcomes.
Classification accuracy, response NLL, and subword perplexity answer different questions and are not combined into one score. Trainable adapter counts in the fine-tuning campaigns exclude the frozen backbone; total trainable counts in the scratch campaign include the entire learned model. Historical full-trial time, scratch training-update time, and GPU 2 steady-update time also have different definitions. All runtime comparisons in this report stay within their stated measurement context.
Download the measurement tables and provenance
- Aggregated report measurements (JSON)
- Larger MNLI extension (CSV)
- All twelve scratch-training methods (CSV)
- GPU 2 full-depth results at both model scales (CSV)
- All twelve matched-depth accuracy differences (CSV)
- Complete 422-run GPU 2 scorecard (CSV)
- Measurement checksums and verification counts (JSON)
The fine-tuning and execution summaries reproduce the validated earlier PDF-report data. The scratch summary matches its audited 36 final checkpoints. The GPU 2 scorecard matches the preserved remote snapshot and its completed 422-run review, with 14,634 main checks passed. This report adds no new training runs.