summaryrefslogtreecommitdiff
path: root/results/resmlp_frozen_blocks_s123.log
blob: 728da122208750c0950e52e14183bf05edab0019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Device: cuda:0, seed=123, epochs=100

=== BP shallow (ResMLP num_blocks=0), seed=123 ===
  n_params: 789770 (789770 trainable)
  [BP-shallow] ep 1: test_acc=0.3507
  [BP-shallow] ep 10: test_acc=0.3744
  [BP-shallow] ep 20: test_acc=0.3604
  [BP-shallow] ep 30: test_acc=0.3518
  [BP-shallow] ep 40: test_acc=0.3535
  [BP-shallow] ep 50: test_acc=0.3613
  [BP-shallow] ep 60: test_acc=0.3631
  [BP-shallow] ep 70: test_acc=0.3709
  [BP-shallow] ep 80: test_acc=0.3828
  [BP-shallow] ep 90: test_acc=0.3832
  [BP-shallow] ep 100: test_acc=0.3841
FINAL BP-shallow: 0.3841

=== BP frozen-blocks (ResMLP num_blocks=4, blocks frozen), seed=123 ===
  n_params: 1318154 (789770 trainable)
  [BP-frozen] ep 1: test_acc=0.3517
  [BP-frozen] ep 10: test_acc=0.3653
  [BP-frozen] ep 20: test_acc=0.3538
  [BP-frozen] ep 30: test_acc=0.3501
  [BP-frozen] ep 40: test_acc=0.3558
  [BP-frozen] ep 50: test_acc=0.3528
  [BP-frozen] ep 60: test_acc=0.3701
  [BP-frozen] ep 70: test_acc=0.3750
  [BP-frozen] ep 80: test_acc=0.3855
  [BP-frozen] ep 90: test_acc=0.3855
  [BP-frozen] ep 100: test_acc=0.3896
FINAL BP-frozen-blocks: 0.3896

=== DFA shallow (ResMLP num_blocks=0), seed=123 ===
  n_params: 789770 (789770 trainable)
  [DFA-shallow] ep 1: test_acc=0.3348
  [DFA-shallow] ep 10: test_acc=0.3457
  [DFA-shallow] ep 20: test_acc=0.3484
  [DFA-shallow] ep 30: test_acc=0.3323
  [DFA-shallow] ep 40: test_acc=0.3442
  [DFA-shallow] ep 50: test_acc=0.3460
  [DFA-shallow] ep 60: test_acc=0.3469
  [DFA-shallow] ep 70: test_acc=0.3427
  [DFA-shallow] ep 80: test_acc=0.3432
  [DFA-shallow] ep 90: test_acc=0.3485
  [DFA-shallow] ep 100: test_acc=0.3485
FINAL DFA-shallow: 0.3485

=== DFA frozen-blocks (ResMLP num_blocks=4, blocks frozen), seed=123 ===
  n_params: 1318154 (789770 trainable)
  [DFA-frozen] ep 1: test_acc=0.3182
  [DFA-frozen] ep 10: test_acc=0.3388
  [DFA-frozen] ep 20: test_acc=0.3429
  [DFA-frozen] ep 30: test_acc=0.3286
  [DFA-frozen] ep 40: test_acc=0.3372
  [DFA-frozen] ep 50: test_acc=0.3281
  [DFA-frozen] ep 60: test_acc=0.3417
  [DFA-frozen] ep 70: test_acc=0.3483
  [DFA-frozen] ep 80: test_acc=0.3469
  [DFA-frozen] ep 90: test_acc=0.3479
  [DFA-frozen] ep 100: test_acc=0.3497
FINAL DFA-frozen-blocks: 0.3497

=== ResMLP frozen/shallow baseline summary, seed=123 ===
  BP-shallow:    0.3841
  BP-frozen:     0.3896
  DFA-shallow:   0.3485
  DFA-frozen:    0.3497

Compare to trainable 4-block ResMLP (3-seed mean): BP=0.609, DFA=0.308

Interpretation:
  If DFA-frozen ≈ DFA-trainable (0.308): blocks are passengers, walk-back parallels ViT
  If DFA-frozen << DFA-trainable: ResMLP DFA actually trains the blocks (interesting contrast with ViT)