cdbrain Dashboard

last update:

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.

TANUKI-CD · Results through 28 October 2026

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.
The three campaign scopes. These counts are not pooled into a single statistical sample.
CampaignCompleted evidence summarizedPrincipal endpoint
1. Pretrained-model fine-tuning120 initial-grid trials; seven-method, two-seed larger MNLI extension; execution follow-upSelected tuning scores and a reused 8,192-row MNLI reserve
2. Transformer training from scratch12 methods × 3 fresh final seeds = 36 final runsFixed final-checkpoint test NLL and subword perplexity on WikiText-103
3. GPU 2 scale and ablation study422 runs: 338 at 1.7B and 84 at 360M; two fixed seedsFinal-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

Initial fine-tuning comparison for ten methods: CD1024 reaches 70.41% MNLI tuning accuracy, while rank-one LoRA reaches 50.98%. GSM8K NLL differences are much smaller and do not measure answer correctness.
Figure 1. All ten initial method configurations at their task-specific selected learning rates. Points are means of seeds 11 and 12. MNLI uses reused tuning accuracy; GSM8K uses response NLL. The endpoints and horizontal scales differ between panels.

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

Two-seed means for the larger MNLI extension. Every trial pays for all 512 updates; the scored checkpoint may be earlier.
MethodTrainable parametersReserve accuracy (%)Complete training (min)Unmerged evaluation (s)
CD1024196,60883.1730.39478.7
CD204898,30482.1628.55455.7
LoRA rank 1196,60882.6325.47394.3
LoRA rank 81,572,86484.3025.70403.0
LoRA rank 163,145,72885.2425.72402.6
IA3 (K/V)98,30483.0523.65355.3
RandLoRA196,60884.2241.01649.8
CD1024 obtains 83.17% reserve accuracy in 30.39 minutes with 196,608 parameters. LoRA rank 16 obtains 85.24% in 25.72 minutes with 3,145,728 parameters. IA3 obtains 83.05% with 98,304 parameters.
Figure 2. Larger MNLI extension on the same 8,192-row reserve. Filled markers are two-seed means; hollow markers and connecting lines show the two observed seed scores, not confidence intervals. Complete training time includes the full trial interval. Parameter counts are listed in the table.

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.

All twelve methods: three-seed means; perplexity shows sample standard deviation. Total parameters include the learned embeddings, output, and other shared components.
MethodTotal trainable parametersTest perplexityTraining updates (min)Full job (min)
Narrow dense18,108,41636.53 ± 0.866.486.81
CD102418,100,22445.76 ± 0.0341.4642.33
CD204818,001,92049.11 ± 0.0632.1332.85
Dyadic102418,100,22444.45 ± 0.2381.8683.53
Dyadic204818,001,92078.92 ± 1.2858.3559.56
Circulant102418,100,22444.49 ± 0.72101.32103.19
Scratch low-rank 218,165,760344.47 ± 2.4118.8119.33
Scratch low-rank 1620,000,768107.96 ± 1.3918.9619.50
Scratch low-rank 12834,680,83242.73 ± 0.8819.6120.18
Wide dense219,230,20833.98 ± 0.6535.5337.32
Monarch46,215,16830.13 ± 0.02108.21110.34
PHM68,236,28829.18 ± 0.6386.5988.60
Scratch-training quality and time for twelve methods. CD2048 has perplexity 49.11 versus 78.92 for Dyadic2048, while narrow dense reaches 36.53 and trains much faster.
Figure 3. All twelve scratch-training methods at the common token budget. Left: mean test perplexity with sample standard deviation over three seeds; the axis is logarithmic. Right: measured training-update time, excluding setup and evaluation. These are scratch low-rank models, not LoRA adapters.
Dimension- and parameter-matched paired results. Ratios are computed within seed; values are descriptive, not significance tests.
Matched pairCD / control perplexity ratioControl / CD training timeInterpretation
CD1024 / Dyadic10241.0291.975×Faster CD, with about 2.9% higher perplexity
CD2048 / Dyadic20480.6221.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

