Update beatrix-with-diversity (Epoch 0, Acc: 0.0423)
Browse files
README.md
CHANGED
|
@@ -5,30 +5,38 @@ tags:
|
|
| 5 |
- geometric-deep-learning
|
| 6 |
- fractal-positional-encoding
|
| 7 |
- beatrix-family
|
|
|
|
| 8 |
license: mit
|
| 9 |
---
|
| 10 |
|
| 11 |
-
# ViT-Beatrix Dual-Stream
|
| 12 |
|
| 13 |
-
## Current Experiment: beatrix-
|
| 14 |
-
|
| 15 |
-
**Model Path**: `weights/beatrix-dualstream-base/20251009_011847/`
|
| 16 |
|
|
|
|
| 17 |
|
| 18 |
## Architecture
|
| 19 |
|
| 20 |
- **Visual Dimension**: 512
|
| 21 |
-
- **Geometric Dimension**:
|
| 22 |
-
- **Geometric Tokens**:
|
| 23 |
-
- **Dual Blocks**:
|
| 24 |
-
- **k-simplex**:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
## Performance
|
| 27 |
|
| 28 |
-
- **Best Accuracy**: 0.
|
| 29 |
-
- **Current Epoch**:
|
| 30 |
- **Dataset**: CIFAR-100
|
| 31 |
|
| 32 |
---
|
| 33 |
|
| 34 |
-
*Last updated: Epoch
|
|
|
|
| 5 |
- geometric-deep-learning
|
| 6 |
- fractal-positional-encoding
|
| 7 |
- beatrix-family
|
| 8 |
+
- geometric-diversity
|
| 9 |
license: mit
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# ViT-Beatrix Dual-Stream with Geometric Diversity
|
| 13 |
|
| 14 |
+
## Current Experiment: beatrix-with-diversity
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
**Model Path**: `weights/beatrix-with-diversity/20251009_024956/`
|
| 17 |
|
| 18 |
## Architecture
|
| 19 |
|
| 20 |
- **Visual Dimension**: 512
|
| 21 |
+
- **Geometric Dimension**: 256
|
| 22 |
+
- **Geometric Tokens**: 8
|
| 23 |
+
- **Dual Blocks**: 8 layers
|
| 24 |
+
- **k-simplex**: 4
|
| 25 |
+
|
| 26 |
+
## Geometric Diversity Loss
|
| 27 |
+
|
| 28 |
+
This model uses a class-aware geometric diversity loss that encourages:
|
| 29 |
+
- **Intra-class compactness**: Same-class samples cluster in geometric space
|
| 30 |
+
- **Inter-class separation**: Different classes maintain margin-based distance
|
| 31 |
+
- **Volume diversity**: Classes occupy diverse simplex volumes
|
| 32 |
+
- **3D complexity**: Non-planar geometric structures
|
| 33 |
|
| 34 |
## Performance
|
| 35 |
|
| 36 |
+
- **Best Accuracy**: 0.0423
|
| 37 |
+
- **Current Epoch**: 0
|
| 38 |
- **Dataset**: CIFAR-100
|
| 39 |
|
| 40 |
---
|
| 41 |
|
| 42 |
+
*Last updated: Epoch 0 | Best Accuracy: 0.0423*
|
weights/beatrix-with-diversity/20251009_024956/config.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"num_classes": 100,
|
| 3 |
+
"img_size": 32,
|
| 4 |
+
"patch_size": 8,
|
| 5 |
+
"visual_dim": 512,
|
| 6 |
+
"geom_dim": 256,
|
| 7 |
+
"k_simplex": 4,
|
| 8 |
+
"depth": 8,
|
| 9 |
+
"num_heads": 8,
|
| 10 |
+
"mlp_ratio": 4.0,
|
| 11 |
+
"dropout": 0.0,
|
| 12 |
+
"num_geom_tokens": 8,
|
| 13 |
+
"pe_levels": 12,
|
| 14 |
+
"pe_features_per_level": 2,
|
| 15 |
+
"pe_smooth_tau": 0.25,
|
| 16 |
+
"simplex_init_method": "regular",
|
| 17 |
+
"simplex_init_scale": 1.0,
|
| 18 |
+
"batch_size": 512,
|
| 19 |
+
"num_epochs": 100,
|
| 20 |
+
"learning_rate": 0.0001,
|
| 21 |
+
"weight_decay": 0.005,
|
| 22 |
+
"warmup_epochs": 10,
|
| 23 |
+
"task_loss_weight": 1.0,
|
| 24 |
+
"flow_loss_weight": 0.5,
|
| 25 |
+
"coherence_loss_weight": 0.3,
|
| 26 |
+
"multiscale_loss_weight": 0.2,
|
| 27 |
+
"diversity_loss_weight": 0.5,
|
| 28 |
+
"diversity_margin": 2.0,
|
| 29 |
+
"diversity_temperature": 0.1,
|
| 30 |
+
"diversity_intra_weight": 1.0,
|
| 31 |
+
"diversity_inter_weight": 2.0,
|
| 32 |
+
"diversity_volume_weight": 0.5,
|
| 33 |
+
"diversity_complexity_weight": 0.1,
|
| 34 |
+
"device": "cuda",
|
| 35 |
+
"num_workers": 4,
|
| 36 |
+
"pin_memory": true,
|
| 37 |
+
"save_dir": "./checkpoints_dualstream",
|
| 38 |
+
"save_every": 10,
|
| 39 |
+
"use_safetensors": true,
|
| 40 |
+
"timestamp_dirs": true,
|
| 41 |
+
"push_to_hub": true,
|
| 42 |
+
"hub_model_id": "AbstractPhil/vit-beatrix-dualstream",
|
| 43 |
+
"hub_model_name": "beatrix-with-diversity",
|
| 44 |
+
"hub_upload_best_only": true,
|
| 45 |
+
"hub_upload_every_n_epochs": 10,
|
| 46 |
+
"use_tensorboard": true,
|
| 47 |
+
"log_dir": "./logs_dualstream",
|
| 48 |
+
"log_every": 50,
|
| 49 |
+
"monitor_stream_health": true,
|
| 50 |
+
"log_stream_norms": true
|
| 51 |
+
}
|
weights/beatrix-with-diversity/20251009_024956/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16b5768d7d595b4c85adc1c3c2bf9f65de05611ead1ee37f084e132221aa3e8c
|
| 3 |
+
size 164862872
|