Full 24-block K/V adaptation: means ± sample SD over two seeds. Update time is the steady complete training update on MNLI, not full-trial wall time.
MethodTrainable parametersMNLI (%)ARC-Challenge (%)BoolQ (%)MNLI update (s)
CD1024196,60883.56 ± 0.0970.82 ± 0.1280.83 ± 0.262.068
CD204898,30481.74 ± 0.1670.48 ± 0.7279.43 ± 0.502.033
LoRA rank 1196,60881.98 ± 0.0069.67 ± 0.5478.36 ± 0.371.911
LoRA rank 163,145,72885.02 ± 0.3870.73 ± 0.1281.62 ± 0.522.092
IA3 (K/V)98,30483.34 ± 0.0969.16 ± 0.3079.11 ± 0.131.884
Full-depth 1.7B accuracy across MNLI, ARC-Challenge and BoolQ. CD1024 exceeds equal-budget rank-one LoRA on all three tasks. LoRA rank 16 has the highest MNLI and BoolQ means.
Figure 4. Full-depth 1.7B results. Filled markers are means; hollow markers and lines show the two observed seed scores. Method labels include allocated trainable parameter counts. The task panels use different accuracy ranges and should not be read as a common scale.

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

Full-depth 360M results: two-seed means ± sample SD. These parameter counts include the explicit padding used by CD.
MethodAllocated trainable parametersMNLI (%)ARC-Challenge (%)BoolQ (%)
CD102465,53674.66 ± 0.3128.11 ± 1.3964.66 ± 0.63
CD2048131,07271.94 ± 1.1228.28 ± 0.6663.44 ± 0.28
LoRA rank 181,92064.39 ± 3.9125.60 ± 1.3362.92 ± 0.06
LoRA rank 161,310,72080.04 ± 0.2526.66 ± 0.1870.28 ± 0.48
IA3 (K/V)20,48069.63 ± 5.9426.54 ± 0.2467.84 ± 1.45
At 360M, CD1024 uses 65,536 parameters and reaches 74.66% MNLI accuracy, versus rank-one LoRA at 64.39% with 81,920 parameters. LoRA rank 16 reaches 80.04%. IA3 exceeds CD on BoolQ.
Figure 5. Full-depth 360M results with the actual allocated counts in each method label. The backbone width is 960, so CD uses explicit zero padding and cropped outputs. CD2048 allocates more parameters than CD1024 here; its nominal dimension is not a smaller-budget guarantee. Lines show observed two-seed ranges, not confidence intervals.

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

Accuracy differences by task and depth. CD gains 5.80 points on early MNLI, but loses 2.51 on late MNLI. BoolQ favors CD at all four depths; ARC-Challenge middle and late depths favor LoRA.
Figure 6. Mean paired accuracy differences between CD1024 and rank-one LoRA at exactly matched parameter counts. Positive values favor CD. Every partial-depth condition adapts eight blocks. CD has a higher mean in nine of twelve task/depth comparisons, with all twelve shown rather than only favorable windows.
CD1024 minus rank-one LoRA, in percentage points; both use 196,608 parameters at full depth and 65,536 at each partial depth.
TaskAll 24 blocksBlocks 1–8Blocks 9–16Blocks 17–24
MNLI1.575.800.27-2.51
ARC-Challenge1.150.04-0.68-0.38
BoolQ2.461.412.391.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.

Full-depth native CD512, all tested learning rates; each cell is a two-seed mean. All rows use 393,216 trainable parameters.
CD512 learning rateMNLI (%)ARC-Challenge (%)BoolQ (%)
0.002581.2070.3978.91
0.00583.3170.8280.55
0.0183.8970.2681.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.

Full-depth CD1024 examples of the value-only budget tradeoff. Different budgets are displayed explicitly; these are not equal-budget joint-versus-single comparisons.
TaskJoint K/V accuracy (%)Joint parametersValue-only accuracy (%)Value-only parameters
ARC-Challenge70.82196,60870.5298,304
BoolQ80.83196,60879.9198,304

Where CD is most promising

Priorities supported by the measured results, with their practical limits.
Use caseEvidenceQualification
Limited-parameter 1.7B fine-tuningCD1024 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 adaptationCD1024 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 adaptation360M 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 adaptationFull-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 scratchCD2048 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

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.

Results

Preview

Open results ↗Download ↓